summaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-02-09 19:44:01 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-02-09 19:44:01 +0000
commitcee0802370de30b5e41a57a9e2bde1b446ca0770 (patch)
treeb601adf9aaa6b9c05aa7a20e421d619f1234da1b /libiberty/configure.ac
parentf4570b829b5e52cf5d7abebf61a18d876fa6bcc1 (diff)
downloadbinutils-redhat-drow-cplus-branch.tar.gz
Merge drow-cplus-merge-20040208 to drow-cplus-branch.drow-cplus-branch
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac20
1 files changed, 15 insertions, 5 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index eb8a99daa0..e8907e708c 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,16 @@ else
fi
AC_SUBST(INSTALL_DEST)
+m4_pattern_allow(LIBOBJS)
+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