version 1.1.1.2, 2014/06/15 16:26:43
|
version 1.1.1.3.2.1, 2017/01/23 14:36:33
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.69 for arping 2.13. | # Generated by GNU Autoconf 2.69 for arping 2.15. |
# |
# |
# Report bugs to <thomas@habets.se>. |
# Report bugs to <thomas@habets.se>. |
# |
# |
Line 580 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='arping' |
PACKAGE_NAME='arping' |
PACKAGE_TARNAME='arping' |
PACKAGE_TARNAME='arping' |
PACKAGE_VERSION='2.13' | PACKAGE_VERSION='2.15' |
PACKAGE_STRING='arping 2.13' | PACKAGE_STRING='arping 2.15' |
PACKAGE_BUGREPORT='thomas@habets.se' |
PACKAGE_BUGREPORT='thomas@habets.se' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
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 1279 if test "$ac_init_help" = "long"; then
|
Line 1277 if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing. |
# 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. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<_ACEOF |
cat <<_ACEOF |
\`configure' configures arping 2.13 to adapt to many kinds of systems. | \`configure' configures arping 2.15 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1350 fi
|
Line 1348 fi
|
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of arping 2.13:";; | short | recursive ) echo "Configuration of arping 2.15:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1439 fi
|
Line 1437 fi
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
arping configure 2.13 | arping configure 2.15 |
generated by GNU Autoconf 2.69 |
generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2012 Free Software Foundation, Inc. |
Copyright (C) 2012 Free Software Foundation, Inc. |
Line 1862 cat >config.log <<_ACEOF
|
Line 1860 cat >config.log <<_ACEOF
|
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by arping $as_me 2.13, which was | It was created by arping $as_me 2.15, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 2789 fi
|
Line 2787 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='arping' |
PACKAGE='arping' |
VERSION='2.13' | VERSION='2.15' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 4007 _ACEOF
|
Line 4005 _ACEOF
|
|
|
fi |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5 |
|
$as_echo_n "checking for cap_init in -lcap... " >&6; } |
|
if ${ac_cv_lib_cap_cap_init+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lcap $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 cap_init (); |
|
int |
|
main () |
|
{ |
|
return cap_init (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_cap_cap_init=yes |
|
else |
|
ac_cv_lib_cap_cap_init=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5 |
|
$as_echo "$ac_cv_lib_cap_cap_init" >&6; } |
|
if test "x$ac_cv_lib_cap_cap_init" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBCAP 1 |
|
_ACEOF |
|
|
|
LIBS="-lcap $LIBS" |
|
|
|
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
$as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
$as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
Line 4649 sys/socket.h \
|
Line 4692 sys/socket.h \
|
time.h \ |
time.h \ |
sys/time.h \ |
sys/time.h \ |
sys/types.h \ |
sys/types.h \ |
|
sys/capability.h \ |
stdint.h \ |
stdint.h \ |
libnet.h \ |
libnet.h \ |
win32/libnet.h \ |
win32/libnet.h \ |
net/bpf.h \ |
net/bpf.h \ |
|
pwd.h \ |
unistd.h |
unistd.h |
do : |
do : |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
Line 5037 _ACEOF
|
Line 5082 _ACEOF
|
|
|
|
|
for ac_func in gettimeofday memset select strchr strdup strerror strstr \ |
for ac_func in gettimeofday memset select strchr strdup strerror strstr \ |
getifaddrs | getifaddrs cap_init pcap_create pcap_list_tstamp_types pcap_set_immediate_mode |
do : |
do : |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
Line 5097 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 5283 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
Line 5299 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
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 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
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 |
|
fi |
|
|
|
: "${CONFIG_STATUS=./config.status}" |
: "${CONFIG_STATUS=./config.status}" |
ac_write_fail=0 |
ac_write_fail=0 |
Line 5684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 5696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by arping $as_me 2.13, which was | This file was extended by arping $as_me 2.15, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 5750 _ACEOF
|
Line 5762 _ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
arping config.status 2.13 | arping config.status 2.15 |
configured by $0, generated by GNU Autoconf 2.69, |
configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|