]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/configure.ac
getopt.h (getopt): Also check HAVE_DECL_* when prototyping.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 23 May 2000 17:42:19 +0000 (17:42 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 23 May 2000 17:42:19 +0000 (17:42 +0000)
commitf31e826ba314bc910beec6de5bf534f2462a00c7
tree2d8c701cdb99568d7922c37d21a7fda0f8ea9913
parent04de731462db7abf438903fa71b850ac046f1067
getopt.h (getopt): Also check HAVE_DECL_* when prototyping.

include:
* getopt.h (getopt): Also check HAVE_DECL_* when prototyping.

* libiberty.h (basename): Likewise.

gcc:
* aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.

* configure.in (gcc_AC_CHECK_DECLS): Call this instead of
gcc_AC_NEED_DECLARATIONS.

* dwarfout.c: Don't prototype time().

* gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.

* system.h: Likewise.

* toplev.c: Likewise.

From-SVN: r34108
12 files changed:
gcc/ChangeLog
gcc/aclocal.m4
gcc/config.in
gcc/configure
gcc/configure.in
gcc/dwarfout.c
gcc/gcc.c
gcc/system.h
gcc/toplev.c
include/ChangeLog
include/getopt.h
include/libiberty.h