+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.
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.
@@@
])])
+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
[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],
[`]AC_Member_Aggregate['.])
popdef([AC_Member_Member])
popdef([AC_Member_Aggregate])
- # Success
- $2
- # Failure
- $3])
+ # Success
+ $2
+ # Failure
+ $3])
])