Thu Mar 16 13:35:30 1995 Jason Merrill <jason@phydeaux.cygnus.com>

* configure.in: Fix --enable-shared logic in per-host.
This commit is contained in:
Jason Merrill 1995-03-16 21:37:09 +00:00
parent 8367c66b2d
commit 4350753eb9
1 changed files with 8 additions and 4 deletions

View File

@ -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