From 13431f0d99ccd553e202047556fe6217a36adb43 Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Fri, 15 Jan 2010 22:23:55 +0000 Subject: Added files for initialization and use of the GNU Autotools. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- a/dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..a530b68 --- a/dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Don Pellegrino, Drexel University, don@drexel.edu \ No newline at end of file diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 --- a/dev/null +++ b/ChangeLog diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 --- a/dev/null +++ b/NEWS diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..c7c8611 --- a/dev/null +++ b/autogen.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +automake --add-missing +autoreconf 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 -- cgit v0.8.3.1-22-g547a