openbsd-ports/devel/gmp/patches/patch-configure
naddy b581e350a7 - maintenance update to 4.1.4
- enable MPFR, required by GCC4/Fortran95; from espie@
2005-01-06 19:52:43 +00:00

54 lines
2.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.5 2005/01/06 19:52:44 naddy Exp $
--- configure.orig Tue Sep 21 15:06:47 2004
+++ configure Thu Jan 6 17:07:14 2005
@@ -8374,7 +8374,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
@@ -8384,7 +8384,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
@@ -14173,7 +14173,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_shlibpath_var_GCJ=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
export_dynamic_flag_spec_GCJ='${wl}-E'
else
@@ -14183,7 +14183,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_libdir_flag_spec_GCJ='-R$libdir'
;;
*)
- archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
;;
esac
@@ -20052,13 +20052,6 @@ echo "$as_me:20051: result: determined"
echo "${ECHO_T}determined" >&6
fi
- case $host in
- *-*-openbsd*)
-
-echo 'define(<_GLOBAL_OFFSET_TABLE_>, <__GLOBAL_OFFSET_TABLE_>)' >>$gmp_tmpconfigm4
-
- ;;
- esac
;;
esac
fi