changeset 35954:b1d68e8f28c0

build: Drop unused part of sysi86() check.
author diego
date Sat, 23 Mar 2013 14:48:22 +0000
parents 2211ce940290
children 7d9406af9f09
files configure loader/ldt_keeper.c
diffstat 2 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Mar 23 14:48:16 2013 +0000
+++ b/configure	Sat Mar 23 14:48:22 2013 +0000
@@ -4091,13 +4091,9 @@
 if sunos; then
 echocheck "sysi86()"
 _sysi86=no
-statement_check sys/sysi86.h 'sysi86(0)' && _sysi86=yes
-if test "$_sysi86" = yes ; then
-  def_sysi86='#define HAVE_SYSI86 1'
-  statement_check sys/sysi86.h 'int sysi86(int, void*); sysi86(0)' && def_sysi86_iv='#define HAVE_SYSI86_iv 1'
-else
-  def_sysi86='#undef HAVE_SYSI86'
-fi
+def_sysi86='#define HAVE_SYSI86 0'
+statement_check sys/sysi86.h 'int sysi86(int, void*); sysi86(0)' &&
+  _sysi86=yes && def_sysi86='#define HAVE_SYSI86 1'
 echores "$_sysi86"
 fi #if sunos
 
--- a/loader/ldt_keeper.c	Sat Mar 23 14:48:16 2013 +0000
+++ b/loader/ldt_keeper.c	Sat Mar 23 14:48:22 2013 +0000
@@ -63,7 +63,7 @@
 #include <sys/sysi86.h>
 
 /* solaris x86: add missing prototype for sysi86(), but only when sysi86(int, void*) is known to be valid */
-#ifdef HAVE_SYSI86_iv
+#if HAVE_SYSI86
 int sysi86(int, void*);
 #endif