source: gs2-extensions/parallel-building/trunk/src/src/mpibuildcol-src/configure.ac@ 24589

Last change on this file since 24589 was 24589, checked in by jmt12, 13 years ago

Initial checkin

File size: 914 bytes
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3AC_PREREQ(2.59)
4AC_INIT([mpibuildcol], [1.0], [[email protected]])
5AM_INIT_AUTOMAKE
6AC_CANONICAL_HOST
7
8# Checks for programs.
9AC_PROG_CXX([mpic++])
10
11# Checks for libraries.
12AC_CHECK_LIB([mpi],[MPI_Init])
13
14AC_LANG(C++)
15SAVED_LIBS=$LIBS
16LIBS="$LIBS -ltinyxml"
17AC_MSG_CHECKING([for TiXmlDocument in -ltinyxml])
18AC_LINK_IFELSE(
19 [AC_LANG_PROGRAM([#include <tinyxml.h>],
20 [TiXmlDocument dummy])],
21 [SAVED_LIBS="$SAVED_LIBS -ltinyxml"] [HAVE_TINYXML=1] [TINYXML_RESULT="yes"],
22 [AC_MSG_ERROR([tinyxml is not installed.])])
23AC_MSG_RESULT([$TINYXML_RESULT])
24LIBS=$SAVED_LIBS
25
26# Checks for header files.
27
28# Checks for typedefs, structures, and compiler characteristics.
29
30# Checks for library functions.
31
32# Completion
33AC_CONFIG_FILES([Makefile])
34AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.