Mercurial > octave
comparison configure.in @ 8675:43c6012bd4c2
configure.in: separate cases for cygwin and mingw
author | Benjamin Lindner <lindnerben@gmx.net> |
---|---|
date | Wed, 04 Feb 2009 17:48:30 -0500 |
parents | 9792c26bffc7 |
children | 22462fd58e66 |
comparison
equal
deleted
inserted
replaced
8674:0d263850d582 | 8675:43c6012bd4c2 |
---|---|
1241 SHLLIB_VER='$(version).$(SHLLIB)' | 1241 SHLLIB_VER='$(version).$(SHLLIB)' |
1242 NO_OCT_FILE_STRIP=true | 1242 NO_OCT_FILE_STRIP=true |
1243 SONAME_FLAGS='-install_name $(octlibdir)/$@' | 1243 SONAME_FLAGS='-install_name $(octlibdir)/$@' |
1244 library_path_var=DYLD_LIBRARY_PATH | 1244 library_path_var=DYLD_LIBRARY_PATH |
1245 ;; | 1245 ;; |
1246 *-*-mingw* | *-*-cygwin*) | 1246 *-*-cygwin*) |
1247 case "$canonical_host_type" in | 1247 LIBPRE=cyg |
1248 *-*-cygwin*) | 1248 SHLLIBPRE=cyg |
1249 LIBPRE=cyg | 1249 SHLBINPRE=lib |
1250 SHLLIBPRE=cyg | |
1251 SHLBINPRE=lib | |
1252 ;; | |
1253 esac | |
1254 SHLEXT=dll | 1250 SHLEXT=dll |
1255 SHLLIB=dll.a | 1251 SHLLIB=dll.a |
1256 SHLBIN=a | 1252 SHLBIN=a |
1257 DL_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc" | 1253 DL_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc" |
1258 SH_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base" | 1254 SH_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base" |
1259 SONAME_FLAGS='-Wl,--out-implib=$(patsubst $(SHLLIBPRE)%,$(SHLBINPRE)%,$@).a' | 1255 SONAME_FLAGS='-Wl,--out-implib=$(patsubst $(SHLLIBPRE)%,$(SHLBINPRE)%,$@).a' |
1256 ;; | |
1257 *-*-mingw*) | |
1258 CPICFLAG= | |
1259 CXXPICFLAG= | |
1260 FPICFLAG= | |
1261 SHLEXT=dll | |
1262 SHLLIB=dll.a | |
1263 SHLBIN=dll | |
1264 DL_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc" | |
1265 SH_LDFLAGS="-shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base" | |
1266 SONAME_FLAGS='-Wl,--out-implib=$@.a' | |
1267 library_path_var=PATH | |
1260 ;; | 1268 ;; |
1261 | 1269 |
1262 *-*-msdosmsvc) | 1270 *-*-msdosmsvc) |
1263 DL_LDFLAGS="-shared" | 1271 DL_LDFLAGS="-shared" |
1264 CPICFLAG= | 1272 CPICFLAG= |