* configure.in (function checks): Don't test for random and bcopy
only when we're building with X; look for them all the time.
if test "${HAVE_X11}" = "yes"; then
DEFS="$C_SWITCH_X_SITE $DEFS"
LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS"
- AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString random bcopy)
+ AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString)
fi
AC_ALLOCA
-AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir)
+AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy)
ok_so_far=true
AC_FUNC_CHECK(socket, , ok_so_far=)