[cig-commits] r15179 - mc/3D/CitcomS/trunk
tan2 at geodynamics.org
tan2 at geodynamics.org
Wed Jun 10 13:41:31 PDT 2009
Author: tan2
Date: 2009-06-10 13:41:31 -0700 (Wed, 10 Jun 2009)
New Revision: 15179
Modified:
mc/3D/CitcomS/trunk/configure.ac
Log:
Checking malloc.h earlier to initialize even when not using pyre
Modified: mc/3D/CitcomS/trunk/configure.ac
===================================================================
--- mc/3D/CitcomS/trunk/configure.ac 2009-06-10 20:40:00 UTC (rev 15178)
+++ mc/3D/CitcomS/trunk/configure.ac 2009-06-10 20:41:31 UTC (rev 15179)
@@ -70,6 +70,9 @@
AC_PROG_CC([mpicc hcc mpcc mpcc_r mpxlc cmpicc gcc cc cl icc ecc pgcc xlc xlc_r])
AC_PROG_CXX([mpicxx mpic++ mpiCC hcp mpCC mpxlC mpxlC_r cmpic++ g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlc++_r xlC_r xlC icpc ecpc pgCC])
+# Checking a system header here so that CPP is always defined
+AC_CHECK_HEADERS([malloc.h])
+
if test "$want_pyre" = yes; then
# Check for Python.
AM_PATH_PYTHON([2.3])
@@ -126,7 +129,6 @@
# Checks for header files.
AC_CHECK_HEADER([mpi.h], [], [AC_MSG_ERROR([header 'mpi.h' not found])])
-AC_CHECK_HEADERS([malloc.h])
CIT_CHECK_HEADER_HDF5
if test "$want_exchanger" != no; then
More information about the CIG-COMMITS
mailing list