From 9ce235f0d7ceedffdb71c0f0e1deb012626e8e5c Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 31 Mar 2002 03:32:58 +0000 Subject: 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 --- m4/check-libheader.m4 | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'm4/check-libheader.m4') 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]) -- cgit