[cig-commits] r5069 - mc/3D/CitcomS/trunk
leif at geodynamics.org
leif at geodynamics.org
Fri Oct 20 01:19:58 PDT 2006
Author: leif
Date: 2006-10-20 01:19:58 -0700 (Fri, 20 Oct 2006)
New Revision: 5069
Modified:
mc/3D/CitcomS/trunk/configure.ac
Log:
Fail if MPI lib/header is not found.
Modified: mc/3D/CitcomS/trunk/configure.ac
===================================================================
--- mc/3D/CitcomS/trunk/configure.ac 2006-10-18 14:55:28 UTC (rev 5068)
+++ mc/3D/CitcomS/trunk/configure.ac 2006-10-20 08:19:58 UTC (rev 5069)
@@ -35,11 +35,11 @@
AC_PROG_RANLIB
# Checks for libraries.
-AC_SEARCH_LIBS([MPI_Init], [mpi mpich])
+AC_SEARCH_LIBS([MPI_Init], [mpi mpich], [], [AC_MSG_ERROR([MPI library not found])])
AC_SEARCH_LIBS([sqrt], [m])
# Checks for header files.
-AC_CHECK_HEADER([mpi.h])
+AC_CHECK_HEADER([mpi.h], [], [AC_MSG_ERROR([header 'mpi.h' not found])])
AC_CHECK_HEADERS([malloc.h])
# Checks for typedefs, structures, and compiler characteristics.
More information about the cig-commits
mailing list