--- aclocal.m4 2002/01/30 13:06:09 1.94
+++ aclocal.m4 2002/07/01 12:54:54 1.95
@@ -140,7 +140,6 @@
dnl ##
AC_DEFUN(AC_HEADLINE,[dnl
-AC_DIVERT_PUSH(NOTICE)dnl
# configuration header
if test ".`echo dummy [$]@ | grep enable-subdir`" != .; then
enable_subdir=yes
@@ -177,7 +176,6 @@
$3_HEX="`$ac_shtool version -lc -dhex $ac_srcdir/$4`"
AC_SUBST($3_HEX)
fi
-AC_DIVERT_POP()
])dnl
dnl ##
@@ -341,7 +339,7 @@
])dnl
AC_MSG_RESULT([$ac_cv_type_longlong])
if test ".$ac_cv_type_longlong" = .yes; then
- AC_DEFINE(HAVE_LONGLONG)
+ AC_DEFINE(HAVE_LONGLONG, 1, [define if "long long" type exists])
fi
])dnl
@@ -360,7 +358,7 @@
])dnl
AC_MSG_RESULT([$ac_cv_type_longdouble])
if test ".$ac_cv_type_longdouble" = .yes; then
- AC_DEFINE(HAVE_LONGDOUBLE)
+ AC_DEFINE(HAVE_LONGDOUBLE, 1, [define if "long double" type exists])
fi
])dnl
@@ -388,7 +386,6 @@
*-pipe* ) ;;
* ) AC_COMPILER_OPTION(pipe, -pipe, -pipe, CFLAGS="$CFLAGS -pipe") ;;
esac
- AC_COMPILER_OPTION(ggdb3, -ggdb3, -ggdb3, CFLAGS="$CFLAGS -ggdb3")
case $PLATFORM in
*-*-freebsd*|*-*-solaris* ) CFLAGS="$CFLAGS -pedantic" ;;
esac
@@ -404,7 +401,7 @@
esac
fi
msg="enabled"
-AC_DEFINE(PTH_DEBUG)
+AC_DEFINE(PTH_DEBUG, 1, [define to enable Pth debugging])
],[
if test ".$ac_cv_prog_gcc" = ".yes"; then
case "$CFLAGS" in
@@ -572,7 +569,8 @@
], ac_cv_define_$1=yes, ac_cv_define_$1=no)])dnl
AC_MSG_RESULT($ac_cv_define_$1)
if test $ac_cv_define_$1 = yes; then
- AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]))
+ AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]), 1,
+ [define if pre-processor define $1 exists in header $2])
fi
])
@@ -597,7 +595,8 @@
], ac_cv_typedef_$1=yes, ac_cv_typedef_$1=no)])dnl
AC_MSG_RESULT($ac_cv_typedef_$1)
if test $ac_cv_typedef_$1 = yes; then
- AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]))
+ AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]), 1,
+ [define if typedef $1 exists in header $2])
fi
])
@@ -614,7 +613,6 @@
AC_REQUIRE([AC_HEADER_STDC])dnl
AC_MSG_CHECKING(for attribute $1 in struct $2 from $3)
AC_CACHE_VAL(ac_cv_structattr_$1,[dnl
-
AC_TRY_LINK([
#include <sys/types.h>
#include <$3>
@@ -625,7 +623,8 @@
], ac_cv_structattr_$1=yes, ac_cv_structattr_$1=no)])dnl
AC_MSG_RESULT($ac_cv_structattr_$1)
if test $ac_cv_structattr_$1 = yes; then
- AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]))
+ AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z]), 1,
+ [define if attribute $1 exists in struct $2 from header $3])
fi
])
@@ -942,7 +941,7 @@
else
val="+1"
fi
-AC_DEFINE_UNQUOTED($1, $val)
+AC_DEFINE_UNQUOTED($1, $val, [define for stack growth])
])
dnl ##
@@ -1160,7 +1159,7 @@
nsig=32
)
AC_MSG_RESULT([$nsig])
-AC_DEFINE_UNQUOTED($1, $nsig)
+AC_DEFINE_UNQUOTED($1, $nsig, [define for number of signals])
])
dnl ##
@@ -1182,7 +1181,7 @@
AC_DEFUN(AC_CHECK_EXTLIB,[dnl
AC_ARG_WITH($2,[dnl
-[ --with-]m4_substr([$2[[=DIR]] ], 0, 19)[build against $1 library (default=no)]],
+[ --with-]m4_substr([$2[[=DIR]] ], 0, 19)[build against $1 library (default=no)]],[dnl
if test ".$with_$2" = .yes; then
# via config script
$2_version=`($2-config --version) 2>/dev/null`
@@ -1247,7 +1246,7 @@
fi
fi
fi
- AC_HAVE_HEADERS($4)
+ AC_CHECK_HEADER($4)
AC_CHECK_LIB($2, $3)
AC_IFALLYES(header:$4 lib:$2_$3, with_$2=yes, with_$2=no)
if test ".$with_$2" = .no; then
@@ -1257,7 +1256,7 @@
if test ".$with_$2" = .; then
with_$2=no
fi
-)dnl
+])dnl
AC_MSG_CHECKING(whether to build against $1 library)
if test ".$with_$2" = .yes; then
ifelse([$5], , :, [$5])
|