Commit b1e8e15b authored by adelmann's avatar adelmann 🎗

fix more stuff

parent 8862acd0
......@@ -3,7 +3,5 @@
aclocal
autoconf
automake -a -c
./configure --prefix=$HOME --with-h5part=$HOME --enable-boost
make
#make install
This diff is collapsed.
......@@ -69,31 +69,31 @@ AC_LANG_PUSH(C)
[AC_MSG_ERROR(hdf5 library not found!)]
)
H5PART_PREFIX=""
H5PART_INCL_PATH=""
H5PART_LIB_PATH=""
H5HUT_PREFIX=""
H5HUT_INCL_PATH=""
H5HUT_LIB_PATH=""
AC_ARG_WITH(
[h5part],
AC_HELP_STRING([--with-h5part=PREFIX],
[prefix, parent directory, where the serial(!) h5part library and header files can be found]),
[H5PART_PREFIX=$withval
H5PART_INCL_PATH=${H5PART_PREFIX}"/include "
H5PART_LIB_PATH=${H5PART_PREFIX}"/lib "]
[h5hut],
AC_HELP_STRING([--with-h5hut=PREFIX],
[prefix, parent directory, where the serial(!) h5hut library and header files can be found]),
[H5HUT_PREFIX=$withval
H5HUT_INCL_PATH=${H5HUT_PREFIX}"/include "
H5HUT_LIB_PATH=${H5HUT_PREFIX}"/lib "]
)
if test "${H5PART_PREFIX}" != ""; then
CPPFLAGS=${CPPFLAGS}" -I"${H5PART_INCL_PATH};
LDFLAGS=${LDFLAGS}" -L"${H5PART_LIB_PATH};
if test "${H5HUT_PREFIX}" != ""; then
CPPFLAGS=${CPPFLAGS}" -I"${H5HUT_INCL_PATH};
LDFLAGS=${LDFLAGS}" -L"${H5HUT_LIB_PATH};
fi
AC_CHECK_HEADERS(
[H5Part.h],
[H5hut.h],
[],
[AC_MSG_ERROR(H5Part.h not found!)]
[AC_MSG_ERROR(H5hut.h not found!)]
)
AC_CHECK_LIB(
[H5Part],
[H5hut],
[main],
[],
[AC_MSG_ERROR(H5Part library not found!)]
[AC_MSG_ERROR(H5hut library not found!)]
)
AC_LANG_POP
AC_LANG(C++)
......
This diff is collapsed.
......@@ -9,7 +9,7 @@ INCLUDES = -I../src/include @INCLUDES@
# What to build... make install will place these files in the $(prefix)/bin directory.
bin_PROGRAMS = @BUILD_TOOLS@
EXTRA_PROGRAMS = h5pAttrib h5PartDcToVtk
EXTRA_PROGRAMS = h5pAttrib h5PartDcToVtk h5PartSurfaceToVtk
# Listing of all programs that maybe built. (Has to know statically...)
EXTRA_SCRIPTS = h5hutcc
......@@ -26,5 +26,7 @@ h5pAttrib_SOURCES = h5pAttrib.cc
h5PartDcToVtk_SOURCES = h5PartDcToVtk.cc
h5PartSurfaceToVtk_SOURCES = h5PartSurfaceToVtk.cc
clean: clean-am
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment