version 1.1.1.2, 2014/06/15 16:26:43
|
version 1.1.1.4, 2021/03/16 23:40:57
|
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.21. |
# |
# |
# 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.21' |
PACKAGE_STRING='arping 2.13' | PACKAGE_STRING='arping 2.21' |
PACKAGE_BUGREPORT='thomas@habets.se' |
PACKAGE_BUGREPORT='thomas@habets.se' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 638 am__nodep
|
Line 638 am__nodep
|
AMDEPBACKSLASH |
AMDEPBACKSLASH |
AMDEP_FALSE |
AMDEP_FALSE |
AMDEP_TRUE |
AMDEP_TRUE |
am__quote |
|
am__include |
am__include |
DEPDIR |
DEPDIR |
OBJEXT |
OBJEXT |
Line 651 CC
|
Line 650 CC
|
MAINT |
MAINT |
MAINTAINER_MODE_FALSE |
MAINTAINER_MODE_FALSE |
MAINTAINER_MODE_TRUE |
MAINTAINER_MODE_TRUE |
|
AM_BACKSLASH |
|
AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V |
|
AM_V |
am__untar |
am__untar |
am__tar |
am__tar |
AMTAR |
AMTAR |
Line 705 infodir
|
Line 708 infodir
|
docdir |
docdir |
oldincludedir |
oldincludedir |
includedir |
includedir |
|
runstatedir |
localstatedir |
localstatedir |
sharedstatedir |
sharedstatedir |
sysconfdir |
sysconfdir |
Line 723 PACKAGE_VERSION
|
Line 727 PACKAGE_VERSION
|
PACKAGE_TARNAME |
PACKAGE_TARNAME |
PACKAGE_NAME |
PACKAGE_NAME |
PATH_SEPARATOR |
PATH_SEPARATOR |
SHELL' | SHELL |
| am__quote' |
ac_subst_files='' |
ac_subst_files='' |
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
|
enable_silent_rules |
enable_maintainer_mode |
enable_maintainer_mode |
enable_dependency_tracking |
enable_dependency_tracking |
|
enable_hardened |
|
enable_warnings |
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 777 datadir='${datarootdir}'
|
Line 785 datadir='${datarootdir}'
|
sysconfdir='${prefix}/etc' |
sysconfdir='${prefix}/etc' |
sharedstatedir='${prefix}/com' |
sharedstatedir='${prefix}/com' |
localstatedir='${prefix}/var' |
localstatedir='${prefix}/var' |
|
runstatedir='${localstatedir}/run' |
includedir='${prefix}/include' |
includedir='${prefix}/include' |
oldincludedir='/usr/include' |
oldincludedir='/usr/include' |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
Line 1029 do
|
Line 1038 do
|
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
silent=yes ;; |
silent=yes ;; |
|
|
|
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
| --run | --ru | --r) |
|
ac_prev=runstatedir ;; |
|
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
| --run=* | --ru=* | --r=*) |
|
runstatedir=$ac_optarg ;; |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
Line 1166 fi
|
Line 1184 fi
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
libdir localedir mandir | libdir localedir mandir runstatedir |
do |
do |
eval ac_val=\$$ac_var |
eval ac_val=\$$ac_var |
# Remove trailing slashes. |
# Remove trailing slashes. |
Line 1279 if test "$ac_init_help" = "long"; then
|
Line 1297 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.21 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1319 Fine tuning of the installation directories:
|
Line 1337 Fine tuning of the installation directories:
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--includedir=DIR C header files [PREFIX/include] |
--includedir=DIR C header files [PREFIX/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
Line 1350 fi
|
Line 1369 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.21:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1358 Optional Features:
|
Line 1377 Optional Features:
|
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-maintainer-mode enable make rules and dependencies not useful | --enable-silent-rules less verbose build output (undo: "make V=1") |
(and sometimes confusing) to the casual installer | --disable-silent-rules verbose build output (undo: "make V=0") |
--disable-dependency-tracking speeds up one-time build | --enable-maintainer-mode |
--enable-dependency-tracking do not reject slow dependency extractors | enable make rules and dependencies not useful (and |
| sometimes confusing) to the casual installer |
| --enable-dependency-tracking |
| do not reject slow dependency extractors |
| --disable-dependency-tracking |
| speeds up one-time build |
| --enable-hardened Enable security build options |
| --enable-warnings Enable build warnings |
|
|
Some influential environment variables: |
Some influential environment variables: |
CC C compiler command |
CC C compiler command |
Line 1439 fi
|
Line 1465 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.21 |
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 1858 $as_echo "$ac_res" >&6; }
|
Line 1884 $as_echo "$ac_res" >&6; }
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
} # ac_fn_c_check_func |
} # ac_fn_c_check_func |
|
|
|
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
|
# --------------------------------------------- |
|
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
|
# accordingly. |
|
ac_fn_c_check_decl () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
as_decl_name=`echo $2|sed 's/ *(.*//'` |
|
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
|
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
|
if eval \${$3+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
int |
|
main () |
|
{ |
|
#ifndef $as_decl_name |
|
#ifdef __cplusplus |
|
(void) $as_decl_use; |
|
#else |
|
(void) $as_decl_name; |
|
#endif |
|
#endif |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
eval "$3=yes" |
|
else |
|
eval "$3=no" |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
|
} # ac_fn_c_check_decl |
cat >config.log <<_ACEOF |
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.21, 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 2351 test -n "$target_alias" &&
|
Line 2423 test -n "$target_alias" &&
|
program_prefix=${target_alias}- |
program_prefix=${target_alias}- |
|
|
|
|
am__api_version='1.11' | am__api_version='1.16' |
|
|
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
Line 2448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
Line 2520 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
$as_echo_n "checking whether build environment is sane... " >&6; } |
# Just in case |
|
sleep 1 |
|
echo timestamp > conftest.file |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
# Reject unsafe characters in $srcdir or the absolute working directory |
# name. Accept space and tab only in the latter. |
# name. Accept space and tab only in the latter. |
am_lf=' |
am_lf=' |
Line 2461 case `pwd` in
|
Line 2530 case `pwd` in
|
esac |
esac |
case $srcdir in |
case $srcdir in |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
esac |
esac |
|
|
# Do `set' in a subshell so we don't clobber the current shell's | # Do 'set' in a subshell so we don't clobber the current shell's |
# arguments. Must try -L first in case configure is actually a |
# arguments. Must try -L first in case configure is actually a |
# symlink; some systems play weird games with the mod time of symlinks |
# symlink; some systems play weird games with the mod time of symlinks |
# (eg FreeBSD returns the mod time of the symlink's containing |
# (eg FreeBSD returns the mod time of the symlink's containing |
# directory). |
# directory). |
if ( |
if ( |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | am_has_slept=no |
if test "$*" = "X"; then | for am_try in 1 2; do |
# -L didn't work. | echo "timestamp, slept: $am_has_slept" > conftest.file |
set X `ls -t "$srcdir/configure" conftest.file` | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
fi | if test "$*" = "X"; then |
rm -f conftest.file | # -L didn't work. |
if test "$*" != "X $srcdir/configure conftest.file" \ | set X `ls -t "$srcdir/configure" conftest.file` |
&& test "$*" != "X conftest.file $srcdir/configure"; then | fi |
| if test "$*" != "X $srcdir/configure conftest.file" \ |
| && test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
# If neither matched, then we have a broken ls. This can happen | # If neither matched, then we have a broken ls. This can happen |
# if, for instance, CONFIG_SHELL is bash and it inherits a | # if, for instance, CONFIG_SHELL is bash and it inherits a |
# broken ls alias from the environment. This has actually | # broken ls alias from the environment. This has actually |
# happened. Such a system could not be considered "sane". | # happened. Such a system could not be considered "sane". |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
alias in your environment" "$LINENO" 5 | alias in your environment" "$LINENO" 5 |
fi | fi |
| if test "$2" = conftest.file || test $am_try -eq 2; then |
| break |
| fi |
| # Just in case. |
| sleep 1 |
| am_has_slept=yes |
| done |
test "$2" = conftest.file |
test "$2" = conftest.file |
) |
) |
then |
then |
Line 2498 Check your system clock" "$LINENO" 5
|
Line 2575 Check your system clock" "$LINENO" 5
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
|
# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
# generated files are strictly newer. |
|
am_sleep_pid= |
|
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
( sleep 1 ) & |
|
am_sleep_pid=$! |
|
fi |
|
|
|
rm -f conftest.file |
|
|
test "$program_prefix" != NONE && |
test "$program_prefix" != NONE && |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
# Use a double $ so make ignores it. |
# Use a double $ so make ignores it. |
Line 2508 test "$program_suffix" != NONE &&
|
Line 2595 test "$program_suffix" != NONE &&
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
|
# expand $ac_aux_dir to an absolute path | # Expand $ac_aux_dir to an absolute path. |
am_aux_dir=`cd $ac_aux_dir && pwd` | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
|
if test x"${MISSING+set}" != xset; then |
if test x"${MISSING+set}" != xset; then |
case $am_aux_dir in |
case $am_aux_dir in |
Line 2520 if test x"${MISSING+set}" != xset; then
|
Line 2607 if test x"${MISSING+set}" != xset; then
|
esac |
esac |
fi |
fi |
# Use eval to expand $SHELL |
# Use eval to expand $SHELL |
if eval "$MISSING --run true"; then | if eval "$MISSING --is-lightweight"; then |
am_missing_run="$MISSING --run " | am_missing_run="$MISSING " |
else |
else |
am_missing_run= |
am_missing_run= |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
fi |
fi |
|
|
if test x"${install_sh}" != xset; then | if test x"${install_sh+set}" != xset; then |
case $am_aux_dir in |
case $am_aux_dir in |
*\ * | *\ *) |
*\ * | *\ *) |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
Line 2537 if test x"${install_sh}" != xset; then
|
Line 2624 if test x"${install_sh}" != xset; then
|
esac |
esac |
fi |
fi |
|
|
# Installed binaries are usually stripped using `strip' when the user | # Installed binaries are usually stripped using 'strip' when the user |
# run `make install-strip'. However `strip' might not be the right | # run "make install-strip". However 'strip' might not be the right |
# tool to use in cross-compilation environments, therefore Automake |
# tool to use in cross-compilation environments, therefore Automake |
# will honor the `STRIP' environment variable to overrule this program. | # will honor the 'STRIP' environment variable to overrule this program. |
if test "$cross_compiling" != no; then |
if test "$cross_compiling" != no; then |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
Line 2679 fi
|
Line 2766 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
$as_echo "$MKDIR_P" >&6; } |
$as_echo "$MKDIR_P" >&6; } |
|
|
mkdir_p="$MKDIR_P" |
|
case $mkdir_p in |
|
[\\/$]* | ?:[\\/]*) ;; |
|
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
esac |
|
|
|
for ac_prog in gawk mawk nawk awk |
for ac_prog in gawk mawk nawk awk |
do |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
Line 2767 else
|
Line 2848 else
|
fi |
fi |
rmdir .tst 2>/dev/null |
rmdir .tst 2>/dev/null |
|
|
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in # ((( |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=1;; |
|
esac |
|
am_make=${MAKE-make} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
if ${am_cv_make_support_nested_variables+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if $as_echo 'TRUE=$(BAR$(V)) |
|
BAR0=false |
|
BAR1=true |
|
V=1 |
|
am__doit: |
|
@$(TRUE) |
|
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
am_cv_make_support_nested_variables=yes |
|
else |
|
am_cv_make_support_nested_variables=no |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
if test $am_cv_make_support_nested_variables = yes; then |
|
AM_V='$(V)' |
|
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
else |
|
AM_V=$AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
fi |
|
AM_BACKSLASH='\' |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
# is not polluted with repeated "-I." |
# is not polluted with repeated "-I." |
Line 2789 fi
|
Line 2909 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='arping' |
PACKAGE='arping' |
VERSION='2.13' | VERSION='2.21' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 2817 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
Line 2937 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
# We need awk for the "check" target. The system "awk" is bad on | # For better backward compatibility. To be removed once Automake 1.9.x |
# some platforms. | # dies out for good. For more background, see: |
| # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| mkdir_p='$(MKDIR_P)' |
| |
| # We need awk for the "check" target (and possibly the TAP driver). The |
| # system "awk" is bad on some platforms. |
# Always define AMTAR for backward compatibility. Yes, it's still used |
# Always define AMTAR for backward compatibility. Yes, it's still used |
# in the wild :-( We should find a proper way to deprecate it ... |
# in the wild :-( We should find a proper way to deprecate it ... |
AMTAR='$${TAR-tar}' |
AMTAR='$${TAR-tar}' |
|
|
|
|
|
# We'll loop over all known methods to create a tar archive until one works. |
|
_am_tools='gnutar pax cpio none' |
|
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
|
|
|
Line 2830 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${
|
Line 2960 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${
|
|
|
|
|
|
|
|
# POSIX will say in a future version that running "rm -f" with no argument |
|
# is OK; and we want to be able to make that assumption in our Makefile |
|
# recipes. So use an aggressive probe to check that the usage we want is |
|
# actually supported "in the wild" to an acceptable degree. |
|
# See automake bug#10828. |
|
# To make any issue more visible, cause the running configure to be aborted |
|
# by default if the 'rm' program in use doesn't match our expectations; the |
|
# user can still override this though. |
|
if rm -f && rm -fr && rm -rf; then : OK; else |
|
cat >&2 <<'END' |
|
Oops! |
|
|
|
Your 'rm' program seems unable to run without file operands specified |
|
on the command line, even when the '-f' option is present. This is contrary |
|
to the behaviour of most rm programs out there, and not conforming with |
|
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
|
|
Please tell bug-automake@gnu.org about your system, including the value |
|
of your $PATH and any error possibly output before this message. This |
|
can help us improve future automake versions. |
|
|
|
END |
|
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
echo >&2 |
|
else |
|
cat >&2 <<'END' |
|
Aborting the configuration process, to ensure you take notice of the issue. |
|
|
|
You can download and install GNU coreutils to get an 'rm' implementation |
|
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
|
|
|
If you want to complete the configuration process using your problematic |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
to "yes", and re-run configure. |
|
|
|
END |
|
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
fi |
|
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
# Check whether --enable-maintainer-mode was given. |
# Check whether --enable-maintainer-mode was given. |
Line 3645 ac_cpp='$CPP $CPPFLAGS'
|
Line 3818 ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
if ${am_cv_prog_cc_c_o+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Make sure it works both with $CC and with simple cc. |
|
# Following AC_PROG_CC_C_O, we do the test twice because some |
|
# compilers refuse to overwrite an existing .o file with -o, |
|
# though they will create one. |
|
am_cv_prog_cc_c_o=yes |
|
for am_i in 1 2; do |
|
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } \ |
|
&& test -f conftest2.$ac_objext; then |
|
: OK |
|
else |
|
am_cv_prog_cc_c_o=no |
|
break |
|
fi |
|
done |
|
rm -f core conftest* |
|
unset am_i |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
if test "$am_cv_prog_cc_c_o" != yes; then |
|
# Losing compiler, so override with the script. |
|
# FIXME: It is wrong to rewrite CC. |
|
# But if we don't then we get into trouble of one sort or another. |
|
# A longer-term fix would be to have automake use am__CC in this case, |
|
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
CC="$am_aux_dir/compile $CC" |
|
fi |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
DEPDIR="${am__leading_dot}deps" |
DEPDIR="${am__leading_dot}deps" |
|
|
ac_config_commands="$ac_config_commands depfiles" |
ac_config_commands="$ac_config_commands depfiles" |
|
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
am_make=${MAKE-make} | $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
cat > confinc << 'END' | cat > confinc.mk << 'END' |
am__doit: |
am__doit: |
@echo this is the am__doit target | @echo this is the am__doit target >confinc.out |
.PHONY: am__doit |
.PHONY: am__doit |
END |
END |
# If we don't find an include directive, just comment out the code. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
am__include="#" |
am__include="#" |
am__quote= |
am__quote= |
_am_result=none | # BSD make does it like this. |
# First try GNU make style include. | echo '.include "confinc.mk" # ignored' > confmf.BSD |
echo "include confinc" > confmf | # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
# Ignore all kinds of additional output from `make'. | echo 'include confinc.mk # ignored' > confmf.GNU |
case `$am_make -s -f confmf 2> /dev/null` in #( | _am_result=no |
*the\ am__doit\ target*) | for s in GNU BSD; do |
am__include=include | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
am__quote= | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
_am_result=GNU | ac_status=$? |
;; | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
esac | (exit $ac_status); } |
# Now try BSD make style include. | case $?:`cat confinc.out 2>/dev/null` in #( |
if test "$am__include" = "#"; then | '0:this is the am__doit target') : |
echo '.include "confinc"' > confmf | case $s in #( |
case `$am_make -s -f confmf 2> /dev/null` in #( | BSD) : |
*the\ am__doit\ target*) | am__include='.include' am__quote='"' ;; #( |
am__include=.include | *) : |
am__quote="\"" | am__include='include' am__quote='' ;; |
_am_result=BSD | esac ;; #( |
| *) : |
;; |
;; |
esac | esac |
fi | if test "$am__include" != "#"; then |
| _am_result="yes ($s style)" |
| break |
| fi |
| done |
| rm -f confinc.* confmf.* |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| $as_echo "${_am_result}" >&6; } |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
$as_echo "$_am_result" >&6; } |
|
rm -f confinc confmf |
|
|
|
# Check whether --enable-dependency-tracking was given. |
# Check whether --enable-dependency-tracking was given. |
if test "${enable_dependency_tracking+set}" = set; then : |
if test "${enable_dependency_tracking+set}" = set; then : |
enableval=$enable_dependency_tracking; |
enableval=$enable_dependency_tracking; |
Line 3720 else
|
Line 3952 else
|
# We make a subdir and do the tests there. Otherwise we can end up |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output |
# in D'. | # in D". |
rm -rf conftest.dir |
rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
Line 3756 else
|
Line 3988 else
|
: > sub/conftest.c |
: > sub/conftest.c |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. |
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h |
done |
done |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel |
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. |
am__obj=sub/conftest.${OBJEXT-o} |
am__obj=sub/conftest.${OBJEXT-o} |
am__minus_obj="-o $am__obj" |
am__minus_obj="-o $am__obj" |
case $depmode in |
case $depmode in |
Line 3774 else
|
Line 4006 else
|
test "$am__universal" = false || continue |
test "$am__universal" = false || continue |
;; |
;; |
nosideeffect) |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested | # only be used when explicitly requested. |
if test "x$enable_dependency_tracking" = xyes; then |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
continue |
else |
else |
Line 3783 else
|
Line 4015 else
|
fi |
fi |
;; |
;; |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
am__obj=conftest.${OBJEXT-o} |
am__obj=conftest.${OBJEXT-o} |
Line 3870 $as_echo "no" >&6; }
|
Line 4102 $as_echo "no" >&6; }
|
fi |
fi |
|
|
|
|
|
# Required to define __USE_MISC, which in turn typedefs uint, which |
|
# is used by libnet headers. |
|
# This "just works" until running GCC with -std=c99, where uint is |
|
# no longer defined by default. |
|
CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE=1" |
|
|
# Checks for libraries. |
# Checks for libraries. |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
Line 4007 _ACEOF
|
Line 4245 _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 4089 fi
|
Line 4372 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_libnet_name_resolve" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_libnet_name_resolve" >&5 |
$as_echo "$ac_cv_lib_net_libnet_name_resolve" >&6; } |
$as_echo "$ac_cv_lib_net_libnet_name_resolve" >&6; } |
if test "x$ac_cv_lib_net_libnet_name_resolve" = xyes; then : |
if test "x$ac_cv_lib_net_libnet_name_resolve" = xyes; then : |
as_fn_error $? "libnet 1.0.x found. Arping 2.x requires libnet 1.1.x" "$LINENO" 5 | as_fn_error $? "libnet 1.0.x found. Arping 2.x requires libnet 1.1 or newer" "$LINENO" 5 |
fi |
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_init in -lnet" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_init in -lnet" >&5 |
Line 4646 arpa/inet.h \
|
Line 4929 arpa/inet.h \
|
netinet/in.h \ |
netinet/in.h \ |
stdlib.h \ |
stdlib.h \ |
sys/socket.h \ |
sys/socket.h \ |
|
getopt.h \ |
time.h \ |
time.h \ |
|
grp.h \ |
sys/time.h \ |
sys/time.h \ |
sys/types.h \ |
sys/types.h \ |
|
sys/param.h \ |
|
sys/capability.h \ |
stdint.h \ |
stdint.h \ |
libnet.h \ |
libnet.h \ |
win32/libnet.h \ |
win32/libnet.h \ |
|
sys/random.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 5326 _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 \ |
| pledge unveil pcap_findalldevs getrandom |
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 5094 esac
|
Line 5384 esac
|
esac |
esac |
fi |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_init signature has const" >&5 |
|
$as_echo_n "checking for libnet_init signature has const... " >&6; } |
|
if ${ac_cv_have_libnet_init_const+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include<libnet.h> |
|
int |
|
main () |
|
{ |
|
libnet_t*libnet_init(int a,const char* b,char* c); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_have_libnet_init_const="yes" |
|
else |
|
ac_cv_have_libnet_init_const="no" |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
|
# check for CLOCK_MONOTONIC | fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK_MONOTONIC" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_libnet_init_const" >&5 |
$as_echo_n "checking for CLOCK_MONOTONIC... " >&6; } | $as_echo "$ac_cv_have_libnet_init_const" >&6; } |
if ${ac_cv_have_clock_monotonic+:} false; then : | if test x$ac_cv_have_libnet_init_const = xyes; then |
| |
| $as_echo "#define HAVE_LIBNET_INIT_CONST 1" >>confdefs.h |
| |
| fi |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_name2addr4 signature has const" >&5 |
| $as_echo_n "checking for libnet_name2addr4 signature has const... " >&6; } |
| if ${ac_cv_have_libnet_name2addr4_const+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
|
|
if test "$cross_compiling" = yes; then : | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
{ { $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. */ |
/* end confdefs.h. */ |
| #include<libnet.h> |
#include <time.h> | int |
#include <sys/time.h> | main () |
int main() { | { |
struct timespec ts; | uint32_t libnet_name2addr4(libnet_t*a, const char* b,uint8_t c); |
exit(!!clock_gettime(CLOCK_MONOTONIC, &ts)); | ; |
| return 0; |
} |
} |
|
|
_ACEOF |
_ACEOF |
if ac_fn_c_try_run "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : |
ac_cv_have_clock_monotonic="yes" | ac_cv_have_libnet_name2addr4_const="yes" |
else |
else |
ac_cv_have_clock_monotonic="no" | ac_cv_have_libnet_name2addr4_const="no" |
| fi |
| rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext |
|
|
fi |
fi |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_libnet_name2addr4_const" >&5 |
conftest.$ac_objext conftest.beam conftest.$ac_ext | $as_echo "$ac_cv_have_libnet_name2addr4_const" >&6; } |
| if test x$ac_cv_have_libnet_name2addr4_const = xyes; then |
| |
| $as_echo "#define HAVE_LIBNET_NAME2ADDR4_CONST 1" >>confdefs.h |
| |
fi |
fi |
|
|
|
|
|
# check for CLOCK_MONOTONIC |
|
ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" " |
|
#include <time.h> |
|
#include <sys/time.h> |
|
|
|
|
|
" |
|
if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes; then : |
|
|
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_decl_CLOCK_MONOTONIC = xyes; then |
if test x$ac_cv_have_clock_monotonic = xyes; then | |
HAVE_CLOCK_MONOTONIC_TRUE= |
HAVE_CLOCK_MONOTONIC_TRUE= |
HAVE_CLOCK_MONOTONIC_FALSE='#' |
HAVE_CLOCK_MONOTONIC_FALSE='#' |
else |
else |
Line 5142 else
|
Line 5472 else
|
HAVE_CLOCK_MONOTONIC_FALSE= |
HAVE_CLOCK_MONOTONIC_FALSE= |
fi |
fi |
|
|
if test x$ac_cv_have_clock_monotonic = xyes; then | if test x$ac_cv_have_decl_CLOCK_MONOTONIC = xyes; then |
|
|
$as_echo "#define HAVE_CLOCK_MONOTONIC 1" >>confdefs.h |
$as_echo "#define HAVE_CLOCK_MONOTONIC 1" >>confdefs.h |
|
|
fi |
fi |
|
|
|
# Check whether --enable-hardened was given. |
|
if test "${enable_hardened+set}" = set; then : |
|
enableval=$enable_hardened; |
|
CFLAGS+=" -pie -fPIE -fstack-protector-all --param ssp-buffer-size=1 -D_FORTIFY_SOURCE=2" |
|
LDFLAGS+=" -pie -fPIE -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack" |
|
|
|
fi |
|
|
|
# Check whether --enable-warnings was given. |
|
if test "${enable_warnings+set}" = set; then : |
|
enableval=$enable_warnings; |
|
CFLAGS+=" -Wall -Wpedantic -Wextra -Wformat -Wstack-protector -Wformat-security -Werror=format-security" |
|
|
|
fi |
|
|
|
|
ac_config_files="$ac_config_files Makefile" |
ac_config_files="$ac_config_files Makefile" |
|
|
ac_config_files="$ac_config_files src/Makefile" |
ac_config_files="$ac_config_files src/Makefile" |
Line 5263 LIBOBJS=$ac_libobjs
|
Line 5609 LIBOBJS=$ac_libobjs
|
LTLIBOBJS=$ac_ltlibobjs |
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
if test -n "$am_sleep_pid"; then |
|
# Hide warnings about reused PIDs. |
|
wait $am_sleep_pid 2>/dev/null |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
$as_echo "done" >&6; } |
if test -n "$EXEEXT"; then |
if test -n "$EXEEXT"; then |
am__EXEEXT_TRUE= |
am__EXEEXT_TRUE= |
am__EXEEXT_FALSE='#' |
am__EXEEXT_FALSE='#' |
Line 5684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 6038 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.21, 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 6104 _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.21 |
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\\" |
|
|
Line 5869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
Line 6223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
# |
# |
# INIT-COMMANDS |
# INIT-COMMANDS |
# |
# |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
|
|
_ACEOF |
_ACEOF |
|
|
Line 6480 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 6834 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
case $ac_file$ac_mode in |
case $ac_file$ac_mode in |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
# Autoconf 2.62 quotes --file arguments for eval, but not when files | # Older Autoconf quotes --file arguments for eval, but not when files |
# are listed without --file. Let's play safe and only enable the eval |
# are listed without --file. Let's play safe and only enable the eval |
# if we detect the quoting. |
# if we detect the quoting. |
case $CONFIG_FILES in | # TODO: see whether this extra hack can be removed once we start |
*\'*) eval set x "$CONFIG_FILES" ;; | # requiring Autoconf 2.70 or later. |
*) set x $CONFIG_FILES ;; | case $CONFIG_FILES in #( |
esac | *\'*) : |
| eval set x "$CONFIG_FILES" ;; #( |
| *) : |
| set x $CONFIG_FILES ;; #( |
| *) : |
| ;; |
| esac |
shift |
shift |
for mf | # Used to flag and report bootstrapping failures. |
| am_rc=0 |
| for am_mf |
do |
do |
# Strip MF so we end up with the name of the file. |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. | # Check whether this is an Automake generated Makefile which includes |
# We used to match only the files named `Makefile.in', but | # dependency-tracking related rules and includes. |
# some people rename them; so instead we look at the file content. | # Grep'ing the whole file directly is not great: AIX grep has a line |
# Grep'ing the first line is not enough: some people post-process | |
# each Makefile.in and add a new line on top of each file to say so. | |
# Grep'ing the whole file is not good either: AIX grep has a line | |
# limit of 2048, but all sed's we know have understand at least 4000. |
# limit of 2048, but all sed's we know have understand at least 4000. |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
dirpart=`$as_dirname -- "$mf" || | || continue |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | am_dirpart=`$as_dirname -- "$am_mf" || |
X"$mf" : 'X\(//\)[^/]' \| \ | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$mf" : 'X\(//\)$' \| \ | X"$am_mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || | X"$am_mf" : 'X\(//\)$' \| \ |
$as_echo X"$mf" | | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| $as_echo X"$am_mf" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
Line 6523 $as_echo X"$mf" |
|
Line 6883 $as_echo X"$mf" |
|
q |
q |
} |
} |
s/.*/./; q'` |
s/.*/./; q'` |
else | am_filepart=`$as_basename -- "$am_mf" || |
continue | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
fi | X"$am_mf" : 'X\(//\)$' \| \ |
# Extract the definition of DEPDIR, am__include, and am__quote | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
# from the Makefile without running `make'. | $as_echo X/"$am_mf" | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
test -z "$DEPDIR" && continue | |
am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
test -z "am__include" && continue | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
# When using ansi2knr, U may be empty or an underscore; expand it | |
U=`sed -n 's/^U = //p' < "$mf"` | |
# Find all dependency output files, they are included files with | |
# $(DEPDIR) in their names. We invoke sed twice because it is the | |
# simplest approach to changing $(DEPDIR) to its actual value in the | |
# expansion. | |
for file in `sed -n " | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
# Make sure the directory exists. | |
test -f "$dirpart/$file" && continue | |
fdir=`$as_dirname -- "$file" || | |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
X"$file" : 'X\(//\)[^/]' \| \ | |
X"$file" : 'X\(//\)$' \| \ | |
X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
$as_echo X"$file" | | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
s//\1/ |
s//\1/ |
q |
q |
} |
} |
/^X\(\/\/\)[^/].*/{ | /^X\/\(\/\/\)$/{ |
s//\1/ |
s//\1/ |
q |
q |
} |
} |
/^X\(\/\/\)$/{ | /^X\/\(\/\).*/{ |
s//\1/ |
s//\1/ |
q |
q |
} |
} |
/^X\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'` |
s/.*/./; q'` |
as_dir=$dirpart/$fdir; as_fn_mkdir_p | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
# echo "creating $dirpart/$file" | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
echo '# dummy' > "$dirpart/$file" | | $MAKE -f - am--depfiles" >&5 |
done | (cd "$am_dirpart" \ |
| && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| | $MAKE -f - am--depfiles) >&5 2>&5 |
| ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } || am_rc=$? |
done |
done |
|
if test $am_rc -ne 0; 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 $? "Something went wrong bootstrapping makefile fragments |
|
for automatic dependency tracking. Try re-running configure with the |
|
'--disable-dependency-tracking' option to at least be able to build |
|
the package (albeit without support for automatic dependency tracking). |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
fi |
|
{ am_dirpart=; unset am_dirpart;} |
|
{ am_filepart=; unset am_filepart;} |
|
{ am_mf=; unset am_mf;} |
|
{ am_rc=; unset am_rc;} |
|
rm -f conftest-deps.mk |
} |
} |
;; |
;; |
|
|