summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 22:18:11 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 22:18:11 +0000
commita09d3e1bc7deea9775705544bac7ea7b94234e4c (patch)
tree3fbff43643867b5f8685b1cb6a993be03866617a /configure
parente72f48c19f40a5e390f205396c47f94432d48033 (diff)
downloadmpv-a09d3e1bc7deea9775705544bac7ea7b94234e4c.tar.bz2
mpv-a09d3e1bc7deea9775705544bac7ea7b94234e4c.tar.xz
check that definition of prototype of sysi86(int, void*) doesn't conflict; fixed compilation in opensolaris
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22733 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 84e1f3a6a0..535973e7ee 100755
--- a/configure
+++ b/configure
@@ -3590,6 +3590,11 @@ _sysi86=no
cc_check && _sysi86=yes
if test "$_sysi86" = yes ; then
_def_sysi86='#define HAVE_SYSI86 1'
+ cat > $TMPC << EOF
+ #include <sys/sysi86.h>
+ int main (void) { int sysi86(int, void*); sysi86(0); return 0; }
+EOF
+ cc_check && _def_sysi86_iv='#define HAVE_SYSI86_iv 1'
else
_def_sysi86='#undef HAVE_SYSI86'
fi
@@ -7932,6 +7937,7 @@ int setenv(const char *name, const char *val, int overwrite);
/* Define this if your system has sysi86 */
$_def_sysi86
+$_def_sysi86_iv
/* Define this if your system has pthreads */
$_def_pthreads