diff --git a/config/configure.in b/config/configure.in index e21e153c7..ede4631c9 100755 --- a/config/configure.in +++ b/config/configure.in @@ -57,19 +57,19 @@ if test "x${OS_IS_WIN}" = "x1"; then fi AC_SUBST(USE_CLIB_DLL) -prdef="/usr/local" +prdef="/usr/local/cantera" if test "x$OS_IS_DARWIN" = "x1"; then prdef="/Applications/Cantera"; fi #AC_PREFIX_DEFAULT([$prdef]) local_inst=1 if test "x${prefix}" = "xNONE"; then - if test "x${OS_IS_CYGWIN}" = "x1" -o "x${OS_IS_WIN}" = "x1" ; then - prefix=${CANTERA_INSTALL_DIR} + #if test "x${OS_IS_CYGWIN}" = "x1" -o "x${OS_IS_WIN}" = "x1" ; then + # prefix=${CANTERA_INSTALL_DIR} # mkdir ${prefix} - else + #else prefix=${prdef} #${ac_default_prefix} - fi + #fi local_inst=0 fi diff --git a/configure b/configure index 79c20ea92..9eb8ad19d 100755 --- a/configure +++ b/configure @@ -25,7 +25,7 @@ # If you define this to be , then instead of running this # script as ./configure --prefix= you can just run it as # ./configure -CANTERA_CONFIG_PREFIX=${CANTERA_CONFIG_PREFIX:=""} +CANTERA_CONFIG_PREFIX=${CANTERA_CONFIG_PREFIX:="/usr/local/cantera"} #----------------------------------------------------------------------