From 18ea4416b732c2e38d4138c721d8f6101d302944 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 21 Mar 1996 15:59:01 +0000 Subject: * config.in: Rename from config.h.in. * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Change CONFIG_HEADERS test in AC_OUTPUT accordingly. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. Set CONFIG_HEADERS to config.h:config.in. The file name config.h.in can be used on DOS filesystems. --- gdb/.Sanitize | 2 +- gdb/ChangeLog | 9 +++++++ gdb/Makefile.in | 4 +-- gdb/config.h.in | 78 -------------------------------------------------------- gdb/config.in | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gdb/configure | 6 ++--- gdb/configure.in | 4 +-- 7 files changed, 95 insertions(+), 86 deletions(-) delete mode 100644 gdb/config.h.in create mode 100644 gdb/config.in (limited to 'gdb') diff --git a/gdb/.Sanitize b/gdb/.Sanitize index dd707b2..8045207 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -136,7 +136,7 @@ command.h complaints.c complaints.h config -config.h.in +config.in configure configure.in convex-tdep.c diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dd56e54..284905b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +Thu Mar 21 10:56:41 1996 Ian Lance Taylor + + * config.in: Rename from config.h.in. + * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. + Change CONFIG_HEADERS test in AC_OUTPUT accordingly. + * configure: Rebuild. + * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. + Set CONFIG_HEADERS to config.h:config.in. + Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * partial-stab.h (case N_ENDM): Finish current partial symbol diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 23d7567..b5b5804 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -757,8 +757,8 @@ Makefile: Makefile.in config.status @frags@ $(SHELL) config.status config.h: stamp-h ; @true -stamp-h: config.h.in config.status - CONFIG_HEADERS=config.h:config.h.in $(SHELL) config.status +stamp-h: config.in config.status + CONFIG_HEADERS=config.h:config.in $(SHELL) config.status config.status: configure $(SHELL) config.status --recheck diff --git a/gdb/config.h.in b/gdb/config.h.in deleted file mode 100644 index 98cda61..0000000 --- a/gdb/config.h.in +++ /dev/null @@ -1,78 +0,0 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if on AIX 3. - System headers sometimes define this. - We just want to avoid a redefinition error message. */ -#ifndef _ALL_SOURCE -#undef _ALL_SOURCE -#endif - -/* Define if the `long double' type works. */ -#undef HAVE_LONG_DOUBLE - -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define if on MINIX. */ -#undef _MINIX - -/* Define if the system does not provide POSIX.1 features except - with this defined. */ -#undef _POSIX_1_SOURCE - -/* Define if you need to in order for stat and other things to work. */ -#undef _POSIX_SOURCE - -/* Define if the `S_IS*' macros in do not work properly. */ -#undef STAT_MACROS_BROKEN - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define if fpregset_t type is available. */ -#undef HAVE_FPREGSET_T - -/* Define if gregset_t type is available. */ -#undef HAVE_GREGSET_T - -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE - -/* Define if you have the valloc function. */ -#undef HAVE_VALLOC - -/* 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 - -/* Define if you have the header file. */ -#undef HAVE_SGTTY_H - -/* Define if you have the header file. */ -#undef HAVE_STDDEF_H - -/* Define if you have the header file. */ -#undef HAVE_STRING_H - -/* Define if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_PROCFS_H - -/* Define if you have the header file. */ -#undef HAVE_TERMIO_H - -/* Define if you have the header file. */ -#undef HAVE_TERMIOS_H - -/* Define if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the dl library (-ldl). */ -#undef HAVE_LIBDL diff --git a/gdb/config.in b/gdb/config.in new file mode 100644 index 0000000..a3f8f2e --- /dev/null +++ b/gdb/config.in @@ -0,0 +1,78 @@ +/* config.in. Generated automatically from configure.in by autoheader. */ + +/* Define if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +#undef _ALL_SOURCE +#endif + +/* Define if the `long double' type works. */ +#undef HAVE_LONG_DOUBLE + +/* Define if you have a working `mmap' system call. */ +#undef HAVE_MMAP + +/* Define if on MINIX. */ +#undef _MINIX + +/* Define if the system does not provide POSIX.1 features except + with this defined. */ +#undef _POSIX_1_SOURCE + +/* Define if you need to in order for stat and other things to work. */ +#undef _POSIX_SOURCE + +/* Define if the `S_IS*' macros in do not work properly. */ +#undef STAT_MACROS_BROKEN + +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define if fpregset_t type is available. */ +#undef HAVE_FPREGSET_T + +/* Define if gregset_t type is available. */ +#undef HAVE_GREGSET_T + +/* Define if you have the getpagesize function. */ +#undef HAVE_GETPAGESIZE + +/* Define if you have the valloc function. */ +#undef HAVE_VALLOC + +/* 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 + +/* Define if you have the header file. */ +#undef HAVE_SGTTY_H + +/* Define if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define if you have the header file. */ +#undef HAVE_STRING_H + +/* Define if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_PROCFS_H + +/* Define if you have the header file. */ +#undef HAVE_TERMIO_H + +/* Define if you have the header file. */ +#undef HAVE_TERMIOS_H + +/* Define if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define if you have the dl library (-ldl). */ +#undef HAVE_LIBDL diff --git a/gdb/configure b/gdb/configure index f5909c1..2f69a0c 100755 --- a/gdb/configure +++ b/gdb/configure @@ -3454,7 +3454,7 @@ done ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" -trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> .gdbinit esac case x$CONFIG_HEADERS in -xconfig.h:config.h.in) +xconfig.h:config.in) echo > stamp-h ;; esac diff --git a/gdb/configure.in b/gdb/configure.in index b61d6a2..6365fbb 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -21,7 +21,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.3)dnl AC_INIT(main.c) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADER(config.h:config.in) AC_PROG_CC AC_AIX @@ -716,7 +716,7 @@ echo "source ${srcdir}/.gdbinit" >> .gdbinit esac case x$CONFIG_HEADERS in -xconfig.h:config.h.in) +xconfig.h:config.in) echo > stamp-h ;; esac ], -- cgit v1.1