From 67625ed141890731a800486ee07b8315eb8a1bdd Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Wed, 19 Dec 2007 22:58:55 +0000 Subject: [PATCH] Bug fix to make sure Cantera compiles with and without VCSnonideal --- configure | 10 +++++++--- configure.in | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/configure b/configure index a59068dcb..d8b1344d8 100755 --- a/configure +++ b/configure @@ -2929,6 +2929,10 @@ fi LOCAL_LIBS=$LOCAL_LIBS' '-lequil +if test "$WITH_VCSNONIDEAL" = "y" ; then +LOCAL_LIBS=$LOCAL_LIBS' '-lVCSnonideal +fi + if test -n "$COMPILE_KINETICS" then LOCAL_LIBS=$LOCAL_LIBS' '-lkinetics fi @@ -8563,7 +8567,7 @@ fi # Provide some information about the compiler. -echo "$as_me:8566:" \ +echo "$as_me:8570:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -8766,7 +8770,7 @@ _ACEOF # flags. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS $ac_verb" -(eval echo $as_me:8769: \"$ac_link\") >&5 +(eval echo $as_me:8773: \"$ac_link\") >&5 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` echo "$ac_f77_v_output" >&5 FFLAGS=$ac_save_FFLAGS @@ -8844,7 +8848,7 @@ _ACEOF # flags. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS $ac_cv_prog_f77_v" -(eval echo $as_me:8847: \"$ac_link\") >&5 +(eval echo $as_me:8851: \"$ac_link\") >&5 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` echo "$ac_f77_v_output" >&5 FFLAGS=$ac_save_FFLAGS diff --git a/configure.in b/configure.in index b00fa15fa..f847511b1 100755 --- a/configure.in +++ b/configure.in @@ -806,6 +806,10 @@ fi LOCAL_LIBS=$LOCAL_LIBS' '-lequil +if test "$WITH_VCSNONIDEAL" = "y" ; then +LOCAL_LIBS=$LOCAL_LIBS' '-lVCSnonideal +fi + if test -n "$COMPILE_KINETICS" then LOCAL_LIBS=$LOCAL_LIBS' '-lkinetics fi