From: Fred Fish Date: Sun, 17 Mar 1996 06:28:57 +0000 (+0000) Subject: * configure.in: Add fragment to create stamp-h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=315206699f300748d5491b2d45e3c859300b7afa;p=binutils-gdb.git * configure.in: Add fragment to create stamp-h. From Peter Schauer * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a22fc65dbb7..ad8e5e20b4c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +Sat Mar 16 19:47:36 1996 Fred Fish + + * configure.in: Add fragment to create stamp-h. + + From Peter Schauer + * 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 * config.h.in: New file. diff --git a/gdb/config.h.in b/gdb/config.h.in index a4cf239ac19..98cda611d95 100644 --- a/gdb/config.h.in +++ b/gdb/config.h.in @@ -44,6 +44,9 @@ /* Define if you have the header file. */ #undef HAVE_LIMITS_H +/* Define if you have the header file. */ +#undef HAVE_LINK_H + /* Define if you have the header file. */ #undef HAVE_MEMORY_H diff --git a/gdb/configure b/gdb/configure index c61ad97def3..f5909c1093e 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 fa7550a9977..b61d6a26690 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