summaryrefslogtreecommitdiffstats
path: root/m4/check-libheader.m4
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-31 03:32:58 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-31 03:32:58 +0000
commit9ce235f0d7ceedffdb71c0f0e1deb012626e8e5c (patch)
tree788ba56ed03262ef9ddb7f5b011c8f342d1fb61e /m4/check-libheader.m4
parentfcb6755706f7d9f7fa46de4966b8cc282fd62ce4 (diff)
correct a condition in check-libheader.m4 remove gst a52 and mpeg2dec m4's in favor of ones i have sent to walken for...
Original commit message from CVS: * correct a condition in check-libheader.m4 * remove gst a52 and mpeg2dec m4's in favor of ones i have sent to walken for inclusion in the upstream packages
Diffstat (limited to 'm4/check-libheader.m4')
-rw-r--r--m4/check-libheader.m413
1 files changed, 5 insertions, 8 deletions
diff --git a/m4/check-libheader.m4 b/m4/check-libheader.m4
index 42db689b..120e9e23 100644
--- a/m4/check-libheader.m4
+++ b/m4/check-libheader.m4
@@ -21,20 +21,17 @@ AC_DEFUN(CHECK_LIBHEADER,
check_libheader_feature_name=translit([$1], A-Z, a-z)
if test "x$HAVE_[$1]" = "xyes"; then
-
check_libheader_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="[$8] $CPPFLAGS"
AC_CHECK_HEADER([$4], :, HAVE_[$1]=no)
CPPFLAGS=$check_libheader_save_CPPFLAGS
+ fi
- if test "x$HAVE_[$1]" = "xyes"; then
- dnl execute what needs to be
- ifelse([$5], , :, [$5])
- AC_MSG_NOTICE(feature $check_libheader_feature_name is found)
- else
- ifelse([$6], , :, [$6])
- fi
+ if test "x$HAVE_[$1]" = "xyes"; then
+ ifelse([$5], , :, [$5])
+ AC_MSG_NOTICE($check_libheader_feature_name was found)
else
+ ifelse([$6], , :, [$6])
AC_MSG_WARN($check_libheader_feature_name not found)
fi
AC_SUBST(HAVE_[$1])