diff options
author | Paul Smith <psmith@gnu.org> | 2013-10-19 15:39:15 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-10-19 15:39:15 -0400 |
commit | 107ab16bf6f0bb912aab2d72e019f20e11a03aba (patch) | |
tree | dbcf0e781246f3a52c323cd71d65ee2605c4a85f /tests/config-flags.pm.in | |
parent | 07f2666b91c0083a36135c9893305b2a620e3b38 (diff) | |
download | gunmake-107ab16bf6f0bb912aab2d72e019f20e11a03aba.tar.gz |
[SV 40240] Use configure info to build load test shared libs
* tests/config-flags.pm.in: A new file containing variable assignments
for the test suite; these variables are set by configure to contain
the values detected there for compilers, flags, etc.
* tests/run_make_tests.pl: Require the config-flags.pm file
* tests/scripts/features/load, tests/scripts/features/loadapi: Use the
configure-provided values when building the shared test library.
* configure.ac: Replace tests/config-flags.pm.in
* Makefile.am: Make sure tests/config-flags.pm is up to date
Diffstat (limited to 'tests/config-flags.pm.in')
-rw-r--r-- | tests/config-flags.pm.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/config-flags.pm.in b/tests/config-flags.pm.in new file mode 100644 index 0000000..a26b8dc --- /dev/null +++ b/tests/config-flags.pm.in @@ -0,0 +1,18 @@ +# This is a -*-perl-*- script +# +# Set variables that were defined by configure, in case we need them +# during the tests. + +%CONFIG_FLAGS = ( + AM_LDFLAGS => '@AM_LDFLAGS@', + CC => '@CC@', + CFLAGS => '@CFLAGS@', + CPP => '@CPP@', + CPPFLAGS => '@CPPFLAGS@', + GUILE_CFLAGS => '@GUILE_CFLAGS@', + GUILE_LIBS => '@GUILE_LIBS@', + LDFLAGS => '@LDFLAGS@', + LIBS => '@LIBS@' +); + +1; |