diff options
author | Stefan Kost <ensonic@users.sf.net> | 2011-05-18 09:50:50 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2011-05-21 21:56:11 +0300 |
commit | fc473846719123dce0342054afd5015b5af62a4d (patch) | |
tree | 1bb49bce4a1f8311dc47beccfa4dda99160e51cb | |
parent | 3cc41f1574b59b667ce7bf7fe6de8eba5b2b8157 (diff) | |
download | libxslt-fc473846719123dce0342054afd5015b5af62a4d.tar.gz libxslt-fc473846719123dce0342054afd5015b5af62a4d.tar.bz2 libxslt-fc473846719123dce0342054afd5015b5af62a4d.zip |
configure: acconfig.h is deprecated since autoconf-2.50
Remove deprecated file (leftover from autoconf-2.13). Change AC_DEFINE into
3-arg versions to provide the comments for config.h. Bump autoconf version to
2.59 (same as libxml).
-rw-r--r-- | acconfig.h | 6 | ||||
-rw-r--r-- | configure.in | 14 |
2 files changed, 7 insertions, 13 deletions
diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index 3900a67c..00000000 --- a/acconfig.h +++ /dev/null @@ -1,6 +0,0 @@ -#undef HAVE_ISINF -#undef HAVE_ISNAN -#undef HAVE_POW -#undef HAVE_FLOOR -#undef HAVE_FABS -#undef WITH_DEBUGGER diff --git a/configure.in b/configure.in index 7ee1a198..ba0d37b5 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configuration script. -AC_PREREQ(2.2) +AC_PREREQ(2.59) AC_INIT(libxslt/xslt.c) AM_CONFIG_HEADER(config.h) AC_CANONICAL_HOST @@ -231,19 +231,19 @@ AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h) AC_CHECK_HEADERS(sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h) AC_CHECK_FUNCS(stat _stat) AC_CHECK_FUNC(isnan, , AC_CHECK_LIB(m, isnan, - [M_LIBS="-lm"; AC_DEFINE(HAVE_ISNAN)])) + [M_LIBS="-lm"; AC_DEFINE([HAVE_ISNAN],[], [Define if isnan is there])])) AC_CHECK_FUNC(isinf, , AC_CHECK_LIB(m, isinf, - [M_LIBS="-lm"; AC_DEFINE(HAVE_ISINF)])) + [M_LIBS="-lm"; AC_DEFINE([HAVE_ISINF],[], [Define if isinf is there])])) AC_CHECK_FUNC(pow, , AC_CHECK_LIB(m, pow, - [M_LIBS="-lm"; AC_DEFINE(HAVE_POW)])) + [M_LIBS="-lm"; AC_DEFINE([HAVE_POW],[], [Define if pow is there])])) AC_CHECK_FUNC(floor, , AC_CHECK_LIB(m, floor, - [M_LIBS="-lm"; AC_DEFINE(HAVE_FLOOR)])) + [M_LIBS="-lm"; AC_DEFINE([HAVE_FLOOR],[], [Define if floor is there])])) AC_CHECK_FUNC(fabs, , AC_CHECK_LIB(m, fabs, - [M_LIBS="-lm"; AC_DEFINE(HAVE_FABS)])) + [M_LIBS="-lm"; AC_DEFINE([HAVE_FABS],[], [Define if fabs is there])])) AC_CHECK_FUNCS(gettimeofday) @@ -449,7 +449,7 @@ if test "$with_debugger" = "no" ; then else echo Enabling debugger WITH_DEBUGGER=1 - AC_DEFINE(WITH_DEBUGGER) + AC_DEFINE([WITH_DEBUGGER],[], [Define if debugging support is enabled]) fi AC_SUBST(WITH_DEBUGGER) |