summaryrefslogtreecommitdiff
path: root/math/scigraphica/files/patch-ac
blob: 7337d4f840fcc4496a4e7ca0ab0b9ba2695d14d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.orig	Thu Aug 31 11:01:27 2000
+++ configure	Thu Aug 31 11:15:04 2000
@@ -3549,8 +3549,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||'`
                   echo arrayobject.h location: $array_loc
                   PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
                   if test -n $array_loc; then