Commit 2c0fe1b2 authored by Adam Mercer's avatar Adam Mercer 🛌

integrate lalmetaio into top-level build

Original: f68a2fcdcc63eb7746301fdebbd1a6c029436ca6
parent 740d92aa
......@@ -8,7 +8,7 @@ fail () {
}
## Run 00boot in subdirs
for d in lal lalframe lalxml lalstochastic lalapps; do
for d in lal lalframe lalmetaio lalxml lalstochastic lalapps; do
echo "00boot: running 00boot in $d"
(cd "$d" && ./00boot 1>/dev/null) || fail "00boot in $d"
done
......
......@@ -7,8 +7,6 @@ AC_CONFIG_FILES([lalsuite.spec])
AM_INIT_AUTOMAKE([foreign])
AC_PREFIX_DEFAULT([/opt/lscsoft/lalsuite])
LAL_ENABLE_METAIO
AC_PROG_LIBTOOL
lalsuite_top_builddir='$(top_builddir)/..'
......@@ -20,11 +18,12 @@ LAL_TOP_SRCDIR="${lalsuite_top_srcdir}/lal"
export LALSUITE_BUILD LAL_LIBS LAL_CFLAGS LAL_TOP_SRCDIR
LALSUPPORT_LIBS="${lalsuite_top_builddir}/lal/packages/support/src/liblalsupport.la"
export LALSUPPORT_LIBS
LALMETAIO_LIBS="${lalsuite_top_builddir}/lal/packages/support/src/liblalmetaio.la"
export LALMETAIO_LIBS
LALFRAME_LIBS="${lalsuite_top_builddir}/lalframe/src/liblalframe.la"
LALFRAME_CFLAGS="-I${lalsuite_top_builddir}/lalframe/include"
export LALFRAME_LIBS LALFRAME_CFLAGS
LALMETAIO_LIBS="${lalsuite_top_builddir}/lalmetaio/src/liblalmetaio.la"
LALMETAIO_CFLAGS="-I${lalsuite_top_builddir}/lalmetaio/include"
export LALMETAIO_LIBS LALMETAIO_CFLAGS
LALXML_LIBS="${lalsuite_top_builddir}/lalxml/src/liblalxml.la"
LALXML_CFLAGS="-I${lalsuite_top_builddir}/lalxml/include"
export LALXML_LIBS LALXML_CFLAGS
......@@ -32,25 +31,9 @@ LALSTOCHASTIC_LIBS="${lalsuite_top_builddir}/lalstochastic/src/liblalstochastic.
LALSTOCHASTIC_CFLAGS="-I${lalsuite_top_builddir}/lalstochastic/include"
export LALSTOCHASTIC_LIBS LALSTOCHASTIC_CFLAGS
if test "$metaio" = "true" ; then
LIBS_save="$LIBS"
CPPFLAGS_save="$CPPFLAGS"
PKG_CHECK_MODULES([METAIO],[libmetaio],[true],[false])
LIBS="$METAIO_LIBS $LIBS"
CPPFLAGS="$CPPFLAGS $METAIO_CFLAGS"
AC_SEARCH_LIBS([MetaioOpen],[metaio],,[AC_MSG_WARN([disabling metaio support])]
[metaio="false"])
CPPFLAGS="$CPPFLAGS_save"
LIBS="$LIBS_save"
fi
if test "$metaio" = "true" ; then
LALMETAIO_LIBS="${lalsuite_top_builddir}/lal/packages/support/src/liblalmetaio.la"
export LALMETAIO_LIBS
fi
AC_CONFIG_SUBDIRS([lal])
AC_CONFIG_SUBDIRS([lalframe])
AC_CONFIG_SUBDIRS([lalmetaio])
AC_CONFIG_SUBDIRS([lalxml])
AC_CONFIG_SUBDIRS([lalstochastic])
AC_CONFIG_SUBDIRS([lalapps])
......
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