|
@@ -1,5 +1,5 @@
|
|
|
#! /bin/sh
|
|
#! /bin/sh
|
|
|
-# From configure.ac Revision: 1.43 .
|
|
|
|
|
|
|
+# From configure.ac Revision: 1.44 .
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
# Generated by GNU Autoconf 2.59.
|
|
# Generated by GNU Autoconf 2.59.
|
|
|
#
|
|
#
|
|
@@ -9720,6 +9720,347 @@ _ACEOF
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+echo "$as_me:$LINENO: checking for struct timespec" >&5
|
|
|
|
|
+echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
|
|
|
|
|
+if test "${ac_cv_type_struct_timespec+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. */
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
+#include <sys/time.h>
|
|
|
|
|
+#include <time.h>
|
|
|
|
|
+
|
|
|
|
|
+int
|
|
|
|
|
+main ()
|
|
|
|
|
+{
|
|
|
|
|
+if ((struct timespec *) 0)
|
|
|
|
|
+ return 0;
|
|
|
|
|
+if (sizeof (struct timespec))
|
|
|
|
|
+ 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_cxx_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_timespec=yes
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
+
|
|
|
|
|
+ac_cv_type_struct_timespec=no
|
|
|
|
|
+fi
|
|
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
+fi
|
|
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
|
|
|
|
|
+echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
|
|
|
|
|
+if test $ac_cv_type_struct_timespec = yes; then
|
|
|
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
+#define HAVE_TIMESPEC 1
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+if test X"$ac_cv_type_struct_timespec" != X"no"; then
|
|
|
|
|
+ echo "$as_me:$LINENO: checking for struct stat.st_mtim" >&5
|
|
|
|
|
+echo $ECHO_N "checking for struct stat.st_mtim... $ECHO_C" >&6
|
|
|
|
|
+if test "${ac_cv_member_struct_stat_st_mtim+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. */
|
|
|
|
|
+$ac_includes_default
|
|
|
|
|
+int
|
|
|
|
|
+main ()
|
|
|
|
|
+{
|
|
|
|
|
+static struct stat ac_aggr;
|
|
|
|
|
+if (ac_aggr.st_mtim)
|
|
|
|
|
+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_cxx_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_member_struct_stat_st_mtim=yes
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
+
|
|
|
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
+/* confdefs.h. */
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
+/* end confdefs.h. */
|
|
|
|
|
+$ac_includes_default
|
|
|
|
|
+int
|
|
|
|
|
+main ()
|
|
|
|
|
+{
|
|
|
|
|
+static struct stat ac_aggr;
|
|
|
|
|
+if (sizeof ac_aggr.st_mtim)
|
|
|
|
|
+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_cxx_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_member_struct_stat_st_mtim=yes
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
+
|
|
|
|
|
+ac_cv_member_struct_stat_st_mtim=no
|
|
|
|
|
+fi
|
|
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
+fi
|
|
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
+fi
|
|
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5
|
|
|
|
|
+echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim" >&6
|
|
|
|
|
+if test $ac_cv_member_struct_stat_st_mtim = yes; then
|
|
|
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
+#define HAVE_ST_MTIM 1
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me:$LINENO: checking for struct stat.st_mtimespec" >&5
|
|
|
|
|
+echo $ECHO_N "checking for struct stat.st_mtimespec... $ECHO_C" >&6
|
|
|
|
|
+if test "${ac_cv_member_struct_stat_st_mtimespec+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. */
|
|
|
|
|
+$ac_includes_default
|
|
|
|
|
+int
|
|
|
|
|
+main ()
|
|
|
|
|
+{
|
|
|
|
|
+static struct stat ac_aggr;
|
|
|
|
|
+if (ac_aggr.st_mtimespec)
|
|
|
|
|
+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_cxx_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_member_struct_stat_st_mtimespec=yes
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
+
|
|
|
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
+/* confdefs.h. */
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
+/* end confdefs.h. */
|
|
|
|
|
+$ac_includes_default
|
|
|
|
|
+int
|
|
|
|
|
+main ()
|
|
|
|
|
+{
|
|
|
|
|
+static struct stat ac_aggr;
|
|
|
|
|
+if (sizeof ac_aggr.st_mtimespec)
|
|
|
|
|
+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_cxx_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_member_struct_stat_st_mtimespec=yes
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
+
|
|
|
|
|
+ac_cv_member_struct_stat_st_mtimespec=no
|
|
|
|
|
+fi
|
|
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
+fi
|
|
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
+fi
|
|
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimespec" >&5
|
|
|
|
|
+echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimespec" >&6
|
|
|
|
|
+if test $ac_cv_member_struct_stat_st_mtimespec = yes; then
|
|
|
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
+#define HAVE_ST_MTIMESPEC 1
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+ echo "$as_me:$LINENO: checking for two-parameter timespecsub" >&5
|
|
|
|
|
+echo $ECHO_N "checking for two-parameter timespecsub... $ECHO_C" >&6
|
|
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
+/* confdefs.h. */
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
+/* end confdefs.h. */
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
+#include <sys/time.h>
|
|
|
|
|
+int
|
|
|
|
|
+main ()
|
|
|
|
|
+{
|
|
|
|
|
+struct timespec ts1, ts2;
|
|
|
|
|
+ts1.tv_sec = 1; ts1.tv_nsec = 0; ts2.tv_sec = 0; ts2.tv_nsec = 0;
|
|
|
|
|
+#ifndef timespecsub
|
|
|
|
|
+#error missing timespecsub
|
|
|
|
|
+#endif
|
|
|
|
|
+timespecsub(&ts1, &ts2);
|
|
|
|
|
+ ;
|
|
|
|
|
+ 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_cxx_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
|
|
|
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
+#define HAVE_TIMESPECSUB2 1
|
|
|
|
|
+_ACEOF
|
|
|
|
|
+
|
|
|
|
|
+ echo "$as_me:$LINENO: result: yes" >&5
|
|
|
|
|
+echo "${ECHO_T}yes" >&6
|
|
|
|
|
+else
|
|
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
+
|
|
|
|
|
+echo "$as_me:$LINENO: result: no" >&5
|
|
|
|
|
+echo "${ECHO_T}no" >&6
|
|
|
|
|
+fi
|
|
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
for ac_func in strftime
|
|
for ac_func in strftime
|
|
|
do
|
|
do
|
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
@@ -11826,3 +12167,15 @@ if test "$no_create" != yes; then
|
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|