diff options
author | Jim Wilson <wilson@tuliptree.org> | 2005-06-09 18:39:34 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2005-06-09 18:39:34 +0000 |
commit | 940c1aa51398c7414144fc66cd30b0149cbad558 (patch) | |
tree | f414d5a5f34cd44ebfb06def8eb64a1053943da4 /ld/sysdep.h | |
parent | 57557d8344acc7ebbb9eec964431b027cec03d18 (diff) | |
download | binutils-redhat-940c1aa51398c7414144fc66cd30b0149cbad558.tar.gz |
configure clean up patch from Steve Ellcey.
* configure.in (AM_BINUTILS_WARNINGS): Add.
(BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
* config.in: Regenerate.
* configure: Regenerate.
* sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
* ldmain.c: Ditto.
Diffstat (limited to 'ld/sysdep.h')
-rw-r--r-- | ld/sysdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/sysdep.h b/ld/sysdep.h index 4f0b60406e..4c5e99451d 100644 --- a/ld/sysdep.h +++ b/ld/sysdep.h @@ -77,19 +77,19 @@ extern char *strrchr (); #include "fopen-same.h" #endif -#ifdef NEED_DECLARATION_STRSTR +#if !HAVE_DECL_STRSTR extern char *strstr (); #endif -#ifdef NEED_DECLARATION_FREE +#if !HAVE_DECL_FREE extern void free (); #endif -#ifdef NEED_DECLARATION_GETENV +#if !HAVE_DECL_GETENV extern char *getenv (); #endif -#ifdef NEED_DECLARATION_ENVIRON +#if !HAVE_DECL_ENVIRON extern char **environ; #endif |