|
version 1.1.1.3, 2016/10/18 13:16:10
|
version 1.1.1.3.2.1, 2017/01/23 14:36:33
|
|
Line 625 ac_includes_default="\
|
Line 625 ac_includes_default="\
|
| ac_subst_vars='am__EXEEXT_FALSE |
ac_subst_vars='am__EXEEXT_FALSE |
| am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
| LTLIBOBJS |
LTLIBOBJS |
| HAVE_CLOCK_MONOTONIC_FALSE |
|
| HAVE_CLOCK_MONOTONIC_TRUE |
|
| LIBOBJS |
LIBOBJS |
| EGREP |
EGREP |
| GREP |
GREP |
|
Line 5144 fi
|
Line 5142 fi
|
| |
|
| |
|
| # check for CLOCK_MONOTONIC |
# check for CLOCK_MONOTONIC |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK_MONOTONIC" >&5 | #AC_CACHE_CHECK([for CLOCK_MONOTONIC], |
| $as_echo_n "checking for CLOCK_MONOTONIC... " >&6; } | # ac_cv_have_clock_monotonic, [ |
| if ${ac_cv_have_clock_monotonic+:} false; then : | # AC_TRY_RUN( |
| $as_echo_n "(cached) " >&6 | # [ |
| else | ##include <time.h> |
| | ##include <sys/time.h> |
| | #int main() { |
| | #struct timespec ts; |
| | #exit(!!clock_gettime(CLOCK_MONOTONIC, &ts)); |
| | #} |
| | # ], |
| | # [ ac_cv_have_clock_monotonic="yes" ], |
| | # [ ac_cv_have_clock_monotonic="no" ] |
| | # ) |
| | #]) |
| | #AM_CONDITIONAL(HAVE_CLOCK_MONOTONIC, test x$ac_cv_have_clock_monotonic = xyes) |
| | #if test x$ac_cv_have_clock_monotonic = xyes; then |
| |
|
| if test "$cross_compiling" = yes; then : |
|
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
| as_fn_error $? "cannot run test program while cross compiling |
|
| See \`config.log' for more details" "$LINENO" 5; } |
|
| else |
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
| /* end confdefs.h. */ |
|
| |
|
| #include <time.h> |
|
| #include <sys/time.h> |
|
| int main() { |
|
| struct timespec ts; |
|
| exit(!!clock_gettime(CLOCK_MONOTONIC, &ts)); |
|
| } |
|
| |
|
| _ACEOF |
|
| if ac_fn_c_try_run "$LINENO"; then : |
|
| ac_cv_have_clock_monotonic="yes" |
|
| else |
|
| ac_cv_have_clock_monotonic="no" |
|
| |
|
| fi |
|
| rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
| conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
| fi |
|
| |
|
| |
|
| fi |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_clock_monotonic" >&5 |
|
| $as_echo "$ac_cv_have_clock_monotonic" >&6; } |
|
| if test x$ac_cv_have_clock_monotonic = xyes; then |
|
| HAVE_CLOCK_MONOTONIC_TRUE= |
|
| HAVE_CLOCK_MONOTONIC_FALSE='#' |
|
| else |
|
| HAVE_CLOCK_MONOTONIC_TRUE='#' |
|
| HAVE_CLOCK_MONOTONIC_FALSE= |
|
| fi |
|
| |
|
| if test x$ac_cv_have_clock_monotonic = xyes; then |
|
| |
|
| $as_echo "#define HAVE_CLOCK_MONOTONIC 1" >>confdefs.h |
$as_echo "#define HAVE_CLOCK_MONOTONIC 1" >>confdefs.h |
| |
|
| fi | #fi |
| |
|
| ac_config_files="$ac_config_files Makefile" |
ac_config_files="$ac_config_files Makefile" |
| |
|
|
Line 5328 Usually this means the macro was only invoked conditio
|
Line 5297 Usually this means the macro was only invoked conditio
|
| fi |
fi |
| if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
| fi |
|
| if test -z "${HAVE_CLOCK_MONOTONIC_TRUE}" && test -z "${HAVE_CLOCK_MONOTONIC_FALSE}"; then |
|
| as_fn_error $? "conditional \"HAVE_CLOCK_MONOTONIC\" was never defined. |
|
| Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| fi |
fi |
| |
|