- Timestamp:
- Mar 22, 2014, 12:06:54 AM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/configure
r391 r400 5213 5213 LDLIBRARYDIR='' 5214 5214 RUNSHARED='' 5215 CONDENSED_VERSION= `echo "${VERSION}" | tr -d .,"`5215 CONDENSED_VERSION='' 5216 5216 5217 5217 # LINKCC is the command that links the python executable -- default is $(CC). … … 5398 5398 ;; 5399 5399 OS/2*|os2*|*emx*) 5400 LDLIBRARY='python$(VERSION)_dll.a' 5401 BLDLIBRARY='-L. -lpython$(VERSION)' 5402 RUNSHARED=BEGINLIBPATH="'`pwd`;$BEGINLIBPATH'" 5403 DLLLIBRARY='python${CONDENSED_VERSION}.dll' 5404 ;; 5400 LDLIBRARY='python$(VERSION)_dll.a' 5401 BLDLIBRARY='-L. -lpython$(VERSION)' 5402 RUNSHARED=BEGINLIBPATH="'`pwd`;$BEGINLIBPATH'" 5403 CONDENSED_VERSION=`echo "${VERSION}" | tr -d .,"` 5404 DLLLIBRARY='python$(CONDENSED_VERSION).dll' 5405 ;; 5405 5406 5406 5407 esac … … 8140 8141 8141 8142 # SO is the extension of shared libraries `(including the dot!) 8142 # -- usually .so, .sl on HP-UX, .dll on Cygwin 8143 # -- usually .so, .sl on HP-UX, .dll on Cygwin and OS/2 8143 8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SO" >&5 8144 8145 $as_echo_n "checking SO... " >&6; } … … 8316 8317 LDSHARED="gcc -shared" 8317 8318 LDCXXSHARED="g++ -shared";; 8318 OS/2*|os2*|*emx*) LDSHARED="${CC} ${LDFLAGS} -Zdll";; 8319 OS/2*|os2*|*emx*) 8320 LDSHARED="${CC} ${LDFLAGS} -Zdll" 8321 LDCXXSHARED="${CXX} ${LDFLAGS} -Zdll";; 8319 8322 *) LDSHARED="ld";; 8320 8323 esac -
python/trunk/configure.ac
r391 r400 347 347 atheos*) MACHDEP="atheos";; 348 348 irix646) MACHDEP="irix6";; 349 os2*|OS/2*|emx*) MACHDEP="os2knix";; 349 350 '') MACHDEP="unknown";; 350 351 esac … … 749 750 # LDLIBRARYDIR is the path to LDLIBRARY, which is made in a subdirectory. On 750 751 # systems without shared libraries, LDLIBRARY is the same as LIBRARY 751 # (defined in the Makefiles). On Cygwin LDLIBRARY is the import library,752 # DLLLIBRARY is the shared (i.e., DLL) library.753 # 752 # (defined in the Makefiles). On Cygwin and OS/2 LDLIBRARY is the import 753 # library, DLLLIBRARY is the shared (i.e., DLL) library. 754 # 754 755 # RUNSHARED is used to run shared python without installed libraries 755 756 # … … 762 763 AC_SUBST(INSTSONAME) 763 764 AC_SUBST(RUNSHARED) 765 AC_SUBST(CONDENSED_VERSION) 764 766 LDLIBRARY="$LIBRARY" 765 767 BLDLIBRARY='$(LDLIBRARY)' … … 768 770 LDLIBRARYDIR='' 769 771 RUNSHARED='' 772 CONDENSED_VERSION='' 770 773 771 774 # LINKCC is the command that links the python executable -- default is $(CC). … … 822 825 then 823 826 case $ac_sys_system in 824 CYGWIN* | atheos* )827 CYGWIN* | atheos* | *OS/2* | *emx* | *os2*) 825 828 enable_shared="yes";; 826 829 *) … … 926 929 RUNSHARED=LIBPATH=`pwd`:${LIBPATH} 927 930 ;; 931 OS/2*|os2*|*emx*) 932 LDLIBRARY='python$(VERSION)_dll.a' 933 BLDLIBRARY='-L. -lpython$(VERSION)' 934 RUNSHARED=BEGINLIBPATH="'`pwd`;$BEGINLIBPATH'" 935 CONDENSED_VERSION=`echo "${VERSION}" | tr -d .,"` 936 DLLLIBRARY='python$(CONDENSED_VERSION).dll' 937 ;; 928 938 929 939 esac … … 1009 1019 BeOS*) LN="ln -s";; 1010 1020 CYGWIN*) LN="ln -s";; 1021 OS/2*|os2*|*emx*) LN="ln -s";; 1011 1022 atheos*) LN="ln -s";; 1012 1023 *) LN=ln;; … … 1907 1918 AC_SUBST(LINKFORSHARED) 1908 1919 # SO is the extension of shared libraries `(including the dot!) 1909 # -- usually .so, .sl on HP-UX, .dll on Cygwin 1920 # -- usually .so, .sl on HP-UX, .dll on Cygwin and OS/2 1910 1921 AC_MSG_CHECKING(SO) 1911 1922 if test -z "$SO" … … 1919 1930 ;; 1920 1931 CYGWIN*) SO=.dll;; 1932 OS/2*|os2*|*emx*) SO=.dll;; 1921 1933 *) SO=.so;; 1922 1934 esac … … 2075 2087 LDSHARED="gcc -shared" 2076 2088 LDCXXSHARED="g++ -shared";; 2089 OS/2*|os2*|*emx*) 2090 LDSHARED="${CC} ${LDFLAGS} -Zdll" 2091 LDCXXSHARED="${CXX} ${LDFLAGS} -Zdll";; 2077 2092 *) LDSHARED="ld";; 2078 2093 esac
Note:
See TracChangeset
for help on using the changeset viewer.