configure and OpenBSD

HIRAMATSU Yoshifumi hiramatu at boreas.dti.ne.jp
Tue Oct 25 10:24:11 CEST 2005


Hello,

GMP's configure.in has x86 OpenBSD specific definition around
line 2040.

case $host in
 *-*-openbsd*)
    GMP_DEFINE(_GLOBAL_OFFSET_TABLE_,__GLOBAL_OFFSET_TABLE_)
    ;;
esac

But how about removing this? OpenBSD ports tree has a patch to
remove this define that intends to fix problem on i386/ELF
platform.

@@ -19970,13 +19970,6 @@ echo "$as_me:19969: result: determined"
 echo "${ECHO_T}determined" >&6

       fi
-      case $host in
-        *-*-openbsd*)
-
-echo 'define(<_GLOBAL_OFFSET_TABLE_>, <__GLOBAL_OFFSET_TABLE_>)' >>$gmp_tmpconf
-
-          ;;
-      esac
       ;;
   esac
 fi

-- 
// HIRAMATSU Yoshifumi
// hiramatu at boreas.dti.ne.jp


More information about the gmp-discuss mailing list