From 108ddee250bf16c6c42bd78db3a96f2aceb02d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 31 Oct 2000 15:18:55 +0100 Subject: [PATCH] Fixed FreeBSD <= 3.x detection. Rev: src/configure.in:1.431 --- src/configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/configure.in b/src/configure.in index 8b8671a562..7e23ff7776 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -AC_REVISION("$Id: configure.in,v 1.430 2000/10/24 13:25:54 grubba Exp $") +AC_REVISION("$Id: configure.in,v 1.431 2000/10/31 14:18:55 grubba Exp $") AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) @@ -366,6 +366,9 @@ case "$UNAME" in OSF1\ V4.*) AC_DEFINE(USE_RPATH) ;; + HPUX\ 11.*) + AC_DEFINE(USE_PLUS_b) + ;; IRIX\ 6.*) AC_DEFINE(USE_RPATH) ;; @@ -628,7 +631,7 @@ AC_ARG_WITH(copt, [ --without-copt disable -O2],[],[with_copt=]) AC_ARG_WITH(threads, [ --without-threads no threads support],[],[ case "x$pike_cv_sys_os" in xFreeBSD*) - if test "`uname -r`" -gt 3; then + if test "`uname -r|sed -e 's/\([0-9]*\).*/\1/'`" -lt 4; then AC_MSG_WARN([ FreeBSD <= 3.x detected, disabling threads. Use --with-threads to force threads support. -- GitLab