diff options
author | wm4 <wm4@nowhere> | 2013-01-13 16:13:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 17:32:39 +0100 |
commit | 20c9dfa61692d9ed741a91177d3fa185d73c02dd (patch) | |
tree | 8931b8f4036bbcc4941c8d372546b08dbd75e53b /configure | |
parent | cbdee50f29e2d1c44453f7b5ed5d67296f7a16dc (diff) | |
download | mpv-20c9dfa61692d9ed741a91177d3fa185d73c02dd.tar.bz2 mpv-20c9dfa61692d9ed741a91177d3fa185d73c02dd.tar.xz |
Replace strsep() uses
This function sucks and apparently is not very portable (at least on
mingw, the configure check fails). Also remove the emulation of that
function from osdep/strsep*, and remove the configure check.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -1617,19 +1617,6 @@ fi echores "$_shm" -echocheck "strsep()" -_strsep=no -statement_check string.h 'char *s = "Hello, world!"; strsep(&s, ",")' && _strsep=yes -if test "$_strsep" = yes ; then - def_strsep='#define HAVE_STRSEP 1' - need_strsep=no -else - def_strsep='#undef HAVE_STRSEP' - need_strsep=yes -fi -echores "$_strsep" - - echocheck "POSIX select()" cat > $TMPC << EOF #include <stdio.h> @@ -3110,7 +3097,6 @@ $(mak_enable "$subarch_all" "$subarch" ARCH) NEED_GLOB = $need_glob NEED_SHMEM = $need_shmem -NEED_STRSEP = $need_strsep # features ALSA = $_alsa @@ -3246,7 +3232,6 @@ $def_posix_select $def_select $def_setmode $def_shm -$def_strsep $def_sysi86 $def_sysi86_iv $def_termcap |