Commit 8e944909 by Kaveh R. Ghazi Committed by Kaveh Ghazi

configure.in: Don't check for bcopy.

	* configure.in: Don't check for bcopy.
	* configure, config.in: Regenerate.

	* system.h: Don't define or prototype bcopy, instead poison it.

From-SVN: r40898
parent 695ee791
2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Don't check for bcopy.
* configure, config.in: Regenerate.
* system.h: Don't define or prototype bcopy, instead poison it.
2001-03-27 Richard Henderson <rth@redhat.com>
* function.c (expand_function_start): Set DECL_REGISTER on
......
......@@ -98,9 +98,6 @@
/* Define if you have the atoq function. */
#undef HAVE_ATOQ
/* Define if you have the bcopy function. */
#undef HAVE_BCOPY
/* Define if you have the bsearch function. */
#undef HAVE_BSEARCH
......@@ -360,9 +357,6 @@
#undef HAVE_MMAP_FILE
/* Define to 1 if we found this declaration otherwise define to 0. */
#undef HAVE_DECL_BCOPY
/* Define to 1 if we found this declaration otherwise define to 0. */
#undef HAVE_DECL_GETENV
/* Define to 1 if we found this declaration otherwise define to 0. */
......
......@@ -544,7 +544,7 @@ fi
dnl Disabled until we have a complete test for buggy enum bitfields.
dnl gcc_AC_C_ENUM_BF_UNSIGNED
AC_CHECK_FUNCS(strtoul bsearch putenv popen bcopy \
AC_CHECK_FUNCS(strtoul bsearch putenv popen \
strchr strrchr kill getrlimit setrlimit atoll atoq \
sysconf isascii gettimeofday strsignal putc_unlocked fputc_unlocked \
fputs_unlocked getrusage iconv nl_langinfo)
......@@ -589,8 +589,7 @@ AC_FUNC_MMAP_FILE
# We will need to find libiberty.h and ansidecl.h
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
gcc_AC_CHECK_DECLS(bcopy \
getenv atol sbrk abort atof getcwd getwd \
gcc_AC_CHECK_DECLS(getenv atol sbrk abort atof getcwd getwd \
strsignal putc_unlocked fputs_unlocked strstr environ \
malloc realloc calloc free basename getopt, , ,[
#include "gansidecl.h"
......
......@@ -240,16 +240,6 @@ extern int errno;
here. These checks will be in the undefined state while configure
is running so be careful to test "defined (HAVE_DECL_*)". */
#ifndef bcopy
# ifdef HAVE_BCOPY
# if defined (HAVE_DECL_BCOPY) && !HAVE_DECL_BCOPY
extern void bcopy PARAMS ((const PTR, PTR, size_t));
# endif
# else /* ! HAVE_BCOPY */
# define bcopy(src,dst,len) memmove((dst),(src),(len))
# endif
#endif
#if defined (HAVE_DECL_ATOF) && !HAVE_DECL_ATOF
extern double atof PARAMS ((const char *));
#endif
......@@ -557,12 +547,13 @@ typedef char _Bool;
#pragma GCC poison malloc realloc calloc strdup
#endif /* IN_GCC */
/* Note: not all uses of `bcopy' and `index' (esp. variable names)
have been eliminated. */
/* Note: not all uses of the `index' token (e.g. variable names and
structure members) have been eliminated. */
#undef bcopy
#undef bzero
#undef bcmp
#undef rindex
#pragma GCC poison bzero bcmp rindex
#pragma GCC poison bcopy bzero bcmp rindex
#endif /* GCC >= 3.0 */
......
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