removed strptime test
Originally committed as revision 2235 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
33f25681ae
commit
c54d0a1ae0
18
configure
vendored
18
configure
vendored
@ -563,17 +563,6 @@ EOF
|
|||||||
$cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
|
$cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
|
||||||
fi
|
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
|
cat > $TMPC << EOF
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
int main( void ) { localtime_r(NULL, NULL); }
|
int main( void ) { localtime_r(NULL, NULL); }
|
||||||
@ -925,15 +914,8 @@ if test "$gprof" = "yes" ; then
|
|||||||
echo "TARGET_GPROF=yes" >> config.mak
|
echo "TARGET_GPROF=yes" >> config.mak
|
||||||
echo "#define HAVE_GPROF 1" >> $TMPH
|
echo "#define HAVE_GPROF 1" >> $TMPH
|
||||||
fi
|
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
|
if test "$localtime_r" = "yes" ; then
|
||||||
echo "#define HAVE_LOCALTIME_R 1" >> $TMPH
|
echo "#define HAVE_LOCALTIME_R 1" >> $TMPH
|
||||||
else
|
|
||||||
echo "BUILD_LOCALTIME_R=yes" >> config.mak
|
|
||||||
fi
|
fi
|
||||||
if test "$imlib2" = "yes" ; then
|
if test "$imlib2" = "yes" ; then
|
||||||
echo "HAVE_IMLIB2=yes" >> config.mak
|
echo "HAVE_IMLIB2=yes" >> config.mak
|
||||||
|
Loading…
x
Reference in New Issue
Block a user