diff --git a/configure b/configure index d901fc2..b93e175 100755 --- a/configure +++ b/configure @@ -4519,42 +4519,6 @@ _ACEOF fi - echo "$as_me:$LINENO: checking for bcopy in string.h" >&5 -echo $ECHO_N "checking for bcopy in string.h... $ECHO_C" >&6 -if test "${ac_cv_bcopy_declared+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "bcopy" >/dev/null 2>&1; then - ac_cv_bcopy_declared="yes" -else - ac_cv_bcopy_declared="no" -fi -rm -f conftest* - - -fi -echo "$as_me:$LINENO: result: $ac_cv_bcopy_declared" >&5 -echo "${ECHO_T}$ac_cv_bcopy_declared" >&6 - if test x"$ac_cv_bcopy_declared" = x"yes"; then - -cat >>confdefs.h <<\_ACEOF -#define BCOPY_DECLARED 1 -_ACEOF - - fi - - echo "$as_me:$LINENO: checking whether strsignal is declared" >&5 echo $ECHO_N "checking whether strsignal is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_strsignal+set}" = set; then diff --git a/configure.in b/configure.in index 73e977f..6e14395 100644 --- a/configure.in +++ b/configure.in @@ -83,7 +83,6 @@ AC_CHECK_DECLARATION(getpass, getpass, getpass, unistd.h, GETPASS_DECLARED) AC_CHECK_DECLARATION(errno, errno, [int?( | )_?_?errno], errno.h, ERRNO_DECLARED) AC_CHECK_DECLARATION(struct linger, struct_linger, [struct( | )*linger], sys/socket.h, STRUCT_LINGER_DECLARED) AC_CHECK_DECLARATION(sun_len, sun_len, sun_len, sys/un.h, HAVE_SUN_LEN) -AC_CHECK_DECLARATION(bcopy, bcopy, bcopy, string.h, BCOPY_DECLARED) AC_CHECK_DECLS([strsignal, sys_siglist, _sys_siglist], , , [AC_INCLUDES_DEFAULT diff --git a/include/defs.h.in b/include/defs.h.in index 01e9752..a64598f 100644 --- a/include/defs.h.in +++ b/include/defs.h.in @@ -1,8 +1,5 @@ /* include/defs.h.in. Generated from configure.in by autoheader. */ -/* Define this if bcopy is declared in string.h. */ -#undef BCOPY_DECLARED - /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ diff --git a/include/irc_std.h b/include/irc_std.h index 059c703..d5ea1b1 100644 --- a/include/irc_std.h +++ b/include/irc_std.h @@ -204,10 +204,6 @@ int killpg (int pgrp, int sig); char * getpass (const char * prompt); #endif -#ifndef BCOPY_DECLARED -void bcopy (const void *src, void *dest, size_t n); -#endif - #define BUILT_IN_COMMAND(x) \ void x (char *command, char *args, char *subargs, char *helparg)