aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2024-01-18 09:56:42 +0000
committerIain Sandoe <iain@sandoe.co.uk>2024-01-18 15:03:26 +0000
commit569ebd6bdd45cb5f90634c93e9623d96928b4fce (patch)
tree1883de15fd81d0de7f86e078e4e06ef0812320fe
parent9e1b554cc75e25fe96baf9b8d7963b932cb2c36d (diff)
downloadgcc-569ebd6bdd45cb5f90634c93e9623d96928b4fce.zip
gcc-569ebd6bdd45cb5f90634c93e9623d96928b4fce.tar.gz
gcc-569ebd6bdd45cb5f90634c93e9623d96928b4fce.tar.bz2
Darwin, configure: Handle a missing substitution.
The configure substitution for enable_darwin_at_rpath has been omitted, which leads to a failure to set ENABLE_DARWIN_AT_RPATH in the testsuite site.exp (which leads to failure to add -B options in some cases, breaking uninstalled testing there). Since we already have substitutions for ENABLE_DARWIN_AT_RPATH_TRUE we can use that instead, which is what this patch does. gcc/ChangeLog: * Makefile.in: Emit ENABLE_DARWIN_AT_RPATH into site.exp when ENABLE_DARWIN_AT_RPATH_TRUE is not '#'. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
-rw-r--r--gcc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index deb12e1..95caa54 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4303,7 +4303,7 @@ site.exp: ./config.status Makefile
echo "set COMPAT_OPTIONS \"$(COMPAT_OPTIONS)\"" >> ./site.tmp; \
else true; \
fi
- @if test "x@enable_darwin_at_rpath@" = "xyes" ; then \
+ @if test "X@ENABLE_DARWIN_AT_RPATH_TRUE@" != "X#" ; then \
echo "set ENABLE_DARWIN_AT_RPATH 1" >> ./site.tmp; \
fi
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./site.tmp