From: Jason Merrill Date: Thu, 16 Mar 1995 21:37:09 +0000 (+0000) Subject: Thu Mar 16 13:35:30 1995 Jason Merrill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4350753eb976d7f67f31eeab1ba3c9256af57b46;p=binutils-gdb.git Thu Mar 16 13:35:30 1995 Jason Merrill * configure.in: Fix --enable-shared logic in per-host. --- diff --git a/configure.in b/configure.in index 6020f273811..459d51a08d8 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