From 93b5951a0b3c1a6113ef92c7c387ef5c708aa3ff Mon Sep 17 00:00:00 2001 From: Nicholas Malaya Date: Sat, 4 Feb 2012 01:10:05 +0000 Subject: [PATCH] [cantera]: adding trailing underscore to fortran functions --- config.h.in | 3 +++ configure.ac | 4 ++++ 2 files changed, 7 insertions(+) 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 # ------------------------------