aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-01-24 21:31:35 +0000
committerDJ Delorie <dj@redhat.com>2003-01-24 21:31:35 +0000
commit5a17353c6b7e9e380ec5e01f16352111ac09b621 (patch)
tree80cded7840779a7acf4e0fa7a8c47fcb223664c0 /libiberty/configure.in
parent6c5977968d3f30224ac7ba84b5b852ed078c2117 (diff)
downloadgdb-5a17353c6b7e9e380ec5e01f16352111ac09b621.zip
gdb-5a17353c6b7e9e380ec5e01f16352111ac09b621.tar.gz
gdb-5a17353c6b7e9e380ec5e01f16352111ac09b621.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r--libiberty/configure.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index a8dc66f..5b58ddb 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script
AC_PREREQ(2.13)
-AC_INIT(pexecute.c)
+AC_INIT(xmalloc.c)
# This works around the fact that libtool configuration may change LD
# for this particular configuration, but some shells, instead of
@@ -425,6 +425,17 @@ if test -z "${setobjs}"; then
AC_CHECK_FUNCS($checkfuncs)
fi
+# Figure out which version of pexecute to use.
+case "${host}" in
+ *-*-cygwin*) pexecute=pex-cygwin.o ;;
+ *-*-mingw* | *-*-winnt*) pexecute=pex-win32.o ;;
+ *-*-msdosdjgpp*) pexecute=pex-djgpp.o ;;
+ *-*-msdos*) pexecute=pex-msdos.o ;;
+ *-*-os2-emx*) pexecute=pex-os2.o ;;
+ *) pexecute=pex-unix.o ;;
+esac
+AC_SUBST(pexecute)
+
libiberty_AC_FUNC_STRNCMP
# Install a library built with a cross compiler in $(tooldir) rather