Remove configure check for bcopy(), no longer required
This fixes building on Haiku OS (where bcopy() is a macro, not a function).
This commit is contained in:
parent
b5afd1d596
commit
fe22025c01
|
@ -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 <string.h>
|
||||
|
||||
_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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue