* configure.in: Only set host_makefile_frag if config
authorDavid MacKenzie <djm@cygnus>
Thu, 28 Apr 1994 22:04:49 +0000 (22:04 +0000)
committerDavid MacKenzie <djm@cygnus>
Thu, 28 Apr 1994 22:04:49 +0000 (22:04 +0000)
directory exists.

ChangeLog
configure.in

index 1870353..98584e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 28 15:03:05 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * configure.in: Only set host_makefile_frag if config
+       directory exists.
+
 Wed Apr 27 12:14:30 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
        * install.sh: If $dstdir exists, don't check whether each
index d47c698..0619e2c 100644 (file)
@@ -81,6 +81,8 @@ srcname="gnu development package"
 
 # per-host:
 
+# Work in distributions that contain no compiler tools, like Autoconf.
+if [ -d ${srcdir}/config ]; then
 case "${host}" in
   m68k-hp-hpux*)         host_makefile_frag=config/mh-hp300 ;;
   m68k-apollo-sysv*)      host_makefile_frag=config/mh-apollo68 ;;
@@ -112,6 +114,7 @@ case "${host}" in
   *-*-sysv4*)             host_makefile_frag=config/mh-sysv4 ;;
   *-*-sysv*)              host_makefile_frag=config/mh-sysv ;;
 esac
+fi
 
 # per-target: