diff options
author | Guido van Rossum <guido@python.org> | 2001-01-23 01:52:26 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-23 01:52:26 (GMT) |
commit | 275529087d11d4f59ac5d07be9b13d6eca64a62e (patch) | |
tree | ab832ec08ff0117119dd3a5acbf890429eeec62d | |
parent | 578ceee04226d94322e29dbdb26c0919c8e18fa4 (diff) | |
download | cpython-275529087d11d4f59ac5d07be9b13d6eca64a62e.zip cpython-275529087d11d4f59ac5d07be9b13d6eca64a62e.tar.gz cpython-275529087d11d4f59ac5d07be9b13d6eca64a62e.tar.bz2 |
Fix some make errors during "make clobber" or "make distclean", caused
by weird and (hopefully) unnecessary SET_CXX and SET_DLLLIBRARY macros
that occurr at the start of Makefile.in files.
- Also removed the already-commented-out SET_CCC macro cruft.
-rw-r--r-- | configure.in | 42 |
1 files changed, 4 insertions, 38 deletions
diff --git a/configure.in b/configure.in index d97ede1..bb5b12d 100644 --- a/configure.in +++ b/configure.in @@ -82,25 +82,6 @@ then fi AC_MSG_RESULT($MACHDEP) -# -# CCC is the command that compiles C++ programs -# -# Not all make programs have this predefined. -# -#AC_SUBST(SET_CCC) -#AC_MSG_CHECKING(CCC) -#if test -z "$CCC" -#then -# case $ac_sys_system in -# IRIX*) SET_CCC="CCC= CC ${SGI_ABI}";; -# Linux*) SET_CCC="CCC= g++";; -# *) SET_CCC="" -# esac -#else -# SET_CCC="CCC= ${CCC}" -#fi -#AC_MSG_RESULT($SET_CCC) - # checks for alternative programs AC_MSG_CHECKING(for --without-gcc) @@ -148,7 +129,7 @@ AC_ARG_WITH(gcc, [ --without-gcc never use gcc], [ esac]) AC_MSG_RESULT($without_gcc) -AC_SUBST(SET_CXX) +AC_SUBST(CXX) AC_SUBST(MAINOBJ) MAINOBJ=python.o AC_MSG_CHECKING(for --with-cxx=<compiler>) @@ -182,21 +163,6 @@ then fi fi -SET_CXX="CXX=$CXX" - - -#AC_MSG_CHECKING(CCC) -#if test -z "$CCC" -#then -# case $ac_sys_system in -# IRIX*) SET_CCC="CCC= CC ${SGI_ABI}";; -# Linux*) SET_CCC="CCC= g++";; -# *) SET_CCC="" -# esac -#else -# SET_CCC="CCC= ${CCC}" -#fi -#AC_MSG_RESULT($SET_CCC) # If the user switches compilers, we can't believe the cache if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC" @@ -241,9 +207,9 @@ esac # shared (i.e., DLL) library. AC_SUBST(MAKE_LDLIBRARY) AC_SUBST(LDLIBRARY) -AC_SUBST(SET_DLLLIBRARY) +AC_SUBST(DLLLIBRARY) LDLIBRARY='' -SET_DLLLIBRARY='' +DLLLIBRARY='' # LINKCC is the command that links the python executable -- default is $(CC). # This is altered for AIX in order to build the export list before @@ -288,7 +254,7 @@ beos*) ;; cygwin*) LDLIBRARY='libpython$(VERSION).dll.a' - SET_DLLLIBRARY='DLLLIBRARY= $(basename $(LDLIBRARY))' + DLLLIBRARY='$(basename $(LDLIBRARY))' ;; esac AC_MSG_RESULT($LDLIBRARY) |