Ticket #12803: patch-configure

File patch-configure, 956 bytes (added by nox@…, 17 years ago)
Line 
1--- configure.in.orig   2007-09-27 14:58:07.000000000 +0200
2+++ configure.in        2007-09-27 15:07:40.000000000 +0200
3@@ -669,6 +669,11 @@
4          BLDLIBRARY='-L. -lpython$(VERSION)'
5          RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
6          ;;
7+       Darwin*)
8+         LDLIBRARY='libpython$(VERSION).dylib'
9+         BLDLIBRARY='-L. -lpython$(VERSION)'
10+         RUNSHARED=DYLD_LIBRARY_PATH="`pwd`:${DYLD_LIBRARY_PATH}"
11+         ;;
12   esac
13 else # shared is disabled
14   case $ac_sys_system in
15--- configure.orig      2007-09-27 15:02:25.000000000 +0200
16+++ configure   2007-09-27 15:07:40.000000000 +0200
17@@ -3445,6 +3445,11 @@
18          BLDLIBRARY='-L. -lpython$(VERSION)'
19          RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
20          ;;
21+       Darwin*)
22+         LDLIBRARY='libpython$(VERSION).dylib'
23+         BLDLIBRARY='-L. -lpython$(VERSION)'
24+         RUNSHARED=DYLD_LIBRARY_PATH="`pwd`:${DYLD_LIBRARY_PATH}"
25+         ;;
26   esac
27 else # shared is disabled
28   case $ac_sys_system in