diff --git a/configure.in b/configure.in index 042b6ef76..c32d5ba6a 100755 --- a/configure.in +++ b/configure.in @@ -791,63 +791,89 @@ AC_SUBST(build_f2c_lib) # Cantera applications # LOCAL_LIBS= +LOCAL_LIBS_DEP= if test -n "$INCL_USER_CODE" -then LOCAL_LIBS=$LOCAL_LIBS' '-luser +then + LOCAL_LIBS=$LOCAL_LIBS' '-luser + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libuser.a fi if test -n "$NEED_ONED" -then LOCAL_LIBS=$LOCAL_LIBS' '-loneD +then + LOCAL_LIBS=$LOCAL_LIBS' '-loneD + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/liboneD.a fi if test -n "$NEED_ZEROD" -then LOCAL_LIBS=$LOCAL_LIBS' '-lzeroD +then + LOCAL_LIBS=$LOCAL_LIBS' '-lzeroD + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libzeroD.a fi LOCAL_LIBS=$LOCAL_LIBS' '-lequil +LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libequil.a if test "$WITH_VCSNONIDEAL" = "y" ; then -LOCAL_LIBS=$LOCAL_LIBS' '-lVCSnonideal + LOCAL_LIBS=$LOCAL_LIBS' '-lVCSnonideal + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libVCSnonideal.a fi if test -n "$COMPILE_KINETICS" -then LOCAL_LIBS=$LOCAL_LIBS' '-lkinetics +then + LOCAL_LIBS=$LOCAL_LIBS' '-lkinetics + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libkinetics.a fi if test -n "$NEED_TRANSPORT" -then LOCAL_LIBS=$LOCAL_LIBS' '-ltransport +then + LOCAL_LIBS=$LOCAL_LIBS' '-ltransport + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libtransport.a fi if test -n "$NEED_CATHERMO" -then LOCAL_LIBS=$LOCAL_LIBS' '-lthermo +then + LOCAL_LIBS=$LOCAL_LIBS' '-lthermo + LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libthermo.a fi LOCAL_LIBS=$LOCAL_LIBS' '-lctnumerics +LOCAL_LIBS_DEP=$LOCAL_LIBS_DEP' '$buildlib/libctnumerics.a if test -n "$NEED_CVODE"; then -LOCAL_LIBS=$LOCAL_LIBS' '$CVODE_LIBS + LOCAL_LIBS=$LOCAL_LIBS' '$CVODE_LIBS fi LOCAL_LIBS=$LOCAL_LIBS' '-lctbase +LOCAL_LIBS_DEPS=$LOCAL_LIBS_DEPS' '$buildlib/libctbase.a if test -n "$NEED_LAPACK" -then LOCAL_LIBS=$LOCAL_LIBS' '$BLAS_LAPACK_LIBS +then + LOCAL_LIBS=$LOCAL_LIBS' '$BLAS_LAPACK_LIBS fi if test -n "$NEED_MATH" -then LOCAL_LIBS=$LOCAL_LIBS' '-lctmath +then + LOCAL_LIBS=$LOCAL_LIBS' '-lctmath + LOCAL_LIBS_DEPS=$LOCAL_LIBS_DEPS' '$buildlib/libctmath.a fi if test -n "$NEED_TPX" -then LOCAL_LIBS=$LOCAL_LIBS' '-ltpx +then + LOCAL_LIBS=$LOCAL_LIBS' '-ltpx + LOCAL_LIBS_DEPS=$LOCAL_LIBS_DEPS' '$buildlib/libtpx.a fi if test -n "$NEED_SPECTRA" -then LOCAL_LIBS=$LOCAL_LIBS' '-lctspectra +then + LOCAL_LIBS=$LOCAL_LIBS' '-lctspectra + LOCAL_LIBS_DEPS=$LOCAL_LIBS_DEPS' '$buildlib/libctspectra.a fi if test -n "$NEED_F2C" -then LOCAL_LIBS=$LOCAL_LIBS' '-lctf2c +then + LOCAL_LIBS=$LOCAL_LIBS' '-lctf2c + LOCAL_LIBS_DEPS=$LOCAL_LIBS_DEPS' '$buildlib/libctf2c.a else case $ac_sys_system in Linux) LOCAL_LIBS=$LOCAL_LIBS' '-lg2c;; @@ -856,7 +882,9 @@ fi # Darwin*) LOCAL_LIBS=$LOCAL_LIBS' '-lg2c;; if test -n "$NEED_CKREADER" -then LOCAL_LIBS=$LOCAL_LIBS' '-lconverters +then + LOCAL_LIBS=$LOCAL_LIBS' '-lconverters + LOCAL_LIBS_DEPS=$LOCAL_LIBS_DEPS' '$buildlib/libconverters.a fi LOCAL_LIB_DIRS= @@ -876,6 +904,7 @@ fi AC_SUBST(LOCAL_LIB_DIRS) AC_SUBST(LOCAL_LIBS) +AC_SUBST(LOCAL_LIBS_DEP) #------------------------------------------------- # Language Interfaces