[Mplayer-cvslog] CVS: main configure,1.246,1.247

Jürgen Keil jkeil at mplayer.dev.hu
Wed Nov 14 20:02:42 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv20563

Modified Files:
	configure 
Log Message:
Add a test for 'vsscanf()' (it's missing on solaris / non iso-c99 systems)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -r1.246 -r1.247
--- configure	14 Nov 2001 11:35:25 -0000	1.246
+++ configure	14 Nov 2001 19:02:39 -0000	1.247
@@ -1254,6 +1254,13 @@
 _sys_soundcard_h=no
 cc_check && _sys_soundcard_h=yes
 
+# check for vsscanf
+cat > $TMPC << EOF
+int main( void ) { vsscanf(); return 0; }
+EOF
+_vsscanf=no
+cc_check && _vsscanf=yes
+
 
 # ---
 # try to detect type of audio supported on this machine
@@ -2271,6 +2278,12 @@
  _zlib=''
 fi
 
+if test "$_vsscanf" = yes ; then
+ _have_vsscanf='#define HAVE_VSSCANF 1'
+else
+ _have_vsscanf='#undef  HAVE_VSSCANF'
+fi
+
 # Checking for CFLAGS
 if test "$_profile" || test "$_debug" ; then
  CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile"
@@ -2736,6 +2749,9 @@
 
 /* Define this if you have zlib */
 $_have_zlib
+
+/* Define this if your system has vsscanf */
+$_have_vsscanf
 
 /* LIRC (remote control, see www.lirc.org) support: */
 $_lircdefs




More information about the MPlayer-cvslog mailing list