Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
authorIan Lance Taylor <ian@airs.com>
Fri, 14 Feb 1997 01:36:24 +0000 (01:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 14 Feb 1997 01:36:24 +0000 (01:36 +0000)
* configure.in: Call BFD_NEED_DECLARATION on getenv.
* acconfig.h (NEED_DECLARATION_GETENV): New macro.
* sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV.
* ldemul.c (ld_emul_default_target): Do not cast getenv return
value.
* ldmain.c (get_emulation): Likewise.
* configure, config.in: Rebuild.

ld/acconfig.h

index 7be98654f5603d557a1af87be0a217d0a967ed24..6034cadef811ce2ddc59834f8b197f836a6ace34 100644 (file)
@@ -7,6 +7,9 @@
 
 /* Whether sbrk must be declared even if <unistd.h> is included.  */
 #undef NEED_DECLARATION_SBRK
+
+/* Whether getenv must be declared even if <stdlib.h> is included.  */
+#undef NEED_DECLARATION_GETENV
 @TOP@
 
 /* Do we need to use the b modifier when opening binary files?  */
This page took 0.024005 seconds and 4 git commands to generate.