[Mplayer-cvslog] CVS: main configure,1.416,1.417
Jürgen Keil
jkeil at mplayer.dev.hu
Fri Mar 29 22:24:38 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv5135
Modified Files:
configure
Log Message:
Add a configure test for the strsep function (it's missing on solaris)
Provide an implementation of strsep in libosdep.a, if it's missing in the
system's libc library.
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.416
retrieving revision 1.417
diff -u -r1.416 -r1.417
--- configure 28 Mar 2002 20:39:44 -0000 1.416
+++ configure 29 Mar 2002 21:24:26 -0000 1.417
@@ -1573,6 +1573,21 @@
echores "$_linux_devfs"
+echocheck "strsep()"
+cat > $TMPC << EOF
+#include <string.h>
+int main (void) { char *s = "Hello, world!"; (void) strsep(&s, ","); return 0; }
+EOF
+_strsep=no
+cc_check && _strsep=yes
+if test "$_strsep" = yes ; then
+ _def_strsep='#define HAVE_STRSEP 1'
+else
+ _def_strsep='#undef HAVE_STRSEP'
+fi
+echores "$_strsep"
+
+
echocheck "vsscanf()"
cat > $TMPC << EOF
#include <stdarg.h>
@@ -3483,6 +3498,9 @@
/* Define this if you have shm support */
$_def_shm
+
+/* Define this if your system has strsep */
+$_def_strsep
/* Define this if your system has vsscanf */
$_def_vsscanf
More information about the MPlayer-cvslog
mailing list