[cantera]: adding typedefs to config.h output

This commit is contained in:
Nicholas Malaya 2012-02-04 01:47:28 +00:00
parent 71a144e29c
commit 0f00259ecc
3 changed files with 33 additions and 1 deletions

View file

@ -9,7 +9,7 @@ cc_sources = ct2ctml.cpp ctml.cpp misc.cpp plots.cpp \
PrintCtrl.cpp LogPrintCtrl.cpp mdp_allo.cpp \
checkFinite.cpp
AM_CPPFLAGS =
AM_CPPFLAGS = -I$(top_builddir)
AM_CXXFLAGS = $(AM_CPPFLAGS)
lib_LTLIBRARIES = $(top_builddir)/build/lib/libctbase.la

View file

@ -3,6 +3,12 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if the system has the type `int32_t'. */
#undef HAVE_INT32_T
/* Define to 1 if the system has the type `int64_t'. */
#undef HAVE_INT64_T
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
@ -27,6 +33,18 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if the system has the type `uint16_t'. */
#undef HAVE_UINT16_T
/* Define to 1 if the system has the type `uint32_t'. */
#undef HAVE_UINT32_T
/* Define to 1 if the system has the type `uint64_t'. */
#undef HAVE_UINT64_T
/* Define to 1 if the system has the type `uint8_t'. */
#undef HAVE_UINT8_T
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
@ -63,3 +81,9 @@
/* Version number of package */
#undef VERSION
typedef double doublereal; // Fortran double precision
typedef int integer; // Fortran integer
typedef int ftnlen; // Fortran hidden string length type

View file

@ -31,6 +31,14 @@ AC_SUBST([PACKAGE_URL])
AC_DEFINE([LAPACK_FTN_TRAILING_UNDERSCORE],1,[Define to add underscore after fortran functions])
LAPACK_FTN_TRAILING_UNDERSCORE=1
AC_CHECK_TYPES([uint8_t, uint16_t, uint32_t, int32_t, uint64_t, int64_t])
AH_BOTTOM([
typedef double doublereal; // Fortran double precision
typedef int integer; // Fortran integer
typedef int ftnlen; // Fortran hidden string length type
])
# ------------------------------
# Checks for required programs
# ------------------------------