Mercurial > mplayer.hg
comparison configure @ 10793:7b2f852ad9b7
Fixed detection of vsscanf for newer gcc versions (3.3.1 etc). Patch by Dima K. <dimakar@yahoo.com>.
author | mosu |
---|---|
date | Tue, 02 Sep 2003 14:36:26 +0000 |
parents | a2029c40a65c |
children | 47a90985950d |
comparison
equal
deleted
inserted
replaced
10792:b00e9e1c9b4b | 10793:7b2f852ad9b7 |
---|---|
2409 | 2409 |
2410 | 2410 |
2411 echocheck "vsscanf()" | 2411 echocheck "vsscanf()" |
2412 cat > $TMPC << EOF | 2412 cat > $TMPC << EOF |
2413 #include <stdarg.h> | 2413 #include <stdarg.h> |
2414 int main(void) { vsscanf(); return 0; } | 2414 int main(void) { vsscanf(0, 0, 0); return 0; } |
2415 EOF | 2415 EOF |
2416 _vsscanf=no | 2416 _vsscanf=no |
2417 cc_check && _vsscanf=yes | 2417 cc_check && _vsscanf=yes |
2418 if test "$_vsscanf" = yes ; then | 2418 if test "$_vsscanf" = yes ; then |
2419 _def_vsscanf='#define HAVE_VSSCANF 1' | 2419 _def_vsscanf='#define HAVE_VSSCANF 1' |