aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index b2e1e6d..5c777d2e 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -65,6 +65,13 @@ AC_PROG_INSTALL
BFD_CC_FOR_BUILD
+DEMANGLER_NAME=c++filt
+case "${host}" in
+ *-*-go32* | *-*-msdos*)
+ DEMANGLER_NAME=cxxfilt
+esac
+AC_SUBST(DEMANGLER_NAME)
+
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h)
AC_HEADER_SYS_WAIT
AC_FUNC_ALLOCA