Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat Add AC_CHECK_DECLS test for strsuftoll. hannken...
details: https://anonhg.NetBSD.org/src/rev/052fb9d49ba3
branches: trunk
changeset: 588171:052fb9d49ba3
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Feb 11 00:54:35 2006 +0000
description:
Add AC_CHECK_DECLS test for strsuftoll. hannken reports it is needed
for building nbmakefs on 3.0/i386.
diffstat:
tools/compat/configure.ac | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diffs (32 lines):
diff -r 27cce8e4713c -r 052fb9d49ba3 tools/compat/configure.ac
--- a/tools/compat/configure.ac Fri Feb 10 21:50:06 2006 +0000
+++ b/tools/compat/configure.ac Sat Feb 11 00:54:35 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.53 2006/02/09 22:26:06 wiz Exp $
+# $NetBSD: configure.ac,v 1.54 2006/02/11 00:54:35 wiz Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -126,17 +126,13 @@
strsuftoll strtoll \
user_from_uid vasprintf vasnprintf vsnprintf)
-AC_CHECK_DECLS([htobe16, htobe32, htobe64, htole16, htole32, htole64, be16toh, be32toh, be64toh, le16toh, le32toh, le64toh],,, [
-#include <sys/types.h>
-])
+AC_CHECK_DECLS([strsuftoll],,,[#include <stdlib.h>])
+
+AC_CHECK_DECLS([htobe16, htobe32, htobe64, htole16, htole32, htole64, be16toh, be32toh, be64toh, le16toh, le32toh, le64toh],,, [#include <sys/types.h>])
-AC_CHECK_DECLS([bswap16, bswap32, bswap64],,, [
-#include <machine/bswap.h>
-])
+AC_CHECK_DECLS([bswap16, bswap32, bswap64],,, [#include <machine/bswap.h>])
-AC_CHECK_DECLS([fstatvfs],,, [
-#include <sys/statvfs.h>
-])
+AC_CHECK_DECLS([fstatvfs],,, [#include <sys/statvfs.h>])
AC_CHECK_DECLS([setgroupent, setpassent],,, [
#include <sys/types.h>
Home |
Main Index |
Thread Index |
Old Index