From 9b0b360398a83203475df0550c6b56a3787294ac Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 24 Sep 2004 20:15:27 +0000 Subject: [PATCH] Added USE_CLIB_DLL evaluation. --- config/configure.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config/configure.in b/config/configure.in index 027149191..6aac62ff9 100755 --- a/config/configure.in +++ b/config/configure.in @@ -41,6 +41,18 @@ if test "x${OS_IS_CYGWIN}" = "x1"; then fi AC_SUBST(CVF_LIBDIR) +# +# Determine if clib is to be a static or dynamic library +# -> will test to see if USE_DLL is defined in the cygwmin environment +# +USE_CLIB_DLL=0 +if test "x${OS_IS_WIN}" = "x1"; then + if test -n ${USE_CLIB_DLL} ; then + USE_CLIB_DLL=1 + fi +fi +AC_SUBST(USE_CLIB_DLL) + prdef="/usr/local" if test "x$OS_IS_DARWIN" = "x1"; then prdef="/Applications/Cantera"; fi #AC_PREFIX_DEFAULT([$prdef]) @@ -171,7 +183,6 @@ AC_SUBST(ct_docdir) AC_SUBST(ct_dir) AC_SUBST(COMPACT_INSTALL) - # # Cantera directory structure #