.DISABLED-hgeol
author Sam Lantinga <slouken@libsdl.org>
Fri, 28 Sep 2012 03:18:18 -0700
changeset 6491 03b7e6b0a8bf
parent 5055 2936fc46b015
permissions -rw-r--r--
Fixed bug 1587 - "aclocal" fails to generate a sufficient "aclocal.m4"

Cecil Curry 2012-08-27 16:55:12 PDT

Allow "aclocal" to find the "AC_CHECK_DEFINE" macro.

On running:

rm aclocal.m4
libtoolize --install --copy --force
aclocal -I acinclude
autoconf -I acinclude

The former three commands succeed, but "autoconf" fails with:

configure.in:198: error: possibly undefined macro: AC_CHECK_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

"aclocal" fails to find AC_CHECK_DEFINE and hence add such macro to
"aclocal.m4". Here is why:

* "acinclude/ac_check_define.m4" defines AC_CHECK_DEFINE via define() rather
than AC_DEFUN().
* "aclocal" fails to find macros defined via define().
     1 [patterns]
     2 .hgeol = native
     3 .hgignore = native
     4 BUGS = native
     5 CREDITS = native
     6 INSTALL = native
     7 NOTES = native
     8 TODO = native
     9 WhatsNew = native
    10 **COPYING = native
    11 **README = native
    12 **doxyfile = native
    13 **Doxyfile = native
    14 **install-sh = LF
    15 **mkinstalldirs = LF
    16 **Makefile = LF
    17 **Makefile.* = LF
    18 test/automated/rwops/read = LF
    19 **README.* = native
    20 **.S = native
    21 **.bmp = BIN
    22 **.c = native
    23 **.cc = native
    24 **.cpp = native
    25 **.csh = LF
    26 **.dat = BIN
    27 **.gdbinit = LF
    28 build-scripts/config.guess = LF
    29 **.h = native
    30 **.htm = native
    31 **.html = native
    32 **.icns = BIN
    33 **.in = LF
    34 **.java = native
    35 **.m = native
    36 **.m4 = native
    37 **.mk = LF
    38 **.nib = BIN
    39 **.pch = BIN
    40 **.pdf = BIN
    41 **.pl = native
    42 **.plist = native
    43 **.png = BIN
    44 .indent.pro = LF
    45 **.rc = native
    46 **.rtf = BIN
    47 **.sh = LF
    48 **.sln = native
    49 **.txt = native
    50 **.vcp = native
    51 **.vcproj = native
    52 **.vcw = native
    53 **.vcxproj = native
    54 **.wav = BIN
    55 **.xbm = BIN
    56 **.xml = native
    57 **.zip = BIN