Bug fix to make sure Cantera compiles with and without VCSnonideal

This commit is contained in:
Harry Moffat 2007-12-19 22:58:55 +00:00
parent c82624b1ca
commit 67625ed141
2 changed files with 11 additions and 3 deletions

10
configure vendored
View file

@ -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 </dev/null >&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

View file

@ -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