From bfcf3112c421c372e123bbb789bab8ef98eb4e99 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sun, 17 Mar 1996 00:53:34 +0000 Subject: [PATCH] Forgot during last checkin. * config.h.in: New file. * Makefile.in (distclean): Remove config.h and stamp-h during distclean. (config.h, stamp-h): New targets to remake config.h when necessary. --- gdb/ChangeLog | 5 +++- gdb/Makefile.in | 6 +++- gdb/config.h.in | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 gdb/config.h.in diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9cd0e184da..612530b1e8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,9 +1,12 @@ -Sat Mar 16 16:22:09 1996 Fred Fish +Sat Mar 16 16:45:43 1996 Fred Fish + * config.h.in: New file. * acconfig.h: New file, for autoheader. * configure.in (AC_CONFIG_HEADER): Add, generate config.h. * configure: Regenerate. * Makefile.in (defs_h): Add config.h + (distclean): Remove config.h and stamp-h during distclean. + (config.h, stamp-h): New targets to remake config.h when necessary. * defs.h (config.h): Include before any other includes or defines. * i386-tdep.c (gdb_string.h): Move include after include of defs.h. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e00ef3f561..23d756786c 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -725,7 +725,7 @@ clean mostlyclean: # functionality described is if the distributed files are unmodified. distclean: clean @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do - rm -f nm.h tm.h xm.h config.status + rm -f nm.h tm.h xm.h config.status config.h stamp-h rm -f y.output yacc.acts yacc.tmp y.tab.h rm -f config.log config.cache rm -f Makefile @@ -756,6 +756,10 @@ subdir_do: force 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 + config.status: configure $(SHELL) config.status --recheck diff --git a/gdb/config.h.in b/gdb/config.h.in new file mode 100644 index 0000000000..a4cf239ac1 --- /dev/null +++ b/gdb/config.h.in @@ -0,0 +1,75 @@ +/* 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_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 -- 2.34.1