From d424e7a7a02926cf8cd89415d73da1771dcf5bb4 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 15 Aug 2006 01:12:44 +0000 Subject: [PATCH] Fixed some small errors in the install process. --- Makefile.in | 2 +- configure.in | 10 +++++----- preconfig | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6f6ee36ac..b77c77ddd 100755 --- a/Makefile.in +++ b/Makefile.in @@ -224,7 +224,7 @@ ifneq ($(build_python),0) @INSTALL@ tools/src/finish_install.py tools/bin (PYTHONPATH=''; @PYTHON_CMD@ tools/bin/finish_install.py @prefix@ @PYTHON_CMD@) chmod +x @ct_bindir@/ctnew -ifeq ($(build_pyhton),2) +ifeq ($(build_python),2) chmod +x @ct_bindir@/mixmaster endif cp -f "@homedir@/setup_cantera" "@ct_bindir@" diff --git a/configure.in b/configure.in index 1222bd16f..7f32db25e 100755 --- a/configure.in +++ b/configure.in @@ -574,13 +574,13 @@ AC_SUBST(BLAS_LAPACK_DIR) # Define these variables, but turn them off in main version of code # build_with_f2c=0 -if test -n $BUILD_WITH_F2C ; then - if test $BUILD_WITH_F2C = "y" -o $BUILD_WITH_F2C = "Y" ; then +if test -n "$BUILD_WITH_F2C" ; then + if test "$BUILD_WITH_F2C" = "y" -o "$BUILD_WITH_F2C" = "Y" ; then build_with_f2c=1 - elif test $BUILD_WITH_F2C = "n" -o $BUILD_WITH_F2C = "N" ; then + elif test "$BUILD_WITH_F2C" = "n" -o "$BUILD_WITH_F2C" = "N" ; then build_with_f2c=0 - elif test $BUILD_WITH_F2C = "default" ; then - if test x$OS_IS_WIN = "x1" ; then + elif test "$BUILD_WITH_F2C" = "default" ; then + if test "x$OS_IS_WIN" = "x1" ; then build_with_f2c=1 else build_with_f2c=0 diff --git a/preconfig b/preconfig index 133de213a..5e79d870a 100755 --- a/preconfig +++ b/preconfig @@ -415,6 +415,7 @@ export CT_SHARED_LIB export CXX export CXX_EXT export CXXFLAGS +export CC export ENABLE_THERMO export ENABLE_KINETICS export ENABLE_TRANSPORT