aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-04-28 22:04:49 +0000
committerDavid MacKenzie <djm@cygnus>1994-04-28 22:04:49 +0000
commit594c548a4566bc8b32af0fbb5ae0bf30114f5293 (patch)
tree510b6cb37cade68332a27c55bb588a7bbdcaa9b2
parentea68d58d4eeaf4e291321095fdbeb7cb29beaf66 (diff)
downloadgdb-594c548a4566bc8b32af0fbb5ae0bf30114f5293.zip
gdb-594c548a4566bc8b32af0fbb5ae0bf30114f5293.tar.gz
gdb-594c548a4566bc8b32af0fbb5ae0bf30114f5293.tar.bz2
* configure.in: Only set host_makefile_frag if config
directory exists.
-rw-r--r--ChangeLog5
-rw-r--r--configure.in3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1870353..98584e7 100644
--- 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
diff --git a/configure.in b/configure.in
index d47c698..0619e2c 100644
--- a/configure.in
+++ b/configure.in
@@ -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: