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