This commit is contained in:
Jim Meyering committed 2005-10-16 10:35:27 +00:00
1 parent 284a97768e
commit 7baaad040a
2 files changed
+531 -27

No files matched your search

Vendored
+530 -26
View File
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59c for GNU coreutils 5.90.
# Generated by GNU Autoconf 2.59c for GNU coreutils 5.91.
#
# Report bugs to <bug-coreutils@gnu.org>.
#
@@ -530,8 +530,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='GNU coreutils'
PACKAGE_TARNAME='coreutils'
PACKAGE_VERSION='5.90'
PACKAGE_STRING='GNU coreutils 5.90'
PACKAGE_VERSION='5.91'
PACKAGE_STRING='GNU coreutils 5.91'
PACKAGE_BUGREPORT='bug-coreutils@gnu.org'
ac_unique_file="src/ls.c"
@@ -1211,7 +1211,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 GNU coreutils 5.90 to adapt to many kinds of systems.
\`configure' configures GNU coreutils 5.91 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1281,7 +1281,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of GNU coreutils 5.90:";;
short | recursive ) echo "Configuration of GNU coreutils 5.91:";;
esac
cat <<\_ACEOF
@@ -1395,7 +1395,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
GNU coreutils configure 5.90
GNU coreutils configure 5.91
generated by GNU Autoconf 2.59c
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1410,7 +1410,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 GNU coreutils $as_me 5.90, which was
It was created by GNU coreutils $as_me 5.91, which was
generated by GNU Autoconf 2.59c. Invocation command line was
$ $0 $@
@@ -1682,6 +1682,9 @@ gl_header_list="$gl_header_list grp.h"
gl_header_list="$gl_header_list pwd.h"
gl_header_list="$gl_header_list utmp.h"
gl_func_list="$gl_func_list pathconf"
gl_header_list="$gl_header_list sys/socket.h"
gl_header_list="$gl_header_list netdb.h"
gl_header_list="$gl_header_list sys/types.h"
gl_header_list="$gl_header_list netinet/in.h"
gl_func_list="$gl_func_list isascii"
gl_func_list="$gl_func_list mempcpy"
@@ -1741,8 +1744,7 @@ gl_func_list="$gl_func_list sysinfo"
gl_func_list="$gl_func_list tcgetpgrp"
gl_header_list="$gl_header_list sys/sysmacros.h"
gl_func_list="$gl_func_list statvfs"
gl_header_list="$gl_header_list sys/types.h"
gl_header_list="$gl_header_list sys/socket.h"
gl_func_list="$gl_func_list fdopendir"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@@ -2237,7 +2239,7 @@ fi
# Define the identity of the package.
PACKAGE='coreutils'
VERSION='5.90'
VERSION='5.91'
cat >>confdefs.h <<_ACEOF
@@ -11428,13 +11430,30 @@ cat >>conftest.$ac_ext <<_ACEOF
enum { j = false, k = true, l = false * true, m = true * 256 };
_Bool n[m];
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
#if defined __xlc__ || __GNUC__
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
reported by James Lemley on 2005-10-05; see
<http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html>.
This test is not quite right, since xlc is allowed to
reject this program, as the initializer for xlcbug is
not one of the forms that C requires support for.
However, doing the test right would require a run-time
test, and that would make crosss-compilation harder.
Let us hope that IBM fixes the xlc bug, and also adds
support for this kind of constant expression. In the
meantime, this test will reject xlc, which is OK, since
our stdbool.h substitute should suffice. */
char digs[] = "0123456789";
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
#endif
int
main ()
{
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l
+ !m + !n + !o);
+ !m + !n + !o + !p);
;
return 0;
@@ -12912,6 +12931,24 @@ _ACEOF
@@ -13167,6 +13204,132 @@ if test "$ac_cv_search_gethostbyname" != no; then
fi
{ echo "$as_me:$LINENO: checking for library containing getservbyname" >&5
echo $ECHO_N "checking for library containing getservbyname... $ECHO_C" >&6; }
if test "${ac_cv_search_getservbyname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_func_search_save_LIBS=$LIBS
ac_cv_search_getservbyname=no
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* 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 getservbyname ();
int
main ()
{
getservbyname ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 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); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (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); }; } &&
{ 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_search_getservbyname="none required"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_getservbyname" = no; then
for ac_lib in inet nsl socket xnet; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* 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 getservbyname ();
int
main ()
{
getservbyname ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 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); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (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); }; } &&
{ 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_search_getservbyname="-l$ac_lib"
break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
done
fi
LIBS=$ac_func_search_save_LIBS
fi
{ echo "$as_me:$LINENO: result: $ac_cv_search_getservbyname" >&5
echo "${ECHO_T}$ac_cv_search_getservbyname" >&6; }
if test "$ac_cv_search_getservbyname" != no; then
test "$ac_cv_search_getservbyname" = "none required" || LIBS="$ac_cv_search_getservbyname $LIBS"
fi
for ac_func in getaddrinfo gai_strerror
@@ -13287,6 +13450,7 @@ done
:
@@ -13297,6 +13461,345 @@ done
{ echo "$as_me:$LINENO: checking whether getaddrinfo is declared" >&5
echo $ECHO_N "checking whether getaddrinfo is declared... $ECHO_C" >&6; }
if test "${ac_cv_have_decl_getaddrinfo+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* sys/types.h is not needed according to POSIX, but the
sys/socket.h in i386-unknown-freebsd4.10 and
powerpc-apple-darwin5.5 required it. */
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
int
main ()
{
#ifndef getaddrinfo
char *p = (char *) getaddrinfo;
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 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); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (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); }; } &&
{ 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_cv_have_decl_getaddrinfo=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_have_decl_getaddrinfo=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getaddrinfo" >&5
echo "${ECHO_T}$ac_cv_have_decl_getaddrinfo" >&6; }
if test $ac_cv_have_decl_getaddrinfo = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GETADDRINFO 1
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GETADDRINFO 0
_ACEOF
fi
{ echo "$as_me:$LINENO: checking whether freeaddrinfo is declared" >&5
echo $ECHO_N "checking whether freeaddrinfo is declared... $ECHO_C" >&6; }
if test "${ac_cv_have_decl_freeaddrinfo+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* sys/types.h is not needed according to POSIX, but the
sys/socket.h in i386-unknown-freebsd4.10 and
powerpc-apple-darwin5.5 required it. */
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
int
main ()
{
#ifndef freeaddrinfo
char *p = (char *) freeaddrinfo;
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 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); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (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); }; } &&
{ 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_cv_have_decl_freeaddrinfo=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_have_decl_freeaddrinfo=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_freeaddrinfo" >&5
echo "${ECHO_T}$ac_cv_have_decl_freeaddrinfo" >&6; }
if test $ac_cv_have_decl_freeaddrinfo = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FREEADDRINFO 1
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FREEADDRINFO 0
_ACEOF
fi
{ echo "$as_me:$LINENO: checking whether gai_strerror is declared" >&5
echo $ECHO_N "checking whether gai_strerror is declared... $ECHO_C" >&6; }
if test "${ac_cv_have_decl_gai_strerror+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* sys/types.h is not needed according to POSIX, but the
sys/socket.h in i386-unknown-freebsd4.10 and
powerpc-apple-darwin5.5 required it. */
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
int
main ()
{
#ifndef gai_strerror
char *p = (char *) gai_strerror;
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 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); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (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); }; } &&
{ 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_cv_have_decl_gai_strerror=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_have_decl_gai_strerror=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_gai_strerror" >&5
echo "${ECHO_T}$ac_cv_have_decl_gai_strerror" >&6; }
if test $ac_cv_have_decl_gai_strerror = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GAI_STRERROR 1
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GAI_STRERROR 0
_ACEOF
fi
{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5
echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
if test "${ac_cv_type_struct_addrinfo+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
int
main ()
{
if ((struct addrinfo *) 0)
return 0;
if (sizeof (struct addrinfo))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 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); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (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); }; } &&
{ 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_cv_type_struct_addrinfo=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_type_struct_addrinfo=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6; }
if test $ac_cv_type_struct_addrinfo = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_ADDRINFO 1
_ACEOF
fi
case $LIBOBJS in
"canon-host.$ac_objext" | \
*" canon-host.$ac_objext" | \
@@ -44458,6 +44961,12 @@ done
{ echo "$as_me:$LINENO: checking whether this system has a definition of PATH_MAX" >&5
echo $ECHO_N "checking whether this system has a definition of PATH_MAX... $ECHO_C" >&6; }
if test "${gl_have_path_max_definition+set}" = set; then
@@ -44487,7 +44996,7 @@ fi
{ echo "$as_me:$LINENO: result: $gl_have_path_max_definition" >&5
echo "${ECHO_T}$gl_have_path_max_definition" >&6; }
if test $gl_have_path_max_definition; then
if test $gl_have_path_max_definition = yes; then
case $LIBOBJS in
"chdir-long.$ac_objext" | \
*" chdir-long.$ac_objext" | \
@@ -44655,6 +45164,13 @@ esac
:
for ac_func in openat
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -44983,18 +45499,6 @@ esac
:
@@ -54358,7 +54862,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by GNU coreutils $as_me 5.90, which was
This file was extended by GNU coreutils $as_me 5.91, which was
generated by GNU Autoconf 2.59c. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -54411,7 +54915,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
GNU coreutils config.status 5.90
GNU coreutils config.status 5.91
configured by $0, generated by GNU Autoconf 2.59c,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+1 -1
View File
@@ -957,7 +957,7 @@ uninstall-binPROGRAMS:
done
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
installcheck-binPROGRAMS: $(bin_PROGRAMS)
bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \