aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-01-22 19:34:11 +0000
committerDJ Delorie <dj@redhat.com>2004-01-22 19:34:11 +0000
commit37254c9a9efe1273611bf5f23c5cf04cd19290e4 (patch)
tree462ebbaa101bf67b3cc738d388b8584360078662 /libiberty/configure.ac
parent51f72ab2bcdc0fc9977b4d9b570bdc8e17abcfa5 (diff)
downloadgdb-37254c9a9efe1273611bf5f23c5cf04cd19290e4.zip
gdb-37254c9a9efe1273611bf5f23c5cf04cd19290e4.tar.gz
gdb-37254c9a9efe1273611bf5f23c5cf04cd19290e4.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac19
1 files changed, 14 insertions, 5 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index eb8a99d..3e379cc 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -477,11 +477,11 @@ fi
# Figure out which version of pexecute to use.
case "${host}" in
- *-*-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 ;;
+ *-*-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)
@@ -496,6 +496,15 @@ else
fi
AC_SUBST(INSTALL_DEST)
+L=""
+for l in x $LIBOBJS; do
+ case $l in
+ x) ;;
+ *) L="$L ./$l" ;;
+ esac
+done
+LIBOBJS="$L"
+
# We need multilib support, but only if configuring for the target.
AC_OUTPUT(Makefile testsuite/Makefile,
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h