From 4350753eb976d7f67f31eeab1ba3c9256af57b46 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 16 Mar 1995 21:37:09 +0000 Subject: [PATCH] Thu Mar 16 13:35:30 1995 Jason Merrill * configure.in: Fix --enable-shared logic in per-host. --- configure.in | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.30.2