pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-12-06
2001-12-06 10:40:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ac61a23d61bc309068c1781c1faf13a0295e7998 (
180
lines) (+
96
/-
84
)
[
Show
|
Annotate
]
Branch:
7.9
Added option --with-force-ua32.
Fixes [bug
2593 (#2593)
].
Rev: src/configure.in:1.560
1:
-
AC_REVISION("$Id: configure.in,v 1.
559
2001/12/
03
13
:
29
:
13
grubba Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
560
2001/12/
06
10
:
40
:
42
grubba Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
676:
[attempt to patch the UA32 relocation bug.]), [], [with_patch_gcc=no])
+
AC_ARG_WITH(force_ua32, MY_DESCR([--with-force-ua32],
+
[ignore the UA32 relocation bug.]),
+
[], [with_force_ua32=no])
+
# Some sanity checks. if test "$GCC" = "yes" -a "$pike_cv_sys_os" = "Solaris" && test "`uname -p`" = "sparc"; then
753:
AC_MSG_WARN([R_SPARC_UA32 relocations are unsupported in Solaris >= 2.3,]) AC_MSG_WARN([and have broken support in Solaris 7.])
-
if test "x$with_patch_
gcc
" = "
xno
"; then
+
if test "x$with_patch_
gcc$with_force_ua32
" = "
xnono
"; then
if test -d "/var/sadm/patch/107058-01/."; then AC_MSG_WARN([Back out patch 107058-01, or]) AC_MSG_WARN([recompile gcc with a modified config/sparc/sol2.h.])
766:
AC_MSG_WARN([In that case rerun configure with --with-patch-gcc.]) AC_MSG_WARN([NOTE: Binary patching is highly experimental and risky,]) AC_MSG_WARN([ and may break your existing gcc even more.])
+
AC_MSG_WARN([])
+
AC_MSG_WARN([R_SPARC_UA32 relocations are supported on some versions])
+
AC_MSG_WARN([of Solaris. If you want to try a binary with R_SPARC_UA32])
+
AC_MSG_WARN([relocations, rerun configure with --with-force-ua32.])
+
AC_MSG_WARN([])
exit 1 fi
-
+
if test "x$with_path_gcc" = "xno"; then :; else
AC_MSG_WARN([Will attempt to patch gcc.]) AC_MSG_CHECKING([for cc1])
879:
AC_MSG_RESULT(no -- you need to patch cc1 by hand) exit 1 fi
+
fi
else :; fi else :; fi else :; fi