From a8acf72afa2a057cc72b86420e4ee3e17aece142 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Tue, 27 Apr 1999 22:06:08 +0000
Subject: Need to double the macro brackets in FreeBSD check. (My fault, not
 Dom's -- he submitted a correct patch to configure.)

---
 configure    | 6 +++---
 configure.in | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 8327722..9c99a21 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.104 
+# From configure.in Revision: 1.105 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13 
@@ -2246,7 +2246,7 @@ then
 		fi ;;
 	Linux*) LDSHARED="gcc -shared";;
 	dgux*) LDSHARED="ld -G";;
-	FreeBSD*/34*) LDSHARED="gcc -shared";;
+	FreeBSD*/[34]*) LDSHARED="gcc -shared";;
 	FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
 	NetBSD*)
 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
@@ -2292,7 +2292,7 @@ then
 	AIX*)	LINKFORSHARED='-Wl,-bE:python.exp -lld';;
 	hp*|HP*)
 	    LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
-	FreeBSD/34*) LINKFORSHARED="-Xlinker -export-dynamic";;
+	FreeBSD/[34]*) LINKFORSHARED="-Xlinker -export-dynamic";;
 	Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
 	# -u libsys_s pulls in all symbols in libsys
 	next/2*|next/3*) LINKFORSHARED="-u libsys_s";;
diff --git a/configure.in b/configure.in
index cdf10af..5a46847 100644
--- a/configure.in
+++ b/configure.in
@@ -467,7 +467,7 @@ then
 		fi ;;
 	Linux*) LDSHARED="gcc -shared";;
 	dgux*) LDSHARED="ld -G";;
-	FreeBSD*/[34]*) LDSHARED="gcc -shared";;
+	FreeBSD*/[[34]]*) LDSHARED="gcc -shared";;
 	FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
 	NetBSD*)
 		if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
@@ -511,7 +511,7 @@ then
 	AIX*)	LINKFORSHARED='-Wl,-bE:python.exp -lld';;
 	hp*|HP*)
 	    LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
-	FreeBSD/[34]*) LINKFORSHARED="-Xlinker -export-dynamic";;
+	FreeBSD/[[34]]*) LINKFORSHARED="-Xlinker -export-dynamic";;
 	Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
 	# -u libsys_s pulls in all symbols in libsys
 	next/2*|next/3*) LINKFORSHARED="-u libsys_s";;
-- 
cgit v0.12

