Commit 9ae89979 authored by Karl Wette's avatar Karl Wette

lalsuite_build.m4: add POSTCONFIG_...FLAGS variables

- extra values for user variables to be added after configuration
- refs #5433
Original: 099ecd22fe8a4d2e12bc7aadee4e75ee68768cfc
parent 4028722e
# -*- mode: autoconf; -*- # -*- mode: autoconf; -*-
# lalsuite_build.m4 - top level build macros # lalsuite_build.m4 - top level build macros
# #
# serial 138 # serial 139
# restrict which LALSUITE_... patterns can appearing in output (./configure); # restrict which LALSUITE_... patterns can appearing in output (./configure);
# useful for debugging problems with unexpanded LALSUITE_... Autoconf macros # useful for debugging problems with unexpanded LALSUITE_... Autoconf macros
...@@ -44,6 +44,11 @@ AC_DEFUN([AC_OUTPUT],[ ...@@ -44,6 +44,11 @@ AC_DEFUN([AC_OUTPUT],[
AC_SUBST(AM_[]uvar,"${AM_[]uvar} ${sys_[]uvar}") AC_SUBST(AM_[]uvar,"${AM_[]uvar} ${sys_[]uvar}")
uvar="${uvar_prefix[]uvar}" uvar="${uvar_prefix[]uvar}"
]) ])
# append extra values for user variables to be added after configuration
m4_foreach_w([uvar],uvar_list,[
AC_ARG_VAR([POSTCONFIG_]uvar,[Extra ]uvar[ to be added after configuration])
uvar="${uvar} ${POSTCONFIG_[]uvar}"
])
# call original AC_OUTPUT # call original AC_OUTPUT
lalsuite_AC_OUTPUT lalsuite_AC_OUTPUT
]) ])
......
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