summaryrefslogtreecommitdiff
path: root/lang/python27/files/patch-configure
blob: a17f2aa4095bbb4740eaafbef244178b4b9916ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- configure.orig	Sat Jun 28 16:46:31 2003
+++ configure	Thu Jul  3 22:29:46 2003
@@ -3278,6 +3278,12 @@
 	  RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
 	  ;;
+    FreeBSD*)
+	  LDLIBRARY='libpython$(VERSION).so'
+	  BLDLIBRARY='-L. -lpython$(VERSION)'
+	  RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
+	  INSTSONAME="$LDLIBRARY"
+	  ;;
     hp*|HP*)
 	  LDLIBRARY='libpython$(VERSION).sl'
 	  BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
@@ -3907,7 +3913,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_save_cc="$CC"
-CC="$CC -Kthread"
+CC="/nonexistent/ignore/$CC -Kthread"
 if test "$cross_compiling" = yes; then
   ac_cv_kthread=no
 else