diff configure @ 22715:363c84953547

check that definition of prototype of sysi86(int, void*) doesn't conflict; fixed compilation in opensolaris
author nicodvb
date Sun, 18 Mar 2007 22:18:11 +0000
parents 88b877974c8c
children 65edb9a9c710
line wrap: on
line diff
--- a/configure	Sun Mar 18 22:11:32 2007 +0000
+++ b/configure	Sun Mar 18 22:18:11 2007 +0000
@@ -3590,6 +3590,11 @@
 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 @@
 
 /* Define this if your system has sysi86 */
 $_def_sysi86
+$_def_sysi86_iv
 
 /* Define this if your system has pthreads */
 $_def_pthreads