summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-08 22:16:37 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-08 22:16:37 +0000
commitc54d0a1ae02566b7704ad3adb16b624866b5cebf (patch)
tree07f01baa994af909a585c2d72de9e852a54ec71b /configure
parent33f25681aedd803792d8354411450576019c0f67 (diff)
removed strptime test
Originally committed as revision 2235 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 0 insertions, 18 deletions
diff --git a/configure b/configure
index 832925f48d..b22e472abe 100755
--- a/configure
+++ b/configure
@@ -564,17 +564,6 @@ $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
fi
cat > $TMPC << EOF
-#define _GNU_SOURCE
-#include <time.h>
-int main( void ) { return *strptime("", "", 0); }
-EOF
-
-strptime=no
-if $cc -o $TMPE $TMPC 2> /dev/null ; then
- strptime=yes
-fi
-
-cat > $TMPC << EOF
#include <time.h>
int main( void ) { localtime_r(NULL, NULL); }
EOF
@@ -925,15 +914,8 @@ if test "$gprof" = "yes" ; then
echo "TARGET_GPROF=yes" >> config.mak
echo "#define HAVE_GPROF 1" >> $TMPH
fi
-if test "$strptime" = "yes" ; then
- echo "#define HAVE_STRPTIME 1" >> $TMPH
-else
- echo "BUILD_STRPTIME=yes" >> config.mak
-fi
if test "$localtime_r" = "yes" ; then
echo "#define HAVE_LOCALTIME_R 1" >> $TMPH
-else
- echo "BUILD_LOCALTIME_R=yes" >> config.mak
fi
if test "$imlib2" = "yes" ; then
echo "HAVE_IMLIB2=yes" >> config.mak