Mercurial > mplayer.hg
comparison configure @ 2905:8927ef5c4870
Add a test for 'vsscanf()' (it's missing on solaris / non iso-c99 systems)
author | jkeil |
---|---|
date | Wed, 14 Nov 2001 19:02:39 +0000 |
parents | 4c2db939183e |
children | 220e6c728747 |
comparison
equal
deleted
inserted
replaced
2904:26ebb636f893 | 2905:8927ef5c4870 |
---|---|
1252 int main( void ) { return 0; } | 1252 int main( void ) { return 0; } |
1253 EOF | 1253 EOF |
1254 _sys_soundcard_h=no | 1254 _sys_soundcard_h=no |
1255 cc_check && _sys_soundcard_h=yes | 1255 cc_check && _sys_soundcard_h=yes |
1256 | 1256 |
1257 # check for vsscanf | |
1258 cat > $TMPC << EOF | |
1259 int main( void ) { vsscanf(); return 0; } | |
1260 EOF | |
1261 _vsscanf=no | |
1262 cc_check && _vsscanf=yes | |
1263 | |
1257 | 1264 |
1258 # --- | 1265 # --- |
1259 # try to detect type of audio supported on this machine | 1266 # try to detect type of audio supported on this machine |
1260 | 1267 |
1261 | 1268 |
2267 _have_zlib='#define HAVE_ZLIB 1' | 2274 _have_zlib='#define HAVE_ZLIB 1' |
2268 _zlib='-lz' | 2275 _zlib='-lz' |
2269 else | 2276 else |
2270 _have_zlib='#undef HAVE_ZLIB' | 2277 _have_zlib='#undef HAVE_ZLIB' |
2271 _zlib='' | 2278 _zlib='' |
2279 fi | |
2280 | |
2281 if test "$_vsscanf" = yes ; then | |
2282 _have_vsscanf='#define HAVE_VSSCANF 1' | |
2283 else | |
2284 _have_vsscanf='#undef HAVE_VSSCANF' | |
2272 fi | 2285 fi |
2273 | 2286 |
2274 # Checking for CFLAGS | 2287 # Checking for CFLAGS |
2275 if test "$_profile" || test "$_debug" ; then | 2288 if test "$_profile" || test "$_debug" ; then |
2276 CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" | 2289 CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" |
2735 $_have_libkstat | 2748 $_have_libkstat |
2736 | 2749 |
2737 /* Define this if you have zlib */ | 2750 /* Define this if you have zlib */ |
2738 $_have_zlib | 2751 $_have_zlib |
2739 | 2752 |
2753 /* Define this if your system has vsscanf */ | |
2754 $_have_vsscanf | |
2755 | |
2740 /* LIRC (remote control, see www.lirc.org) support: */ | 2756 /* LIRC (remote control, see www.lirc.org) support: */ |
2741 $_lircdefs | 2757 $_lircdefs |
2742 | 2758 |
2743 /* DeCSS support using libcss */ | 2759 /* DeCSS support using libcss */ |
2744 $_cssdef | 2760 $_cssdef |