aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog14
-rw-r--r--gdb/config.h.in3
-rwxr-xr-xgdb/configure7
-rw-r--r--gdb/configure.in7
4 files changed, 29 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a22fc65..ad8e5e2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,17 @@
+Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
+
+ * configure.in: Add fragment to create stamp-h.
+
+ From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
+ * configure.in (AC_CHECK_HEADERS): Check for link.h.
+ * configure: Regenerate with autoconf.
+ * config.h.in: Regenerate with autoheader.
+ * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
+ is defined.
+ * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
+ * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
+ older a.out based systems.
+
Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
* config.h.in: New file.
diff --git a/gdb/config.h.in b/gdb/config.h.in
index a4cf239..98cda61 100644
--- a/gdb/config.h.in
+++ b/gdb/config.h.in
@@ -44,6 +44,9 @@
/* Define if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
+/* Define if you have the <link.h> header file. */
+#undef HAVE_LINK_H
+
/* Define if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
diff --git a/gdb/configure b/gdb/configure
index c61ad97..f5909c1 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -1189,7 +1189,7 @@ EOF
fi
-for ac_hdr in limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h sys/procfs.h
+for ac_hdr in limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h sys/procfs.h link.h
do
ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -3756,6 +3756,11 @@ grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
echo "source ${srcdir}/.gdbinit" >> .gdbinit
esac
+case x$CONFIG_HEADERS in
+xconfig.h:config.h.in)
+echo > stamp-h ;;
+esac
+
exit 0
EOF
chmod +x $CONFIG_STATUS
diff --git a/gdb/configure.in b/gdb/configure.in
index fa7550a..b61d6a2 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -37,7 +37,7 @@ AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AC_HEADER_STDC
-AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h sys/procfs.h)
+AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h sys/procfs.h link.h)
AC_HEADER_STAT
AC_MSG_CHECKING([for gregset_t type])
@@ -714,6 +714,11 @@ case ${srcdir} in
grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
echo "source ${srcdir}/.gdbinit" >> .gdbinit
esac
+
+case x$CONFIG_HEADERS in
+xconfig.h:config.h.in)
+echo > stamp-h ;;
+esac
],
[
gdb_host_cpu=$gdb_host_cpu