diff options
author | jlam <jlam@pkgsrc.org> | 2003-09-01 15:31:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-09-01 15:31:14 +0000 |
commit | 0c71abea7bc5069ad2801f22018009cf6fbbe310 (patch) | |
tree | 6c33504ee3cc8d5859f915b04dd4544806e3ebda /pkgtools/libnbcompat/files/configure | |
parent | 6c83902dd76746c1b48020a7392808ea514fdaa5 (diff) | |
download | pkgsrc-0c71abea7bc5069ad2801f22018009cf6fbbe310.tar.gz |
Bump version to 20030823:
* Add mkdtemp, TAILQ_*, and statfs.
* Install a nbconfig.h file containing the discovered system information
and include it directly in nbcompat.h. Make all files use nbconfig.h
instead of config.h. Ensure that all installed headers don't include
any local header files. This makes libnbcompat more self-contained.
* Consistently use "#if HAVE_HEADER_H" instead of "#ifdef HAVE_HEADER_H"
since sometimes people put -DHAVE_HEADER_H=0 on their command lines.
Diffstat (limited to 'pkgtools/libnbcompat/files/configure')
-rwxr-xr-x | pkgtools/libnbcompat/files/configure | 868 |
1 files changed, 439 insertions, 429 deletions
diff --git a/pkgtools/libnbcompat/files/configure b/pkgtools/libnbcompat/files/configure index 62a4a12a9fb..b8c9ce2407d 100755 --- a/pkgtools/libnbcompat/files/configure +++ b/pkgtools/libnbcompat/files/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.57 for libnbcompat 20030719. +# Generated by GNU Autoconf 2.57 for libnbcompat 20030823. # # Report bugs to <grant@NetBSD.org>. # @@ -268,8 +268,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='libnbcompat' PACKAGE_TARNAME='libnbcompat' -PACKAGE_VERSION='20030719' -PACKAGE_STRING='libnbcompat 20030719' +PACKAGE_VERSION='20030823' +PACKAGE_STRING='libnbcompat 20030823' PACKAGE_BUGREPORT='grant@NetBSD.org' # Factoring default headers for most tests. @@ -309,7 +309,7 @@ ac_includes_default="\ # include <unistd.h> #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB AR AUTOCONF AUTOHEADER CPP EGREP LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB AWK AR AUTOCONF AUTOHEADER CPP EGREP LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -778,7 +778,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 libnbcompat 20030719 to adapt to many kinds of systems. +\`configure' configures libnbcompat 20030823 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -844,7 +844,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libnbcompat 20030719:";; + short | recursive ) echo "Configuration of libnbcompat 20030823:";; esac cat <<\_ACEOF @@ -923,7 +923,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -libnbcompat configure 20030719 +libnbcompat configure 20030823 generated by GNU Autoconf 2.57 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 @@ -938,7 +938,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 libnbcompat $as_me 20030719, which was +It was created by libnbcompat $as_me 20030823, which was generated by GNU Autoconf 2.57. Invocation command line was $ $0 $@ @@ -1274,7 +1274,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_config_headers="$ac_config_headers config.h" + ac_config_headers="$ac_config_headers nbconfig.h" test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" @@ -2439,6 +2439,46 @@ else RANLIB="$ac_cv_prog_RANLIB" fi +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$AWK" && break +done + # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -2947,6 +2987,7 @@ _ACEOF fi + # On IRIX 5.3, sys/types and inttypes.h are conflicting. @@ -3014,148 +3055,6 @@ done -for ac_header in sys/endian.h sys/file.h sys/mkdev.h sys/param.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 -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. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (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 - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -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. */ -#include <$ac_header> -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; - no:yes ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - eval "$as_ac_Header=$ac_header_preproc" -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - @@ -3180,149 +3079,13 @@ 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 time.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 - echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 -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. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (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 - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 -ac_header_compiler=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 -# Is the header present? -echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -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. */ -#include <$ac_header> -_ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; - no:yes ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - eval "$as_ac_Header=$ac_header_preproc" -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF -fi -done @@ -3338,10 +3101,15 @@ done -for ac_header in bind/bitypes.h inttypes.h sys/bitypes.h sys/cdefs.h \ - sys/endian.h sys/mount.h sys/queue.h sys/time.h \ - sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h \ - sys/byteorder.h +for ac_header in arpa/nameser.h assert.h bind/bitypes.h dirent.h err.h \ + errno.h fcntl.h fts.h inttypes.h libutil.h limits.h \ + machine/endian.h memory.h ndir.h netdb.h netinet/in6_machtypes.h \ + paths.h poll.h pwd.h stdint.h stdlib.h stringlist.h strings.h \ + string.h sys/bitypes.h sys/byteorder.h sys/cdefs.h sys/dir.h \ + sys/endian.h sys/file.h sys/mkdev.h sys/mount.h sys/ndir.h \ + sys/param.h sys/poll.h sys/queue.h sys/time.h sys/ttycom.h \ + sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h termcap.h termios.h \ + time.h tzfile.h unistd.h util.h utmp.h vis.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -3621,13 +3389,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -3689,13 +3457,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -3757,13 +3525,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -3825,13 +3593,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -3893,13 +3661,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -3961,13 +3729,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4029,13 +3797,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4097,13 +3865,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4165,13 +3933,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4233,13 +4001,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4301,13 +4069,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4369,13 +4137,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -4437,13 +4205,13 @@ cat >>conftest.$ac_ext <<_ACEOF #include <stdlib.h> #include <stddef.h> #endif -#ifdef HAVE_INTTYPES_H +#if HAVE_INTTYPES_H #include <inttypes.h> #endif -#ifdef HAVE_SYS_TYPES_H +#if HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef HAVE_SYS_BITYPES_H +#if HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif @@ -5726,7 +5494,7 @@ done for ac_func in err fgetln fparseln fseeko getenv glob inet_ntop \ inet_pton isblank lchflags lchmod lchown lutimes mkstemp \ - setenv setprogname sl_init snprintf strdup strerror \ + mkdtemp setenv setprogname snprintf strdup strerror \ strlcat strlcpy strmode strptime strsep strtoll timegm \ usleep do @@ -6163,7 +5931,12 @@ done -for ac_func in statfs statvfs + + + + +for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \ + uid_from_user user_from_uid do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -6250,10 +6023,7 @@ done - - -for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \ - uid_from_user user_from_uid +for ac_func in strunvis strvis strsvis do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -6340,7 +6110,9 @@ done -for ac_func in strunvis strvis strsvis + + +for ac_func in getpassphrase getpgrp memmove poll select do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -6424,12 +6196,7 @@ fi done - - - - - -for ac_func in getpassphrase getpgrp memmove poll select +for ac_func in getopt_long do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -6513,12 +6280,9 @@ fi done -for ac_func in getopt_long -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 "$as_me:$LINENO: checking for getpgrp" >&5 +echo $ECHO_N "checking for getpgrp... $ECHO_C" >&6 +if test "${ac_cv_func_getpgrp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -6529,7 +6293,7 @@ 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. + which can conflict with char getpgrp (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */ #ifdef __STDC__ @@ -6544,14 +6308,14 @@ 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 (); +char getpgrp (); /* 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) +#if defined (__stub_getpgrp) || defined (__stub___getpgrp) choke me #else -char (*f) () = $ac_func; +char (*f) () = getpgrp; #endif #ifdef __cplusplus } @@ -6560,7 +6324,7 @@ char (*f) () = $ac_func; int main () { -return f != $ac_func; +return f != getpgrp; ; return 0; } @@ -6577,28 +6341,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + ac_cv_func_getpgrp=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_cv_func_getpgrp=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 - - +echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5 +echo "${ECHO_T}$ac_cv_func_getpgrp" >&6 if test $ac_cv_func_getpgrp = yes; then - echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 + echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 if test "${ac_cv_func_getpgrp_void+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6654,6 +6409,318 @@ fi fi + +echo "$as_me:$LINENO: checking for sl_init" >&5 +echo $ECHO_N "checking for sl_init... $ECHO_C" >&6 +if test "${ac_cv_func_sl_init+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 sl_init (); 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 sl_init (); +/* 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_sl_init) || defined (__stub___sl_init) +choke me +#else +char (*f) () = sl_init; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != sl_init; + ; + 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 + ac_cv_func_sl_init=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_sl_init=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_sl_init" >&5 +echo "${ECHO_T}$ac_cv_func_sl_init" >&6 +if test $ac_cv_func_sl_init = yes; then + + if test $ac_cv_func_sl_init = yes; then + + echo "$as_me:$LINENO: checking if sl_add() returns int" >&5 +echo $ECHO_N "checking if sl_add() returns int... $ECHO_C" >&6 +if test "${pkg_cv_INT_SL_ADD+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. */ + #include <stringlist.h> +int +main () +{ + int f = sl_add((StringList *)0, "foo") ; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (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 + pkg_cv_INT_SL_ADD=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + pkg_cv_INT_SL_ADD=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $pkg_cv_INT_SL_ADD" >&5 +echo "${ECHO_T}$pkg_cv_INT_SL_ADD" >&6 + if test "x$pkg_cv_INT_SL_ADD" = "xyes"; then + : + else + LIBOBJS="$LIBOBJS sl_init.$ac_objext" + : + fi + + fi + +fi + + + +pkg_have_nbcompat_statfs=yes +echo "$as_me:$LINENO: checking for statfs" >&5 +echo $ECHO_N "checking for statfs... $ECHO_C" >&6 +if test "${ac_cv_func_statfs+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 statfs (); 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 statfs (); +/* 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_statfs) || defined (__stub___statfs) +choke me +#else +char (*f) () = statfs; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != statfs; + ; + 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 + ac_cv_func_statfs=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_statfs=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_statfs" >&5 +echo "${ECHO_T}$ac_cv_func_statfs" >&6 +if test $ac_cv_func_statfs = yes; then + + case $host_os in + linux*|freebsd*|netbsd*) + pkg_have_nbcompat_statfs=no + ;; + *) + echo "$as_me:$LINENO: checking for statvfs" >&5 +echo $ECHO_N "checking for statvfs... $ECHO_C" >&6 +if test "${ac_cv_func_statvfs+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 statvfs (); 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 statvfs (); +/* 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_statvfs) || defined (__stub___statvfs) +choke me +#else +char (*f) () = statvfs; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != statvfs; + ; + 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 + ac_cv_func_statvfs=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_statvfs=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5 +echo "${ECHO_T}$ac_cv_func_statvfs" >&6 +if test $ac_cv_func_statvfs = yes; then + : +else + + { { echo "$as_me:$LINENO: error: statfs isn't supported and can't be implemented" >&5 +echo "$as_me: error: statfs isn't supported and can't be implemented" >&2;} + { (exit 1); exit 1; }; } + +fi + + ;; + esac + +fi + + +if test $pkg_have_nbcompat_statfs = yes; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_NBCOMPAT_STATFS 1 +_ACEOF + + LIBOBJS="$LIBOBJS statfs.$ac_objext" +fi + if test $ac_cv_type_long_long = yes -a $ac_cv_sizeof_off_t -ge 8; then @@ -6862,64 +6929,6 @@ done fi -if test $ac_cv_func_sl_init = yes; then - - echo "$as_me:$LINENO: checking if sl_add() returns int" >&5 -echo $ECHO_N "checking if sl_add() returns int... $ECHO_C" >&6 -if test "${pkg_cv_INT_SL_ADD+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. */ - - #include <stringlist.h> -int -main () -{ - int f = sl_add((StringList *)0, "foo") ; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (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 - pkg_cv_INT_SL_ADD=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - pkg_cv_INT_SL_ADD=no -fi -rm -f conftest.$ac_objext conftest.$ac_ext - -fi -echo "$as_me:$LINENO: result: $pkg_cv_INT_SL_ADD" >&5 -echo "${ECHO_T}$pkg_cv_INT_SL_ADD" >&6 - if test "x$pkg_cv_INT_SL_ADD" = "xyes"; then - : - else - LIBOBJS="$LIBOBJS .$ac_objext"="$LIBOBJS="$LIBOBJS .$ac_objext" sl_init.o" - : - fi - -fi - if test $ac_cv_header_vis_h = yes; then echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 @@ -7464,7 +7473,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by libnbcompat $as_me 20030719, which was +This file was extended by libnbcompat $as_me 20030823, which was generated by GNU Autoconf 2.57. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7524,7 +7533,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -libnbcompat config.status 20030719 +libnbcompat config.status 20030823 configured by $0, generated by GNU Autoconf 2.57, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -7629,7 +7638,7 @@ do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "nbconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbconfig.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; @@ -7738,6 +7747,7 @@ s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@LN_S@,$LN_S,;t t s,@RANLIB@,$RANLIB,;t t s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@AWK@,$AWK,;t t s,@AR@,$AR,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t |