1999-10-31 Akim Demaille <akim@epita.fr>

Fix a bug in templates of AC_CHECK_LIB.

	* autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not
 	HAVE_FOO.
This commit is contained in:
Akim Demaille 1999-12-21 13:44:54 +00:00
parent 8b00e62b03
commit c61438fda5
2 changed files with 20 additions and 9 deletions

View File

@ -1,3 +1,10 @@
1999-10-31 Akim Demaille <akim@epita.fr>
Fix a bug in templates of AC_CHECK_LIB.
* autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not
HAVE_FOO.
1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
@ -719,6 +726,8 @@
as `ac_cs_root'. The previous name was breaking the naming
scheme.
1999-10-24 Akim Demaille <akim@epita.fr>
* TODO: Updated.
Added a section for 2.15 and 3.

View File

@ -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
@ -103,10 +105,10 @@ define([AH_CHECK_FUNCS],
[AC_FOREACH([AC_Func], [$1],
[AH_TEMPLATE(AC_TR_CPP(HAVE_[]AC_Func),
[Define if you have the `]AC_Func[' function.])
# Success
$2
# Failure
$3])
# Success
$2
# Failure
$3])
])
define([AH_CHECK_SIZEOF],
@ -126,10 +128,10 @@ define([AH_CHECK_MEMBERS],
[`]AC_Member_Aggregate['.])
popdef([AC_Member_Member])
popdef([AC_Member_Aggregate])
# Success
$2
# Failure
$3])
# Success
$2
# Failure
$3])
])