summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--.gitignore1
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog0
-rw-r--r--NEWS0
-rwxr-xr-xautogen.sh4
-rw-r--r--configure.ac27
6 files changed, 33 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..3104df8
--- a/dev/null
+++ b/configure.ac
@@ -0,0 +1,27 @@
+AC_INIT([exp007], [0.1], [don@drexel.edu])
+AM_INIT_AUTOMAKE([-Wall, -Werror, -Wno-portability])
+AC_PROG_CC
+AM_CONFIG_HEADER([config.h])
+AC_CONFIG_FILES([
+ Makefile
+ src/Makefile
+])
+
+################
+# MODULE: HDF5 #
+################
+
+AC_SEARCH_LIBS([H5Fcreate],[hdf5],[],
+[AC_MSG_ERROR(The HDF5 libraries are needed to build the system.)])
+
+AC_SEARCH_LIBS([H5TBmake_table],[hdf5_hl],[],
+[AC_MSG_ERROR(The HDF5 libraries are needed to build the system.)],
+[-lhdf5])
+
+AC_CHECK_HEADERS([mpi.h],[],
+[AC_MSG_ERROR(The MPI headers are needed to build the system.)])
+
+AC_CHECK_HEADERS([hdf5.h],[],
+[AC_MSG_ERROR(The HDF5 headers are needed to build the system.)])
+
+AC_OUTPUT

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.