Kaydet (Commit) d9cf41c4 authored tarafından Neil Schemenauer's avatar Neil Schemenauer

- Remove Guido's LINKCC=CXX experiment.

- Cygwin doesn't want CCSHARED flag when bulding the interpreter DLL.
üst 2174f80c
...@@ -221,10 +221,6 @@ DLLLIBRARY='' ...@@ -221,10 +221,6 @@ DLLLIBRARY=''
# linking. # linking.
AC_SUBST(LINKCC) AC_SUBST(LINKCC)
AC_MSG_CHECKING(LINKCC) AC_MSG_CHECKING(LINKCC)
if test -z "$LINKCC" -a ! -z "$CXX"
then
LINKCC="$CXX"
fi
if test -z "$LINKCC" if test -z "$LINKCC"
then then
case $ac_sys_system in case $ac_sys_system in
...@@ -647,7 +643,14 @@ AC_SUBST(CFLAGSFORSHARED) ...@@ -647,7 +643,14 @@ AC_SUBST(CFLAGSFORSHARED)
AC_MSG_CHECKING(CFLAGSFORSHARED) AC_MSG_CHECKING(CFLAGSFORSHARED)
if test ! "$LIBRARY" = "$LDLIBRARY" if test ! "$LIBRARY" = "$LDLIBRARY"
then then
CFLAGSFORSHARED='$(CCSHARED)' case $ac_sys_system in
CYGWIN*)
# Cygwin needs CCSHARED when building extension DLLs
# but not when building the interpreter DLL.
CFLAGSFORSHARED='';;
*)
CFLAGSFORSHARED='$(CCSHARED)'
esac
fi fi
AC_MSG_RESULT($CFLAGSFORSHARED) AC_MSG_RESULT($CFLAGSFORSHARED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment