diff options
author | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-14 19:02:39 +0000 |
---|---|---|
committer | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-14 19:02:39 +0000 |
commit | 2f56bc761d01c745347b40ad2de511d0c6f405d3 (patch) | |
tree | 3c64818d749e01015fcfbf5408ac79bd5201131d /configure | |
parent | da2237785bceff9e6b8c87b9ad26321cc4917130 (diff) | |
download | mpv-2f56bc761d01c745347b40ad2de511d0c6f405d3.tar.bz2 mpv-2f56bc761d01c745347b40ad2de511d0c6f405d3.tar.xz |
Add a test for 'vsscanf()' (it's missing on solaris / non iso-c99 systems)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2906 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1254,6 +1254,13 @@ EOF _sys_soundcard_h=no cc_check && _sys_soundcard_h=yes +# check for vsscanf +cat > $TMPC << EOF +int main( void ) { vsscanf(); return 0; } +EOF +_vsscanf=no +cc_check && _vsscanf=yes + # --- # try to detect type of audio supported on this machine @@ -2271,6 +2278,12 @@ else _zlib='' fi +if test "$_vsscanf" = yes ; then + _have_vsscanf='#define HAVE_VSSCANF 1' +else + _have_vsscanf='#undef HAVE_VSSCANF' +fi + # Checking for CFLAGS if test "$_profile" || test "$_debug" ; then CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" @@ -2737,6 +2750,9 @@ $_have_libkstat /* Define this if you have zlib */ $_have_zlib +/* Define this if your system has vsscanf */ +$_have_vsscanf + /* LIRC (remote control, see www.lirc.org) support: */ $_lircdefs |