aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-08 18:09:48 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-08 18:09:48 +0000
commit8a9659466d632a11d3fdda3054125513721cfc7e (patch)
tree635d647327647137beb01c66bb962b289040e44e /binutils/configure.in
parent04ad15439ae4eecd73a7fcfec8bb35a7982b70c8 (diff)
downloadgdb-8a9659466d632a11d3fdda3054125513721cfc7e.zip
gdb-8a9659466d632a11d3fdda3054125513721cfc7e.tar.gz
gdb-8a9659466d632a11d3fdda3054125513721cfc7e.tar.bz2
* configure.in: Define and substitute DEMANGLER_NAME.
* Makefile.am (DEMANGLER_PROG): Set to cxxfilt. (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG. (bin_PROGRAMS): Remove $(DEMANGLER_PROG). (noinst_PROGRAMS): Add $(DEMANGLER_PROG). (cxxfilt_SOURCES): Rename from c__filt_SOURCES. (cxxfilt_LDADD): Rename from c__filt_LDADD. ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use DEMANGLER_NAME rather than DEMANGLER_PROG in substitution. (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than DEMANGLER_PROG. (install-exec-local): When installing noinst_PROGRAMS, change cxxfilt to $(DEMANGLER_NAME). * configure, Makefile.in: Rebuild.
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