diff --git a/config.h.in b/config.h.in index 423fcf8f0..d857d0071 100755 --- a/config.h.in +++ b/config.h.in @@ -30,6 +30,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to add underscore after fortran functions */ +#undef LAPACK_FTN_TRAILING_UNDERSCORE + /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR diff --git a/configure.ac b/configure.ac index 33a282ecc..194cea0d6 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,10 @@ AC_SUBST([PACKAGE_DESCRIPTION]) PACKAGE_URL="http://code.google.com/p/cantera/" AC_SUBST([PACKAGE_URL]) +# add trailing underscore +AC_DEFINE([LAPACK_FTN_TRAILING_UNDERSCORE],1,[Define to add underscore after fortran functions]) +LAPACK_FTN_TRAILING_UNDERSCORE=1 + # ------------------------------ # Checks for required programs # ------------------------------