summaryrefslogtreecommitdiffstats
path: root/m4/esd.m4
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-09-17 22:13:07 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-09-17 22:13:07 +0000
commitdd6ce2d6ba36c818729bc6a2fa66fc3a8631350e (patch)
treed9485bbf5a55a40f44990443e72f79e5fc4673ec /m4/esd.m4
parentb9172c651011297dad98e7da551468c81f11ca2b (diff)
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
Diffstat (limited to 'm4/esd.m4')
-rw-r--r--m4/esd.m46
1 files changed, 6 insertions, 0 deletions
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 <stdio.h>
#include <esd.h>
@@ -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=""