Mercurial > mplayer.hg
comparison configure @ 23654:c80995bd18b9
Remove check for localtime_r, the function is not used within MPlayer.
author | diego |
---|---|
date | Wed, 27 Jun 2007 10:08:21 +0000 |
parents | f5d5fc751a6a |
children | f19f12214991 |
comparison
equal
deleted
inserted
replaced
23653:b6bfa3298804 | 23654:c80995bd18b9 |
---|---|
3437 _def_fseeko='#undef HAVE_FSEEKO' | 3437 _def_fseeko='#undef HAVE_FSEEKO' |
3438 _need_fseeko=yes | 3438 _need_fseeko=yes |
3439 fi | 3439 fi |
3440 echores "$_fseeko" | 3440 echores "$_fseeko" |
3441 | 3441 |
3442 echocheck "localtime_r()" | |
3443 cat > $TMPC << EOF | |
3444 #include <time.h> | |
3445 int main( void ) { localtime_r(NULL, NULL); } | |
3446 EOF | |
3447 _localtime_r=no | |
3448 cc_check && _localtime_r=yes | |
3449 if test "$_localtime_r" = yes ; then | |
3450 _def_localtime_r='#define HAVE_LOCALTIME_R 1' | |
3451 else | |
3452 _def_localtime_r='#undef HAVE_LOCALTIME_R' | |
3453 fi | |
3454 echores "$_localtime_r" | |
3455 | |
3456 echocheck "vsscanf()" | 3442 echocheck "vsscanf()" |
3457 cat > $TMPC << EOF | 3443 cat > $TMPC << EOF |
3458 #include <stdarg.h> | 3444 #include <stdarg.h> |
3459 int main(void) { vsscanf(0, 0, 0); return 0; } | 3445 int main(void) { vsscanf(0, 0, 0); return 0; } |
3460 EOF | 3446 EOF |
7908 #include <stdio.h> | 7894 #include <stdio.h> |
7909 #include <sys/types.h> | 7895 #include <sys/types.h> |
7910 int fseeko(FILE *, off_t, int); | 7896 int fseeko(FILE *, off_t, int); |
7911 #endif | 7897 #endif |
7912 | 7898 |
7913 $_def_localtime_r | |
7914 | |
7915 /* Define this if your system has vsscanf */ | 7899 /* Define this if your system has vsscanf */ |
7916 $_def_vsscanf | 7900 $_def_vsscanf |
7917 | 7901 |
7918 /* Define this if your system has swab */ | 7902 /* Define this if your system has swab */ |
7919 $_def_swab | 7903 $_def_swab |