aboutsummaryrefslogtreecommitdiff
path: root/math/scigraphica/files/patch-ac
blob: fe27a150d4c0bdc663f35317bd253ad28efc8471 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.orig	Wed Dec  6 11:11:12 2000
+++ configure	Wed Dec  6 11:12:53 2000
@@ -3546,8 +3546,8 @@
 	  	  PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'`
 	  	  if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
 		  PY_LIBS="python$PY_VERSION"
-		  PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
-                  array_loc=`find $PY_PREFIX/include/python$PY_VERSION/ -name arrayobject.h -printf %h`
+		  PY_LIB_LOC="-pthread -L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
+                  array_loc=`find $PY_PREFIX/include/python$PY_VERSION/ -name arrayobject.h -print | sed 's|/a.*\.h||'`
                   if test -z $array_loc; then
                     if test -n $PYTHONPATH; then
                      array_loc=$PYTHONPATH