summaryrefslogtreecommitdiff
path: root/libjava/classpath/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/configure')
-rwxr-xr-xlibjava/classpath/configure102
1 files changed, 83 insertions, 19 deletions
diff --git a/libjava/classpath/configure b/libjava/classpath/configure
index a25f5f75a47..5874086aa0c 100755
--- a/libjava/classpath/configure
+++ b/libjava/classpath/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for GNU Classpath 0.99-pre.
+# Generated by GNU Autoconf 2.64 for GNU Classpath 0.99.
#
# Report bugs to <classpath@gnu.org>.
#
@@ -559,8 +559,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='GNU Classpath'
PACKAGE_TARNAME='classpath'
-PACKAGE_VERSION='0.99-pre'
-PACKAGE_STRING='GNU Classpath 0.99-pre'
+PACKAGE_VERSION='0.99'
+PACKAGE_STRING='GNU Classpath 0.99'
PACKAGE_BUGREPORT='classpath@gnu.org'
PACKAGE_URL='http://www.gnu.org/software/classpath/'
@@ -1490,7 +1490,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 Classpath 0.99-pre to adapt to many kinds of systems.
+\`configure' configures GNU Classpath 0.99 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1565,7 +1565,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GNU Classpath 0.99-pre:";;
+ short | recursive ) echo "Configuration of GNU Classpath 0.99:";;
esac
cat <<\_ACEOF
@@ -1757,7 +1757,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GNU Classpath configure 0.99-pre
+GNU Classpath configure 0.99
generated by GNU Autoconf 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2586,7 +2586,7 @@ cat >config.log <<_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 Classpath $as_me 0.99-pre, which was
+It was created by GNU Classpath $as_me 0.99, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ $0 $@
@@ -3621,7 +3621,7 @@ fi
# Define the identity of the package.
PACKAGE='classpath'
- VERSION='0.99-pre'
+ VERSION='0.99'
cat >>confdefs.h <<_ACEOF
@@ -17059,6 +17059,65 @@ fi
rm -f conftest*
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
+$as_echo_n "checking for library containing clock_gettime... " >&6; }
+if test "${ac_cv_search_clock_gettime+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char clock_gettime ();
+int
+main ()
+{
+return clock_gettime ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' rt; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if test x$gcc_no_link = xyes; then
+ as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_clock_gettime=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if test "${ac_cv_search_clock_gettime+set}" = set; then :
+ break
+fi
+done
+if test "${ac_cv_search_clock_gettime+set}" = set; then :
+
+else
+ ac_cv_search_clock_gettime=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
+$as_echo "$ac_cv_search_clock_gettime" >&6; }
+ac_res=$ac_cv_search_clock_gettime
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
$as_echo_n "checking for library containing inet_pton... " >&6; }
if test "${ac_cv_search_inet_pton+set}" = set; then :
@@ -17166,11 +17225,12 @@ _ACEOF
fi
+
for ac_func in ftruncate fsync select \
gethostname socket strerror fork pipe execve open close \
lseek fstat read readv write writev htonl memset htons connect \
getsockname getpeername bind listen accept \
- recvfrom send sendto setsockopt getsockopt time mktime \
+ recvfrom send sendto setsockopt getsockopt time mktime clock_gettime \
gethostbyname_r localtime_r \
strerror_r \
fcntl \
@@ -17663,7 +17723,8 @@ ac_cv_func_which_gethostbyname_r=unknown
#
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <netdb.h>
+
+ #include <netdb.h>
int
main ()
{
@@ -17689,7 +17750,8 @@ if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <netdb.h>
+
+ #include <netdb.h>
int
main ()
{
@@ -17721,7 +17783,8 @@ if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <netdb.h>
+
+ #include <netdb.h>
int
main ()
{
@@ -17753,7 +17816,8 @@ if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <netdb.h>
+
+ #include <netdb.h>
int
main ()
{
@@ -23814,7 +23878,7 @@ else
JAVA_TEST=Object.java
CLASS_TEST=Object.class
cat << \EOF > $JAVA_TEST
-/* #line 23817 "configure" */
+/* #line 23881 "configure" */
package java.lang;
public class Object
@@ -23907,7 +23971,7 @@ EOF
if uudecode$EXEEXT Test.uue; then
ac_cv_prog_uudecode_base64=yes
else
- echo "configure: 23910: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
+ echo "configure: 23974: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
echo "configure: failed file was:" >&5
cat Test.uue >&5
ac_cv_prog_uudecode_base64=no
@@ -23935,7 +23999,7 @@ JAVA_TEST=Test.java
CLASS_TEST=Test.class
TEST=Test
cat << \EOF > $JAVA_TEST
-/* [#]line 23938 "configure" */
+/* [#]line 24002 "configure" */
public class Test {
public static void main (String args[]) {
System.exit (0);
@@ -24143,7 +24207,7 @@ if test "x${use_glibj_zip}" = xfalse || \
JAVA_TEST=Test.java
CLASS_TEST=Test.class
cat << \EOF > $JAVA_TEST
- /* #line 24146 "configure" */
+ /* #line 24210 "configure" */
public class Test
{
public static void main(String args)
@@ -24988,7 +25052,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by GNU Classpath $as_me 0.99-pre, which was
+This file was extended by GNU Classpath $as_me 0.99, which was
generated by GNU Autoconf 2.64. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -25058,7 +25122,7 @@ General help using GNU software: <http://www.gnu.org/gethelp/>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-GNU Classpath config.status 0.99-pre
+GNU Classpath config.status 0.99
configured by $0, generated by GNU Autoconf 2.64,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"