[pushed] Darwin, configure: Allow for an unrecognisable dsymutil [PR111610].
Checks
Commit Message
tested on x86_64-darwin21 (native) and with crosses from x86_64-linux-gnu
to powerpc-darwin, i686-darwin, x86_64-darwin and with
--enable-languages=all to powerpc-apple-darwin9 (this built the front ends
OK - but there seems to be an unrelated config error in that even with
all-host, some language front end is triggering a build of target runtimes).
--- 8< ---
We had a catch-all configuration case for missing or unrecognised dsymutil
but it was setting the dsymutil source to "UNKNOWN" which is not usable in
this context (since it clashes with an existing enum). We rename this to
DET_UNKNOWN (for Darwin External Toolchain).
PR target/111610
gcc/ChangeLog:
* configure: Regenerate.
* configure.ac: Rename the missing dsymutil case to "DET_UNKNOWN".
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
gcc/configure | 2 +-
gcc/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -30746,7 +30746,7 @@ $as_echo_n "checking dsymutil version \"$dsymutil_temp\"... " >&6; }
dsymutil_kind=LLVM
dsymutil_vers=`echo $dsymutil_temp | sed 's/.*LLVM\ version\ \([0-9\.]*\).*/\1/'`
else
- dsymutil_kind=UNKNOWN
+ dsymutil_kind=DET_UNKNOWN
dsymutil_vers="0.0"
fi
dsymutil_major=`expr "$dsymutil_vers" : '\([0-9]*\)'`
@@ -6363,7 +6363,7 @@ if test x"$dsymutil_flag" = x"yes"; then
dsymutil_kind=LLVM
dsymutil_vers=`echo $dsymutil_temp | sed 's/.*LLVM\ version\ \([[0-9\.]]*\).*/\1/'`
else
- dsymutil_kind=UNKNOWN
+ dsymutil_kind=DET_UNKNOWN
dsymutil_vers="0.0"
fi
dsymutil_major=`expr "$dsymutil_vers" : '\([[0-9]]*\)'`