From: Ben Elliston Date: Tue, 9 Nov 1999 12:58:28 +0000 (+0000) Subject: 1999-11-09 Akim Demaille X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99909515648e37d2455fd0de54e7168bf2e180d;p=thirdparty%2Fautoconf.git 1999-11-09 Akim Demaille * autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not HAVE_FOO. --- diff --git a/ChangeLog b/ChangeLog index 01fe5f74..3e371e6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-11-09 Akim Demaille + + * autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not + HAVE_FOO. + 1999-11-09 Ben Elliston * testsuite/config/unix.exp (autoconf_version): Detect version @@ -474,6 +479,13 @@ as `ac_cs_root'. The previous name was breaking the naming scheme. + Fix a bug in templates of AC_CHECK_LIB. + + * autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not + HAVE_FOO. + +1999-10-24 Akim Demaille + * TODO: Updated. Added a section for 2.15 and 3. diff --git a/autoheader.m4 b/autoheader.m4 index dd0ca300..83b01f5e 100644 --- a/autoheader.m4 +++ b/autoheader.m4 @@ -73,8 +73,10 @@ ac_verbatim_$1="\ @@@ ])]) +dnl FIXME: To be rigorous, this should not be systematic: depending +dnl upon the arguments of AC_CHECK_LIB, we might not AC_DEFINE. define([AH_CHECK_LIB], -[AH_TEMPLATE(AC_TR_CPP(HAVE_$1), +[AH_TEMPLATE(AC_TR_CPP(HAVE_LIB$1), [Define if you have the `]$1[' library (-l]$1[).]) # Success $3