diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-21 01:02:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-21 01:02:53 +0000 |
commit | fef1696ffcfaeb438ebd8c519edd3baf212b76e7 (patch) | |
tree | e16e4e7a49cef8a194aea6c7828b359beeed04c4 /gdb/config.in | |
parent | dbc4eefc3dcccd9f8759540505e3fb9c466c7d62 (diff) | |
download | gdb-fef1696ffcfaeb438ebd8c519edd3baf212b76e7.zip gdb-fef1696ffcfaeb438ebd8c519edd3baf212b76e7.tar.gz gdb-fef1696ffcfaeb438ebd8c519edd3baf212b76e7.tar.bz2 |
* aclocal.m4: Include ../bfd/aclocal.m4.
* configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
BFD_NEED_DECLARATION on malloc, realloc, and free.
* acconfig.h: Add NEED_DECLARATION_MALLOC,
NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
* configure, config.in: Rebuild.
* defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
rather than __STDC__. Only declare malloc, realloc, and free if
NEED_DECLARATION_* is defined.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in index ef77c89..a3b3e51 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -1,5 +1,14 @@ /* config.in. Generated automatically from configure.in by autoheader. */ +/* Whether malloc must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_MALLOC + +/* Whether realloc must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_REALLOC + +/* Whether free must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_FREE + /* Define if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ @@ -7,6 +16,9 @@ #undef _ALL_SOURCE #endif +/* Define to empty if the keyword does not work. */ +#undef const + /* Define if the `long double' type works. */ #undef HAVE_LONG_DOUBLE @@ -77,6 +89,9 @@ /* Define if you have the <stddef.h> header file. */ #undef HAVE_STDDEF_H +/* Define if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + /* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H |