aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>1995-03-16 21:37:09 +0000
committerJason Merrill <jason@redhat.com>1995-03-16 21:37:09 +0000
commit4350753eb976d7f67f31eeab1ba3c9256af57b46 (patch)
tree52d1a0ef13a7ab0ce4ffa86353ebafb85b4bc78a
parent8367c66b2d43bf7cc7455ccfbbce75aea02f168e (diff)
downloadfsf-binutils-gdb-4350753eb976d7f67f31eeab1ba3c9256af57b46.zip
fsf-binutils-gdb-4350753eb976d7f67f31eeab1ba3c9256af57b46.tar.gz
fsf-binutils-gdb-4350753eb976d7f67f31eeab1ba3c9256af57b46.tar.bz2
Thu Mar 16 13:35:30 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* configure.in: Fix --enable-shared logic in per-host.
-rw-r--r--configure.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 6020f27..459d51a 100644
--- a/configure.in
+++ b/configure.in
@@ -171,10 +171,14 @@ if [ x${enable_shared} = xyes ]; then
i[345]86-*-*) waugh=config/mh-x86pic ;;
*-*-*) waugh=config/mh-${host_cpu}pic ;;
esac
- if [ -n "${host_makefile_frag}" ] && [ -f ${srcdir}/${waugh} ]; then
- cat ${srcdir}/${host_makefile_frag} > mh-frag
- cat ${srcdir}/${waugh} >> mh-frag
- host_makefile_frag=mh-frag
+ if [ -f ${srcdir}/${waugh} ]; then
+ if [ -n "${host_makefile_frag}" ] ; then
+ cat ${srcdir}/${host_makefile_frag} > mh-frag
+ cat ${srcdir}/${waugh} >> mh-frag
+ host_makefile_frag=mh-frag
+ fi
+ else
+ host_makefile_frag=${waugh}
fi
fi