From 20c9dfa61692d9ed741a91177d3fa185d73c02dd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 13 Jan 2013 16:13:13 +0100 Subject: 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. --- configure | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'configure') diff --git a/configure b/configure index f87c45199d..365826f5d8 100755 --- a/configure +++ b/configure @@ -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 @@ -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 -- cgit v1.2.3