Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/tools/compat Pull up revision 1.22 (via patch, requeste...



details:   https://anonhg.NetBSD.org/src/rev/6dbc9d6aa20c
branches:  netbsd-1-6
changeset: 529265:6dbc9d6aa20c
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 03 16:19:38 2002 +0000

description:
Pull up revision 1.22 (via patch, requested by thorpej in ticket #797):
  Include various more functions in libnbcompat, mostly
  becuase our tools use features not universally present in
  other versions. This applies to glob(3), vis(3), and the
  MD2, MD4, RMD160 and SHA1 implementations.
  Also add checks for random(3) and termios.h for the Heimdal
  host tools.
  Update README to indicate the current state of building the
  host tools on Solaris 8 (for SPARC).

diffstat:

 tools/compat/configure.ac |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 653d9d18085d -r 6dbc9d6aa20c tools/compat/configure.ac
--- a/tools/compat/configure.ac Sun Nov 03 16:19:10 2002 +0000
+++ b/tools/compat/configure.ac Sun Nov 03 16:19:38 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: configure.ac,v 1.20 2002/04/24 19:41:58 bjh21 Exp $
+#      $NetBSD: configure.ac,v 1.20.2.1 2002/11/03 16:19:38 he Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -31,7 +31,7 @@
        sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
        assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
        netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
-       unistd.h,,
+       termios.h unistd.h,,
        AC_MSG_ERROR([standard system header file not found]))
 
 # Find headers that may not be available.
@@ -41,8 +41,7 @@
 AC_CHECK_HEADERS(machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
        err.h inttypes.h libgen.h paths.h stdint.h util.h,,
        [test -f include/$ac_header || touch include/$ac_header])
-AC_CHECK_HEADERS(rpc/types.h fts.h getopt.h md2.h md4.h md5.h netconfig.h \
-       rmd160.h sha1.h vis.h,,
+AC_CHECK_HEADERS(rpc/types.h fts.h getopt.h netconfig.h,,
        [echo '#include "config.h"' >include/$ac_header.new
        echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
        if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
@@ -97,8 +96,9 @@
 AC_CHECK_FUNCS(asprintf asnprintf basename dirfd dirname \
        fgetln flock fparseln futimes getopt getopt_long \
        isblank issetugid lchmod lchown lutimes pread pwcache_userdb \
-       pwrite setenv setgroupent setprogname setpassent \
-       snprintf strlcat strlcpy strsep vasprintf vasnprintf vsnprintf)
+       pwrite random setenv setgroupent setprogname setpassent \
+       snprintf strlcat strlcpy strsep \
+       vasprintf vasnprintf vsnprintf)
 
 AC_CHECK_DECLS([setgroupent, setpassent],,, [
 #include <grp.h>



Home | Main Index | Thread Index | Old Index