Changeset 3364 for trunk/essentials/dev-lang/python/configure.in
- Timestamp:
- May 21, 2007, 2:27:53 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/python/configure.in
r3225 r3364 184 184 atheos*) MACHDEP="atheos";; 185 185 irix646) MACHDEP="irix6";; 186 os2*|emx*) MACHDEP="emx";; 187 186 188 '') MACHDEP="unknown";; 187 189 esac … … 487 489 gcc) CC="$CC -D_HAVE_BSDI";; 488 490 esac;; 491 os2*|emx*) 492 CC="$CC -DPYCC_OS2=1 -DPYCC_GCC=1" 493 ;; 489 494 esac 490 495 … … 519 524 # LDLIBRARYDIR is the path to LDLIBRARY, which is made in a subdirectory. On 520 525 # systems without shared libraries, LDLIBRARY is the same as LIBRARY 521 # (defined in the Makefiles). On Cygwin LDLIBRARY is the import library,522 # DLLLIBRARY is the shared (i.e., DLL) library.523 # 526 # (defined in the Makefiles). On Cygwin and OS/2 LDLIBRARY is the import 527 # library, DLLLIBRARY is the shared (i.e., DLL) library. 528 # 524 529 # RUNSHARED is used to run shared python without installed libraries 525 530 # … … 665 670 RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib} 666 671 ;; 672 os2*|emx*) 673 LDLIBRARY='python$(VERSION)_dll.a' 674 BLDLIBRARY='-L. -lpython$(VERSION)' 675 RUNSHARED=BEGINLIBPATH="`pwd`;$BEGINLIBPATH" 676 CONDENSED_VERSION=`echo "$(VERSION)" | tr -d .,"` 677 DLLLIBRARY='python$(CONDENSED_VERSION).dll' 678 ;; 667 679 esac 668 680 else # shared is disabled … … 706 718 BeOS*) LN="ln -s";; 707 719 CYGWIN*) LN="ln -s";; 720 os2*|emx*) LN="ln -s";; 708 721 atheos*) LN="ln -s";; 709 722 *) LN=ln;; … … 1396 1409 AC_SUBST(LINKFORSHARED) 1397 1410 # SO is the extension of shared libraries `(including the dot!) 1398 # -- usually .so, .sl on HP-UX, .dll on Cygwin 1411 # -- usually .so, .sl on HP-UX, .dll on Cygwin and OS/2 1399 1412 AC_MSG_CHECKING(SO) 1400 1413 if test -z "$SO" … … 1408 1421 ;; 1409 1422 CYGWIN*) SO=.dll;; 1423 os2*|emx*) SO=.dll;; 1410 1424 *) SO=.so;; 1411 1425 esac … … 3402 3416 if test ! -f Modules/Setup 3403 3417 then 3404 cp $srcdir/Modules/Setup.dist Modules/Setup 3418 if test "$MACHDEP" = "emx"; then 3419 cp $srcdir/PC/os2emx/Modules/Setup.os2emx Modules/Setup 3420 else 3421 cp $srcdir/Modules/Setup.dist Modules/Setup 3422 if 3405 3423 fi 3406 3424
Note:
See TracChangeset
for help on using the changeset viewer.