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
commit75d83745c73931327209749c32f200fa00cc44ec (patch)
tree9926f495aaa35b9d4c7fc7e82c41180eb2a1b5e4 /m4/check-libheader.m4
parent2432f706243dac1c1c6005d1ed9116c6536a7e04 (diff)
downloadgst-plugins-bad-75d83745c73931327209749c32f200fa00cc44ec.tar.gz
gst-plugins-bad-75d83745c73931327209749c32f200fa00cc44ec.tar.bz2
gst-plugins-bad-75d83745c73931327209749c32f200fa00cc44ec.zip
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])