summaryrefslogtreecommitdiff
path: root/pkgtools/mtree/files
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-06-30 15:54:19 +0000
committergrant <grant@pkgsrc.org>2003-06-30 15:54:19 +0000
commitdc19bd61f107ebacc23f16a7c605947377f4df69 (patch)
tree6d615856c53a5ff666c9b7fdf260f48b46d86739 /pkgtools/mtree/files
parent4e31a97e06879b9b211fcf719f54eca2e57e5d61 (diff)
downloadpkgsrc-dc19bd61f107ebacc23f16a7c605947377f4df69.tar.gz
test for getmode(), setmode(), isblank(), strmode(), tzfile.h.
bump to 20030630.
Diffstat (limited to 'pkgtools/mtree/files')
-rw-r--r--pkgtools/mtree/files/config.h.in17
-rwxr-xr-xpkgtools/mtree/files/configure118
-rw-r--r--pkgtools/mtree/files/configure.ac14
3 files changed, 127 insertions, 22 deletions
diff --git a/pkgtools/mtree/files/config.h.in b/pkgtools/mtree/files/config.h.in
index beca269d1c7..cffe91854fb 100644
--- a/pkgtools/mtree/files/config.h.in
+++ b/pkgtools/mtree/files/config.h.in
@@ -1,5 +1,5 @@
/* config.h.in. Generated from configure.ac by autoheader. */
-/* $Id: config.h.in,v 1.1.1.1 2003/03/31 08:51:31 grant Exp $ */
+/* $Id: config.h.in,v 1.2 2003/06/30 15:54:19 grant Exp $ */
/* Define if *printf() uses %qd to print `long long' (otherwise uses %lld) */
#undef HAVE_PRINTF_QD
@@ -63,6 +63,9 @@
/* Define to 1 if you have the `getenv' function. */
#undef HAVE_GETENV
+/* Define to 1 if you have the `getmode' function. */
+#undef HAVE_GETMODE
+
/* Define to 1 if you have the `getpassphrase' function. */
#undef HAVE_GETPASSPHRASE
@@ -99,6 +102,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the `isblank' function. */
+#undef HAVE_ISBLANK
+
/* Define to 1 if you have the `lchflags' function. */
#undef HAVE_LCHFLAGS
@@ -190,6 +196,9 @@
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
+/* Define to 1 if you have the `setmode' function. */
+#undef HAVE_SETMODE
+
/* Define to 1 if you have the `setpassent' function. */
#undef HAVE_SETPASSENT
@@ -244,6 +253,9 @@
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
+/* Define to 1 if you have the `strmode' function. */
+#undef HAVE_STRMODE
+
/* Define to 1 if you have the `strptime' function. */
#undef HAVE_STRPTIME
@@ -310,6 +322,9 @@
/* Define to 1 if you have the `timegm' function. */
#undef HAVE_TIMEGM
+/* Define to 1 if you have the <tzfile.h> header file. */
+#undef HAVE_TZFILE_H
+
/* Define to 1 if you have the `uid_from_user' function. */
#undef HAVE_UID_FROM_USER
diff --git a/pkgtools/mtree/files/configure b/pkgtools/mtree/files/configure
index e35fe0ee363..4c5b46b9227 100755
--- a/pkgtools/mtree/files/configure
+++ b/pkgtools/mtree/files/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for mtree 20030331.
+# Generated by GNU Autoconf 2.57 for mtree 20030630.
#
# Report bugs to <grant@NetBSD.org>.
#
@@ -268,8 +268,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='mtree'
PACKAGE_TARNAME='mtree'
-PACKAGE_VERSION='20030331'
-PACKAGE_STRING='mtree 20030331'
+PACKAGE_VERSION='20030630'
+PACKAGE_STRING='mtree 20030630'
PACKAGE_BUGREPORT='grant@NetBSD.org'
ac_unique_file="mtree.c"
@@ -779,7 +779,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures mtree 20030331 to adapt to many kinds of systems.
+\`configure' configures mtree 20030630 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -845,7 +845,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mtree 20030331:";;
+ short | recursive ) echo "Configuration of mtree 20030630:";;
esac
cat <<\_ACEOF
@@ -924,7 +924,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-mtree configure 20030331
+mtree configure 20030630
generated by GNU Autoconf 2.57
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -939,7 +939,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mtree $as_me 20030331, which was
+It was created by mtree $as_me 20030630, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ $0 $@
@@ -3189,10 +3189,11 @@ done
+
for ac_header in assert.h arpa/nameser.h dirent.h err.h errno.h fcntl.h \
fts.h libutil.h locale.h machine/endian.h param.h paths.h \
poll.h regex.h stringlist.h sys/byteorder.h sys/poll.h \
- termcap.h unistd.h util.h vis.h limits.h
+ termcap.h tzfile.h unistd.h util.h vis.h limits.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -3346,9 +3347,8 @@ done
-
for ac_header in bind/bitypes.h inttypes.h sys/bitypes.h sys/cdefs.h \
- sys/endian.h sys/mkdev.h sys/mount.h sys/queue.h \
+ sys/endian.h sys/mount.h sys/queue.h \
sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h \
sys/byteorder.h
do
@@ -5731,10 +5731,13 @@ done
+
+
for ac_func in err fgetln fseeko getenv glob inet_ntop \
- inet_pton lchflags lchmod lchown lutimes mkstemp setenv \
- setprogname sl_init snprintf strdup strerror strlcat \
- strlcpy strptime strsep strtoll timegm usleep
+ inet_pton isblank lchflags lchmod lchown lutimes mkstemp \
+ setenv setprogname sl_init snprintf strdup strerror \
+ strlcat strlcpy strmode strptime strsep strtoll timegm \
+ usleep
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -6084,6 +6087,91 @@ done
+for ac_func in getmode setmode
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+if eval "test \"\${$as_ac_var+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+char (*f) () = $ac_func;
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+int
+main ()
+{
+return f != $ac_func;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ eval "$as_ac_var=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+eval "$as_ac_var=no"
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+
for ac_func in statfs statvfs
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -7270,7 +7358,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
-This file was extended by mtree $as_me 20030331, which was
+This file was extended by mtree $as_me 20030630, which was
generated by GNU Autoconf 2.57. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -7330,7 +7418,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-mtree config.status 20030331
+mtree config.status 20030630
configured by $0, generated by GNU Autoconf 2.57,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/pkgtools/mtree/files/configure.ac b/pkgtools/mtree/files/configure.ac
index 1461aa405e2..50280cc16ff 100644
--- a/pkgtools/mtree/files/configure.ac
+++ b/pkgtools/mtree/files/configure.ac
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
-AC_INIT([mtree], [20030331], [grant@NetBSD.org])
+AC_INIT([mtree], [20030630], [grant@NetBSD.org])
AC_CONFIG_SRCDIR([mtree.c])
AC_CONFIG_HEADER(config.h)
AC_ARG_PROGRAM
@@ -34,10 +34,10 @@ AC_CHECK_HEADERS([sys/endian.h sys/file.h sys/mkdev.h sys/param.h])
AC_CHECK_HEADERS([assert.h arpa/nameser.h dirent.h err.h errno.h fcntl.h \
fts.h libutil.h locale.h machine/endian.h param.h paths.h \
poll.h regex.h stringlist.h sys/byteorder.h sys/poll.h \
- termcap.h unistd.h util.h vis.h limits.h])
+ termcap.h tzfile.h unistd.h util.h vis.h limits.h])
AC_CHECK_HEADERS([bind/bitypes.h inttypes.h sys/bitypes.h sys/cdefs.h \
- sys/endian.h sys/mkdev.h sys/mount.h sys/queue.h \
+ sys/endian.h sys/mount.h sys/queue.h \
sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h \
sys/byteorder.h])
@@ -68,13 +68,15 @@ AC_FUNC_STRERROR_R
AC_FUNC_VPRINTF
AC_REPLACE_FUNCS([err fgetln fseeko getenv glob inet_ntop \
- inet_pton lchflags lchmod lchown lutimes mkstemp setenv \
- setprogname sl_init snprintf strdup strerror strlcat \
- strlcpy strptime strsep strtoll timegm usleep])
+ inet_pton isblank lchflags lchmod lchown lutimes mkstemp \
+ setenv setprogname sl_init snprintf strdup strerror \
+ strlcat strlcpy strmode strptime strsep strtoll timegm \
+ usleep])
AC_CHECK_FUNCS([MD5File RMD160File SHA1File])
AC_CHECK_FUNCS([setgroupent setgrent setpassent setpwent])
AC_CHECK_FUNCS([bcopy bzero memset memcpy setlocale])
+AC_CHECK_FUNCS([getmode setmode])
AC_CHECK_FUNCS([statfs statvfs])
AC_CHECK_FUNCS([gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \
uid_from_user user_from_uid])