Commit 6c889b67 by Kaveh R. Ghazi Committed by Kaveh Ghazi

configure.in (errno): Check for declaration.

	* configure.in (errno): Check for declaration.
	* configure, config.in: Regenerated.

	* system.h (errno): Only declare if not already done.

From-SVN: r41305
parent 1951a1b6
2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (errno): Check for declaration.
* configure, config.in: Regenerated.
* system.h (errno): Only declare if not already done.
2001-04-12 Alexandre Oliva <aoliva@redhat.com>
* recog.c (general_operand, immediate_operand,
......
......@@ -396,6 +396,9 @@
#undef HAVE_DECL_ENVIRON
/* Define to 1 if we found this declaration otherwise define to 0. */
#undef HAVE_DECL_ERRNO
/* Define to 1 if we found this declaration otherwise define to 0. */
#undef HAVE_DECL_MALLOC
/* Define to 1 if we found this declaration otherwise define to 0. */
......
......@@ -590,7 +590,7 @@ AC_FUNC_MMAP_FILE
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
gcc_AC_CHECK_DECLS(getenv atol sbrk abort atof getcwd getwd \
strsignal putc_unlocked fputs_unlocked strstr environ \
strsignal putc_unlocked fputs_unlocked strstr environ errno \
malloc realloc calloc free basename getopt, , ,[
#include "ansidecl.h"
#include "system.h"])
......
......@@ -93,7 +93,7 @@ extern int fputs_unlocked PARAMS ((const char *, FILE *));
#include <errno.h>
#ifndef errno
#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO
extern int errno;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment