提交 49e04548 编写于 作者: R Richard Levitte

At Corinna Vinschen's request, change CygWin32 to Cygwin

上级 d8309efc
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
*) applies to 0.9.6a ... 0.9.6d and 0.9.7 *) applies to 0.9.6a ... 0.9.6d and 0.9.7
+) applies to 0.9.7 only +) applies to 0.9.7 only
*) Add information about CygWin32 1.3 and on, and preserve proper *) Add information about CygWin 1.3 and on, and preserve proper
configuration for the versions before that. configuration for the versions before that.
[Corinna Vinschen <vinschen@redhat.com> and Richard Levitte] [Corinna Vinschen <vinschen@redhat.com> and Richard Levitte]
......
...@@ -503,9 +503,9 @@ my %table=( ...@@ -503,9 +503,9 @@ my %table=(
# and its library files in util/pl/*) # and its library files in util/pl/*)
"Mingw32", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32", "Mingw32", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32",
# CygWin32 # Cygwin
"CygWin32-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32", "Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32",
"CygWin32", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32:cygwin-shared::.dll", "Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32:cygwin-shared::.dll",
# Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at> # Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
"ultrix-cc","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::(unknown):::::::", "ultrix-cc","cc:-std1 -O -Olimit 1000 -DL_ENDIAN::(unknown):::::::",
...@@ -875,13 +875,17 @@ if ($target eq "LIST") { ...@@ -875,13 +875,17 @@ if ($target eq "LIST") {
exit 0; exit 0;
} }
if ($target =~ m/^CygWin32(-.*)$/) {
$target = "Cygwin".$1;
}
print "Configuring for $target\n"; print "Configuring for $target\n";
&usage if (!defined($table{$target})); &usage if (!defined($table{$target}));
my $IsWindows=scalar grep /^$target$/,@WinTargets; my $IsWindows=scalar grep /^$target$/,@WinTargets;
$exe_ext=".exe" if ($target eq "CygWin32"); $exe_ext=".exe" if ($target eq "Cygwin");
$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq ""); $openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq "");
$prefix=$openssldir if $prefix eq ""; $prefix=$openssldir if $prefix eq "";
......
...@@ -240,7 +240,7 @@ clean-shared: ...@@ -240,7 +240,7 @@ clean-shared:
done; \ done; \
fi; \ fi; \
( set -x; rm -f lib$$i$(SHLIB_EXT) ); \ ( set -x; rm -f lib$$i$(SHLIB_EXT) ); \
if [ "$(PLATFORM)" = "CygWin32" ]; then \ if [ "$(PLATFORM)" = "Cygwin" ]; then \
( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \ ( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \
fi; \ fi; \
done done
...@@ -703,7 +703,7 @@ install: all install_docs ...@@ -703,7 +703,7 @@ install: all install_docs
do \ do \
if [ -f "$$i" -o -f "$$i.a" ]; then \ if [ -f "$$i" -o -f "$$i.a" ]; then \
( echo installing $$i; \ ( echo installing $$i; \
if [ "$(PLATFORM)" != "CygWin32" ]; then \ if [ "$(PLATFORM)" != "Cygwin" ]; then \
cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \
else \ else \
......
...@@ -72,7 +72,7 @@ $shared_ldflag = ...@@ -72,7 +72,7 @@ $shared_ldflag =
$shared_extension = $shared_extension =
$ranlib = $ranlib =
*** CygWin32 *** Cygwin
$cc = gcc $cc = gcc
$cflags = -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall $cflags = -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall
$unistd = $unistd =
...@@ -96,7 +96,7 @@ $shared_ldflag = .dll ...@@ -96,7 +96,7 @@ $shared_ldflag = .dll
$shared_extension = $shared_extension =
$ranlib = $ranlib =
*** CygWin32-pre1.3 *** Cygwin-pre1.3
$cc = gcc $cc = gcc
$cflags = -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall $cflags = -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall
$unistd = $unistd =
......
...@@ -335,10 +335,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in ...@@ -335,10 +335,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
CYGWIN*) CYGWIN*)
case "$RELEASE" in case "$RELEASE" in
[bB]*|1.0|1.[12].*) [bB]*|1.0|1.[12].*)
echo "${MACHINE}-whatever-cygwin32_pre1.3" echo "${MACHINE}-whatever-cygwin_pre1.3"
;; ;;
*) *)
echo "${MACHINE}-whatever-cygwin32" echo "${MACHINE}-whatever-cygwin"
;; ;;
esac esac
exit 0 exit 0
...@@ -678,8 +678,8 @@ EOF ...@@ -678,8 +678,8 @@ EOF
# *-aix) OUT="aix-$CC" ;; # *-aix) OUT="aix-$CC" ;;
# *-dgux) OUT="dgux" ;; # *-dgux) OUT="dgux" ;;
mips-sony-newsos4) OUT="newsos4-gcc" ;; mips-sony-newsos4) OUT="newsos4-gcc" ;;
*-*-cygwin32_pre1.3) OUT="CygWin32-pre1.3" ;; *-*-cygwin_pre1.3) OUT="Cygwin-pre1.3" ;;
*-*-cygwin32) OUT="CygWin32" ;; *-*-cygwin) OUT="Cygwin" ;;
*) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
esac esac
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册