From dd6ce2d6ba36c818729bc6a2fa66fc3a8631350e Mon Sep 17 00:00:00 2001 From: Stéphane Loeuillet Date: Fri, 17 Sep 2004 22:13:07 +0000 Subject: update esound, gconf, alsa and ogg m4 files from upstream versions Original commit message from CVS: update esound, gconf, alsa and ogg m4 files from upstream versions --- m4/esd.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'm4/esd.m4') diff --git a/m4/esd.m4 b/m4/esd.m4 index c6286c07..1812fd02 100644 --- a/m4/esd.m4 +++ b/m4/esd.m4 @@ -46,6 +46,8 @@ AC_ARG_ENABLE(esdtest, if test "$ESD_CONFIG" = "no" ; then no_esd=yes else + AC_LANG_SAVE + AC_LANG_C ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags` ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs` @@ -122,6 +124,7 @@ int main () ],, no_esd=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" + AC_LANG_RESTORE fi fi if test "x$no_esd" = x ; then @@ -141,6 +144,8 @@ int main () echo "*** Could not run ESD test program, checking why..." CFLAGS="$CFLAGS $ESD_CFLAGS" LIBS="$LIBS $ESD_LIBS" + AC_LANG_SAVE + AC_LANG_C AC_TRY_LINK([ #include #include @@ -160,6 +165,7 @@ int main () echo "*** may want to edit the esd-config script: $ESD_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" + AC_LANG_RESTORE fi fi ESD_CFLAGS="" -- cgit