Commit 753a81d1 authored by Karl Wette's avatar Karl Wette

Store configure flags for 'make distcheck'

Original: 7d70e1debacba55e84b41b8da94b6d38b20a71f2
parent 03050ed5
......@@ -11,6 +11,8 @@ AC_CONFIG_FILES([
AM_INIT_AUTOMAKE([foreign])
AC_PREFIX_DEFAULT([/opt/lscsoft/lalsuite])
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# for building doxygen
AC_PROG_LN_S
AC_CHECK_PROGS([GIT], [git], [])
......
# lalsuite_build.m4 - top level build macros
#
# serial 24
# serial 25
AC_DEFUN([LALSUITE_USE_LIBTOOL],
[## $0: Generate a libtool script for use in configure tests
......@@ -22,6 +22,18 @@ AC_DEFUN([LALSUITE_ARG_VAR],[
AC_ARG_VAR(LALSUITE_TOP_SRCDIR,[Set to top source directory of lalsuite])
])
# store configure flags for 'make distcheck'
AC_DEFUN([LALSUITE_DISTCHECK_CONFIGURE_FLAGS],[
DISTCHECK_CONFIGURE_FLAGS=
for arg in ${ac_configure_args}; do
AS_CASE([${arg}],
[\'--enable-*\'|\'--disable-*\'|\'--with-*\'|\'--without-*\'],
[DISTCHECK_CONFIGURE_FLAGS="${DISTCHECK_CONFIGURE_FLAGS} ${arg}"]
)
done
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
])
AC_DEFUN([LALSUITE_ENABLE_MODULE],[
AM_CONDITIONAL([$1],[test x$$2 = xtrue])
eval $1_ENABLE_VAL="`eval test "$$2" = "true" && echo "ENABLED" || echo "DISABLED"`"
......
......@@ -98,6 +98,7 @@ AH_BOTTOM([
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info - liblal
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -59,6 +59,7 @@ AH_BOTTOM([
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
LALAPPS_WITH_CC
LALAPPS_WITH_LAL_PREFIX
......
......@@ -19,6 +19,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -22,6 +22,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -19,6 +19,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -19,6 +19,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -18,6 +18,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -22,6 +22,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -22,6 +22,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -19,6 +19,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
......@@ -22,6 +22,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_CANONICAL_HOST
LALSUITE_ARG_VAR
LALSUITE_DISTCHECK_CONFIGURE_FLAGS
# set library api info
# 1. start with version information of "0:0:0" for each libtool library
......
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