diff --git a/aclocal.m4 b/aclocal.m4
index bf01eb567190e805fa8a2a629d894fa81832c5a1..1b77464e6d569ae5aee88241942409cddc0d9f8a 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff --git a/configure b/configure
index c22e7976539928c287d4ecb5279954aecf5ae019..6b8e23f18582d4eaf84e0e5fa97ddf085c5cf329 100755
--- a/configure
+++ b/configure
@@ -1,10 +1,9 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for click 2.1.
+# Generated by GNU Autoconf 2.69 for click 2.1.
#
#
-# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
-# Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
@@ -15,16 +14,14 @@
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-as_nop=:
-if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
-then :
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else $as_nop
+else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
@@ -34,46 +31,46 @@ esac
fi
-
-# Reset variables that may have inherited troublesome values from
-# the environment.
-
-# IFS needs to be set, to space, tab, and newline, in precisely that order.
-# (If _AS_PATH_WALK were called with IFS unset, it would have the
-# side effect of setting IFS to empty, thus disabling word splitting.)
-# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
-IFS=" "" $as_nl"
-
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# Ensure predictable behavior from utilities with locale-dependent output.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# We cannot yet rely on "unset" to work, but we need these variables
-# to be unset--not just set to an empty or harmless value--now, to
-# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
-# also avoids known problems related to "unset" and subshell syntax
-# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
-for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
-do eval test \${$as_var+y} \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-
-# Ensure that fds 0, 1, and 2 are open.
-if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
-if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
-if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
# The user is always right.
-if ${PATH_SEPARATOR+false} :; then
+if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -82,6 +79,13 @@ if ${PATH_SEPARATOR+false} :; then
fi
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
@@ -90,12 +94,8 @@ case $0 in #((
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- test -r "$as_dir$0" && as_myself=$as_dir$0 && break
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS
@@ -107,10 +107,30 @@ if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
- printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# Use a proper internal environment variable to ensure we don't fall
# into an infinite loop, continuously re-executing ourselves.
@@ -132,22 +152,20 @@ esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
-printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
fi
# We don't want this to propagate to other subprocesses.
{ _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="as_nop=:
-if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
-then :
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
# is contrary to our usage. Disable this feature.
alias -g '\${1+\"\$@\"}'='\"\$@\"'
setopt NO_GLOB_SUBST
-else \$as_nop
+else
case \`(set -o) 2>/dev/null\` in #(
*posix*) :
set -o posix ;; #(
@@ -167,53 +185,42 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; }
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" )
-then :
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-else \$as_nop
+else
exitcode=1; echo positional parameters were not saved.
fi
test x\$exitcode = x0 || exit 1
-blah=\$(echo \$(echo blah))
-test x\"\$blah\" = xblah || exit 1
test -x / || exit 1"
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
test \$(( 1 + 1 )) = 2 || exit 1"
- if (eval "$as_required") 2>/dev/null
-then :
+ if (eval "$as_required") 2>/dev/null; then :
as_have_required=yes
-else $as_nop
+else
as_have_required=no
fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
-then :
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-else $as_nop
+else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
as_found=:
case $as_dir in #(
/*)
for as_base in sh bash ksh sh5; do
# Try only shells that exist, to save several forks.
- as_shell=$as_dir$as_base
+ as_shell=$as_dir/$as_base
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
-then :
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
CONFIG_SHELL=$as_shell as_have_required=yes
- if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
-then :
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
break 2
fi
fi
@@ -221,21 +228,14 @@ fi
esac
as_found=false
done
-IFS=$as_save_IFS
-if $as_found
-then :
-
-else $as_nop
- if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
-then :
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
CONFIG_SHELL=$SHELL as_have_required=yes
-fi
-fi
+fi; }
+IFS=$as_save_IFS
- if test "x$CONFIG_SHELL" != x
-then :
+ if test "x$CONFIG_SHELL" != x; then :
export CONFIG_SHELL
# We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
@@ -253,19 +253,18 @@ esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
-printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
- if test x$as_have_required = xno
-then :
- printf "%s\n" "$0: This script requires a shell more modern than all"
- printf "%s\n" "$0: the shells that I found on your system."
- if test ${ZSH_VERSION+y} ; then
- printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
else
- printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
$0: including any error possibly output before this
$0: message. Then install a modern shell, or manually run
$0: the script under such a shell if you do have one."
@@ -292,7 +291,6 @@ as_fn_unset ()
}
as_unset=as_fn_unset
-
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
@@ -310,14 +308,6 @@ as_fn_exit ()
as_fn_set_status $1
exit $1
} # as_fn_exit
-# as_fn_nop
-# ---------
-# Do nothing but, unlike ":", preserve the value of $?.
-as_fn_nop ()
-{
- return $?
-}
-as_nop=as_fn_nop
# as_fn_mkdir_p
# -------------
@@ -332,7 +322,7 @@ as_fn_mkdir_p ()
as_dirs=
while :; do
case $as_dir in #(
- *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
@@ -341,7 +331,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-printf "%s\n" X"$as_dir" |
+$as_echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
@@ -380,13 +370,12 @@ as_fn_executable_p ()
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
-then :
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
-else $as_nop
+else
as_fn_append ()
{
eval $1=\$$1\$2
@@ -398,27 +387,18 @@ fi # as_fn_append
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
-then :
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
-else $as_nop
+else
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
}
fi # as_fn_arith
-# as_fn_nop
-# ---------
-# Do nothing but, unlike ":", preserve the value of $?.
-as_fn_nop ()
-{
- return $?
-}
-as_nop=as_fn_nop
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
@@ -430,9 +410,9 @@ as_fn_error ()
as_status=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
- printf "%s\n" "$as_me: error: $2" >&2
+ $as_echo "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
@@ -459,7 +439,7 @@ as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-printf "%s\n" X/"$0" |
+$as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
@@ -503,7 +483,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
s/-\n.*//
' >$as_me.lineno &&
chmod +x "$as_me.lineno" ||
- { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
# already done that, so ensure we don't try to do so again and fall
@@ -517,10 +497,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
exit
}
-
-# Determine whether it's possible to make 'echo' print without a newline.
-# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
-# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
@@ -534,13 +510,6 @@ case `echo -n x` in #(((((
ECHO_N='-n';;
esac
-# For backward compatibility with old third-party macros, we provide
-# the shell variables $as_echo and $as_echo_n. New code should use
-# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
-as_echo='printf %s\n'
-as_echo_n='printf %s'
-
-
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
@@ -614,40 +583,43 @@ PACKAGE_BUGREPORT=''
PACKAGE_URL=''
ac_unique_file="click-buildtool.in"
+ac_header_list=
# Factoring default headers for most tests.
ac_includes_default="\
-#include <stddef.h>
-#ifdef HAVE_STDIO_H
-# include <stdio.h>
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
#endif
-#ifdef HAVE_STDLIB_H
+#ifdef STDC_HEADERS
# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
#endif
#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
# include <string.h>
#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"
-ac_header_c_list=
-ac_header_cxx_list=
-ac_func_c_list=
ac_subst_vars='LTLIBOBJS
provisions
clickbuild_clickdir
@@ -742,8 +714,6 @@ USE_CTX
USE_FLOW
POSIX_CLOCK_LIBS
HAVE_CXX17
-EGREP
-GREP
LIBOBJS
freebsd_includedir
freebsd_srcdir
@@ -776,6 +746,8 @@ KERNEL_CC
CXXCPP
ac_ct_CXX
CXXFLAGS
+EGREP
+GREP
CPP
DEPDIRFLAG
DEPCFLAGS
@@ -934,6 +906,7 @@ enable_hash_iterator_epochs
enable_force_expensive
enable_valgrind
enable_schedule_debugging
+enable_hash_allocator_poisoning
enable_portable_binary
enable_intel_cpu
enable_avx2
@@ -1025,6 +998,8 @@ do
*) ac_optarg=yes ;;
esac
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
case $ac_dashdash$ac_option in
--)
ac_dashdash=yes ;;
@@ -1065,9 +1040,9 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ as_fn_error $? "invalid feature name: $ac_useropt"
ac_useropt_orig=$ac_useropt
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"enable_$ac_useropt"
@@ -1091,9 +1066,9 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ as_fn_error $? "invalid feature name: $ac_useropt"
ac_useropt_orig=$ac_useropt
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"enable_$ac_useropt"
@@ -1304,9 +1279,9 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: \`$ac_useropt'"
+ as_fn_error $? "invalid package name: $ac_useropt"
ac_useropt_orig=$ac_useropt
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"with_$ac_useropt"
@@ -1320,9 +1295,9 @@ do
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: \`$ac_useropt'"
+ as_fn_error $? "invalid package name: $ac_useropt"
ac_useropt_orig=$ac_useropt
- ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"with_$ac_useropt"
@@ -1366,9 +1341,9 @@ Try \`$0 --help' for more information"
*)
# FIXME: should be removed in autoconf 3.0.
- printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
;;
@@ -1384,7 +1359,7 @@ if test -n "$ac_unrecognized_opts"; then
case $enable_option_checking in
no) ;;
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
esac
fi
@@ -1448,7 +1423,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_myself" : 'X\(//\)[^/]' \| \
X"$as_myself" : 'X\(//\)$' \| \
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-printf "%s\n" X"$as_myself" |
+$as_echo X"$as_myself" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
@@ -1703,6 +1678,7 @@ Optional Features:
--enable-valgrind extra support for debugging with valgrind
--enable-schedule-debugging[=WHAT] enable Click scheduler debugging
(no/yes/extra) [yes]
+ --enable-hash-allocator-poisoning enable HashAllocator block poisoning
--enable-portable-binary
disable compiler optimizations that would produce
unportable binaries
@@ -1762,9 +1738,9 @@ if test "$ac_init_help" = "recursive"; then
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
- ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -1792,8 +1768,7 @@ esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for configure.gnu first; this name is used for a wrapper for
- # Metaconfig's "Configure" on case-insensitive file systems.
+ # Check for guested configure.
if test -f "$ac_srcdir/configure.gnu"; then
echo &&
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
@@ -1801,7 +1776,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
echo &&
$SHELL "$ac_srcdir/configure" --help=recursive
else
- printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; }
done
@@ -1811,9 +1786,9 @@ test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
click configure 2.1
-generated by GNU Autoconf 2.71
+generated by GNU Autoconf 2.69
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
@@ -1830,14 +1805,14 @@ fi
ac_fn_c_try_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest.beam
+ rm -f conftest.$ac_objext
if { { ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -1845,15 +1820,14 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
- } && test -s conftest.$ac_objext
-then :
+ } && test -s conftest.$ac_objext; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
@@ -1870,28 +1844,26 @@ fi
ac_fn_c_check_header_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-printf %s "checking for $2... " >&6; }
-if eval test \${$3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
eval "$3=yes"
-else $as_nop
+else
eval "$3=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$3
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $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_header_compile
@@ -1908,7 +1880,7 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -1916,15 +1888,14 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } > conftest.i && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
- }
-then :
+ }; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
@@ -1934,20 +1905,62 @@ fi
} # ac_fn_c_try_cpp
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
# ac_fn_cxx_try_compile LINENO
# ----------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest.beam
+ rm -f conftest.$ac_objext
if { { ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -1955,15 +1968,14 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
- } && test -s conftest.$ac_objext
-then :
+ } && test -s conftest.$ac_objext; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
@@ -1979,14 +1991,14 @@ fi
ac_fn_cxx_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
+ rm -f conftest.$ac_objext conftest$ac_exeext
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -1994,18 +2006,17 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
- }
-then :
+ }; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
@@ -2032,7 +2043,7 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -2040,15 +2051,14 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } > conftest.i && {
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
test ! -s conftest.err
- }
-then :
+ }; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
@@ -2058,63 +2068,20 @@ fi
} # ac_fn_cxx_try_cpp
-# ac_fn_c_try_run LINENO
-# ----------------------
-# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
-# executables *can* be run.
-ac_fn_c_try_run ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }
-then :
- ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: program exited with status $ac_status" >&5
- printf "%s\n" "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=$ac_status
-fi
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_run
-
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
+ rm -f conftest.$ac_objext conftest$ac_exeext
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -2122,18 +2089,17 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
- }
-then :
+ }; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
@@ -2148,28 +2114,112 @@ fi
} # ac_fn_c_try_link
-# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
-# ------------------------------------------------------------------
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_mongrel
+
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
+# ---------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
-# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
-ac_fn_check_decl ()
+# 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/ *(.*//'`
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
-printf %s "checking whether $as_decl_name is declared... " >&6; }
-if eval test \${$3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
- eval ac_save_FLAGS=\$$6
- as_fn_append $6 " $5"
+ { $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 (void)
+main ()
{
#ifndef $as_decl_name
#ifdef __cplusplus
@@ -2183,22 +2233,19 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
eval "$3=yes"
-else $as_nop
+else
eval "$3=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- eval $6=\$ac_save_FLAGS
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$3
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $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_check_decl
+} # ac_fn_c_check_decl
# ac_fn_c_check_func LINENO FUNC VAR
# ----------------------------------
@@ -2206,12 +2253,11 @@ printf "%s\n" "$ac_res" >&6; }
ac_fn_c_check_func ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-printf %s "checking for $2... " >&6; }
-if eval test \${$3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
@@ -2219,9 +2265,16 @@ else $as_nop
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $2 (); below. */
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
-#include <limits.h>
#undef $2
/* Override any GCC internal prototype to avoid an error.
@@ -2239,33 +2292,32 @@ choke me
#endif
int
-main (void)
+main ()
{
return $2 ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
eval "$3=yes"
-else $as_nop
+else
eval "$3=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
eval ac_res=\$$3
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $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_func
# ac_fn_cxx_try_run LINENO
# ------------------------
-# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
-# executables *can* be run.
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
ac_fn_cxx_try_run ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
@@ -2275,26 +2327,25 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
{ { case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_try") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }
-then :
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: program exited with status $ac_status" >&5
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=$ac_status
@@ -2319,7 +2370,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) >= 0)];
test_array [0] = 0;
@@ -2329,15 +2380,14 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_lo=0 ac_mid=0
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
@@ -2347,10 +2397,9 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_hi=$ac_mid; break
-else $as_nop
+else
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
@@ -2358,14 +2407,14 @@ else $as_nop
fi
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-else $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) < 0)];
test_array [0] = 0;
@@ -2375,15 +2424,14 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_hi=-1 ac_mid=-1
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
test_array [0] = 0;
@@ -2393,10 +2441,9 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_lo=$ac_mid; break
-else $as_nop
+else
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
@@ -2404,14 +2451,14 @@ else $as_nop
fi
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-else $as_nop
+else
ac_lo= ac_hi=
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
# Binary search between lo and hi bounds.
while test "x$ac_lo" != "x$ac_hi"; do
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
@@ -2419,7 +2466,7 @@ while test "x$ac_lo" != "x$ac_hi"; do
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
@@ -2429,13 +2476,12 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_hi=$ac_mid
-else $as_nop
+else
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
case $ac_lo in #((
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
@@ -2445,12 +2491,12 @@ esac
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
-static long int longval (void) { return $2; }
-static unsigned long int ulongval (void) { return $2; }
+static long int longval () { return $2; }
+static unsigned long int ulongval () { return $2; }
#include <stdio.h>
#include <stdlib.h>
int
-main (void)
+main ()
{
FILE *f = fopen ("conftest.val", "w");
@@ -2478,10 +2524,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_run "$LINENO"
-then :
+if ac_fn_cxx_try_run "$LINENO"; then :
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
-else $as_nop
+else
ac_retval=1
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -2501,18 +2546,17 @@ rm -f conftest.val
ac_fn_cxx_check_type ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-printf %s "checking for $2... " >&6; }
-if eval test \${$3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
eval "$3=no"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
if (sizeof ($2))
return 0;
@@ -2520,13 +2564,12 @@ if (sizeof ($2))
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
if (sizeof (($2)))
return 0;
@@ -2534,68 +2577,33 @@ if (sizeof (($2)))
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
-else $as_nop
+else
eval "$3=yes"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$3
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $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_cxx_check_type
-# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
-# ---------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_cxx_check_header_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-printf %s "checking for $2... " >&6; }
-if eval test \${$3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
- eval "$3=yes"
-else $as_nop
- eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_cxx_check_header_compile
-
# ac_fn_cxx_check_func LINENO FUNC VAR
# ------------------------------------
# Tests whether FUNC exists, setting the cache variable VAR accordingly
ac_fn_cxx_check_func ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-printf %s "checking for $2... " >&6; }
-if eval test \${$3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
@@ -2603,9 +2611,16 @@ else $as_nop
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $2 (); below. */
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
-#include <limits.h>
#undef $2
/* Override any GCC internal prototype to avoid an error.
@@ -2623,62 +2638,193 @@ choke me
#endif
int
-main (void)
+main ()
{
return $2 ();
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
eval "$3=yes"
-else $as_nop
+else
eval "$3=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
eval ac_res=\$$3
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $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_cxx_check_func
-# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
-# --------------------------------------------
-# Tries to find the compile-time value of EXPR in a program that includes
-# INCLUDES, setting VAR accordingly. Returns whether the value could be
-# computed
-ac_fn_c_compute_int ()
+# ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
+# -----------------------------------------------
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
+# accordingly.
+ac_fn_cxx_check_decl ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if test "$cross_compiling" = yes; then
- # Depending upon the size, compute the lo and hi bounds.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ 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 (void)
+main ()
{
-static int test_array [1 - 2 * !(($2) >= 0)];
-test_array [0] = 0;
-return test_array [0];
+#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 :
- ac_lo=0 ac_mid=0
- while :; do
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
+if ac_fn_cxx_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_cxx_check_decl
+
+# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
+# ---------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_cxx_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <$2>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_cxx_check_header_mongrel
+
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
+# --------------------------------------------
+# Tries to find the compile-time value of EXPR in a program that includes
+# INCLUDES, setting VAR accordingly. Returns whether the value could be
+# computed
+ac_fn_c_compute_int ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= 0)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
@@ -2688,10 +2834,9 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_hi=$ac_mid; break
-else $as_nop
+else
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
@@ -2699,14 +2844,14 @@ else $as_nop
fi
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-else $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) < 0)];
test_array [0] = 0;
@@ -2716,15 +2861,14 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_hi=-1 ac_mid=-1
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
test_array [0] = 0;
@@ -2734,10 +2878,9 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_lo=$ac_mid; break
-else $as_nop
+else
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
@@ -2745,14 +2888,14 @@ else $as_nop
fi
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
-else $as_nop
+else
ac_lo= ac_hi=
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
# Binary search between lo and hi bounds.
while test "x$ac_lo" != "x$ac_hi"; do
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
@@ -2760,7 +2903,7 @@ while test "x$ac_lo" != "x$ac_hi"; do
/* end confdefs.h. */
$4
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
@@ -2770,13 +2913,12 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_hi=$ac_mid
-else $as_nop
+else
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
case $ac_lo in #((
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
@@ -2786,12 +2928,12 @@ esac
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
-static long int longval (void) { return $2; }
-static unsigned long int ulongval (void) { return $2; }
+static long int longval () { return $2; }
+static unsigned long int ulongval () { return $2; }
#include <stdio.h>
#include <stdlib.h>
int
-main (void)
+main ()
{
FILE *f = fopen ("conftest.val", "w");
@@ -2819,10 +2961,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
-else $as_nop
+else
ac_retval=1
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -2834,34 +2975,14 @@ rm -f conftest.val
as_fn_set_status $ac_retval
} # ac_fn_c_compute_int
-ac_configure_args_raw=
-for ac_arg
-do
- case $ac_arg in
- *\'*)
- ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append ac_configure_args_raw " '$ac_arg'"
-done
-
-case $ac_configure_args_raw in
- *$as_nl*)
- ac_safe_unquote= ;;
- *)
- ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
- ac_unsafe_a="$ac_unsafe_z#~"
- ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
- ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
-esac
-
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 click $as_me 2.1, which was
-generated by GNU Autoconf 2.71. Invocation command line was
+generated by GNU Autoconf 2.69. Invocation command line was
- $ $0$ac_configure_args_raw
+ $ $0 $@
_ACEOF
exec 5>>config.log
@@ -2894,12 +3015,8 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- printf "%s\n" "PATH: $as_dir"
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
done
IFS=$as_save_IFS
@@ -2934,7 +3051,7 @@ do
| -silent | --silent | --silen | --sile | --sil)
continue ;;
*\'*)
- ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
case $ac_pass in
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
@@ -2969,13 +3086,11 @@ done
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$?
- # Sanitize IFS.
- IFS=" "" $as_nl"
# Save into config.log some information that might help in debugging.
{
echo
- printf "%s\n" "## ---------------- ##
+ $as_echo "## ---------------- ##
## Cache variables. ##
## ---------------- ##"
echo
@@ -2986,8 +3101,8 @@ trap 'exit_status=$?
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
- *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
@@ -3011,7 +3126,7 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
)
echo
- printf "%s\n" "## ----------------- ##
+ $as_echo "## ----------------- ##
## Output variables. ##
## ----------------- ##"
echo
@@ -3019,14 +3134,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
do
eval ac_val=\$$ac_var
case $ac_val in
- *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
- printf "%s\n" "$ac_var='\''$ac_val'\''"
+ $as_echo "$ac_var='\''$ac_val'\''"
done | sort
echo
if test -n "$ac_subst_files"; then
- printf "%s\n" "## ------------------- ##
+ $as_echo "## ------------------- ##
## File substitutions. ##
## ------------------- ##"
echo
@@ -3034,15 +3149,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
do
eval ac_val=\$$ac_var
case $ac_val in
- *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
- printf "%s\n" "$ac_var='\''$ac_val'\''"
+ $as_echo "$ac_var='\''$ac_val'\''"
done | sort
echo
fi
if test -s confdefs.h; then
- printf "%s\n" "## ----------- ##
+ $as_echo "## ----------- ##
## confdefs.h. ##
## ----------- ##"
echo
@@ -3050,8 +3165,8 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
echo
fi
test "$ac_signal" != 0 &&
- printf "%s\n" "$as_me: caught signal $ac_signal"
- printf "%s\n" "$as_me: exit $exit_status"
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
} >&5
rm -f core *.core core.conftest.* &&
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
@@ -3065,48 +3180,63 @@ ac_signal=0
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h
-printf "%s\n" "/* confdefs.h */" > confdefs.h
+$as_echo "/* confdefs.h */" > confdefs.h
# Predefined preprocessor variables.
-printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
-printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
-printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
-printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
-printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
-printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
# Let the site file select an alternate cache file if it wants to.
# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
if test -n "$CONFIG_SITE"; then
- ac_site_files="$CONFIG_SITE"
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
elif test "x$prefix" != xNONE; then
- ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
else
- ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
fi
-
-for ac_site_file in $ac_site_files
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
- case $ac_site_file in #(
- */*) :
- ;; #(
- *) :
- ac_site_file=./$ac_site_file ;;
-esac
- if test -f "$ac_site_file" && test -r "$ac_site_file"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" \
- || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See \`config.log' for more details" "$LINENO" 5; }
fi
@@ -3116,821 +3246,223 @@ if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special files
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
-# Test code for whether the C compiler supports C89 (global declarations)
-ac_c_conftest_c89_globals='
-/* Does the compiler advertise C89 conformance?
- Do not test the value of __STDC__, because some compilers set it to 0
- while being otherwise adequately conformant. */
-#if !defined __STDC__
-# error "Compiler does not advertise C89 conformance"
-#endif
-
-#include <stddef.h>
-#include <stdarg.h>
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
-struct buf { int x; };
-struct buf * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not \xHH hex character constants.
- These do not provoke an error unfortunately, instead are silently treated
- as an "x". The following induces an error, until -std is added to get
- proper ANSI mode. Curiously \x00 != x always comes out true, for an
- array size at least. It is necessary to write \x00 == 0 to get something
- that is true only with -std. */
-int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) '\''x'\''
-int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
- int, int);'
+as_fn_append ac_header_list " sys/types.h"
+as_fn_append ac_header_list " unistd.h"
+as_fn_append ac_header_list " stdint.h"
+as_fn_append ac_header_list " inttypes.h"
+as_fn_append ac_header_list " endian.h"
+as_fn_append ac_header_list " machine/endian.h"
+as_fn_append ac_header_list " byteswap.h"
+as_fn_append ac_header_list " strings.h"
+as_fn_append ac_header_list " time.h"
+as_fn_append ac_header_list " dlfcn.h"
+as_fn_append ac_header_list " termio.h"
+as_fn_append ac_header_list " netdb.h"
+as_fn_append ac_header_list " sys/event.h"
+as_fn_append ac_header_list " pwd.h"
+as_fn_append ac_header_list " grp.h"
+as_fn_append ac_header_list " execinfo.h"
+as_fn_append ac_header_list " poll.h"
+as_fn_append ac_header_list " sys/mman.h"
+as_fn_append ac_header_list " stdlib.h"
+as_fn_append ac_header_list " sys/param.h"
+as_fn_append ac_header_list " ifaddrs.h"
+as_fn_append ac_header_list " linux/if_tun.h"
+as_fn_append ac_header_list " linux/if_packet.h"
+as_fn_append ac_header_list " net/if_dl.h"
+as_fn_append ac_header_list " net/if_tap.h"
+as_fn_append ac_header_list " net/if_tun.h"
+as_fn_append ac_header_list " net/if_types.h"
+as_fn_append ac_header_list " net/bpf.h"
+as_fn_append ac_header_list " netpacket/packet.h"
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
-# Test code for whether the C compiler supports C89 (body of main).
-ac_c_conftest_c89_main='
-ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
-'
+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
-# Test code for whether the C compiler supports C99 (global declarations)
-ac_c_conftest_c99_globals='
-// Does the compiler advertise C99 conformance?
-#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
-# error "Compiler does not advertise C99 conformance"
-#endif
-#include <stdbool.h>
-extern int puts (const char *);
-extern int printf (const char *, ...);
-extern int dprintf (int, const char *, ...);
-extern void *malloc (size_t);
-
-// Check varargs macros. These examples are taken from C99 6.10.3.5.
-// dprintf is used instead of fprintf to avoid needing to declare
-// FILE and stderr.
-#define debug(...) dprintf (2, __VA_ARGS__)
-#define showlist(...) puts (#__VA_ARGS__)
-#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
-static void
-test_varargs_macros (void)
-{
- int x = 1234;
- int y = 5678;
- debug ("Flag");
- debug ("X = %d\n", x);
- showlist (The first, second, and third items.);
- report (x>y, "x is %d but y is %d", x, y);
-}
-// Check long long types.
-#define BIG64 18446744073709551615ull
-#define BIG32 4294967295ul
-#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
-#if !BIG_OK
- #error "your preprocessor is broken"
-#endif
-#if BIG_OK
-#else
- #error "your preprocessor is broken"
-#endif
-static long long int bignum = -9223372036854775807LL;
-static unsigned long long int ubignum = BIG64;
+ac_config_headers="$ac_config_headers include/click/config.h:config.h.in"
-struct incomplete_array
-{
- int datasize;
- double data[];
-};
+ac_config_headers="$ac_config_headers include/click/pathvars.h:pathvars.h.in"
-struct named_init {
- int number;
- const wchar_t *name;
- double average;
-};
+ac_config_headers="$ac_config_headers include/click/config-bsdmodule.h:config-bsdmodule.h.in include/click/config-linuxmodule.h:config-linuxmodule.h.in include/click/config-ns.h:config-ns.h.in include/click/config-userlevel.h:config-userlevel.h.in include/click/config-minios.h:config-minios.h.in"
-typedef const char *ccp;
+ac_config_files="$ac_config_files Makefile"
-static inline int
-test_restrict (ccp restrict text)
-{
- // See if C++-style comments work.
- // Iterate through items via the restricted pointer.
- // Also check for declarations in for loops.
- for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
- continue;
- return 0;
-}
+ac_config_files="$ac_config_files bin/click-buildtool:click-buildtool.in"
-// Check varargs and va_copy.
-static bool
-test_varargs (const char *format, ...)
-{
- va_list args;
- va_start (args, format);
- va_list args_copy;
- va_copy (args_copy, args);
+ac_config_files="$ac_config_files bin/click-compile:click-compile.in"
- const char *str = "";
- int number = 0;
- float fnumber = 0;
+ac_config_files="$ac_config_files installch"
- while (*format)
- {
- switch (*format++)
- {
- case '\''s'\'': // string
- str = va_arg (args_copy, const char *);
- break;
- case '\''d'\'': // int
- number = va_arg (args_copy, int);
- break;
- case '\''f'\'': // float
- fnumber = va_arg (args_copy, double);
- break;
- default:
- break;
- }
- }
- va_end (args_copy);
- va_end (args);
+ac_config_files="$ac_config_files share/click/config.mk:config.mk.in share/click/pkg-config.mk"
- return *str && number && fnumber;
-}
-'
+ac_config_files="$ac_config_files doc/Makefile etc/libclick/Makefile tools/Makefile tools/lib/Makefile"
-# Test code for whether the C compiler supports C99 (body of main).
-ac_c_conftest_c99_main='
- // Check bool.
- _Bool success = false;
- success |= (argc != 0);
-
- // Check restrict.
- if (test_restrict ("String literal") == 0)
- success = true;
- char *restrict newvar = "Another string";
-
- // Check varargs.
- success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
- test_varargs_macros ();
-
- // Check flexible array members.
- struct incomplete_array *ia =
- malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
- ia->datasize = 10;
- for (int i = 0; i < ia->datasize; ++i)
- ia->data[i] = i * 1.234;
-
- // Check named initializers.
- struct named_init ni = {
- .number = 34,
- .name = L"Test wide string",
- .average = 543.34343,
- };
-
- ni.number = 58;
-
- int dynamic_array[ni.number];
- dynamic_array[0] = argv[0][0];
- dynamic_array[ni.number - 1] = 543;
-
- // work around unused variable warnings
- ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
- || dynamic_array[ni.number - 1] != 543);
-'
-# Test code for whether the C compiler supports C11 (global declarations)
-ac_c_conftest_c11_globals='
-// Does the compiler advertise C11 conformance?
-#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
-# error "Compiler does not advertise C11 conformance"
-#endif
+ac_user_cxx=${CXX+y}
-// Check _Alignas.
-char _Alignas (double) aligned_as_double;
-char _Alignas (0) no_special_alignment;
-extern char aligned_as_int;
-char _Alignas (0) _Alignas (int) aligned_as_int;
+CLICK_VERSION=$PACKAGE_VERSION
+tabchar=' '
-// Check _Alignof.
-enum
-{
- int_alignment = _Alignof (int),
- int_array_alignment = _Alignof (int[100]),
- char_alignment = _Alignof (char)
-};
-_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
-// Check _Noreturn.
-int _Noreturn does_not_return (void) { for (;;) continue; }
+cat >>confdefs.h <<_ACEOF
+#define CLICK_VERSION "$CLICK_VERSION"
+_ACEOF
-// Check _Static_assert.
-struct test_static_assert
-{
- int x;
- _Static_assert (sizeof (int) <= sizeof (long int),
- "_Static_assert does not work in struct");
- long int y;
-};
-
-// Check UTF-8 literals.
-#define u8 syntax error!
-char const utf8_literal[] = u8"happens to be ASCII" "another string";
-
-// Check duplicate typedefs.
-typedef long *long_ptr;
-typedef long int *long_ptr;
-typedef long_ptr long_ptr;
-
-// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
-struct anonymous
-{
- union {
- struct { int i; int j; };
- struct { int k; long int l; } w;
- };
- int m;
-} v1;
-'
-# Test code for whether the C compiler supports C11 (body of main).
-ac_c_conftest_c11_main='
- _Static_assert ((offsetof (struct anonymous, i)
- == offsetof (struct anonymous, w.k)),
- "Anonymous union alignment botch");
- v1.i = 2;
- v1.w.k = 5;
- ok |= v1.i != 5;
-'
-# Test code for whether the C compiler supports C11 (complete).
-ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
-${ac_c_conftest_c99_globals}
-${ac_c_conftest_c11_globals}
+click_version_code_in=`echo "$CLICK_VERSION" | sed -e 's/[a-z].*//' | sed -e 's/$/.0/' | tr . , | sed -e 's/^\([0-9]*,[0-9]*,[0-9]\).*/\1/'`
+cat >>confdefs.h <<_ACEOF
+#define CLICK_VERSION_CODE CLICK_MAKE_VERSION_CODE($click_version_code_in)
+_ACEOF
-int
-main (int argc, char **argv)
-{
- int ok = 0;
- ${ac_c_conftest_c89_main}
- ${ac_c_conftest_c99_main}
- ${ac_c_conftest_c11_main}
- return ok;
-}
-"
-# Test code for whether the C compiler supports C99 (complete).
-ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
-${ac_c_conftest_c99_globals}
-int
-main (int argc, char **argv)
-{
- int ok = 0;
- ${ac_c_conftest_c89_main}
- ${ac_c_conftest_c99_main}
- return ok;
-}
-"
+ ac_user_cc=${CC+y}
+ ac_user_cflags=${CFLAGS+y}
+ ac_user_kernel_cc=${KERNEL_CC+y}
+ ac_user_kernel_cflags=${KERNEL_CFLAGS+y}
+ ac_user_cxx=${CXX+y}
+ ac_user_cxxflags=${CXXFLAGS+y}
+ ac_user_kernel_cxx=${KERNEL_CXX+y}
+ ac_user_kernel_cxxflags=${KERNEL_CXXFLAGS+y}
+ ac_user_build_cxx=${BUILD_CXX+y}
+ ac_user_depcflags=${DEPCFLAGS+y}
+ ac_user_depdirflag=${DEPDIRFLAG+y}
+ ac_compile_with_warnings=y
-# Test code for whether the C compiler supports C89 (complete).
-ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
+ conf_auxdir='$(top_srcdir)'
-int
-main (int argc, char **argv)
-{
- int ok = 0;
- ${ac_c_conftest_c89_main}
- return ok;
-}
-"
-as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
-as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
-as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
-as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
-as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
-as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
-as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
-as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
-as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
-# Test code for whether the C++ compiler supports C++98 (global declarations)
-ac_cxx_conftest_cxx98_globals='
-// Does the compiler advertise C++98 conformance?
-#if !defined __cplusplus || __cplusplus < 199711L
-# error "Compiler does not advertise C++98 conformance"
-#endif
-// These inclusions are to reject old compilers that
-// lack the unsuffixed header files.
-#include <cstdlib>
-#include <exception>
-// <cassert> and <cstring> are *not* freestanding headers in C++98.
-extern void assert (int);
-namespace std {
- extern int strcmp (const char *, const char *);
-}
-// Namespaces, exceptions, and templates were all added after "C++ 2.0".
-using std::exception;
-using std::strcmp;
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
-namespace {
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-void test_exception_syntax()
-{
- try {
- throw "test";
- } catch (const char *s) {
- // Extra parentheses suppress a warning when building autoconf itself,
- // due to lint rules shared with more typical C programs.
- assert (!(strcmp) (s, "test"));
- }
-}
-template <typename T> struct test_template
-{
- T const val;
- explicit test_template(T t) : val(t) {}
- template <typename U> T add(U u) { return static_cast<T>(u) + val; }
-};
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-} // anonymous namespace
-'
-
-# Test code for whether the C++ compiler supports C++98 (body of main)
-ac_cxx_conftest_cxx98_main='
- assert (argc);
- assert (! argv[0]);
-{
- test_exception_syntax ();
- test_template<double> tt (2.0);
- assert (tt.add (4) == 6.0);
- assert (true && !false);
-}
-'
-
-# Test code for whether the C++ compiler supports C++11 (global declarations)
-ac_cxx_conftest_cxx11_globals='
-// Does the compiler advertise C++ 2011 conformance?
-#if !defined __cplusplus || __cplusplus < 201103L
-# error "Compiler does not advertise C++11 conformance"
-#endif
-
-namespace cxx11test
-{
- constexpr int get_val() { return 20; }
-
- struct testinit
- {
- int i;
- double d;
- };
-
- class delegate
- {
- public:
- delegate(int n) : n(n) {}
- delegate(): delegate(2354) {}
-
- virtual int getval() { return this->n; };
- protected:
- int n;
- };
-
- class overridden : public delegate
- {
- public:
- overridden(int n): delegate(n) {}
- virtual int getval() override final { return this->n * 2; }
- };
-
- class nocopy
- {
- public:
- nocopy(int i): i(i) {}
- nocopy() = default;
- nocopy(const nocopy&) = delete;
- nocopy & operator=(const nocopy&) = delete;
- private:
- int i;
- };
-
- // for testing lambda expressions
- template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
- {
- return f(v);
- }
-
- // for testing variadic templates and trailing return types
- template <typename V> auto sum(V first) -> V
- {
- return first;
- }
- template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
- {
- return first + sum(rest...);
- }
-}
-'
-
-# Test code for whether the C++ compiler supports C++11 (body of main)
-ac_cxx_conftest_cxx11_main='
-{
- // Test auto and decltype
- auto a1 = 6538;
- auto a2 = 48573953.4;
- auto a3 = "String literal";
-
- int total = 0;
- for (auto i = a3; *i; ++i) { total += *i; }
-
- decltype(a2) a4 = 34895.034;
-}
-{
- // Test constexpr
- short sa[cxx11test::get_val()] = { 0 };
-}
-{
- // Test initializer lists
- cxx11test::testinit il = { 4323, 435234.23544 };
-}
-{
- // Test range-based for
- int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
- 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
- for (auto &x : array) { x += 23; }
-}
-{
- // Test lambda expressions
- using cxx11test::eval;
- assert (eval ([](int x) { return x*2; }, 21) == 42);
- double d = 2.0;
- assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
- assert (d == 5.0);
- assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
- assert (d == 5.0);
-}
-{
- // Test use of variadic templates
- using cxx11test::sum;
- auto a = sum(1);
- auto b = sum(1, 2);
- auto c = sum(1.0, 2.0, 3.0);
-}
-{
- // Test constructor delegation
- cxx11test::delegate d1;
- cxx11test::delegate d2();
- cxx11test::delegate d3(45);
-}
-{
- // Test override and final
- cxx11test::overridden o1(55464);
-}
-{
- // Test nullptr
- char *c = nullptr;
-}
-{
- // Test template brackets
- test_template<::test_template<int>> v(test_template<int>(12));
-}
-{
- // Unicode literals
- char const *utf8 = u8"UTF-8 string \u2500";
- char16_t const *utf16 = u"UTF-8 string \u2500";
- char32_t const *utf32 = U"UTF-32 string \u2500";
-}
-'
-
-# Test code for whether the C compiler supports C++11 (complete).
-ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
-${ac_cxx_conftest_cxx11_globals}
-
-int
-main (int argc, char **argv)
-{
- int ok = 0;
- ${ac_cxx_conftest_cxx98_main}
- ${ac_cxx_conftest_cxx11_main}
- return ok;
-}
-"
-
-# Test code for whether the C compiler supports C++98 (complete).
-ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
-int
-main (int argc, char **argv)
-{
- int ok = 0;
- ${ac_cxx_conftest_cxx98_main}
- return ok;
-}
-"
-
-as_fn_append ac_header_cxx_list " endian.h endian_h HAVE_ENDIAN_H"
-as_fn_append ac_header_cxx_list " machine/endian.h machine_endian_h HAVE_MACHINE_ENDIAN_H"
-as_fn_append ac_header_cxx_list " byteswap.h byteswap_h HAVE_BYTESWAP_H"
-as_fn_append ac_header_cxx_list " time.h time_h HAVE_TIME_H"
-as_fn_append ac_header_cxx_list " dlfcn.h dlfcn_h HAVE_DLFCN_H"
-as_fn_append ac_header_cxx_list " termio.h termio_h HAVE_TERMIO_H"
-as_fn_append ac_header_cxx_list " netdb.h netdb_h HAVE_NETDB_H"
-as_fn_append ac_header_cxx_list " sys/event.h sys_event_h HAVE_SYS_EVENT_H"
-as_fn_append ac_header_cxx_list " pwd.h pwd_h HAVE_PWD_H"
-as_fn_append ac_header_cxx_list " grp.h grp_h HAVE_GRP_H"
-as_fn_append ac_header_cxx_list " execinfo.h execinfo_h HAVE_EXECINFO_H"
-as_fn_append ac_header_cxx_list " poll.h poll_h HAVE_POLL_H"
-as_fn_append ac_header_c_list " sys/mman.h sys_mman_h HAVE_SYS_MMAN_H"
-as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
-as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
-as_fn_append ac_header_cxx_list " ifaddrs.h ifaddrs_h HAVE_IFADDRS_H"
-as_fn_append ac_header_cxx_list " linux/if_tun.h linux_if_tun_h HAVE_LINUX_IF_TUN_H"
-as_fn_append ac_header_cxx_list " linux/if_packet.h linux_if_packet_h HAVE_LINUX_IF_PACKET_H"
-as_fn_append ac_header_cxx_list " net/if_dl.h net_if_dl_h HAVE_NET_IF_DL_H"
-as_fn_append ac_header_cxx_list " net/if_tap.h net_if_tap_h HAVE_NET_IF_TAP_H"
-as_fn_append ac_header_cxx_list " net/if_tun.h net_if_tun_h HAVE_NET_IF_TUN_H"
-as_fn_append ac_header_cxx_list " net/if_types.h net_if_types_h HAVE_NET_IF_TYPES_H"
-as_fn_append ac_header_cxx_list " net/bpf.h net_bpf_h HAVE_NET_BPF_H"
-as_fn_append ac_header_cxx_list " netpacket/packet.h netpacket_packet_h HAVE_NETPACKET_PACKET_H"
-
-# Auxiliary files required by this configure script.
-ac_aux_files="install-sh config.guess config.sub"
-
-# Locations in which to look for auxiliary files.
-ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
-
-# Search for a directory containing all of the required auxiliary files,
-# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
-# If we don't find one directory that contains all the files we need,
-# we report the set of missing files from the *first* directory in
-# $ac_aux_dir_candidates and give up.
-ac_missing_aux_files=""
-ac_first_candidate=:
-printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in $ac_aux_dir_candidates
-do
- IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- as_found=:
-
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
- ac_aux_dir_found=yes
- ac_install_sh=
- for ac_aux in $ac_aux_files
- do
- # As a special case, if "install-sh" is required, that requirement
- # can be satisfied by any of "install-sh", "install.sh", or "shtool",
- # and $ac_install_sh is set appropriately for whichever one is found.
- if test x"$ac_aux" = x"install-sh"
- then
- if test -f "${as_dir}install-sh"; then
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
- ac_install_sh="${as_dir}install-sh -c"
- elif test -f "${as_dir}install.sh"; then
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
- ac_install_sh="${as_dir}install.sh -c"
- elif test -f "${as_dir}shtool"; then
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
- ac_install_sh="${as_dir}shtool install -c"
- else
- ac_aux_dir_found=no
- if $ac_first_candidate; then
- ac_missing_aux_files="${ac_missing_aux_files} install-sh"
- else
- break
- fi
- fi
- else
- if test -f "${as_dir}${ac_aux}"; then
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
- else
- ac_aux_dir_found=no
- if $ac_first_candidate; then
- ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
- else
- break
- fi
- fi
- fi
- done
- if test "$ac_aux_dir_found" = yes; then
- ac_aux_dir="$as_dir"
- break
- fi
- ac_first_candidate=false
-
- as_found=false
-done
-IFS=$as_save_IFS
-if $as_found
-then :
-
-else $as_nop
- as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
-fi
-
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-if test -f "${ac_aux_dir}config.guess"; then
- ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
-fi
-if test -f "${ac_aux_dir}config.sub"; then
- ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
-fi
-if test -f "$ac_aux_dir/configure"; then
- ac_configure="$SHELL ${ac_aux_dir}configure"
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
- and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-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
-
-
-
-ac_config_headers="$ac_config_headers include/click/config.h:config.h.in"
-
-ac_config_headers="$ac_config_headers include/click/pathvars.h:pathvars.h.in"
-
-ac_config_headers="$ac_config_headers include/click/config-bsdmodule.h:config-bsdmodule.h.in include/click/config-linuxmodule.h:config-linuxmodule.h.in include/click/config-ns.h:config-ns.h.in include/click/config-userlevel.h:config-userlevel.h.in include/click/config-minios.h:config-minios.h.in"
-
-ac_config_files="$ac_config_files Makefile"
-
-ac_config_files="$ac_config_files bin/click-buildtool:click-buildtool.in"
-
-ac_config_files="$ac_config_files bin/click-compile:click-compile.in"
-
-ac_config_files="$ac_config_files installch"
-
-ac_config_files="$ac_config_files share/click/config.mk:config.mk.in share/click/pkg-config.mk"
-
-ac_config_files="$ac_config_files doc/Makefile etc/libclick/Makefile tools/Makefile tools/lib/Makefile"
-
-
-ac_user_cxx=${CXX+y}
-
-CLICK_VERSION=$PACKAGE_VERSION
-tabchar=' '
-
-
-printf "%s\n" "#define CLICK_VERSION \"$CLICK_VERSION\"" >>confdefs.h
-
-
-
-click_version_code_in=`echo "$CLICK_VERSION" | sed -e 's/[a-z].*//' | sed -e 's/$/.0/' | tr . , | sed -e 's/^\([0-9]*,[0-9]*,[0-9]\).*/\1/'`
-printf "%s\n" "#define CLICK_VERSION_CODE CLICK_MAKE_VERSION_CODE($click_version_code_in)" >>confdefs.h
-
-
-
- ac_user_cc=${CC+y}
- ac_user_cflags=${CFLAGS+y}
- ac_user_kernel_cc=${KERNEL_CC+y}
- ac_user_kernel_cflags=${KERNEL_CFLAGS+y}
- ac_user_cxx=${CXX+y}
- ac_user_cxxflags=${CXXFLAGS+y}
- ac_user_kernel_cxx=${KERNEL_CXX+y}
- ac_user_kernel_cxxflags=${KERNEL_CXXFLAGS+y}
- ac_user_build_cxx=${BUILD_CXX+y}
- ac_user_depcflags=${DEPCFLAGS+y}
- ac_user_depdirflag=${DEPDIRFLAG+y}
- ac_compile_with_warnings=y
-
- conf_auxdir='$(top_srcdir)'
-
-
-
-
-
-
-
-
- # Make sure we can run config.sub.
-$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
-
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-printf %s "checking build system type... " >&6; }
-if test ${ac_cv_build+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-printf "%s\n" "$ac_cv_build" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
case $ac_cv_build in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
@@ -3949,22 +3481,21 @@ IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-printf %s "checking host system type... " >&6; }
-if test ${ac_cv_host+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test "x$host_alias" = x; then
ac_cv_host=$ac_cv_build
else
- ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
- as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-printf "%s\n" "$ac_cv_host" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
case $ac_cv_host in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
@@ -3983,22 +3514,21 @@ IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-printf %s "checking target system type... " >&6; }
-if test ${ac_cv_target+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
+$as_echo_n "checking target system type... " >&6; }
+if ${ac_cv_target+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test "x$target_alias" = x; then
ac_cv_target=$ac_cv_host
else
- ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
- as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-printf "%s\n" "$ac_cv_target" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
+$as_echo "$ac_cv_target" >&6; }
case $ac_cv_target in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
@@ -4024,17 +3554,17 @@ test -n "$target_alias" &&
NONENONEs,x,x, &&
program_prefix=${target_alias}-
+
using_clang=`$CXX --version | grep ^clang | cut -f1 -d' '`
if test -z "$using_clang"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
@@ -4042,15 +3572,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4061,11 +3587,11 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-printf "%s\n" "$CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4074,12 +3600,11 @@ if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
@@ -4087,15 +3612,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4106,11 +3627,11 @@ fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-printf "%s\n" "$ac_ct_CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
@@ -4118,8 +3639,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
@@ -4131,12 +3652,11 @@ fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
set dummy ${ac_tool_prefix}g++; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CXX+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CXX"; then
ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
@@ -4144,15 +3664,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CXX="${ac_tool_prefix}g++"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4163,11 +3679,11 @@ fi
fi
CXX=$ac_cv_prog_CXX
if test -n "$CXX"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-printf "%s\n" "$CXX" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4176,12 +3692,11 @@ if test -z "$ac_cv_prog_CXX"; then
ac_ct_CXX=$CXX
# Extract the first word of "g++", so it can be a program name with args.
set dummy g++; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_CXX+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_CXX"; then
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
else
@@ -4189,15 +3704,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CXX="g++"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4208,11 +3719,11 @@ fi
fi
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CXX"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-printf "%s\n" "$ac_ct_CXX" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_CXX" = x; then
@@ -4220,8 +3731,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CXX=$ac_ct_CXX
@@ -4232,15 +3743,6 @@ fi
fi
-
-
-
-
-
-
-
-
-
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4249,12 +3751,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
@@ -4262,15 +3763,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4281,11 +3778,11 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-printf "%s\n" "$CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4294,12 +3791,11 @@ if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
@@ -4307,15 +3803,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4326,11 +3818,11 @@ fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-printf "%s\n" "$ac_ct_CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
@@ -4338,8 +3830,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
@@ -4352,12 +3844,11 @@ if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
@@ -4365,15 +3856,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4384,11 +3871,11 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-printf "%s\n" "$CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4397,12 +3884,11 @@ fi
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
@@ -4411,19 +3897,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
- if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
fi
ac_cv_prog_CC="cc"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4439,18 +3921,18 @@ if test $ac_prog_rejected = yes; then
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
- ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-printf "%s\n" "$CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4461,12 +3943,11 @@ if test -z "$CC"; then
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
@@ -4474,15 +3955,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4493,11 +3970,11 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-printf "%s\n" "$CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4510,12 +3987,11 @@ if test -z "$CC"; then
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
@@ -4523,15 +3999,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -4542,11 +4014,11 @@ fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-printf "%s\n" "$ac_ct_CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -4558,138 +4030,34 @@ done
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
-set dummy ${ac_tool_prefix}clang; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}clang"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-printf "%s\n" "$CC" >&6; }
-else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "clang", so it can be a program name with args.
-set dummy clang; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="clang"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-printf "%s\n" "$ac_ct_CC" >&6; }
-else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
fi
-test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "no acceptable C compiler found in \$PATH
See \`config.log' for more details" "$LINENO" 5; }
# Provide some information about the compiler.
-printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
-for ac_option in --version -v -V -qversion -version; do
+for ac_option in --version -v -V -qversion; do
{ { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -4699,7 +4067,7 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
fi
rm -f conftest.er1 conftest.err
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
@@ -4707,7 +4075,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
@@ -4719,9 +4087,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-printf %s "checking whether the C compiler works... " >&6; }
-ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
# The possible output files:
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
@@ -4742,12 +4110,11 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link_default") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-then :
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -4764,7 +4131,7 @@ do
# certainly right.
break;;
*.* )
- if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
then :; else
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
@@ -4780,46 +4147,44 @@ do
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
-else $as_nop
+else
ac_file=''
fi
-if test -z "$ac_file"
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
-printf "%s\n" "$as_me: failed program was:" >&5
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "C compiler cannot create executables
See \`config.log' for more details" "$LINENO" 5; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-printf %s "checking for C compiler default output file name... " >&6; }
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-printf "%s\n" "$ac_file" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
ac_exeext=$ac_cv_exeext
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-printf %s "checking for suffix of executables... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-then :
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -4833,15 +4198,15 @@ for ac_file in conftest.exe conftest conftest.*; do
* ) break;;
esac
done
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else
+ { { $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 compute suffix of executables: cannot compile and link
See \`config.log' for more details" "$LINENO" 5; }
fi
rm -f conftest conftest$ac_cv_exeext
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-printf "%s\n" "$ac_cv_exeext" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
@@ -4850,7 +4215,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
-main (void)
+main ()
{
FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
@@ -4862,8 +4227,8 @@ _ACEOF
ac_clean_files="$ac_clean_files conftest.out"
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-printf %s "checking whether we are cross compiling... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
if test "$cross_compiling" != yes; then
{ { ac_try="$ac_link"
case "(($ac_try" in
@@ -4871,10 +4236,10 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if { ac_try='./conftest$ac_cv_exeext'
{ { case "(($ac_try" in
@@ -4882,40 +4247,39 @@ printf "%s\n" "$ac_try_echo"; } >&5
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_try") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }; then
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "cannot run C compiled programs.
+ { { $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 C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-printf "%s\n" "$cross_compiling" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
ac_clean_files=$ac_clean_files_save
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-printf %s "checking for suffix of object files... " >&6; }
-if test ${ac_cv_objext+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
@@ -4929,12 +4293,11 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>&5
ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-then :
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
for ac_file in conftest.o conftest.obj conftest.*; do
test -f "$ac_file" || continue;
case $ac_file in
@@ -4943,32 +4306,31 @@ then :
break;;
esac
done
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else
+ $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $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 compute suffix of object files: cannot compile
See \`config.log' for more details" "$LINENO" 5; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-printf "%s\n" "$ac_cv_objext" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
-printf %s "checking whether the compiler supports GNU C... " >&6; }
-if test ${ac_cv_c_compiler_gnu+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
#ifndef __GNUC__
choke me
@@ -4978,33 +4340,29 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_compiler_gnu=yes
-else $as_nop
+else
ac_compiler_gnu=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
GCC=yes
else
GCC=
fi
-ac_test_CFLAGS=${CFLAGS+y}
+ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-printf %s "checking whether $CC accepts -g... " >&6; }
-if test ${ac_cv_prog_cc_g+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
@@ -5013,60 +4371,57 @@ else $as_nop
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_prog_cc_g=yes
-else $as_nop
+else
CFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
-else $as_nop
+else
ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_prog_cc_g=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_c_werror_flag=$ac_save_c_werror_flag
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
-if test $ac_test_CFLAGS; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
@@ -5081,144 +4436,232 @@ else
CFLAGS=
fi
fi
-ac_prog_cc_stdc=no
-if test x$ac_prog_cc_stdc = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
-printf %s "checking for $CC option to enable C11 features... " >&6; }
-if test ${ac_cv_prog_cc_c11+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c11=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-$ac_c_conftest_c11_program
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
_ACEOF
-for ac_arg in '' -std=gnu11
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"
-then :
- ac_cv_prog_cc_c11=$ac_arg
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam
- test "x$ac_cv_prog_cc_c11" != "xno" && break
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC
+
fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
-if test "x$ac_cv_prog_cc_c11" = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c11" = x
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
-printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
- CC="$CC $ac_cv_prog_cc_c11"
-fi
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
- ac_prog_cc_stdc=c11
-fi
-fi
-if test x$ac_prog_cc_stdc = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
-printf %s "checking for $CC option to enable C99 features... " >&6; }
-if test ${ac_cv_prog_cc_c99+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c99=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+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
+
+
+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 how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-$ac_c_conftest_c99_program
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
_ACEOF
-for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
-do
- CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"
-then :
- ac_cv_prog_cc_c99=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam
- test "x$ac_cv_prog_cc_c99" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
fi
+rm -f conftest.err conftest.i conftest.$ac_ext
-if test "x$ac_cv_prog_cc_c99" = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c99" = x
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
-printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
- CC="$CC $ac_cv_prog_cc_c99"
-fi
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
- ac_prog_cc_stdc=c99
-fi
-fi
-if test x$ac_prog_cc_stdc = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
-printf %s "checking for $CC option to enable C89 features... " >&6; }
-if test ${ac_cv_prog_cc_c89+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-$ac_c_conftest_c89_program
+#include <ac_nonexistent.h>
_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"
-then :
- ac_cv_prog_cc_c89=$ac_arg
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam
- test "x$ac_cv_prog_cc_c89" != "xno" && break
+rm -f conftest.err conftest.i conftest.$ac_ext
+
done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
fi
-if test "x$ac_cv_prog_cc_c89" = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c89" = x
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
- CC="$CC $ac_cv_prog_cc_c89"
+ done
+ ac_cv_prog_CPP=$CPP
+
fi
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
- ac_prog_cc_stdc=c89
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
fi
ac_ext=c
@@ -5228,36 +4671,287 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-ac_header= ac_cache=
-for ac_item in $ac_header_c_list
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
- if test $ac_cache; then
- ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
- if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
- printf "%s\n" "#define $ac_item 1" >> confdefs.h
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
fi
- ac_header= ac_cache=
- elif test $ac_header; then
- ac_cache=$ac_item
- else
- ac_header=$ac_item
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi
-done
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=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
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+fi
+done
-if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
-then :
-printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
+ for ac_header in $ac_header_list
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
fi
+done
+
+
+
+
+
+
ac_base_cc="$CC"
@@ -5271,64 +4965,60 @@ fi
save_cflags="$CFLAGS"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -W -Wall" >&5
-printf %s "checking whether the C compiler accepts -W -Wall... " >&6; }
-if test ${ac_cv_c_w_wall+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -W -Wall" >&5
+$as_echo_n "checking whether the C compiler accepts -W -Wall... " >&6; }
+if ${ac_cv_c_w_wall+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
CFLAGS="$CFLAGS -W -Wall"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int f(int x) { return x; }
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_c_w_wall=yes
-else $as_nop
+else
ac_cv_c_w_wall=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_w_wall" >&5
-printf "%s\n" "$ac_cv_c_w_wall" >&6; }
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Werror" >&5
-printf %s "checking whether the C compiler accepts -Werror... " >&6; }
-if test ${ac_cv_c_werror+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_w_wall" >&5
+$as_echo "$ac_cv_c_w_wall" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Werror" >&5
+$as_echo_n "checking whether the C compiler accepts -Werror... " >&6; }
+if ${ac_cv_c_werror+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
CFLAGS="$CFLAGS -Werror"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int f(int x) { return x; }
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_c_werror=yes
-else $as_nop
+else
ac_cv_c_werror=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_werror" >&5
-printf "%s\n" "$ac_cv_c_werror" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_werror" >&5
+$as_echo "$ac_cv_c_werror" >&6; }
CFLAGS="$save_cflags"
WARNING_CFLAGS=
@@ -5345,36 +5035,40 @@ 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
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-printf %s "checking how to run the C preprocessor... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
- if test ${ac_cv_prog_CPP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- # Double quotes because $CC needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <limits.h>
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
Syntax error
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
-else $as_nop
+else
# Broken: fails on valid input.
continue
fi
@@ -5386,11 +5080,10 @@ rm -f conftest.err conftest.i conftest.$ac_ext
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
-else $as_nop
+else
# Passes both tests.
ac_preproc_ok=:
break
@@ -5400,8 +5093,7 @@ rm -f conftest.err conftest.i conftest.$ac_ext
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok
-then :
+if $ac_preproc_ok; then :
break
fi
@@ -5413,24 +5105,29 @@ fi
else
ac_cv_prog_CPP=$CPP
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-printf "%s\n" "$CPP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <limits.h>
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
Syntax error
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
-else $as_nop
+else
# Broken: fails on valid input.
continue
fi
@@ -5442,11 +5139,10 @@ rm -f conftest.err conftest.i conftest.$ac_ext
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
-else $as_nop
+else
# Passes both tests.
ac_preproc_ok=:
break
@@ -5456,12 +5152,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok
-then :
+if $ac_preproc_ok; then :
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details" "$LINENO" 5; }
fi
@@ -5472,34 +5167,32 @@ 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
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
-printf %s "checking for inline... " >&6; }
-if test ${ac_cv_c_inline+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
+$as_echo_n "checking for inline... " >&6; }
+if ${ac_cv_c_inline+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifndef __cplusplus
typedef int foo_t;
-static $ac_kw foo_t static_foo (void) {return 0; }
-$ac_kw foo_t foo (void) {return 0; }
+static $ac_kw foo_t static_foo () {return 0; }
+$ac_kw foo_t foo () {return 0; }
#endif
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_c_inline=$ac_kw
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
test "$ac_cv_c_inline" != no && break
done
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
-printf "%s\n" "$ac_cv_c_inline" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
+$as_echo "$ac_cv_c_inline" >&6; }
case $ac_cv_c_inline in
inline | yes) ;;
@@ -5512,15 +5205,9 @@ case $ac_cv_c_inline in
#ifndef __cplusplus
#define inline $ac_val
#endif
-_ACEOF
- ;;
-esac
-
-
-
-
-
-
+_ACEOF
+ ;;
+esac
ac_ext=cpp
@@ -5533,16 +5220,15 @@ if test -z "$CXX"; then
CXX=$CCC
else
if test -n "$ac_tool_prefix"; then
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_CXX+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$CXX"; then
ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
@@ -5550,15 +5236,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -5569,11 +5251,11 @@ fi
fi
CXX=$ac_cv_prog_CXX
if test -n "$CXX"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-printf "%s\n" "$CXX" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -5582,16 +5264,15 @@ fi
fi
if test -z "$CXX"; then
ac_ct_CXX=$CXX
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_CXX+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_CXX"; then
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
else
@@ -5599,15 +5280,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CXX="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -5618,11 +5295,11 @@ fi
fi
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CXX"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-printf "%s\n" "$ac_ct_CXX" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -5634,8 +5311,8 @@ done
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CXX=$ac_ct_CXX
@@ -5645,7 +5322,7 @@ fi
fi
fi
# Provide some information about the compiler.
-printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
set X $ac_compile
ac_compiler=$2
for ac_option in --version -v -V -qversion; do
@@ -5655,7 +5332,7 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-printf "%s\n" "$ac_try_echo"; } >&5
+$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
@@ -5665,21 +5342,20 @@ printf "%s\n" "$ac_try_echo"; } >&5
cat conftest.er1 >&5
fi
rm -f conftest.er1 conftest.err
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
-printf %s "checking whether the compiler supports GNU C++... " >&6; }
-if test ${ac_cv_cxx_compiler_gnu+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
#ifndef __GNUC__
choke me
@@ -5689,33 +5365,29 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_compiler_gnu=yes
-else $as_nop
+else
ac_compiler_gnu=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
GXX=yes
else
GXX=
fi
-ac_test_CXXFLAGS=${CXXFLAGS+y}
+ac_test_CXXFLAGS=${CXXFLAGS+set}
ac_save_CXXFLAGS=$CXXFLAGS
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-printf %s "checking whether $CXX accepts -g... " >&6; }
-if test ${ac_cv_prog_cxx_g+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
ac_cxx_werror_flag=yes
ac_cv_prog_cxx_g=no
@@ -5724,60 +5396,57 @@ else $as_nop
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_prog_cxx_g=yes
-else $as_nop
+else
CXXFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
-else $as_nop
+else
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
CXXFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_prog_cxx_g=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
-if test $ac_test_CXXFLAGS; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
@@ -5792,100 +5461,6 @@ else
CXXFLAGS=
fi
fi
-ac_prog_cxx_stdcxx=no
-if test x$ac_prog_cxx_stdcxx = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
-printf %s "checking for $CXX option to enable C++11 features... " >&6; }
-if test ${ac_cv_prog_cxx_11+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cxx_11=no
-ac_save_CXX=$CXX
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_cxx_conftest_cxx11_program
-_ACEOF
-for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
-do
- CXX="$ac_save_CXX $ac_arg"
- if ac_fn_cxx_try_compile "$LINENO"
-then :
- ac_cv_prog_cxx_cxx11=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam
- test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CXX=$ac_save_CXX
-fi
-
-if test "x$ac_cv_prog_cxx_cxx11" = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cxx_cxx11" = x
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
-printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
- CXX="$CXX $ac_cv_prog_cxx_cxx11"
-fi
- ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
- ac_prog_cxx_stdcxx=cxx11
-fi
-fi
-if test x$ac_prog_cxx_stdcxx = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
-printf %s "checking for $CXX option to enable C++98 features... " >&6; }
-if test ${ac_cv_prog_cxx_98+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cxx_98=no
-ac_save_CXX=$CXX
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_cxx_conftest_cxx98_program
-_ACEOF
-for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
-do
- CXX="$ac_save_CXX $ac_arg"
- if ac_fn_cxx_try_compile "$LINENO"
-then :
- ac_cv_prog_cxx_cxx98=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam
- test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CXX=$ac_save_CXX
-fi
-
-if test "x$ac_cv_prog_cxx_cxx98" = xno
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cxx_cxx98" = x
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
-printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
- CXX="$CXX $ac_cv_prog_cxx_cxx98"
-fi
- ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
- ac_prog_cxx_stdcxx=cxx98
-fi
-fi
-
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -5902,7 +5477,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
if test -z "$GXX"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
Your C++ compiler ($CXX) is not a GNU C++ compiler!
@@ -5912,7 +5487,7 @@ a GNU C++ compiler is, or compile at your own risk.
and Linux header files are GCC-specific.)
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
Your C++ compiler ($CXX) is not a GNU C++ compiler!
@@ -5932,18 +5507,17 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <new> works" >&5
-printf %s "checking whether <new> works... " >&6; }
-if test ${ac_cv_good_new_hdr+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <new> works" >&5
+$as_echo_n "checking whether <new> works... " >&6; }
+if ${ac_cv_good_new_hdr+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <new>
int
-main (void)
+main ()
{
int a;
@@ -5954,34 +5528,32 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_good_new_hdr=yes
-else $as_nop
+else
ac_cv_good_new_hdr=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_good_new_hdr" >&5
-printf "%s\n" "$ac_cv_good_new_hdr" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_good_new_hdr" >&5
+$as_echo "$ac_cv_good_new_hdr" >&6; }
if test "$ac_cv_good_new_hdr" = yes; then
-printf "%s\n" "#define HAVE_NEW_HDR 1" >>confdefs.h
+$as_echo "#define HAVE_NEW_HDR 1" >>confdefs.h
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <new.h> works" >&5
-printf %s "checking whether <new.h> works... " >&6; }
-if test ${ac_cv_good_new_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <new.h> works" >&5
+$as_echo_n "checking whether <new.h> works... " >&6; }
+if ${ac_cv_good_new_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <new.h>
int
-main (void)
+main ()
{
int a;
@@ -5992,250 +5564,236 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_good_new_h=yes
-else $as_nop
+else
ac_cv_good_new_h=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_good_new_h" >&5
-printf "%s\n" "$ac_cv_good_new_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_good_new_h" >&5
+$as_echo "$ac_cv_good_new_h" >&6; }
if test "$ac_cv_good_new_h" = yes; then
-printf "%s\n" "#define HAVE_NEW_H 1" >>confdefs.h
+$as_echo "#define HAVE_NEW_H 1" >>confdefs.h
fi
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands 'auto'" >&5
-printf %s "checking whether the C++ compiler understands 'auto'... " >&6; }
-if test ${ac_cv_cxx_auto+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands 'auto'" >&5
+$as_echo_n "checking whether the C++ compiler understands 'auto'... " >&6; }
+if ${ac_cv_cxx_auto+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
struct s { int a; }; int f(s x) { auto &y = x; return y.a; }
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_auto=yes
-else $as_nop
+else
ac_cv_cxx_auto=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_auto" >&5
-printf "%s\n" "$ac_cv_cxx_auto" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_auto" >&5
+$as_echo "$ac_cv_cxx_auto" >&6; }
if test "$ac_cv_cxx_auto" != yes -a -z "$ac_user_cxx"; then
CXX="${CXX} -std=gnu++0x"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler with -std=gnu++0x understands 'auto'" >&5
-printf %s "checking whether the C++ compiler with -std=gnu++0x understands 'auto'... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler with -std=gnu++0x understands 'auto'" >&5
+$as_echo_n "checking whether the C++ compiler with -std=gnu++0x understands 'auto'... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
struct s { int a; }; int f(s x) { auto &y = x; return y.a; }
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_auto=yes
-else $as_nop
+else
ac_cv_cxx_auto=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_auto" >&5
-printf "%s\n" "$ac_cv_cxx_auto" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_auto" >&5
+$as_echo "$ac_cv_cxx_auto" >&6; }
fi
save_cxxflags="$CXXFLAGS"
test -n "$ac_cv_c_w_wall" && CXXFLAGS="$CXXFLAGS -W -Wall"
test -n "$ac_cv_c_werror" && CXXFLAGS="$CXXFLAGS -Werror"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands constexpr" >&5
-printf %s "checking whether the C++ compiler understands constexpr... " >&6; }
-if test ${ac_cv_cxx_constexpr+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands constexpr" >&5
+$as_echo_n "checking whether the C++ compiler understands constexpr... " >&6; }
+if ${ac_cv_cxx_constexpr+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
constexpr int f(int x) { return x + 1; }
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_constexpr=yes
-else $as_nop
+else
ac_cv_cxx_constexpr=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_constexpr" >&5
-printf "%s\n" "$ac_cv_cxx_constexpr" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_constexpr" >&5
+$as_echo "$ac_cv_cxx_constexpr" >&6; }
if test "$ac_cv_cxx_constexpr" = yes; then
-printf "%s\n" "#define HAVE_CXX_CONSTEXPR 1" >>confdefs.h
+$as_echo "#define HAVE_CXX_CONSTEXPR 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands rvalue references" >&5
-printf %s "checking whether the C++ compiler understands rvalue references... " >&6; }
-if test ${ac_cv_cxx_rvalue_references+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands rvalue references" >&5
+$as_echo_n "checking whether the C++ compiler understands rvalue references... " >&6; }
+if ${ac_cv_cxx_rvalue_references+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int f(int &) { return 1; } int f(int &&) { return 0; }
int
-main (void)
+main ()
{
return f(int());
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_rvalue_references=yes
-else $as_nop
+else
ac_cv_cxx_rvalue_references=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_rvalue_references" >&5
-printf "%s\n" "$ac_cv_cxx_rvalue_references" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_rvalue_references" >&5
+$as_echo "$ac_cv_cxx_rvalue_references" >&6; }
if test "$ac_cv_cxx_rvalue_references" = yes; then
-printf "%s\n" "#define HAVE_CXX_RVALUE_REFERENCES 1" >>confdefs.h
+$as_echo "#define HAVE_CXX_RVALUE_REFERENCES 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands static_assert" >&5
-printf %s "checking whether the C++ compiler understands static_assert... " >&6; }
-if test ${ac_cv_cxx_static_assert+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands static_assert" >&5
+$as_echo_n "checking whether the C++ compiler understands static_assert... " >&6; }
+if ${ac_cv_cxx_static_assert+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
const int f = 2;
int
-main (void)
+main ()
{
static_assert(f == 2, "f should be 2");
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_static_assert=yes
-else $as_nop
+else
ac_cv_cxx_static_assert=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_static_assert" >&5
-printf "%s\n" "$ac_cv_cxx_static_assert" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_static_assert" >&5
+$as_echo "$ac_cv_cxx_static_assert" >&6; }
if test "$ac_cv_cxx_static_assert" = yes; then
-printf "%s\n" "#define HAVE_CXX_STATIC_ASSERT 1" >>confdefs.h
+$as_echo "#define HAVE_CXX_STATIC_ASSERT 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands template alias" >&5
-printf %s "checking whether the C++ compiler understands template alias... " >&6; }
-if test ${ac_cv_cxx_template_alias+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands template alias" >&5
+$as_echo_n "checking whether the C++ compiler understands template alias... " >&6; }
+if ${ac_cv_cxx_template_alias+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
template <typename T> struct X { typedef T type; }; template <typename T> using Y = X<T>; int f(int x) { return x; }
int
-main (void)
+main ()
{
return f(Y<int>::type());
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_template_alias=yes
-else $as_nop
+else
ac_cv_cxx_template_alias=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_alias" >&5
-printf "%s\n" "$ac_cv_cxx_template_alias" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_alias" >&5
+$as_echo "$ac_cv_cxx_template_alias" >&6; }
if test "$ac_cv_cxx_template_alias" = yes; then
-printf "%s\n" "#define HAVE_CXX_TEMPLATE_ALIAS 1" >>confdefs.h
+$as_echo "#define HAVE_CXX_TEMPLATE_ALIAS 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands #pragma interface" >&5
-printf %s "checking whether the C++ compiler understands #pragma interface... " >&6; }
-if test ${ac_cv_cxx_pragma_interface+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands #pragma interface" >&5
+$as_echo_n "checking whether the C++ compiler understands #pragma interface... " >&6; }
+if ${ac_cv_cxx_pragma_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#pragma interface "foo.c"
#pragma implementation "foo.c"
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_pragma_interface=yes
-else $as_nop
+else
ac_cv_cxx_pragma_interface=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_pragma_interface" >&5
-printf "%s\n" "$ac_cv_cxx_pragma_interface" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_pragma_interface" >&5
+$as_echo "$ac_cv_cxx_pragma_interface" >&6; }
if test "$ac_cv_cxx_pragma_interface" = yes; then
-printf "%s\n" "#define HAVE_CXX_PRAGMA_INTERFACE 1" >>confdefs.h
+$as_echo "#define HAVE_CXX_PRAGMA_INTERFACE 1" >>confdefs.h
fi
@@ -6253,32 +5811,36 @@ ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
-printf %s "checking how to run the C++ preprocessor... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
if test -z "$CXXCPP"; then
- if test ${ac_cv_prog_CXXCPP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- # Double quotes because $CXX needs to be expanded
- for CXXCPP in "$CXX -E" cpp /lib/cpp
+ if ${ac_cv_prog_CXXCPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
do
ac_preproc_ok=false
for ac_cxx_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <limits.h>
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
Syntax error
_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"
-then :
+if ac_fn_cxx_try_cpp "$LINENO"; then :
-else $as_nop
+else
# Broken: fails on valid input.
continue
fi
@@ -6290,11 +5852,10 @@ rm -f conftest.err conftest.i conftest.$ac_ext
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"
-then :
+if ac_fn_cxx_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
-else $as_nop
+else
# Passes both tests.
ac_preproc_ok=:
break
@@ -6304,8 +5865,7 @@ rm -f conftest.err conftest.i conftest.$ac_ext
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok
-then :
+if $ac_preproc_ok; then :
break
fi
@@ -6317,24 +5877,29 @@ fi
else
ac_cv_prog_CXXCPP=$CXXCPP
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
-printf "%s\n" "$CXXCPP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
+$as_echo "$CXXCPP" >&6; }
ac_preproc_ok=false
for ac_cxx_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <limits.h>
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
Syntax error
_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"
-then :
+if ac_fn_cxx_try_cpp "$LINENO"; then :
-else $as_nop
+else
# Broken: fails on valid input.
continue
fi
@@ -6346,11 +5911,10 @@ rm -f conftest.err conftest.i conftest.$ac_ext
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"
-then :
+if ac_fn_cxx_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
-else $as_nop
+else
# Passes both tests.
ac_preproc_ok=:
break
@@ -6360,12 +5924,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok
-then :
+if $ac_preproc_ok; then :
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
See \`config.log' for more details" "$LINENO" 5; }
fi
@@ -6377,12 +5940,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -Winconsistent-missing-override" >&5
-printf %s "checking whether C++ compiler accepts -Winconsistent-missing-override... " >&6; }
-if test ${ax_cv_check_cxxflags__Werror__Winconsistent_missing_override+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -Winconsistent-missing-override" >&5
+$as_echo_n "checking whether C++ compiler accepts -Winconsistent-missing-override... " >&6; }
+if ${ax_cv_check_cxxflags__Werror__Winconsistent_missing_override+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ax_check_save_flags=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -Werror -Winconsistent-missing-override"
@@ -6390,28 +5952,26 @@ else $as_nop
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ax_cv_check_cxxflags__Werror__Winconsistent_missing_override=yes
-else $as_nop
+else
ax_cv_check_cxxflags__Werror__Winconsistent_missing_override=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CXXFLAGS=$ax_check_save_flags
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags__Werror__Winconsistent_missing_override" >&5
-printf "%s\n" "$ax_cv_check_cxxflags__Werror__Winconsistent_missing_override" >&6; }
-if test "x$ax_cv_check_cxxflags__Werror__Winconsistent_missing_override" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags__Werror__Winconsistent_missing_override" >&5
+$as_echo "$ax_cv_check_cxxflags__Werror__Winconsistent_missing_override" >&6; }
+if test "x$ax_cv_check_cxxflags__Werror__Winconsistent_missing_override" = xyes; then :
CXXFLAGS="$CXXFLAGS -Wno-inconsistent-missing-override"
-else $as_nop
+else
:
fi
@@ -6424,24 +5984,22 @@ 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
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc __builtin_cpu_init function" >&5
-printf %s "checking for gcc __builtin_cpu_init function... " >&6; }
-if test ${ax_cv_gcc_check_x86_cpu_init+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc __builtin_cpu_init function" >&5
+$as_echo_n "checking for gcc __builtin_cpu_init function... " >&6; }
+if ${ax_cv_gcc_check_x86_cpu_init+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
;
@@ -6449,10 +6007,9 @@ __builtin_cpu_init ();
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_check_x86_cpu_init=yes
-else $as_nop
+else
ax_cv_gcc_check_x86_cpu_init=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -6460,10 +6017,9 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_check_x86_cpu_init" >&5
-printf "%s\n" "$ax_cv_gcc_check_x86_cpu_init" >&6; }
- if test "X$ax_cv_gcc_check_x86_cpu_init" = "Xno"
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_check_x86_cpu_init" >&5
+$as_echo "$ax_cv_gcc_check_x86_cpu_init" >&6; }
+ if test "X$ax_cv_gcc_check_x86_cpu_init" = "Xno"; then :
as_fn_error $? "Need GCC to support X86 CPU features tests" "$LINENO" 5
fi
@@ -6476,24 +6032,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 mmx instruction support" >&5
-printf %s "checking for x86 mmx instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_mmx+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 mmx instruction support" >&5
+$as_echo_n "checking for x86 mmx instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_mmx+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("mmx"))
@@ -6504,10 +6058,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_mmx=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_mmx=no
fi
@@ -6517,18 +6070,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_mmx" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_mmx" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_mmx" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_mmx" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_mmx" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_mmx" = xyes; then :
-printf "%s\n" "#define HAVE_MMX_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_MMX_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mmmx"
fi
@@ -6543,24 +6095,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 popcnt instruction support" >&5
-printf %s "checking for x86 popcnt instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_popcnt+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 popcnt instruction support" >&5
+$as_echo_n "checking for x86 popcnt instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_popcnt+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("popcnt"))
@@ -6571,10 +6121,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_popcnt=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_popcnt=no
fi
@@ -6584,18 +6133,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_popcnt" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_popcnt" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_popcnt" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_popcnt" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_popcnt" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_popcnt" = xyes; then :
-printf "%s\n" "#define HAVE_POPCNT_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_POPCNT_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mpopcnt"
fi
@@ -6610,24 +6158,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 sse instruction support" >&5
-printf %s "checking for x86 sse instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_sse+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 sse instruction support" >&5
+$as_echo_n "checking for x86 sse instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_sse+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("sse"))
@@ -6638,10 +6184,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_sse=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_sse=no
fi
@@ -6651,18 +6196,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_sse" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_sse" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_sse" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_sse" = xyes; then :
-printf "%s\n" "#define HAVE_SSE_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_SSE_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -msse"
fi
@@ -6677,24 +6221,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 sse2 instruction support" >&5
-printf %s "checking for x86 sse2 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_sse2+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 sse2 instruction support" >&5
+$as_echo_n "checking for x86 sse2 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_sse2+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("sse2"))
@@ -6705,10 +6247,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_sse2=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_sse2=no
fi
@@ -6718,18 +6259,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse2" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_sse2" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse2" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_sse2" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_sse2" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_sse2" = xyes; then :
-printf "%s\n" "#define HAVE_SSE2_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_SSE2_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -msse2"
fi
@@ -6744,24 +6284,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 sse3 instruction support" >&5
-printf %s "checking for x86 sse3 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_sse3+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 sse3 instruction support" >&5
+$as_echo_n "checking for x86 sse3 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_sse3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("sse3"))
@@ -6772,10 +6310,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_sse3=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_sse3=no
fi
@@ -6785,18 +6322,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse3" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_sse3" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse3" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_sse3" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_sse3" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_sse3" = xyes; then :
-printf "%s\n" "#define HAVE_SSE3_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_SSE3_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -msse3"
fi
@@ -6811,24 +6347,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 sse4.1 instruction support" >&5
-printf %s "checking for x86 sse4.1 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_sse4_1+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 sse4.1 instruction support" >&5
+$as_echo_n "checking for x86 sse4.1 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_sse4_1+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("sse4.1"))
@@ -6839,10 +6373,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_sse4_1=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_sse4_1=no
fi
@@ -6852,18 +6385,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse4_1" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_sse4_1" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse4_1" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_sse4_1" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_sse4_1" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_sse4_1" = xyes; then :
-printf "%s\n" "#define HAVE_SSE4_1_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_SSE4_1_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -msse4.1"
fi
@@ -6878,24 +6410,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 sse4.2 instruction support" >&5
-printf %s "checking for x86 sse4.2 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_sse4_2+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 sse4.2 instruction support" >&5
+$as_echo_n "checking for x86 sse4.2 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_sse4_2+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("sse4.2"))
@@ -6906,10 +6436,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_sse4_2=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_sse4_2=no
fi
@@ -6919,18 +6448,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse4_2" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_sse4_2" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse4_2" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_sse4_2" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_sse4_2" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_sse4_2" = xyes; then :
-printf "%s\n" "#define HAVE_SSE4_2_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_SSE4_2_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -msse4.2"
fi
@@ -6945,24 +6473,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 sse4a instruction support" >&5
-printf %s "checking for x86 sse4a instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_sse4a+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 sse4a instruction support" >&5
+$as_echo_n "checking for x86 sse4a instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_sse4a+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("sse4a"))
@@ -6973,10 +6499,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_sse4a=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_sse4a=no
fi
@@ -6986,18 +6511,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse4a" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_sse4a" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_sse4a" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_sse4a" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_sse4a" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_sse4a" = xyes; then :
-printf "%s\n" "#define HAVE_SSE4A_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_SSE4A_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -msse4a"
fi
@@ -7012,24 +6536,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 avx instruction support" >&5
-printf %s "checking for x86 avx instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_avx+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 avx instruction support" >&5
+$as_echo_n "checking for x86 avx instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_avx+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("avx"))
@@ -7040,10 +6562,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_avx=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_avx=no
fi
@@ -7053,18 +6574,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_avx" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_avx" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_avx" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_avx" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_avx" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_avx" = xyes; then :
-printf "%s\n" "#define HAVE_AVX_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_AVX_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mavx"
fi
@@ -7079,24 +6599,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 avx2 instruction support" >&5
-printf %s "checking for x86 avx2 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_avx2+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 avx2 instruction support" >&5
+$as_echo_n "checking for x86 avx2 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_avx2+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("avx2"))
@@ -7107,10 +6625,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_avx2=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_avx2=no
fi
@@ -7120,18 +6637,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_avx2" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_avx2" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_avx2" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_avx2" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_avx2" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_avx2" = xyes; then :
-printf "%s\n" "#define HAVE_AVX2_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_AVX2_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mavx2"
fi
@@ -7146,24 +6662,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 avx512f instruction support" >&5
-printf %s "checking for x86 avx512f instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_avx512f+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 avx512f instruction support" >&5
+$as_echo_n "checking for x86 avx512f instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_avx512f+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("avx512f"))
@@ -7174,10 +6688,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_avx512f=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_avx512f=no
fi
@@ -7187,18 +6700,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_avx512f" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_avx512f" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_avx512f" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_avx512f" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_avx512f" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_avx512f" = xyes; then :
-printf "%s\n" "#define HAVE_AVX512F_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_AVX512F_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mavx512f"
fi
@@ -7213,24 +6725,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 fma instruction support" >&5
-printf %s "checking for x86 fma instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_fma+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 fma instruction support" >&5
+$as_echo_n "checking for x86 fma instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_fma+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("fma"))
@@ -7241,10 +6751,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_fma=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_fma=no
fi
@@ -7254,18 +6763,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_fma" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_fma" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_fma" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_fma" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_fma" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_fma" = xyes; then :
-printf "%s\n" "#define HAVE_FMA_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_FMA_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mfma"
fi
@@ -7280,24 +6788,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 fma4 instruction support" >&5
-printf %s "checking for x86 fma4 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_fma4+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 fma4 instruction support" >&5
+$as_echo_n "checking for x86 fma4 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_fma4+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("fma4"))
@@ -7308,10 +6814,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_fma4=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_fma4=no
fi
@@ -7321,18 +6826,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_fma4" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_fma4" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_fma4" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_fma4" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_fma4" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_fma4" = xyes; then :
-printf "%s\n" "#define HAVE_FMA4_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_FMA4_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mfma4"
fi
@@ -7347,24 +6851,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 bmi instruction support" >&5
-printf %s "checking for x86 bmi instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_bmi+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 bmi instruction support" >&5
+$as_echo_n "checking for x86 bmi instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_bmi+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("bmi"))
@@ -7375,10 +6877,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_bmi=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_bmi=no
fi
@@ -7388,18 +6889,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_bmi" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_bmi" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_bmi" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_bmi" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_bmi" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_bmi" = xyes; then :
-printf "%s\n" "#define HAVE_BMI_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_BMI_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mbmi"
fi
@@ -7414,24 +6914,22 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 bmi2 instruction support" >&5
-printf %s "checking for x86 bmi2 instruction support... " >&6; }
-if test ${ax_cv_gcc_x86_cpu_supports_bmi2+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 bmi2 instruction support" >&5
+$as_echo_n "checking for x86 bmi2 instruction support... " >&6; }
+if ${ax_cv_gcc_x86_cpu_supports_bmi2+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ 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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
int
-main (void)
+main ()
{
__builtin_cpu_init ();
if (__builtin_cpu_supports("bmi2"))
@@ -7442,10 +6940,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ax_cv_gcc_x86_cpu_supports_bmi2=yes
-else $as_nop
+else
ax_cv_gcc_x86_cpu_supports_bmi2=no
fi
@@ -7455,18 +6952,17 @@ fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_bmi2" >&5
-printf "%s\n" "$ax_cv_gcc_x86_cpu_supports_bmi2" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpu_supports_bmi2" >&5
+$as_echo "$ax_cv_gcc_x86_cpu_supports_bmi2" >&6; }
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
- if test "x$ax_cv_gcc_x86_cpu_supports_bmi2" = xyes
-then :
+ if test "x$ax_cv_gcc_x86_cpu_supports_bmi2" = xyes; then :
-printf "%s\n" "#define HAVE_BMI2_INSTRUCTIONS 1" >>confdefs.h
+$as_echo "#define HAVE_BMI2_INSTRUCTIONS 1" >>confdefs.h
X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -mbmi2"
fi
@@ -7485,13 +6981,12 @@ esac
-if test "$cross_compiling" = yes
-then :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+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 $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <new>
@@ -7503,9 +6998,8 @@ int main() {
return (a == nullptr?1:0);
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
- printf "%s\n" "#define HAVE_ALIGNED_NEW 1" >>confdefs.h
+if ac_fn_c_try_run "$LINENO"; then :
+ $as_echo "#define HAVE_ALIGNED_NEW 1" >>confdefs.h
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -7538,12 +7032,11 @@ ac_preset_ar="$AR"
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_AR+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test.
else
@@ -7551,15 +7044,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AR="${ac_tool_prefix}ar"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7570,11 +7059,11 @@ fi
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-printf "%s\n" "$AR" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -7583,12 +7072,11 @@ if test -z "$ac_cv_prog_AR"; then
ac_ct_AR=$AR
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_AR+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
@@ -7596,15 +7084,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_AR="ar"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7615,11 +7099,11 @@ fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-printf "%s\n" "$ac_ct_AR" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_AR" = x; then
@@ -7627,8 +7111,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
@@ -7640,12 +7124,11 @@ fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
set dummy ${ac_tool_prefix}ld; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_LD+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$LD"; then
ac_cv_prog_LD="$LD" # Let the user override the test.
else
@@ -7653,15 +7136,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_LD="${ac_tool_prefix}ld"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7672,11 +7151,11 @@ fi
fi
LD=$ac_cv_prog_LD
if test -n "$LD"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
-printf "%s\n" "$LD" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -7685,12 +7164,11 @@ if test -z "$ac_cv_prog_LD"; then
ac_ct_LD=$LD
# Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_LD+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_LD"; then
ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
else
@@ -7698,15 +7176,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_LD="ld"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7717,11 +7191,11 @@ fi
fi
ac_ct_LD=$ac_cv_prog_ac_ct_LD
if test -n "$ac_ct_LD"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
-printf "%s\n" "$ac_ct_LD" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
+$as_echo "$ac_ct_LD" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_LD" = x; then
@@ -7729,8 +7203,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
LD=$ac_ct_LD
@@ -7742,12 +7216,11 @@ fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
set dummy ${ac_tool_prefix}nm; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_NM+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$NM"; then
ac_cv_prog_NM="$NM" # Let the user override the test.
else
@@ -7755,15 +7228,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_NM="${ac_tool_prefix}nm"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7774,11 +7243,11 @@ fi
fi
NM=$ac_cv_prog_NM
if test -n "$NM"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
-printf "%s\n" "$NM" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
+$as_echo "$NM" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -7787,12 +7256,11 @@ if test -z "$ac_cv_prog_NM"; then
ac_ct_NM=$NM
# Extract the first word of "nm", so it can be a program name with args.
set dummy nm; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_NM+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_NM"; then
ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
else
@@ -7800,15 +7268,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_NM="nm"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7819,11 +7283,11 @@ fi
fi
ac_ct_NM=$ac_cv_prog_ac_ct_NM
if test -n "$ac_ct_NM"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
-printf "%s\n" "$ac_ct_NM" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
+$as_echo "$ac_ct_NM" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_NM" = x; then
@@ -7831,8 +7295,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
NM=$ac_ct_NM
@@ -7844,12 +7308,11 @@ fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
set dummy ${ac_tool_prefix}objcopy; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_OBJCOPY+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJCOPY+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$OBJCOPY"; then
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
else
@@ -7857,15 +7320,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7876,11 +7335,11 @@ fi
fi
OBJCOPY=$ac_cv_prog_OBJCOPY
if test -n "$OBJCOPY"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
-printf "%s\n" "$OBJCOPY" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
+$as_echo "$OBJCOPY" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -7889,12 +7348,11 @@ if test -z "$ac_cv_prog_OBJCOPY"; then
ac_ct_OBJCOPY=$OBJCOPY
# Extract the first word of "objcopy", so it can be a program name with args.
set dummy objcopy; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_OBJCOPY+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_OBJCOPY"; then
ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
else
@@ -7902,15 +7360,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_OBJCOPY="objcopy"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7921,11 +7375,11 @@ fi
fi
ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
if test -n "$ac_ct_OBJCOPY"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
-printf "%s\n" "$ac_ct_OBJCOPY" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
+$as_echo "$ac_ct_OBJCOPY" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_OBJCOPY" = x; then
@@ -7933,8 +7387,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
OBJCOPY=$ac_ct_OBJCOPY
@@ -7946,12 +7400,11 @@ fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_RANLIB+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
@@ -7959,15 +7412,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -7978,11 +7427,11 @@ fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-printf "%s\n" "$RANLIB" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -7991,12 +7440,11 @@ if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_RANLIB+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
@@ -8004,15 +7452,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -8023,11 +7467,11 @@ fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-printf "%s\n" "$ac_ct_RANLIB" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_RANLIB" = x; then
@@ -8035,8 +7479,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
RANLIB=$ac_ct_RANLIB
@@ -8048,12 +7492,11 @@ fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
set dummy ${ac_tool_prefix}readelf; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_READELF+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_READELF+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$READELF"; then
ac_cv_prog_READELF="$READELF" # Let the user override the test.
else
@@ -8061,15 +7504,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_READELF="${ac_tool_prefix}readelf"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -8080,11 +7519,11 @@ fi
fi
READELF=$ac_cv_prog_READELF
if test -n "$READELF"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
-printf "%s\n" "$READELF" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
+$as_echo "$READELF" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -8093,12 +7532,11 @@ if test -z "$ac_cv_prog_READELF"; then
ac_ct_READELF=$READELF
# Extract the first word of "readelf", so it can be a program name with args.
set dummy readelf; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_READELF+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_READELF+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_READELF"; then
ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
else
@@ -8106,15 +7544,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_READELF="readelf"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -8125,11 +7559,11 @@ fi
fi
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
if test -n "$ac_ct_READELF"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
-printf "%s\n" "$ac_ct_READELF" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
+$as_echo "$ac_ct_READELF" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_READELF" = x; then
@@ -8137,8 +7571,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
READELF=$ac_ct_READELF
@@ -8150,12 +7584,11 @@ fi
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.
set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_STRIP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
@@ -8163,15 +7596,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -8182,11 +7611,11 @@ fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-printf "%s\n" "$STRIP" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -8195,12 +7624,11 @@ if test -z "$ac_cv_prog_STRIP"; then
ac_ct_STRIP=$STRIP
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_ac_ct_STRIP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$ac_ct_STRIP"; then
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
@@ -8208,15 +7636,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_STRIP="strip"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -8227,11 +7651,11 @@ fi
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-printf "%s\n" "$ac_ct_STRIP" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
if test "x$ac_ct_STRIP" = x; then
@@ -8239,8 +7663,8 @@ fi
else
case $cross_compiling:$ac_tool_warned in
yes:)
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
STRIP=$ac_ct_STRIP
@@ -8265,43 +7689,39 @@ LIBS_LLVM=
# Check whether --enable-userlevel was given.
-if test ${enable_userlevel+y}
-then :
+if test "${enable_userlevel+set}" = set; then :
enableval=$enable_userlevel; :
-else $as_nop
+else
enable_userlevel=yes
fi
# Check whether --enable-user-multithread was given.
-if test ${enable_user_multithread+y}
-then :
+if test "${enable_user_multithread+set}" = set; then :
enableval=$enable_user_multithread; :
-else $as_nop
+else
enable_user_multithread=yes
fi
# Check whether --enable-fullpush-nonatomic was given.
-if test ${enable_fullpush_nonatomic+y}
-then :
+if test "${enable_fullpush_nonatomic+set}" = set; then :
enableval=$enable_fullpush_nonatomic; :
-else $as_nop
+else
enable_fullpush_nonatomic=yes
fi
if test "x$enable_fullpush_nonatomic" = "xyes"; then
- printf "%s\n" "#define HAVE_FULLPUSH_NONATOMIC 1" >>confdefs.h
+ $as_echo "#define HAVE_FULLPUSH_NONATOMIC 1" >>confdefs.h
fi
# Check whether --enable-batch was given.
-if test ${enable_batch+y}
-then :
+if test "${enable_batch+set}" = set; then :
enableval=$enable_batch; :
-else $as_nop
+else
enable_batch=$enable_userlevel
fi
@@ -8315,31 +7735,29 @@ if test "x$enable_batch" = "xyes"; then
=========================================" "$LINENO" 5
fi
- printf "%s\n" "#define HAVE_BATCH 1" >>confdefs.h
+ $as_echo "#define HAVE_BATCH 1" >>confdefs.h
HAVE_BATCH=yes
fi
# Check whether --enable-verbose-batch was given.
-if test ${enable_verbose_batch+y}
-then :
+if test "${enable_verbose_batch+set}" = set; then :
enableval=$enable_verbose_batch; :
-else $as_nop
+else
enable_verbose_batch=yes
fi
if test "x$enable_verbose_batch" = "xyes"; then
- printf "%s\n" "#define HAVE_VERBOSE_BATCH 1" >>confdefs.h
+ $as_echo "#define HAVE_VERBOSE_BATCH 1" >>confdefs.h
fi
# Check whether --enable-auto-batch was given.
-if test ${enable_auto_batch+y}
-then :
+if test "${enable_auto_batch+set}" = set; then :
enableval=$enable_auto_batch; :
-else $as_nop
+else
enable_auto_batch=no
fi
@@ -8349,15 +7767,15 @@ if test "x$enable_auto_batch" = "xno" ; then
:
elif test "x$enable_auto_batch" = "xyes" -o "x$enable_auto_batch" = "xport"; then
-printf "%s\n" "#define HAVE_AUTO_BATCH AUTO_BATCH_PORT" >>confdefs.h
+$as_echo "#define HAVE_AUTO_BATCH AUTO_BATCH_PORT" >>confdefs.h
elif test "x$enable_auto_batch" = "xlist"; then
-printf "%s\n" "#define HAVE_AUTO_BATCH AUTO_BATCH_LIST" >>confdefs.h
+$as_echo "#define HAVE_AUTO_BATCH AUTO_BATCH_LIST" >>confdefs.h
elif test "x$enable_auto_batch" = "xjump"; then
-printf "%s\n" "#define HAVE_AUTO_BATCH AUTO_BATCH_JUMP" >>confdefs.h
+$as_echo "#define HAVE_AUTO_BATCH AUTO_BATCH_JUMP" >>confdefs.h
else
as_fn_error $? "
@@ -8369,10 +7787,9 @@ else
fi
# Check whether --enable-netmap-pool was given.
-if test ${enable_netmap_pool+y}
-then :
+if test "${enable_netmap_pool+set}" = set; then :
enableval=$enable_netmap_pool; :
-else $as_nop
+else
enable_netmap_pool=no
fi
@@ -8382,12 +7799,11 @@ PTHREAD_LIBS=""
if test "x$enable_user_multithread" = xyes; then
SAVE_LIBS="$LIBS"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
-printf %s "checking for library containing pthread_create... " >&6; }
-if test ${ac_cv_search_pthread_create+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
+$as_echo_n "checking for library containing pthread_create... " >&6; }
+if ${ac_cv_search_pthread_create+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -8395,159 +7811,81 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 pthread_create ();
int
-main (void)
+main ()
{
return pthread_create ();
;
return 0;
}
_ACEOF
-for ac_lib in '' pthread
-do
+for ac_lib in '' pthread; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_pthread_create=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_pthread_create+y}
-then :
+ if ${ac_cv_search_pthread_create+:} false; then :
break
fi
done
-if test ${ac_cv_search_pthread_create+y}
-then :
+if ${ac_cv_search_pthread_create+:} false; then :
-else $as_nop
+else
ac_cv_search_pthread_create=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
-printf "%s\n" "$ac_cv_search_pthread_create" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
+$as_echo "$ac_cv_search_pthread_create" >&6; }
ac_res=$ac_cv_search_pthread_create
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_libpthread=yes
-else $as_nop
+else
ac_have_libpthread=no
fi
- for ac_header in pthread.h
+ for ac_header in pthread.h
do :
- ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
-if test "x$ac_cv_header_pthread_h" = xyes
-then :
- printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
+if test "x$ac_cv_header_pthread_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PTHREAD_H 1
+_ACEOF
ac_have_pthread_h=yes
-else $as_nop
+else
ac_have_pthread_h=no
fi
done
- if test "$ac_have_libpthread$ac_have_pthread_h" = yesyes; then
- printf "%s\n" "#define HAVE_USER_MULTITHREAD 1" >>confdefs.h
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
-printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
-if test ${ac_cv_c_undeclared_builtin_options+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_save_CFLAGS=$CFLAGS
- ac_cv_c_undeclared_builtin_options='cannot detect'
- for ac_arg in '' -fno-builtin; do
- CFLAGS="$ac_save_CFLAGS $ac_arg"
- # This test program should *not* compile successfully.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main (void)
-{
-(void) strchr;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
-
-else $as_nop
- # This test program should compile successfully.
- # No library function is consistently available on
- # freestanding implementations, so test against a dummy
- # declaration. Include always-available headers on the
- # off chance that they somehow elicit warnings.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <float.h>
-#include <limits.h>
-#include <stdarg.h>
-#include <stddef.h>
-extern void ac_decl (int, char *);
-
-int
-main (void)
-{
-(void) ac_decl (0, (char *) 0);
- (void) ac_decl;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- if test x"$ac_arg" = x
-then :
- ac_cv_c_undeclared_builtin_options='none needed'
-else $as_nop
- ac_cv_c_undeclared_builtin_options=$ac_arg
-fi
- break
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- done
- CFLAGS=$ac_save_CFLAGS
-
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
-printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
- case $ac_cv_c_undeclared_builtin_options in #(
- 'cannot detect') :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot make $CC report undeclared builtins
-See \`config.log' for more details" "$LINENO" 5; } ;; #(
- 'none needed') :
- ac_c_undeclared_builtin_options='' ;; #(
- *) :
- ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
-esac
+ if test "$ac_have_libpthread$ac_have_pthread_h" = yesyes; then
+ $as_echo "#define HAVE_USER_MULTITHREAD 1" >>confdefs.h
-ac_fn_check_decl "$LINENO" "pthread_setaffinity_np" "ac_cv_have_decl_pthread_setaffinity_np" "#define _GNU_SOURCE
+ ac_fn_c_check_decl "$LINENO" "pthread_setaffinity_np" "ac_cv_have_decl_pthread_setaffinity_np" "#define _GNU_SOURCE
#include <pthread.h>
-" "$ac_c_undeclared_builtin_options" "CFLAGS"
-if test "x$ac_cv_have_decl_pthread_setaffinity_np" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_pthread_setaffinity_np" = xyes; then :
ac_have_decl=1
-else $as_nop
+else
ac_have_decl=0
fi
-printf "%s\n" "#define HAVE_DECL_PTHREAD_SETAFFINITY_NP $ac_have_decl" >>confdefs.h
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_PTHREAD_SETAFFINITY_NP $ac_have_decl
+_ACEOF
if echo "$LIBS" | grep -e -lpthread >/dev/null 2>&1; then
PTHREAD_LIBS="-lpthread"
@@ -8568,12 +7906,11 @@ save_cpp="$CPPFLAGS"
save_libs="$LIBS"
CPPFLAGS="$CPPFLAGS -I/usr/local/include/mbglib/"
LIBS="$LIBS -lmbgdevio"
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing mbg_open_device" >&5
-printf %s "checking for library containing mbg_open_device... " >&6; }
-if test ${ac_cv_search_mbg_open_device+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mbg_open_device" >&5
+$as_echo_n "checking for library containing mbg_open_device... " >&6; }
+if ${ac_cv_search_mbg_open_device+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -8581,69 +7918,69 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 mbg_open_device ();
int
-main (void)
+main ()
{
return mbg_open_device ();
;
return 0;
}
_ACEOF
-for ac_lib in '' mbgdevio
-do
+for ac_lib in '' mbgdevio; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_mbg_open_device=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_mbg_open_device+y}
-then :
+ if ${ac_cv_search_mbg_open_device+:} false; then :
break
fi
done
-if test ${ac_cv_search_mbg_open_device+y}
-then :
+if ${ac_cv_search_mbg_open_device+:} false; then :
-else $as_nop
+else
ac_cv_search_mbg_open_device=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mbg_open_device" >&5
-printf "%s\n" "$ac_cv_search_mbg_open_device" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mbg_open_device" >&5
+$as_echo "$ac_cv_search_mbg_open_device" >&6; }
ac_res=$ac_cv_search_mbg_open_device
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_libmbdevio=yes
-else $as_nop
+else
ac_have_libmbdevio=no
fi
- for ac_header in mbgdevio.h
+for ac_header in mbgdevio.h
do :
- ac_fn_c_check_header_compile "$LINENO" "mbgdevio.h" "ac_cv_header_mbgdevio_h" "$ac_includes_default"
-if test "x$ac_cv_header_mbgdevio_h" = xyes
-then :
- printf "%s\n" "#define HAVE_MBGDEVIO_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "mbgdevio.h" "ac_cv_header_mbgdevio_h" "$ac_includes_default"
+if test "x$ac_cv_header_mbgdevio_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MBGDEVIO_H 1
+_ACEOF
ac_have_mbgdevio_h=yes
-else $as_nop
+else
ac_have_mbgdevio_h=no
fi
done
+
#if test "$ac_have_libpthread$ac_have_pthread_h" = yesyes; then
if test "$ac_have_mbgdevio_h" = yes; then
- printf "%s\n" "#define HAVE_MBGLIB 1" >>confdefs.h
+ $as_echo "#define HAVE_MBGLIB 1" >>confdefs.h
else
CPPFLAGS="$save_cpp"
@@ -8651,21 +7988,19 @@ else
fi
# Check whether --enable-bpf was given.
-if test ${enable_bpf+y}
-then :
+if test "${enable_bpf+set}" = set; then :
enableval=$enable_bpf; :
-else $as_nop
+else
enable_bpf=yes
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing bpf_prog_load_xattr" >&5
-printf %s "checking for library containing bpf_prog_load_xattr... " >&6; }
-if test ${ac_cv_search_bpf_prog_load_xattr+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bpf_prog_load_xattr" >&5
+$as_echo_n "checking for library containing bpf_prog_load_xattr... " >&6; }
+if ${ac_cv_search_bpf_prog_load_xattr+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -8673,68 +8008,68 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 bpf_prog_load_xattr ();
int
-main (void)
+main ()
{
return bpf_prog_load_xattr ();
;
return 0;
}
_ACEOF
-for ac_lib in '' bpf
-do
+for ac_lib in '' bpf; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_bpf_prog_load_xattr=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_bpf_prog_load_xattr+y}
-then :
+ if ${ac_cv_search_bpf_prog_load_xattr+:} false; then :
break
fi
done
-if test ${ac_cv_search_bpf_prog_load_xattr+y}
-then :
+if ${ac_cv_search_bpf_prog_load_xattr+:} false; then :
-else $as_nop
+else
ac_cv_search_bpf_prog_load_xattr=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bpf_prog_load_xattr" >&5
-printf "%s\n" "$ac_cv_search_bpf_prog_load_xattr" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bpf_prog_load_xattr" >&5
+$as_echo "$ac_cv_search_bpf_prog_load_xattr" >&6; }
ac_res=$ac_cv_search_bpf_prog_load_xattr
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_libbpf=yes
-else $as_nop
+else
ac_have_libbpf=no
fi
- for ac_header in bpf/bpf.h
+for ac_header in bpf/bpf.h
do :
- ac_fn_c_check_header_compile "$LINENO" "bpf/bpf.h" "ac_cv_header_bpf_bpf_h" "$ac_includes_default"
-if test "x$ac_cv_header_bpf_bpf_h" = xyes
-then :
- printf "%s\n" "#define HAVE_BPF_BPF_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "bpf/bpf.h" "ac_cv_header_bpf_bpf_h" "$ac_includes_default"
+if test "x$ac_cv_header_bpf_bpf_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_BPF_BPF_H 1
+_ACEOF
ac_have_libbpf_h=yes
-else $as_nop
+else
ac_have_libbpf_h=no
fi
done
+
if test "x$ac_have_libbpf$ac_have_libbpf_h$enable_bpf" = "xyesyesyes"; then
- printf "%s\n" "#define HAVE_BPF 1" >>confdefs.h
+ $as_echo "#define HAVE_BPF 1" >>confdefs.h
have_libbpf=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8743,22 +8078,21 @@ if test "x$ac_have_libbpf$ac_have_libbpf_h$enable_bpf" = "xyesyesyes"; then
enum bpf_stats_type test;
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_bpf_has_bpf_stats_type=yes
-else $as_nop
+else
ac_cv_bpf_has_bpf_stats_type=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "x$ac_cv_bpf_has_bpf_stats_type" = "xyes"; then
- printf "%s\n" "#define HAVE_BPF_STATS_TYPE 1" >>confdefs.h
+ $as_echo "#define HAVE_BPF_STATS_TYPE 1" >>confdefs.h
fi
else
@@ -8766,12 +8100,11 @@ else
enable_bpf=no
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing curl_global_init" >&5
-printf %s "checking for library containing curl_global_init... " >&6; }
-if test ${ac_cv_search_curl_global_init+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing curl_global_init" >&5
+$as_echo_n "checking for library containing curl_global_init... " >&6; }
+if ${ac_cv_search_curl_global_init+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -8779,77 +8112,76 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 curl_global_init ();
int
-main (void)
+main ()
{
return curl_global_init ();
;
return 0;
}
_ACEOF
-for ac_lib in '' curl
-do
+for ac_lib in '' curl; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_curl_global_init=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_curl_global_init+y}
-then :
+ if ${ac_cv_search_curl_global_init+:} false; then :
break
fi
done
-if test ${ac_cv_search_curl_global_init+y}
-then :
+if ${ac_cv_search_curl_global_init+:} false; then :
-else $as_nop
+else
ac_cv_search_curl_global_init=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_curl_global_init" >&5
-printf "%s\n" "$ac_cv_search_curl_global_init" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_curl_global_init" >&5
+$as_echo "$ac_cv_search_curl_global_init" >&6; }
ac_res=$ac_cv_search_curl_global_init
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_curl=yes
-else $as_nop
+else
ac_have_curl=no
fi
- for ac_header in curl/curl.h
+for ac_header in curl/curl.h
do :
- ac_fn_c_check_header_compile "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
-if test "x$ac_cv_header_curl_curl_h" = xyes
-then :
- printf "%s\n" "#define HAVE_CURL_CURL_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
+if test "x$ac_cv_header_curl_curl_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CURL_CURL_H 1
+_ACEOF
ac_have_curl_h=yes
-else $as_nop
+else
ac_have_curl_h=no
fi
done
+
if test "$ac_have_curl$ac_have_curl_h" = yesyes; then
- printf "%s\n" "#define HAVE_CURL 1" >>confdefs.h
+ $as_echo "#define HAVE_CURL 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing elf_version" >&5
-printf %s "checking for library containing elf_version... " >&6; }
-if test ${ac_cv_search_elf_version+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing elf_version" >&5
+$as_echo_n "checking for library containing elf_version... " >&6; }
+if ${ac_cv_search_elf_version+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -8857,61 +8189,58 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 elf_version ();
int
-main (void)
+main ()
{
return elf_version ();
;
return 0;
}
_ACEOF
-for ac_lib in '' elf
-do
+for ac_lib in '' elf; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_elf_version=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_elf_version+y}
-then :
+ if ${ac_cv_search_elf_version+:} false; then :
break
fi
done
-if test ${ac_cv_search_elf_version+y}
-then :
+if ${ac_cv_search_elf_version+:} false; then :
-else $as_nop
+else
ac_cv_search_elf_version=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_elf_version" >&5
-printf "%s\n" "$ac_cv_search_elf_version" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_elf_version" >&5
+$as_echo "$ac_cv_search_elf_version" >&6; }
ac_res=$ac_cv_search_elf_version
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_elf=yes
-else $as_nop
+else
ac_have_elf=no
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MHD_start_daemon" >&5
-printf %s "checking for library containing MHD_start_daemon... " >&6; }
-if test ${ac_cv_search_MHD_start_daemon+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MHD_start_daemon" >&5
+$as_echo_n "checking for library containing MHD_start_daemon... " >&6; }
+if ${ac_cv_search_MHD_start_daemon+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -8919,80 +8248,79 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 MHD_start_daemon ();
int
-main (void)
+main ()
{
return MHD_start_daemon ();
;
return 0;
}
_ACEOF
-for ac_lib in '' microhttpd
-do
+for ac_lib in '' microhttpd; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_MHD_start_daemon=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_MHD_start_daemon+y}
-then :
+ if ${ac_cv_search_MHD_start_daemon+:} false; then :
break
fi
done
-if test ${ac_cv_search_MHD_start_daemon+y}
-then :
+if ${ac_cv_search_MHD_start_daemon+:} false; then :
-else $as_nop
+else
ac_cv_search_MHD_start_daemon=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MHD_start_daemon" >&5
-printf "%s\n" "$ac_cv_search_MHD_start_daemon" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MHD_start_daemon" >&5
+$as_echo "$ac_cv_search_MHD_start_daemon" >&6; }
ac_res=$ac_cv_search_MHD_start_daemon
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_libmicrohttpd=yes
-else $as_nop
+else
ac_have_libmicrohttpd=no
fi
- for ac_header in microhttpd.h
+for ac_header in microhttpd.h
do :
- ac_fn_c_check_header_compile "$LINENO" "microhttpd.h" "ac_cv_header_microhttpd_h" "$ac_includes_default"
-if test "x$ac_cv_header_microhttpd_h" = xyes
-then :
- printf "%s\n" "#define HAVE_MICROHTTPD_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "microhttpd.h" "ac_cv_header_microhttpd_h" "$ac_includes_default"
+if test "x$ac_cv_header_microhttpd_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MICROHTTPD_H 1
+_ACEOF
ac_have_microhttpd_h=yes
-else $as_nop
+else
ac_have_microhttpd_h=no
fi
done
+
if test "x$ac_have_libmicrohttpd$ac_have_microhttpd_h" = "xyesyes"; then
have_httpd=yes
- printf "%s\n" "#define HAVE_MICROHTTPD 1" >>confdefs.h
+ $as_echo "#define HAVE_MICROHTTPD 1" >>confdefs.h
else
have_httpd=no
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lre2" >&5
-printf %s "checking for main in -lre2... " >&6; }
-if test ${ac_cv_lib_re2_main+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lre2" >&5
+$as_echo_n "checking for main in -lre2... " >&6; }
+if ${ac_cv_lib_re2_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lre2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9000,59 +8328,58 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
int
-main (void)
+main ()
{
return main ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_re2_main=yes
-else $as_nop
+else
ac_cv_lib_re2_main=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_re2_main" >&5
-printf "%s\n" "$ac_cv_lib_re2_main" >&6; }
-if test "x$ac_cv_lib_re2_main" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_re2_main" >&5
+$as_echo "$ac_cv_lib_re2_main" >&6; }
+if test "x$ac_cv_lib_re2_main" = xyes; then :
ac_have_re2=yes
-else $as_nop
+else
ac_have_re2=no
fi
- for ac_header in re2/re2.h
+for ac_header in re2/re2.h
do :
- ac_fn_c_check_header_compile "$LINENO" "re2/re2.h" "ac_cv_header_re2_re2_h" "$ac_includes_default"
-if test "x$ac_cv_header_re2_re2_h" = xyes
-then :
- printf "%s\n" "#define HAVE_RE2_RE2_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "re2/re2.h" "ac_cv_header_re2_re2_h" "$ac_includes_default"
+if test "x$ac_cv_header_re2_re2_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_RE2_RE2_H 1
+_ACEOF
ac_have_re2_h=yes
-else $as_nop
+else
ac_have_re2_h=no
fi
done
+
if test "x$ac_have_re2$ac_have_re2_h" = "xyesyes"; then
have_re2=yes
LIBS="$LIBS -lre2"
- printf "%s\n" "#define HAVE_RE2 1" >>confdefs.h
+ $as_echo "#define HAVE_RE2 1" >>confdefs.h
else
have_re2=no
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hs_compile_multi in -lhs" >&5
-printf %s "checking for hs_compile_multi in -lhs... " >&6; }
-if test ${ac_cv_lib_hs_hs_compile_multi+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hs_compile_multi in -lhs" >&5
+$as_echo_n "checking for hs_compile_multi in -lhs... " >&6; }
+if ${ac_cv_lib_hs_hs_compile_multi+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lhs $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9061,61 +8388,63 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 hs_compile_multi ();
int
-main (void)
+main ()
{
return hs_compile_multi ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_hs_hs_compile_multi=yes
-else $as_nop
+else
ac_cv_lib_hs_hs_compile_multi=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hs_hs_compile_multi" >&5
-printf "%s\n" "$ac_cv_lib_hs_hs_compile_multi" >&6; }
-if test "x$ac_cv_lib_hs_hs_compile_multi" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hs_hs_compile_multi" >&5
+$as_echo "$ac_cv_lib_hs_hs_compile_multi" >&6; }
+if test "x$ac_cv_lib_hs_hs_compile_multi" = xyes; then :
ac_have_hyperscan=yes
-else $as_nop
+else
ac_have_hyperscan=no
fi
- for ac_header in hs/hs.h
+for ac_header in hs/hs.h
do :
- ac_fn_c_check_header_compile "$LINENO" "hs/hs.h" "ac_cv_header_hs_hs_h" "$ac_includes_default"
-if test "x$ac_cv_header_hs_hs_h" = xyes
-then :
- printf "%s\n" "#define HAVE_HS_HS_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "hs/hs.h" "ac_cv_header_hs_hs_h" "$ac_includes_default"
+if test "x$ac_cv_header_hs_hs_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_HS_HS_H 1
+_ACEOF
ac_have_hyperscan_h=yes
-else $as_nop
+else
ac_have_hyperscan_h=no
fi
done
+
if test "x$ac_have_hyperscan$ac_have_hyperscan_h" = "xyesyes"; then
have_hyperscan=yes
LIBS="$LIBS -lhs"
- printf "%s\n" "#define HAVE_HYPERSCAN 1" >>confdefs.h
+ $as_echo "#define HAVE_HYPERSCAN 1" >>confdefs.h
else
have_hyperscan=no
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing PAPI_start_counters" >&5
-printf %s "checking for library containing PAPI_start_counters... " >&6; }
-if test ${ac_cv_search_PAPI_start_counters+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing PAPI_start_counters" >&5
+$as_echo_n "checking for library containing PAPI_start_counters... " >&6; }
+if ${ac_cv_search_PAPI_start_counters+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -9123,83 +8452,82 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 PAPI_start_counters ();
int
-main (void)
+main ()
{
return PAPI_start_counters ();
;
return 0;
}
_ACEOF
-for ac_lib in '' papi
-do
+for ac_lib in '' papi; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_PAPI_start_counters=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_PAPI_start_counters+y}
-then :
+ if ${ac_cv_search_PAPI_start_counters+:} false; then :
break
fi
done
-if test ${ac_cv_search_PAPI_start_counters+y}
-then :
+if ${ac_cv_search_PAPI_start_counters+:} false; then :
-else $as_nop
+else
ac_cv_search_PAPI_start_counters=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_PAPI_start_counters" >&5
-printf "%s\n" "$ac_cv_search_PAPI_start_counters" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_PAPI_start_counters" >&5
+$as_echo "$ac_cv_search_PAPI_start_counters" >&6; }
ac_res=$ac_cv_search_PAPI_start_counters
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_papi=yes
-else $as_nop
+else
ac_have_papi=no
fi
- for ac_header in papi.h
+for ac_header in papi.h
do :
- ac_fn_c_check_header_compile "$LINENO" "papi.h" "ac_cv_header_papi_h" "$ac_includes_default"
-if test "x$ac_cv_header_papi_h" = xyes
-then :
- printf "%s\n" "#define HAVE_PAPI_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "papi.h" "ac_cv_header_papi_h" "$ac_includes_default"
+if test "x$ac_cv_header_papi_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PAPI_H 1
+_ACEOF
ac_have_papi_h=yes
-else $as_nop
+else
ac_have_papi_h=no
fi
done
+
if test "x$ac_have_papi_h$ac_have_papi" = "xyesyes"; then
- printf "%s\n" "#define HAVE_PAPI 1" >>confdefs.h
+ $as_echo "#define HAVE_PAPI 1" >>confdefs.h
have_papi=yes
else
have_papi=no
fi
-printf "%s\n" "#define HAVE_JSON 1" >>confdefs.h
+$as_echo "#define HAVE_JSON 1" >>confdefs.h
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lpci" >&5
-printf %s "checking for main in -lpci... " >&6; }
-if test ${ac_cv_lib_pci_main+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpci" >&5
+$as_echo_n "checking for main in -lpci... " >&6; }
+if ${ac_cv_lib_pci_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpci $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9207,63 +8535,62 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
int
-main (void)
+main ()
{
return main ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pci_main=yes
-else $as_nop
+else
ac_cv_lib_pci_main=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pci_main" >&5
-printf "%s\n" "$ac_cv_lib_pci_main" >&6; }
-if test "x$ac_cv_lib_pci_main" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pci_main" >&5
+$as_echo "$ac_cv_lib_pci_main" >&6; }
+if test "x$ac_cv_lib_pci_main" = xyes; then :
ac_have_pci=yes
-else $as_nop
+else
ac_have_pci=no
fi
- for ac_header in pci/pci.h
+for ac_header in pci/pci.h
do :
- ac_fn_c_check_header_compile "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default"
-if test "x$ac_cv_header_pci_pci_h" = xyes
-then :
- printf "%s\n" "#define HAVE_PCI_PCI_H 1" >>confdefs.h
+ ac_fn_c_check_header_mongrel "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default"
+if test "x$ac_cv_header_pci_pci_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PCI_PCI_H 1
+_ACEOF
ac_have_pci_h=yes
-else $as_nop
+else
ac_have_pci_h=no
fi
done
+
if test "x$ac_have_pci$ac_have_pci_h" = "xyesyes"; then
have_pci=yes
LIBS="$LIBS -lpci"
- printf "%s\n" "#define HAVE_PCI 1" >>confdefs.h
+ $as_echo "#define HAVE_PCI 1" >>confdefs.h
else
have_pci=no
fi
# Check whether --enable-rand-align was given.
-if test ${enable_rand_align+y}
-then :
+if test "${enable_rand_align+set}" = set; then :
enableval=$enable_rand_align; :
-else $as_nop
+else
enable_rand_align=no
fi
if test "x$enable_rand_align" = "xyes"; then
- printf "%s\n" "#define HAVE_RAND_ALIGN 1" >>confdefs.h
+ $as_echo "#define HAVE_RAND_ALIGN 1" >>confdefs.h
DO_RAND_ALIGN=1
@@ -9273,26 +8600,23 @@ else
fi
# Check whether --enable-select was given.
-if test ${enable_select+y}
-then :
+if test "${enable_select+set}" = set; then :
enableval=$enable_select; :
-else $as_nop
+else
enable_select="select poll kqueue"
fi
# Check whether --enable-poll was given.
-if test ${enable_poll+y}
-then :
+if test "${enable_poll+set}" = set; then :
enableval=$enable_poll; :
-else $as_nop
+else
enable_poll=yes
fi
# Check whether --enable-kqueue was given.
-if test ${enable_kqueue+y}
-then :
+if test "${enable_kqueue+set}" = set; then :
enableval=$enable_kqueue; :
-else $as_nop
+else
enable_kqueue=yes
fi
@@ -9304,160 +8628,146 @@ elif test "$enable_select" = no; then
fi
if echo "$enable_select" | grep select >/dev/null 2>&1; then
-printf "%s\n" "#define HAVE_ALLOW_SELECT 1" >>confdefs.h
+$as_echo "#define HAVE_ALLOW_SELECT 1" >>confdefs.h
fi
if echo "$enable_select" | grep poll >/dev/null 2>&1 && test "$enable_poll" = yes; then
-printf "%s\n" "#define HAVE_ALLOW_POLL 1" >>confdefs.h
+$as_echo "#define HAVE_ALLOW_POLL 1" >>confdefs.h
fi
if echo "$enable_select" | grep kqueue >/dev/null 2>&1 && test "$enable_kqueue" = yes; then
-printf "%s\n" "#define HAVE_ALLOW_KQUEUE 1" >>confdefs.h
+$as_echo "#define HAVE_ALLOW_KQUEUE 1" >>confdefs.h
fi
# Check whether --enable-dpdk was given.
-if test ${enable_dpdk+y}
-then :
+if test "${enable_dpdk+set}" = set; then :
enableval=$enable_dpdk; :
-else $as_nop
+else
enable_dpdk=no
fi
# Check whether --enable-dpdk-pool was given.
-if test ${enable_dpdk_pool+y}
-then :
+if test "${enable_dpdk_pool+set}" = set; then :
enableval=$enable_dpdk_pool; :
-else $as_nop
+else
enable_dpdk_pool=no
fi
# Check whether --enable-dpdk-xchg was given.
-if test ${enable_dpdk_xchg+y}
-then :
+if test "${enable_dpdk_xchg+set}" = set; then :
enableval=$enable_dpdk_xchg; :
-else $as_nop
+else
enable_dpdk_xchg=no
fi
# Check whether --enable-dpdk-packet was given.
-if test ${enable_dpdk_packet+y}
-then :
+if test "${enable_dpdk_packet+set}" = set; then :
enableval=$enable_dpdk_packet; :
-else $as_nop
+else
enable_dpdk_packet=no
fi
# Check whether --enable-dpdk-softqueue was given.
-if test ${enable_dpdk_softqueue+y}
-then :
+if test "${enable_dpdk_softqueue+set}" = set; then :
enableval=$enable_dpdk_softqueue; :
-else $as_nop
- printf "%s\n" "#define HAVE_IQUEUE 1" >>confdefs.h
+else
+ $as_echo "#define HAVE_IQUEUE 1" >>confdefs.h
fi
# Check whether --enable-flow-api was given.
-if test ${enable_flow_api+y}
-then :
+if test "${enable_flow_api+set}" = set; then :
enableval=$enable_flow_api; :
-else $as_nop
+else
enable_flow_api=no
fi
# Check whether --enable-click-pool was given.
-if test ${enable_click_pool+y}
-then :
+if test "${enable_click_pool+set}" = set; then :
enableval=$enable_click_pool; :
-else $as_nop
- enable_click_pool=yes;printf "%s\n" "#define ALLOW_CLICK_PACKET_POOL 1" >>confdefs.h
+else
+ enable_click_pool=yes;$as_echo "#define ALLOW_CLICK_PACKET_POOL 1" >>confdefs.h
fi
# Check whether --enable-pool-inlining was given.
-if test ${enable_pool_inlining+y}
-then :
+if test "${enable_pool_inlining+set}" = set; then :
enableval=$enable_pool_inlining; :
-else $as_nop
- printf "%s\n" "#define POOL_INLINING 1" >>confdefs.h
+else
+ $as_echo "#define POOL_INLINING 1" >>confdefs.h
fi
# Check whether --enable-inlined-allanno was given.
-if test ${enable_inlined_allanno+y}
-then :
+if test "${enable_inlined_allanno+set}" = set; then :
enableval=$enable_inlined_allanno; :
-else $as_nop
+else
enable_inlined_allanno=no
fi
if test "x$enable_inlined_allanno" = "xyes"; then
- printf "%s\n" "#define INLINED_ALLANNO 1" >>confdefs.h
+ $as_echo "#define INLINED_ALLANNO 1" >>confdefs.h
fi
# Check whether --enable-zerocopy was given.
-if test ${enable_zerocopy+y}
-then :
+if test "${enable_zerocopy+set}" = set; then :
enableval=$enable_zerocopy; :
-else $as_nop
+else
enable_zerocopy=yes
fi
if test "x$enable_zerocopy" = xyes; then
- printf "%s\n" "#define HAVE_ZEROCOPY 1" >>confdefs.h
+ $as_echo "#define HAVE_ZEROCOPY 1" >>confdefs.h
fi
# Check whether --enable-clone was given.
-if test ${enable_clone+y}
-then :
- enableval=$enable_clone; printf "%s\n" "#define CLICK_NOINDIRECT 1" >>confdefs.h
+if test "${enable_clone+set}" = set; then :
+ enableval=$enable_clone; $as_echo "#define CLICK_NOINDIRECT 1" >>confdefs.h
-else $as_nop
+else
:
fi
# Check whether --enable-rsspp was given.
-if test ${enable_rsspp+y}
-then :
+if test "${enable_rsspp+set}" = set; then :
enableval=$enable_rsspp; :
-else $as_nop
+else
enable_rsspp=yes
fi
# Check whether --enable-linuxmodule was given.
-if test ${enable_linuxmodule+y}
-then :
+if test "${enable_linuxmodule+set}" = set; then :
enableval=$enable_linuxmodule; :
-else $as_nop
+else
enable_linuxmodule=no; enable_linuxmodule_default=no
fi
# Check whether --enable-fixincludes was given.
-if test ${enable_fixincludes+y}
-then :
+if test "${enable_fixincludes+set}" = set; then :
enableval=$enable_fixincludes; :
-else $as_nop
+else
enable_fixincludes=yes
fi
@@ -9468,18 +8778,21 @@ fi
# Check whether --enable-multithread was given.
-if test ${enable_multithread+y}
-then :
+if test "${enable_multithread+set}" = set; then :
enableval=$enable_multithread; :
-else $as_nop
+else
enable_multithread=no
fi
if test "$enable_multithread" != no -a "$enable_multithread" != 1; then
- printf "%s\n" "#define __MTCLICK__ 1" >>confdefs.h
+ cat >>confdefs.h <<_ACEOF
+#define __MTCLICK__ 1
+_ACEOF
- printf "%s\n" "#define HAVE_LINUXMODULE_MULTITHREAD 1" >>confdefs.h
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUXMODULE_MULTITHREAD 1
+_ACEOF
saveflags="$CPPFLAGS"
CPPFLAGS="$saveflags -D__MTCLICK__"
@@ -9488,52 +8801,48 @@ else
fi
# Check whether --enable-warp9 was given.
-if test ${enable_warp9+y}
-then :
+if test "${enable_warp9+set}" = set; then :
enableval=$enable_warp9; :
-else $as_nop
+else
enable_warp9=no
fi
if test "x$enable_warp9" = xyes; then
- printf "%s\n" "#define CLICK_WARP9 1" >>confdefs.h
+ $as_echo "#define CLICK_WARP9 1" >>confdefs.h
fi
-printf "%s\n" "#define HAVE_CLICKFS 1" >>confdefs.h
+$as_echo "#define HAVE_CLICKFS 1" >>confdefs.h
# Check whether --enable-kassert was given.
-if test ${enable_kassert+y}
-then :
+if test "${enable_kassert+set}" = set; then :
enableval=$enable_kassert; :
-else $as_nop
+else
enable_kassert=no
fi
if test $enable_kassert = yes; then
- printf "%s\n" "#define HAVE_KERNEL_ASSERT 1" >>confdefs.h
+ $as_echo "#define HAVE_KERNEL_ASSERT 1" >>confdefs.h
fi
# Check whether --enable-adaptive was given.
-if test ${enable_adaptive+y}
-then :
+if test "${enable_adaptive+set}" = set; then :
enableval=$enable_adaptive; :
-else $as_nop
+else
enable_adaptive=no
fi
if test "x$enable_adaptive" = xyes; then
- printf "%s\n" "#define HAVE_ADAPTIVE_SCHEDULER 1" >>confdefs.h
+ $as_echo "#define HAVE_ADAPTIVE_SCHEDULER 1" >>confdefs.h
fi
# Check whether --enable-linux-symbols was given.
-if test ${enable_linux_symbols+y}
-then :
+if test "${enable_linux_symbols+set}" = set; then :
enableval=$enable_linux_symbols; :
-else $as_nop
+else
enable_linux_symbols=yes
fi
@@ -9546,34 +8855,31 @@ fi
# Check whether --enable-bsdmodule was given.
-if test ${enable_bsdmodule+y}
-then :
+if test "${enable_bsdmodule+set}" = set; then :
enableval=$enable_bsdmodule; :
-else $as_nop
+else
enable_bsdmodule=no
fi
# Check whether --enable-netisr was given.
-if test ${enable_netisr+y}
-then :
+if test "${enable_netisr+set}" = set; then :
enableval=$enable_netisr; :
-else $as_nop
+else
enable_netisr=yes
fi
if test $enable_netisr = yes; then
- printf "%s\n" "#define BSD_NETISRSCHED 1" >>confdefs.h
+ $as_echo "#define BSD_NETISRSCHED 1" >>confdefs.h
fi
# Check whether --enable-nsclick was given.
-if test ${enable_nsclick+y}
-then :
+if test "${enable_nsclick+set}" = set; then :
enableval=$enable_nsclick; :
-else $as_nop
+else
enable_nsclick=no
fi
@@ -9581,47 +8887,42 @@ fi
# Check whether --enable-minios was given.
-if test ${enable_minios+y}
-then :
+if test "${enable_minios+set}" = set; then :
enableval=$enable_minios; :
-else $as_nop
+else
enable_minios=no
fi
# Check whether --with-xen was given.
-if test ${with_xen+y}
-then :
+if test "${with_xen+set}" = set; then :
withval=$with_xen; xenpath=$withval
-else $as_nop
+else
xenpath=NONE
fi
# Check whether --with-minios was given.
-if test ${with_minios+y}
-then :
+if test "${with_minios+set}" = set; then :
withval=$with_minios; miniospath=$withval
-else $as_nop
+else
miniospath=NONE
fi
# Check whether --with-newlib was given.
-if test ${with_newlib+y}
-then :
+if test "${with_newlib+set}" = set; then :
withval=$with_newlib; newlibpath=$withval
-else $as_nop
+else
newlibpath=NONE
fi
# Check whether --with-lwip was given.
-if test ${with_lwip+y}
-then :
+if test "${with_lwip+set}" = set; then :
withval=$with_lwip; lwippath=$withval
-else $as_nop
+else
lwippath=NONE
fi
@@ -9695,10 +8996,9 @@ fi
# Check whether --with-linux was given.
-if test ${with_linux+y}
-then :
+if test "${with_linux+set}" = set; then :
withval=$with_linux; linuxpath=$withval
-else $as_nop
+else
linuxpath=NONE
fi
@@ -9706,10 +9006,9 @@ test -z "$linuxpath" -o "$linuxpath" = yes && linuxpath=yes
# Check whether --with-linux-map was given.
-if test ${with_linux_map+y}
-then :
+if test "${with_linux_map+set}" = set; then :
withval=$with_linux_map; linux_system_map=$withval; if test -z "$withval" -o "$withval" = yes; then linux_system_map=NONE; fi
-else $as_nop
+else
linux_system_map=NONE
fi
@@ -9802,15 +9101,16 @@ fi
-printf "%s\n" "#define LINUX_SRCDIR \"${linux_srcdir}\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define LINUX_SRCDIR "${linux_srcdir}"
+_ACEOF
# Check whether --enable-all-elements was given.
-if test ${enable_all_elements+y}
-then :
+if test "${enable_all_elements+set}" = set; then :
enableval=$enable_all_elements;
fi
@@ -9820,10 +9120,9 @@ element_groups=""
# Check whether --enable-analysis was given.
-if test ${enable_analysis+y}
-then :
+if test "${enable_analysis+set}" = set; then :
enableval=$enable_analysis;
-else $as_nop
+else
enable_analysis=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_analysis" = xNO -o "x$enable_analysis" = x \) && enable_analysis=yes
@@ -9832,10 +9131,9 @@ if test "x$enable_analysis" = xyes; then
fi
# Check whether --enable-app was given.
-if test ${enable_app+y}
-then :
+if test "${enable_app+set}" = set; then :
enableval=$enable_app;
-else $as_nop
+else
enable_app=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_app" = xNO -o "x$enable_app" = x \) && enable_app=yes
@@ -9844,10 +9142,9 @@ if test "x$enable_app" = xyes; then
fi
# Check whether --enable-aqm was given.
-if test ${enable_aqm+y}
-then :
+if test "${enable_aqm+set}" = set; then :
enableval=$enable_aqm;
-else $as_nop
+else
enable_aqm=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_aqm" = xNO -o "x$enable_aqm" = x \) && enable_aqm=yes
@@ -9856,10 +9153,9 @@ if test "x$enable_aqm" = xyes; then
fi
# Check whether --enable-ethernet was given.
-if test ${enable_ethernet+y}
-then :
+if test "${enable_ethernet+set}" = set; then :
enableval=$enable_ethernet;
-else $as_nop
+else
enable_ethernet=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_ethernet" = xNO -o "x$enable_ethernet" = x \) && enable_ethernet=yes
@@ -9868,10 +9164,9 @@ if test "x$enable_ethernet" = xyes; then
fi
# Check whether --enable-etherswitch was given.
-if test ${enable_etherswitch+y}
-then :
+if test "${enable_etherswitch+set}" = set; then :
enableval=$enable_etherswitch;
-else $as_nop
+else
enable_etherswitch=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_etherswitch" = xNO -o "x$enable_etherswitch" = x \) && enable_etherswitch=yes
@@ -9880,10 +9175,9 @@ if test "x$enable_etherswitch" = xyes; then
fi
# Check whether --enable-flow was given.
-if test ${enable_flow+y}
-then :
+if test "${enable_flow+set}" = set; then :
enableval=$enable_flow;
-else $as_nop
+else
enable_flow=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_flow" = xNO -o "x$enable_flow" = x \) -a "x$enable_batch" = xyes && enable_flow=yes
@@ -9892,10 +9186,9 @@ if test "x$enable_flow" = xyes; then
enable_flow=yes
fi
# Check whether --enable-ctx was given.
-if test ${enable_ctx+y}
-then :
+if test "${enable_ctx+set}" = set; then :
enableval=$enable_ctx;
-else $as_nop
+else
enable_ctx=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_ctx" = xNO -o "x$enable_ctx" = x \) -a "x$enable_flow" = xyes && enable_ctx=yes
@@ -9904,10 +9197,9 @@ if test "x$enable_ctx" = xyes; then
enable_ctx=yes
fi
# Check whether --enable-grid was given.
-if test ${enable_grid+y}
-then :
+if test "${enable_grid+set}" = set; then :
enableval=$enable_grid;
-else $as_nop
+else
enable_grid=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_grid" = xNO -o "x$enable_grid" = x \) && enable_grid=yes
@@ -9916,10 +9208,9 @@ if test "x$enable_grid" = xyes; then
fi
# Check whether --enable-icmp was given.
-if test ${enable_icmp+y}
-then :
+if test "${enable_icmp+set}" = set; then :
enableval=$enable_icmp;
-else $as_nop
+else
enable_icmp=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_icmp" = xNO -o "x$enable_icmp" = x \) && enable_icmp=yes
@@ -9928,10 +9219,9 @@ if test "x$enable_icmp" = xyes; then
fi
# Check whether --enable-ip was given.
-if test ${enable_ip+y}
-then :
+if test "${enable_ip+set}" = set; then :
enableval=$enable_ip;
-else $as_nop
+else
enable_ip=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_ip" = xNO -o "x$enable_ip" = x \) && enable_ip=yes
@@ -9940,36 +9230,33 @@ if test "x$enable_ip" = xyes; then
fi
# Check whether --enable-ip6 was given.
-if test ${enable_ip6+y}
-then :
+if test "${enable_ip6+set}" = set; then :
enableval=$enable_ip6;
-else $as_nop
+else
enable_ip6=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_ip6" = xNO -o "x$enable_ip6" = x \) && enable_ip6=yes
if test "x$enable_ip6" = xyes; then
:
- printf "%s\n" "#define HAVE_IP6 1" >>confdefs.h
+ $as_echo "#define HAVE_IP6 1" >>confdefs.h
fi
# Check whether --enable-ipsec was given.
-if test ${enable_ipsec+y}
-then :
+if test "${enable_ipsec+set}" = set; then :
enableval=$enable_ipsec;
-else $as_nop
+else
enable_ipsec=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_ipsec" = xNO -o "x$enable_ipsec" = x \) && enable_ipsec=yes
if test "x$enable_ipsec" = xyes; then
:
- printf "%s\n" "#define HAVE_IPSEC 1" >>confdefs.h
+ $as_echo "#define HAVE_IPSEC 1" >>confdefs.h
fi
# Check whether --enable-local was given.
-if test ${enable_local+y}
-then :
+if test "${enable_local+set}" = set; then :
enableval=$enable_local;
-else $as_nop
+else
enable_local=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_local" = xNO -o "x$enable_local" = x \) && enable_local=yes
@@ -9978,10 +9265,9 @@ if test "x$enable_local" = xyes; then
fi
# Check whether --enable-radio was given.
-if test ${enable_radio+y}
-then :
+if test "${enable_radio+set}" = set; then :
enableval=$enable_radio;
-else $as_nop
+else
enable_radio=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_radio" = xNO -o "x$enable_radio" = x \) && enable_radio=yes
@@ -9990,10 +9276,9 @@ if test "x$enable_radio" = xyes; then
fi
# Check whether --enable-research was given.
-if test ${enable_research+y}
-then :
+if test "${enable_research+set}" = set; then :
enableval=$enable_research;
-else $as_nop
+else
enable_research=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_research" = xNO -o "x$enable_research" = x \) && enable_research=yes
@@ -10002,10 +9287,9 @@ if test "x$enable_research" = xyes; then
fi
# Check whether --enable-simple was given.
-if test ${enable_simple+y}
-then :
+if test "${enable_simple+set}" = set; then :
enableval=$enable_simple;
-else $as_nop
+else
enable_simple=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_simple" = xNO -o "x$enable_simple" = x \) && enable_simple=yes
@@ -10014,10 +9298,9 @@ if test "x$enable_simple" = xyes; then
fi
# Check whether --enable-standard was given.
-if test ${enable_standard+y}
-then :
+if test "${enable_standard+set}" = set; then :
enableval=$enable_standard;
-else $as_nop
+else
enable_standard=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_standard" = xNO -o "x$enable_standard" = x \) && enable_standard=yes
@@ -10026,10 +9309,9 @@ if test "x$enable_standard" = xyes; then
fi
# Check whether --enable-tcpudp was given.
-if test ${enable_tcpudp+y}
-then :
+if test "${enable_tcpudp+set}" = set; then :
enableval=$enable_tcpudp;
-else $as_nop
+else
enable_tcpudp=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_tcpudp" = xNO -o "x$enable_tcpudp" = x \) && enable_tcpudp=yes
@@ -10038,10 +9320,9 @@ if test "x$enable_tcpudp" = xyes; then
fi
# Check whether --enable-test was given.
-if test ${enable_test+y}
-then :
+if test "${enable_test+set}" = set; then :
enableval=$enable_test;
-else $as_nop
+else
enable_test=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_test" = xNO -o "x$enable_test" = x \) && enable_test=yes
@@ -10050,10 +9331,9 @@ if test "x$enable_test" = xyes; then
fi
# Check whether --enable-threads was given.
-if test ${enable_threads+y}
-then :
+if test "${enable_threads+set}" = set; then :
enableval=$enable_threads;
-else $as_nop
+else
enable_threads=yes
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_threads" = xNO -o "x$enable_threads" = x \) && enable_threads=yes
@@ -10062,10 +9342,9 @@ if test "x$enable_threads" = xyes; then
fi
# Check whether --enable-tunnel was given.
-if test ${enable_tunnel+y}
-then :
+if test "${enable_tunnel+set}" = set; then :
enableval=$enable_tunnel;
-else $as_nop
+else
enable_tunnel=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_tunnel" = xNO -o "x$enable_tunnel" = x \) && enable_tunnel=yes
@@ -10074,10 +9353,9 @@ if test "x$enable_tunnel" = xyes; then
fi
# Check whether --enable-wifi was given.
-if test ${enable_wifi+y}
-then :
+if test "${enable_wifi+set}" = set; then :
enableval=$enable_wifi;
-else $as_nop
+else
enable_wifi=NO
fi
test "x$enable_all_elements" = xyes -a \( "x$enable_wifi" = xNO -o "x$enable_wifi" = x \) && enable_wifi=yes
@@ -10086,18 +9364,16 @@ if test "x$enable_wifi" = xyes; then
fi
# Check whether --enable-experimental was given.
-if test ${enable_experimental+y}
-then :
+if test "${enable_experimental+set}" = set; then :
enableval=$enable_experimental; :
-else $as_nop
+else
enable_experimental=no
fi
# Check whether --enable-skip-elements was given.
-if test ${enable_skip_elements+y}
-then :
+if test "${enable_skip_elements+set}" = set; then :
enableval=$enable_skip_elements; :
-else $as_nop
+else
enable_skip_elements=no
fi
@@ -10121,10 +9397,9 @@ fi
# Check whether --with-freebsd was given.
-if test ${with_freebsd+y}
-then :
+if test "${with_freebsd+set}" = set; then :
withval=$with_freebsd; freebsddir=$withval; if test -z "$withval" -o "$withval" = yes; then freebsddir=/usr/src/sys,/usr/include; fi
-else $as_nop
+else
freebsddir=NONE
fi
@@ -10133,14 +9408,14 @@ if test "x$freebsddir" = xNONE; then
if test -d /usr/src/sys -a -d /usr/include; then
freebsddir=/usr/src/sys,/usr/include
elif test "x$enable_bsdmodule" = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
Can't find /usr/src/sys and/or /usr/include, so I'm not compiling
the bsdmodule driver. (You may need the --with-freebsd=DIR option.)
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
Can't find /usr/src/sys and/or /usr/include, so I'm not compiling
@@ -10179,22 +9454,23 @@ and $freebsd_includedir contain FreeBSD kernel source?
-printf "%s\n" "#define FREEBSD_INCLUDEDIR \"${freebsd_includedir}\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define FREEBSD_INCLUDEDIR "${freebsd_includedir}"
+_ACEOF
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are compiling for Linux" >&5
-printf %s "checking whether we are compiling for Linux... " >&6; }
-if test ${ac_cv_under_linux+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are compiling for Linux" >&5
+$as_echo_n "checking whether we are compiling for Linux... " >&6; }
+if ${ac_cv_under_linux+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
#ifndef __linux__
#error "fuckers! fuckers!"
@@ -10204,16 +9480,15 @@ return 0;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_under_linux=yes
-else $as_nop
+else
ac_cv_under_linux=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_under_linux" >&5
-printf "%s\n" "$ac_cv_under_linux" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_under_linux" >&5
+$as_echo "$ac_cv_under_linux" >&6; }
@@ -10224,11 +9499,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
-if test "x$ac_cv_func_strerror" = xyes
-then :
- printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
+if test "x$ac_cv_func_strerror" = xyes; then :
+ $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
-else $as_nop
+else
case " $LIBOBJS " in
*" strerror.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS strerror.$ac_objext"
@@ -10237,60 +9511,18 @@ esac
fi
-ac_fn_c_check_func "$LINENO" "random" "ac_cv_func_random"
-if test "x$ac_cv_func_random" = xyes
-then :
- printf "%s\n" "#define HAVE_RANDOM 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
-if test "x$ac_cv_func_snprintf" = xyes
-then :
- printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen"
-if test "x$ac_cv_func_strnlen" = xyes
-then :
- printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = xyes
-then :
- printf "%s\n" "#define HAVE_STRTOF 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = xyes
-then :
- printf "%s\n" "#define HAVE_STRTOLD 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "strtoul" "ac_cv_func_strtoul"
-if test "x$ac_cv_func_strtoul" = xyes
-then :
- printf "%s\n" "#define HAVE_STRTOUL 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "tcgetpgrp" "ac_cv_func_tcgetpgrp"
-if test "x$ac_cv_func_tcgetpgrp" = xyes
-then :
- printf "%s\n" "#define HAVE_TCGETPGRP 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
-if test "x$ac_cv_func_vsnprintf" = xyes
-then :
- printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h
-fi
-ac_fn_c_check_func "$LINENO" "aligned_alloc" "ac_cv_func_aligned_alloc"
-if test "x$ac_cv_func_aligned_alloc" = xyes
-then :
- printf "%s\n" "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
+for ac_func in random snprintf strnlen strtof strtold strtoul tcgetpgrp vsnprintf aligned_alloc
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
fi
+done
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -10302,24 +9534,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
# Check whether --enable-smaller-code was given.
-if test ${enable_smaller_code+y}
-then :
+if test "${enable_smaller_code+set}" = set; then :
enableval=$enable_smaller_code; :
-else $as_nop
+else
enable_smaller_code=no
fi
if test "x$enable_smaller_code" = xyes; then
-printf "%s\n" "#define CLICK_OPTIMIZE_SIZE 1" >>confdefs.h
+$as_echo "#define CLICK_OPTIMIZE_SIZE 1" >>confdefs.h
fi
# Check whether --enable-int64 was given.
-if test ${enable_int64+y}
-then :
+if test "${enable_int64+set}" = set; then :
enableval=$enable_int64; :
-else $as_nop
+else
enable_int64=yes
fi
@@ -10328,19 +9558,17 @@ fi
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
-printf %s "checking size of int... " >&6; }
-if test ${ac_cv_sizeof_int+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
+$as_echo_n "checking size of int... " >&6; }
+if ${ac_cv_sizeof_int+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_int" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (int)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -10349,31 +9577,31 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
-printf "%s\n" "$ac_cv_sizeof_int" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
+$as_echo "$ac_cv_sizeof_int" >&6; }
-printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_INT $ac_cv_sizeof_int
+_ACEOF
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
-printf %s "checking size of long... " >&6; }
-if test ${ac_cv_sizeof_long+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
+$as_echo_n "checking size of long... " >&6; }
+if ${ac_cv_sizeof_long+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_long" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (long)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -10382,31 +9610,31 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
-printf "%s\n" "$ac_cv_sizeof_long" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
+$as_echo "$ac_cv_sizeof_long" >&6; }
-printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_LONG $ac_cv_sizeof_long
+_ACEOF
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
-printf %s "checking size of size_t... " >&6; }
-if test ${ac_cv_sizeof_size_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
+$as_echo_n "checking size of size_t... " >&6; }
+if ${ac_cv_sizeof_size_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_size_t" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (size_t)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -10415,31 +9643,31 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
-printf "%s\n" "$ac_cv_sizeof_size_t" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
+$as_echo "$ac_cv_sizeof_size_t" >&6; }
-printf "%s\n" "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
+_ACEOF
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
-printf %s "checking size of ptrdiff_t... " >&6; }
-if test ${ac_cv_sizeof_ptrdiff_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
+$as_echo_n "checking size of ptrdiff_t... " >&6; }
+if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_ptrdiff_t" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -10448,31 +9676,31 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
-printf "%s\n" "$ac_cv_sizeof_ptrdiff_t" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
+$as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
-printf "%s\n" "#define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
+_ACEOF
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
-printf %s "checking size of void *... " >&6; }
-if test ${ac_cv_sizeof_void_p+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
+$as_echo_n "checking size of void *... " >&6; }
+if ${ac_cv_sizeof_void_p+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_void_p" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (void *)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -10481,169 +9709,32 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
-printf "%s\n" "$ac_cv_sizeof_void_p" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
+$as_echo "$ac_cv_sizeof_void_p" >&6; }
-printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
+_ACEOF
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-printf %s "checking for grep that handles long lines and -e... " >&6; }
-if test ${ac_cv_path_GREP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test -z "$GREP"; then
- ac_path_GREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- for ac_prog in grep ggrep
- do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
- # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
- ac_count=0
- printf %s 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- printf "%s\n" 'GREP' >> "conftest.nl"
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_GREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_GREP="$ac_path_GREP"
- ac_path_GREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
- $ac_path_GREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_GREP"; then
- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_GREP=$GREP
-fi
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-printf "%s\n" "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-printf %s "checking for egrep... " >&6; }
-if test ${ac_cv_path_EGREP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
- then ac_cv_path_EGREP="$GREP -E"
- else
- if test -z "$EGREP"; then
- ac_path_EGREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- for ac_prog in egrep
- do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
- # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
- ac_count=0
- printf %s 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- printf "%s\n" 'EGREP' >> "conftest.nl"
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_EGREP="$ac_path_EGREP"
- ac_path_EGREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
- $ac_path_EGREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_EGREP"; then
- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
+$as_echo_n "checking whether char is unsigned... " >&6; }
+if ${ac_cv_c_char_unsigned+:} false; then :
+ $as_echo_n "(cached) " >&6
else
- ac_cv_path_EGREP=$EGREP
-fi
-
- fi
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-printf "%s\n" "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
-printf %s "checking whether char is unsigned... " >&6; }
-if test ${ac_cv_c_char_unsigned+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
-main (void)
+main ()
{
static int test_array [1 - 2 * !(((char) -1) < 0)];
test_array [0] = 0;
@@ -10653,77 +9744,72 @@ return test_array [0];
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_c_char_unsigned=no
-else $as_nop
+else
ac_cv_c_char_unsigned=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
-printf "%s\n" "$ac_cv_c_char_unsigned" >&6; }
-if test $ac_cv_c_char_unsigned = yes; then
- printf "%s\n" "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
+$as_echo "$ac_cv_c_char_unsigned" >&6; }
+if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
+ $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
fi
if test x$ac_cv_header_inttypes_h = xno; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uintXX_t typedefs" >&5
-printf %s "checking for uintXX_t typedefs... " >&6; }
-if test ${ac_cv_uint_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t typedefs" >&5
+$as_echo_n "checking for uintXX_t typedefs... " >&6; }
+if ${ac_cv_uint_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1
-then :
+ $EGREP "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
ac_cv_uint_t=yes
-else $as_nop
+else
ac_cv_uint_t=no
fi
-rm -rf conftest*
+rm -f conftest*
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_uint_t" >&5
-printf "%s\n" "$ac_cv_uint_t" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_uint_t" >&5
+$as_echo "$ac_cv_uint_t" >&6; }
fi
if test x$ac_cv_header_inttypes_h = xno -a "$ac_cv_uint_t" = no; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for u_intXX_t typedefs" >&5
-printf %s "checking for u_intXX_t typedefs... " >&6; }
-if test ${ac_cv_u_int_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_intXX_t typedefs" >&5
+$as_echo_n "checking for u_intXX_t typedefs... " >&6; }
+if ${ac_cv_u_int_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1
-then :
+ $EGREP "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
ac_cv_u_int_t=yes
-else $as_nop
+else
ac_cv_u_int_t=no
fi
-rm -rf conftest*
+rm -f conftest*
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_u_int_t" >&5
-printf "%s\n" "$ac_cv_u_int_t" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_u_int_t" >&5
+$as_echo "$ac_cv_u_int_t" >&6; }
fi
if test x$ac_cv_header_inttypes_h = xyes -o "$ac_cv_uint_t" = yes; then :
elif test "$ac_cv_u_int_t" = yes; then
-printf "%s\n" "#define HAVE_U_INT_TYPES 1" >>confdefs.h
+$as_echo "#define HAVE_U_INT_TYPES 1" >>confdefs.h
else
as_fn_error $? "
@@ -10735,18 +9821,16 @@ Neither uint32_t nor u_int32_t defined by <inttypes.h> or <sys/types.h>!
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether machine is indifferent to alignment" >&5
-printf %s "checking whether machine is indifferent to alignment... " >&6; }
-if test ${ac_cv_alignment_indifferent+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether machine is indifferent to alignment" >&5
+$as_echo_n "checking whether machine is indifferent to alignment... " >&6; }
+if ${ac_cv_alignment_indifferent+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test "x$ac_cv_header_inttypes_h" = xyes; then inttypes_hdr='inttypes.h'; else inttypes_hdr='sys/types.h'; fi
- if test "$cross_compiling" = yes
-then :
+ if test "$cross_compiling" = yes; then :
ac_cv_alignment_indifferent=no
-else $as_nop
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <$inttypes_hdr>
@@ -10770,10 +9854,9 @@ int main(int argc, char *argv[]) {
exit(0);
}
_ACEOF
-if ac_fn_cxx_try_run "$LINENO"
-then :
+if ac_fn_cxx_try_run "$LINENO"; then :
ac_cv_alignment_indifferent=yes
-else $as_nop
+else
ac_cv_alignment_indifferent=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -10781,11 +9864,11 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignment_indifferent" >&5
-printf "%s\n" "$ac_cv_alignment_indifferent" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignment_indifferent" >&5
+$as_echo "$ac_cv_alignment_indifferent" >&6; }
if test "x$ac_cv_alignment_indifferent" = xyes; then
-printf "%s\n" "#define HAVE_INDIFFERENT_ALIGNMENT 1" >>confdefs.h
+$as_echo "#define HAVE_INDIFFERENT_ALIGNMENT 1" >>confdefs.h
fi
if test "x$enable_int64" = xyes; then
@@ -10793,19 +9876,17 @@ if test "x$enable_int64" = xyes; then
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
-printf %s "checking size of long long... " >&6; }
-if test ${ac_cv_sizeof_long_long+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
+$as_echo_n "checking size of long long... " >&6; }
+if ${ac_cv_sizeof_long_long+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_long_long" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (long long)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -10814,12 +9895,14 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
-printf "%s\n" "$ac_cv_sizeof_long_long" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
+$as_echo "$ac_cv_sizeof_long_long" >&6; }
-printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
+_ACEOF
@@ -10831,35 +9914,38 @@ printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h
fi
ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
-if test "x$ac_cv_type_long_long" = xyes
-then :
+if test "x$ac_cv_type_long_long" = xyes; then :
-printf "%s\n" "#define HAVE_LONG_LONG 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_LONG_LONG 1
+_ACEOF
fi
ac_fn_cxx_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "#include <$inttypes_hdr>
"
-if test "x$ac_cv_type_int64_t" = xyes
-then :
+if test "x$ac_cv_type_int64_t" = xyes; then :
-printf "%s\n" "#define HAVE_INT64_T 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_INT64_T 1
+_ACEOF
ac_cv_int64_t=yes
-else $as_nop
+else
ac_cv_int64_t=no
fi
ac_fn_cxx_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <$inttypes_hdr>
"
-if test "x$ac_cv_type_uint64_t" = xyes
-then :
+if test "x$ac_cv_type_uint64_t" = xyes; then :
-printf "%s\n" "#define HAVE_UINT64_T 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UINT64_T 1
+_ACEOF
ac_cv_uint64_t=yes
-else $as_nop
+else
ac_cv_uint64_t=no
fi
@@ -10875,16 +9961,15 @@ Compile with '--disable-int64'.
=========================================" "$LINENO" 5
else
-printf "%s\n" "#define HAVE_INT64_TYPES 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_TYPES 1" >>confdefs.h
have_int64_types=yes
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long and int64_t are the same type" >&5
-printf %s "checking whether long and int64_t are the same type... " >&6; }
-if test ${ac_cv_long_64+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long and int64_t are the same type" >&5
+$as_echo_n "checking whether long and int64_t are the same type... " >&6; }
+if ${ac_cv_long_64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -10899,35 +9984,33 @@ void f1(long) {
void f1(int64_t) { // will fail if long and int64_t are the same type
}
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_long_64=no
-else $as_nop
+else
ac_cv_long_64=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_64" >&5
-printf "%s\n" "$ac_cv_long_64" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_64" >&5
+$as_echo "$ac_cv_long_64" >&6; }
if test $ac_cv_long_64 = yes; then
-printf "%s\n" "#define HAVE_INT64_IS_LONG_USERLEVEL 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_IS_LONG_USERLEVEL 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long long and int64_t are the same type" >&5
-printf %s "checking whether long long and int64_t are the same type... " >&6; }
-if test ${ac_cv_long_long_64+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long long and int64_t are the same type" >&5
+$as_echo_n "checking whether long long and int64_t are the same type... " >&6; }
+if ${ac_cv_long_long_64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -10942,55 +10025,42 @@ void f1(long long) {
void f1(int64_t) { // will fail if long long and int64_t are the same type
}
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_long_long_64=no
-else $as_nop
+else
ac_cv_long_long_64=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_long_64" >&5
-printf "%s\n" "$ac_cv_long_long_64" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_long_64" >&5
+$as_echo "$ac_cv_long_long_64" >&6; }
if test $ac_cv_long_long_64 = yes; then
-printf "%s\n" "#define HAVE_INT64_IS_LONG_LONG_USERLEVEL 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_IS_LONG_LONG_USERLEVEL 1" >>confdefs.h
fi
fi
fi
-ac_header= ac_cache=
-for ac_item in $ac_header_cxx_list
-do
- if test $ac_cache; then
- ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
- if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
- printf "%s\n" "#define $ac_item 1" >> confdefs.h
- fi
- ac_header= ac_cache=
- elif test $ac_header; then
- ac_cache=$ac_item
- else
- ac_header=$ac_item
- fi
-done
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
-printf %s "checking whether byte ordering is bigendian... " >&6; }
-if test ${ac_cv_c_bigendian+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
+if ${ac_cv_c_bigendian+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_cv_c_bigendian=unknown
# See if we're dealing with a universal compiler.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11001,8 +10071,7 @@ else $as_nop
typedef int dummy;
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
# Check for potential -arch flags. It is not universal unless
# there are at least two -arch flags with different values.
@@ -11026,7 +10095,7 @@ then :
fi
done
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test $ac_cv_c_bigendian = unknown; then
# See if sys/param.h defines the BYTE_ORDER macro.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11035,7 +10104,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
#include <sys/param.h>
int
-main (void)
+main ()
{
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
@@ -11047,8 +10116,7 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
# It does; now see whether it defined to BIG_ENDIAN or not.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -11056,7 +10124,7 @@ then :
#include <sys/param.h>
int
-main (void)
+main ()
{
#if BYTE_ORDER != BIG_ENDIAN
not big endian
@@ -11066,15 +10134,14 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_c_bigendian=yes
-else $as_nop
+else
ac_cv_c_bigendian=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
if test $ac_cv_c_bigendian = unknown; then
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
@@ -11083,7 +10150,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
#include <limits.h>
int
-main (void)
+main ()
{
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
bogus endian macros
@@ -11093,15 +10160,14 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
# It does; now see whether it defined to _BIG_ENDIAN or not.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
int
-main (void)
+main ()
{
#ifndef _BIG_ENDIAN
not big endian
@@ -11111,33 +10177,31 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_c_bigendian=yes
-else $as_nop
+else
ac_cv_c_bigendian=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
if test $ac_cv_c_bigendian = unknown; then
# Compile a test program.
- if test "$cross_compiling" = yes
-then :
+ if test "$cross_compiling" = yes; then :
# Try to guess by grepping values from an object file.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-unsigned short int ascii_mm[] =
+short int ascii_mm[] =
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
- unsigned short int ascii_ii[] =
+ short int ascii_ii[] =
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
int use_ascii (int i) {
return ascii_mm[i] + ascii_ii[i];
}
- unsigned short int ebcdic_ii[] =
+ short int ebcdic_ii[] =
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
- unsigned short int ebcdic_mm[] =
+ short int ebcdic_mm[] =
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
int use_ebcdic (int i) {
return ebcdic_mm[i] + ebcdic_ii[i];
@@ -11145,15 +10209,14 @@ unsigned short int ascii_mm[] =
extern int foo;
int
-main (void)
+main ()
{
return use_ascii (foo) == use_ebcdic (foo);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
ac_cv_c_bigendian=yes
fi
@@ -11166,13 +10229,13 @@ then :
fi
fi
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-else $as_nop
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
-main (void)
+main ()
{
/* Are we little or big endian? From Harbison&Steele. */
@@ -11188,10 +10251,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_cxx_try_run "$LINENO"
-then :
+if ac_fn_cxx_try_run "$LINENO"; then :
ac_cv_c_bigendian=no
-else $as_nop
+else
ac_cv_c_bigendian=yes
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -11200,8 +10262,8 @@ fi
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
-printf "%s\n" "$ac_cv_c_bigendian" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
+$as_echo "$ac_cv_c_bigendian" >&6; }
case $ac_cv_c_bigendian in #(
yes)
endian=CLICK_BIG_ENDIAN;; #(
@@ -11215,40 +10277,40 @@ printf "%s\n" "$ac_cv_c_bigendian" >&6; }
esac
-printf "%s\n" "#define CLICK_BYTE_ORDER $endian" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define CLICK_BYTE_ORDER $endian
+_ACEOF
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether signed right shift is arithmetic" >&5
-printf %s "checking whether signed right shift is arithmetic... " >&6; }
-if test ${ac_cv_arithmetic_right_shift+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether signed right shift is arithmetic" >&5
+$as_echo_n "checking whether signed right shift is arithmetic... " >&6; }
+if ${ac_cv_arithmetic_right_shift+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int f(int x[((int) -1) >> 15]) { return x[0]; }
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_arithmetic_right_shift=no
-else $as_nop
+else
ac_cv_arithmetic_right_shift=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_arithmetic_right_shift" >&5
-printf "%s\n" "$ac_cv_arithmetic_right_shift" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_arithmetic_right_shift" >&5
+$as_echo "$ac_cv_arithmetic_right_shift" >&6; }
if test $ac_cv_arithmetic_right_shift = yes; then
-printf "%s\n" "#define HAVE_ARITHMETIC_RIGHT_SHIFT 1" >>confdefs.h
+$as_echo "#define HAVE_ARITHMETIC_RIGHT_SHIFT 1" >>confdefs.h
fi
@@ -11258,12 +10320,11 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for addressable va_list type" >&5
-printf %s "checking for addressable va_list type... " >&6; }
-if test ${ac_cv_va_list_addr+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addressable va_list type" >&5
+$as_echo_n "checking for addressable va_list type... " >&6; }
+if ${ac_cv_va_list_addr+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
@@ -11279,439 +10340,409 @@ void h(int a, ...) {
va_end(val);
}
int
-main (void)
+main ()
{
h(2, 3, 4);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_va_list_addr=yes
-else $as_nop
+else
ac_cv_va_list_addr=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_va_list_addr" >&5
-printf "%s\n" "$ac_cv_va_list_addr" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_va_list_addr" >&5
+$as_echo "$ac_cv_va_list_addr" >&6; }
if test "x$ac_cv_va_list_addr" = xyes; then
-printf "%s\n" "#define HAVE_ADDRESSABLE_VA_LIST 1" >>confdefs.h
+$as_echo "#define HAVE_ADDRESSABLE_VA_LIST 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctz" >&5
-printf %s "checking for __builtin_ctz... " >&6; }
-if test ${ac_cv_have___builtin_ctz+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctz" >&5
+$as_echo_n "checking for __builtin_ctz... " >&6; }
+if ${ac_cv_have___builtin_ctz+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile int x = 11;
int
-main (void)
+main ()
{
int y = __builtin_ctz(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_ctz=yes
-else $as_nop
+else
ac_cv_have___builtin_ctz=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ctz" >&5
-printf "%s\n" "$ac_cv_have___builtin_ctz" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ctz" >&5
+$as_echo "$ac_cv_have___builtin_ctz" >&6; }
if test $ac_cv_have___builtin_ctz = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_CTZ 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_CTZ 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
-printf %s "checking for __builtin_clz... " >&6; }
-if test ${ac_cv_have___builtin_clz+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
+$as_echo_n "checking for __builtin_clz... " >&6; }
+if ${ac_cv_have___builtin_clz+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile int x = 11;
int
-main (void)
+main ()
{
int y = __builtin_clz(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_clz=yes
-else $as_nop
+else
ac_cv_have___builtin_clz=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
-printf "%s\n" "$ac_cv_have___builtin_clz" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
+$as_echo "$ac_cv_have___builtin_clz" >&6; }
if test $ac_cv_have___builtin_clz = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzl" >&5
-printf %s "checking for __builtin_clzl... " >&6; }
-if test ${ac_cv_have___builtin_clzl+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzl" >&5
+$as_echo_n "checking for __builtin_clzl... " >&6; }
+if ${ac_cv_have___builtin_clzl+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile long x = 11;
int
-main (void)
+main ()
{
int y = __builtin_clzl(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_clzl=yes
-else $as_nop
+else
ac_cv_have___builtin_clzl=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clzl" >&5
-printf "%s\n" "$ac_cv_have___builtin_clzl" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clzl" >&5
+$as_echo "$ac_cv_have___builtin_clzl" >&6; }
if test $ac_cv_have___builtin_clzl = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_CLZL 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_CLZL 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzll" >&5
-printf %s "checking for __builtin_clzll... " >&6; }
-if test ${ac_cv_have___builtin_clzll+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzll" >&5
+$as_echo_n "checking for __builtin_clzll... " >&6; }
+if ${ac_cv_have___builtin_clzll+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile long long x = 11;
int
-main (void)
+main ()
{
int y = __builtin_clzll(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_clzll=yes
-else $as_nop
+else
ac_cv_have___builtin_clzll=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clzll" >&5
-printf "%s\n" "$ac_cv_have___builtin_clzll" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clzll" >&5
+$as_echo "$ac_cv_have___builtin_clzll" >&6; }
if test $ac_cv_have___builtin_clzll = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_CLZLL 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_CLZLL 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ffs" >&5
-printf %s "checking for __builtin_ffs... " >&6; }
-if test ${ac_cv_have___builtin_ffs+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ffs" >&5
+$as_echo_n "checking for __builtin_ffs... " >&6; }
+if ${ac_cv_have___builtin_ffs+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile int x = 11;
int
-main (void)
+main ()
{
int y = __builtin_ffs(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_ffs=yes
-else $as_nop
+else
ac_cv_have___builtin_ffs=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ffs" >&5
-printf "%s\n" "$ac_cv_have___builtin_ffs" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ffs" >&5
+$as_echo "$ac_cv_have___builtin_ffs" >&6; }
if test $ac_cv_have___builtin_ffs = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_FFS 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_FFS 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ffsl" >&5
-printf %s "checking for __builtin_ffsl... " >&6; }
-if test ${ac_cv_have___builtin_ffsl+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ffsl" >&5
+$as_echo_n "checking for __builtin_ffsl... " >&6; }
+if ${ac_cv_have___builtin_ffsl+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile long x = 11;
int
-main (void)
+main ()
{
int y = __builtin_ffsl(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_ffsl=yes
-else $as_nop
+else
ac_cv_have___builtin_ffsl=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ffsl" >&5
-printf "%s\n" "$ac_cv_have___builtin_ffsl" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ffsl" >&5
+$as_echo "$ac_cv_have___builtin_ffsl" >&6; }
if test $ac_cv_have___builtin_ffsl = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_FFSL 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_FFSL 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_ffsll" >&5
-printf %s "checking for __builtin_ffsll... " >&6; }
-if test ${ac_cv_have___builtin_ffsll+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ffsll" >&5
+$as_echo_n "checking for __builtin_ffsll... " >&6; }
+if ${ac_cv_have___builtin_ffsll+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile long long x = 11;
int
-main (void)
+main ()
{
int y = __builtin_ffsll(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_ffsll=yes
-else $as_nop
+else
ac_cv_have___builtin_ffsll=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ffsll" >&5
-printf "%s\n" "$ac_cv_have___builtin_ffsll" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ffsll" >&5
+$as_echo "$ac_cv_have___builtin_ffsll" >&6; }
if test $ac_cv_have___builtin_ffsll = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_FFSLL 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_FFSLL 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
-printf %s "checking for __builtin_popcount... " >&6; }
-if test ${ac_cv_have___builtin_popcount+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
+$as_echo_n "checking for __builtin_popcount... " >&6; }
+if ${ac_cv_have___builtin_popcount+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
volatile int x = 11;
int
-main (void)
+main ()
{
int y = __builtin_popcount(x);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___builtin_popcount=yes
-else $as_nop
+else
ac_cv_have___builtin_popcount=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
-printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
+$as_echo "$ac_cv_have___builtin_popcount" >&6; }
if test $ac_cv_have___builtin_popcount = yes; then
-printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
+$as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __sync_synchronize" >&5
-printf %s "checking for __sync_synchronize... " >&6; }
-if test ${ac_cv_have___sync_synchronize+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_synchronize" >&5
+$as_echo_n "checking for __sync_synchronize... " >&6; }
+if ${ac_cv_have___sync_synchronize+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
long x = 11;
int
-main (void)
+main ()
{
long *y = &x; __sync_synchronize();
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___sync_synchronize=yes
-else $as_nop
+else
ac_cv_have___sync_synchronize=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_synchronize" >&5
-printf "%s\n" "$ac_cv_have___sync_synchronize" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_synchronize" >&5
+$as_echo "$ac_cv_have___sync_synchronize" >&6; }
if test $ac_cv_have___sync_synchronize = yes; then
-printf "%s\n" "#define HAVE___SYNC_SYNCHRONIZE 1" >>confdefs.h
+$as_echo "#define HAVE___SYNC_SYNCHRONIZE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __sync_synchronize supports arguments" >&5
-printf %s "checking whether __sync_synchronize supports arguments... " >&6; }
-if test ${ac_cv_have___sync_synchronize_args+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __sync_synchronize supports arguments" >&5
+$as_echo_n "checking whether __sync_synchronize supports arguments... " >&6; }
+if ${ac_cv_have___sync_synchronize_args+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
long x = 11;
int
-main (void)
+main ()
{
long *y = &x; __sync_synchronize(*y);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___sync_synchronize_args=yes
-else $as_nop
+else
ac_cv_have___sync_synchronize_args=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_synchronize_args" >&5
-printf "%s\n" "$ac_cv_have___sync_synchronize_args" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_synchronize_args" >&5
+$as_echo "$ac_cv_have___sync_synchronize_args" >&6; }
if test $ac_cv_have___sync_synchronize_args = yes; then
-printf "%s\n" "#define HAVE___SYNC_SYNCHRONIZE_ARGUMENTS 1" >>confdefs.h
+$as_echo "#define HAVE___SYNC_SYNCHRONIZE_ARGUMENTS 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __has_trivial_copy" >&5
-printf %s "checking for __has_trivial_copy... " >&6; }
-if test ${ac_cv_have___has_trivial_copy+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __has_trivial_copy" >&5
+$as_echo_n "checking for __has_trivial_copy... " >&6; }
+if ${ac_cv_have___has_trivial_copy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
long x = 1; if (__has_trivial_copy(long)) x = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___has_trivial_copy=yes
-else $as_nop
+else
ac_cv_have___has_trivial_copy=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___has_trivial_copy" >&5
-printf "%s\n" "$ac_cv_have___has_trivial_copy" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___has_trivial_copy" >&5
+$as_echo "$ac_cv_have___has_trivial_copy" >&6; }
if test $ac_cv_have___has_trivial_copy = yes; then
-printf "%s\n" "#define HAVE___HAS_TRIVIAL_COPY 1" >>confdefs.h
+$as_echo "#define HAVE___HAS_TRIVIAL_COPY 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __thread storage class support" >&5
-printf %s "checking for __thread storage class support... " >&6; }
-if test ${ac_cv_have___thread+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread storage class support" >&5
+$as_echo_n "checking for __thread storage class support... " >&6; }
+if ${ac_cv_have___thread+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
__thread long x;
int
-main (void)
+main ()
{
x == 1;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_have___thread=yes
-else $as_nop
+else
ac_cv_have___thread=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___thread" >&5
-printf "%s\n" "$ac_cv_have___thread" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___thread" >&5
+$as_echo "$ac_cv_have___thread" >&6; }
if test $ac_cv_have___thread = yes; then
-printf "%s\n" "#define HAVE___THREAD_STORAGE_CLASS 1" >>confdefs.h
+$as_echo "#define HAVE___THREAD_STORAGE_CLASS 1" >>confdefs.h
fi
- ac_fn_cxx_check_func "$LINENO" "ffs" "ac_cv_func_ffs"
-if test "x$ac_cv_func_ffs" = xyes
-then :
- printf "%s\n" "#define HAVE_FFS 1" >>confdefs.h
-
-fi
-ac_fn_cxx_check_func "$LINENO" "ffsl" "ac_cv_func_ffsl"
-if test "x$ac_cv_func_ffsl" = xyes
-then :
- printf "%s\n" "#define HAVE_FFSL 1" >>confdefs.h
-
-fi
-ac_fn_cxx_check_func "$LINENO" "ffsll" "ac_cv_func_ffsll"
-if test "x$ac_cv_func_ffsll" = xyes
-then :
- printf "%s\n" "#define HAVE_FFSLL 1" >>confdefs.h
+ for ac_func in ffs ffsl ffsll
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
fi
+done
@@ -11723,12 +10754,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
ac_success=no
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features by default" >&5
-printf %s "checking whether $CXX supports C++17 features by default... " >&6; }
-if test ${ax_cv_cxx_compile_cxx17+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features by default" >&5
+$as_echo_n "checking whether $CXX supports C++17 features by default... " >&6; }
+if ${ax_cv_cxx_compile_cxx17+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -12522,16 +11552,15 @@ namespace cxx17
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ax_cv_cxx_compile_cxx17=yes
-else $as_nop
+else
ax_cv_cxx_compile_cxx17=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5
-printf "%s\n" "$ax_cv_cxx_compile_cxx17" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5
+$as_echo "$ax_cv_cxx_compile_cxx17" >&6; }
if test x$ax_cv_cxx_compile_cxx17 = xyes; then
ac_success=yes
fi
@@ -12539,13 +11568,12 @@ printf "%s\n" "$ax_cv_cxx_compile_cxx17" >&6; }
if test x$ac_success = xno; then
for alternative in ${ax_cxx_compile_alternatives}; do
switch="-std=gnu++${alternative}"
- cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
-printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
-if eval test \${$cachevar+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ cachevar=`$as_echo "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
+$as_echo_n "checking whether $CXX supports C++17 features with $switch... " >&6; }
+if eval \${$cachevar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_save_CXX="$CXX"
CXX="$CXX $switch"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13341,18 +12369,17 @@ namespace cxx17
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
eval $cachevar=yes
-else $as_nop
+else
eval $cachevar=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CXX="$ac_save_CXX"
fi
eval ac_res=\$$cachevar
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
if eval test x\$$cachevar = xyes; then
CXX="$CXX $switch"
if test -n "$CXXCPP" ; then
@@ -13367,13 +12394,12 @@ printf "%s\n" "$ac_res" >&6; }
if test x$ac_success = xno; then
for alternative in ${ax_cxx_compile_alternatives}; do
for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
- cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
-printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
-if eval test \${$cachevar+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ cachevar=`$as_echo "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
+$as_echo_n "checking whether $CXX supports C++17 features with $switch... " >&6; }
+if eval \${$cachevar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_save_CXX="$CXX"
CXX="$CXX $switch"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14169,18 +13195,17 @@ namespace cxx17
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
eval $cachevar=yes
-else $as_nop
+else
eval $cachevar=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CXX="$ac_save_CXX"
fi
eval ac_res=\$$cachevar
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
if eval test x\$$cachevar = xyes; then
CXX="$CXX $switch"
if test -n "$CXXCPP" ; then
@@ -14208,12 +13233,12 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
fi
if test x$ac_success = xno; then
HAVE_CXX17=0
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5
-printf "%s\n" "$as_me: No compiler with C++17 support was found" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5
+$as_echo "$as_me: No compiler with C++17 support was found" >&6;}
else
HAVE_CXX17=1
-printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h
+$as_echo "#define HAVE_CXX17 1" >>confdefs.h
fi
@@ -14223,23 +13248,22 @@ printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h
+
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of struct timeval" >&5
-printf %s "checking size of struct timeval... " >&6; }
-if test ${ac_cv_sizeof_struct_timeval+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (struct timeval))" "ac_cv_sizeof_struct_timeval" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct timeval" >&5
+$as_echo_n "checking size of struct timeval... " >&6; }
+if ${ac_cv_sizeof_struct_timeval+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (struct timeval))" "ac_cv_sizeof_struct_timeval" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_struct_timeval" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (struct timeval)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -14248,12 +13272,14 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_timeval" >&5
-printf "%s\n" "$ac_cv_sizeof_struct_timeval" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_timeval" >&5
+$as_echo "$ac_cv_sizeof_struct_timeval" >&6; }
-printf "%s\n" "#define SIZEOF_STRUCT_TIMEVAL $ac_cv_sizeof_struct_timeval" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_STRUCT_TIMEVAL $ac_cv_sizeof_struct_timeval
+_ACEOF
ac_fn_cxx_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default
@@ -14261,13 +13287,14 @@ ac_fn_cxx_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$
# include <time.h>
#endif
"
-if test "x$ac_cv_type_struct_timespec" = xyes
-then :
+if test "x$ac_cv_type_struct_timespec" = xyes; then :
-printf "%s\n" "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TIMESPEC 1
+_ACEOF
have_timespec=yes
-else $as_nop
+else
have_timespec=no
fi
@@ -14276,19 +13303,17 @@ if test "x$have_timespec" = xyes; then
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of struct timespec" >&5
-printf %s "checking size of struct timespec... " >&6; }
-if test ${ac_cv_sizeof_struct_timespec+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (struct timespec))" "ac_cv_sizeof_struct_timespec" "$ac_includes_default"
-then :
-
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct timespec" >&5
+$as_echo_n "checking size of struct timespec... " >&6; }
+if ${ac_cv_sizeof_struct_timespec+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (struct timespec))" "ac_cv_sizeof_struct_timespec" "$ac_includes_default"; then :
+
+else
if test "$ac_cv_type_struct_timespec" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (struct timespec)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -14297,167 +13322,89 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_timespec" >&5
-printf "%s\n" "$ac_cv_sizeof_struct_timespec" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_timespec" >&5
+$as_echo "$ac_cv_sizeof_struct_timespec" >&6; }
-printf "%s\n" "#define SIZEOF_STRUCT_TIMESPEC $ac_cv_sizeof_struct_timespec" >>confdefs.h
-
-
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX options needed to detect all undeclared functions" >&5
-printf %s "checking for $CXX options needed to detect all undeclared functions... " >&6; }
-if test ${ac_cv_cxx_undeclared_builtin_options+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_save_CFLAGS=$CFLAGS
- ac_cv_cxx_undeclared_builtin_options='cannot detect'
- for ac_arg in '' -fno-builtin; do
- CFLAGS="$ac_save_CFLAGS $ac_arg"
- # This test program should *not* compile successfully.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main (void)
-{
-(void) strchr;
- ;
- return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_STRUCT_TIMESPEC $ac_cv_sizeof_struct_timespec
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
-
-else $as_nop
- # This test program should compile successfully.
- # No library function is consistently available on
- # freestanding implementations, so test against a dummy
- # declaration. Include always-available headers on the
- # off chance that they somehow elicit warnings.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <float.h>
-#include <limits.h>
-#include <stdarg.h>
-#include <stddef.h>
-extern void ac_decl (int, char *);
-int
-main (void)
-{
-(void) ac_decl (0, (char *) 0);
- (void) ac_decl;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
- if test x"$ac_arg" = x
-then :
- ac_cv_cxx_undeclared_builtin_options='none needed'
-else $as_nop
- ac_cv_cxx_undeclared_builtin_options=$ac_arg
-fi
- break
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- done
- CFLAGS=$ac_save_CFLAGS
-
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_undeclared_builtin_options" >&5
-printf "%s\n" "$ac_cv_cxx_undeclared_builtin_options" >&6; }
- case $ac_cv_cxx_undeclared_builtin_options in #(
- 'cannot detect') :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot make $CXX report undeclared builtins
-See \`config.log' for more details" "$LINENO" 5; } ;; #(
- 'none needed') :
- ac_cxx_undeclared_builtin_options='' ;; #(
- *) :
- ac_cxx_undeclared_builtin_options=$ac_cv_cxx_undeclared_builtin_options ;;
-esac
-
have_clock_gettime=yes; POSIX_CLOCK_LIBS=
- ac_fn_check_decl "$LINENO" "clock_gettime" "ac_cv_have_decl_clock_gettime" "#ifdef HAVE_TIME_H
+ ac_fn_cxx_check_decl "$LINENO" "clock_gettime" "ac_cv_have_decl_clock_gettime" "#ifdef HAVE_TIME_H
# include <time.h>
#endif
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_clock_gettime" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_clock_gettime" = xyes; then :
ac_have_decl=1
-else $as_nop
+else
ac_have_decl=0
fi
-printf "%s\n" "#define HAVE_DECL_CLOCK_GETTIME $ac_have_decl" >>confdefs.h
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_CLOCK_GETTIME $ac_have_decl
+_ACEOF
SAVELIBS="$LIBS"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
-printf %s "checking for library containing clock_gettime... " >&6; }
-if test ${ac_cv_search_clock_gettime+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $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 ${ac_cv_search_clock_gettime+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-namespace conftest {
- extern "C" int clock_gettime ();
-}
+/* 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 (void)
+main ()
{
-return conftest::clock_gettime ();
+return clock_gettime ();
;
return 0;
}
_ACEOF
-for ac_lib in '' rt
-do
+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 ac_fn_cxx_try_link "$LINENO"
-then :
+ if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_search_clock_gettime=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_clock_gettime+y}
-then :
+ if ${ac_cv_search_clock_gettime+:} false; then :
break
fi
done
-if test ${ac_cv_search_clock_gettime+y}
-then :
+if ${ac_cv_search_clock_gettime+:} false; then :
-else $as_nop
+else
ac_cv_search_clock_gettime=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
-printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
+{ $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 :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
:
-else $as_nop
+else
have_clock_gettime=no
fi
@@ -14466,24 +13413,22 @@ fi
fi
ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
-if test "x$ac_cv_func_clock_gettime" = xyes
-then :
+if test "x$ac_cv_func_clock_gettime" = xyes; then :
:
-else $as_nop
+else
have_clock_gettime=no
fi
LIBS="$SAVELIBS"
if test "x$have_clock_gettime" = xyes; then
-printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
+$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
fi
# Check whether --enable-nanotimestamp was given.
-if test ${enable_nanotimestamp+y}
-then :
+if test "${enable_nanotimestamp+set}" = set; then :
enableval=$enable_nanotimestamp;
fi
@@ -14493,25 +13438,23 @@ if test "x$enable_nanotimestamp" = x -a "x$have_clock_gettime" = xyes; then
fi
if test "x$enable_nanotimestamp" = xyes; then
-printf "%s\n" "#define HAVE_NANOTIMESTAMP_ENABLED 1" >>confdefs.h
+$as_echo "#define HAVE_NANOTIMESTAMP_ENABLED 1" >>confdefs.h
fi
# Check whether --enable-simtime was given.
-if test ${enable_simtime+y}
-then :
- enableval=$enable_simtime; printf "%s\n" "#define HAVE_SIMTIME 1" >>confdefs.h
+if test "${enable_simtime+set}" = set; then :
+ enableval=$enable_simtime; $as_echo "#define HAVE_SIMTIME 1" >>confdefs.h
-else $as_nop
+else
enable_simtime=no
fi
# Check whether --enable-user_timestamp was given.
-if test ${enable_user_timestamp+y}
-then :
+if test "${enable_user_timestamp+set}" = set; then :
enableval=$enable_user_timestamp; :
-else $as_nop
+else
enable_user_timestamp=no
fi
@@ -14526,23 +13469,22 @@ User-based timestamp needs 64bits types !
=========================================" "$LINENO" 5
fi
-printf "%s\n" "#define HAVE_USER_TIMING 1" >>confdefs.h
+$as_echo "#define HAVE_USER_TIMING 1" >>confdefs.h
fi
# Check whether --enable-bound-port-transfer was given.
-if test ${enable_bound_port_transfer+y}
-then :
+if test "${enable_bound_port_transfer+set}" = set; then :
enableval=$enable_bound_port_transfer; :
-else $as_nop
+else
enable_bound_port_transfer=no
fi
if test "$enable_bound_port_transfer" = yes; then
-printf "%s\n" "#define HAVE_BOUND_PORT_TRANSFER 1" >>confdefs.h
+$as_echo "#define HAVE_BOUND_PORT_TRANSFER 1" >>confdefs.h
if test -z "${CXX##*clang*}" ; then
as_fn_error $? "--enable-bound-port-transfer does not work with Clang! A better solution is to use click-devirtualize in any case. Remove this option or use GCC (you probably have your CXX environment variable set to clang++)." "$LINENO" 5
@@ -14550,12 +13492,11 @@ printf "%s\n" "#define HAVE_BOUND_PORT_TRANSFER 1" >>confdefs.h
CXXFLAGS="$CXXFLAGS -Wno-pmf-conversions"
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -faligned-new" >&5
-printf %s "checking whether C++ compiler accepts -faligned-new... " >&6; }
-if test ${ax_cv_check_cxxflags___faligned_new+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -faligned-new" >&5
+$as_echo_n "checking whether C++ compiler accepts -faligned-new... " >&6; }
+if ${ax_cv_check_cxxflags___faligned_new+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ax_check_save_flags=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -faligned-new"
@@ -14563,28 +13504,26 @@ else $as_nop
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ax_cv_check_cxxflags___faligned_new=yes
-else $as_nop
+else
ax_cv_check_cxxflags___faligned_new=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CXXFLAGS=$ax_check_save_flags
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___faligned_new" >&5
-printf "%s\n" "$ax_cv_check_cxxflags___faligned_new" >&6; }
-if test "x$ax_cv_check_cxxflags___faligned_new" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___faligned_new" >&5
+$as_echo "$ax_cv_check_cxxflags___faligned_new" >&6; }
+if test "x$ax_cv_check_cxxflags___faligned_new" = xyes; then :
have_aligned_new=yes
-else $as_nop
+else
have_aligned_new=no
fi
@@ -14597,7 +13536,7 @@ if test "x$enable_flow" = xyes; then
if test "x$enable_batch" != xyes; then
as_fn_error $? "--enable-flow needs --enable-batch! Flow subsystem will be disabled." "$LINENO" 5
else
- printf "%s\n" "#define HAVE_FLOW 1" >>confdefs.h
+ $as_echo "#define HAVE_FLOW 1" >>confdefs.h
fi
USE_FLOW=yes
@@ -14605,7 +13544,7 @@ if test "x$enable_flow" = xyes; then
fi
if test "x$enable_ctx" = xyes; then
- printf "%s\n" "#define HAVE_CTX 1" >>confdefs.h
+ $as_echo "#define HAVE_CTX 1" >>confdefs.h
USE_CTX=yes
@@ -14616,95 +13555,89 @@ fi
# Check whether --enable-ctx-global-timeout was given.
-if test ${enable_ctx_global_timeout+y}
-then :
+if test "${enable_ctx_global_timeout+set}" = set; then :
enableval=$enable_ctx_global_timeout; :
-else $as_nop
+else
enable_ctx_global_timeout=$enable_ctx
fi
if test "x$enable_ctx_global_timeout" = xyes; then
- printf "%s\n" "#define HAVE_CTX_GLOBAL_TIMEOUT 1" >>confdefs.h
+ $as_echo "#define HAVE_CTX_GLOBAL_TIMEOUT 1" >>confdefs.h
fi
# Check whether --enable-flow-atomic was given.
-if test ${enable_flow_atomic+y}
-then :
+if test "${enable_flow_atomic+set}" = set; then :
enableval=$enable_flow_atomic; :
-else $as_nop
+else
enable_flow_atomic=yes
fi
if test "x$enable_flow_atomic" = xyes; then
- printf "%s\n" "#define FLOW_ATOMIC_USE_COUNT 1" >>confdefs.h
+ $as_echo "#define FLOW_ATOMIC_USE_COUNT 1" >>confdefs.h
fi
# Check whether --enable-flow-dynamic was given.
-if test ${enable_flow_dynamic+y}
-then :
+if test "${enable_flow_dynamic+set}" = set; then :
enableval=$enable_flow_dynamic; :
-else $as_nop
+else
enable_flow_dynamic=no
fi
if test "x$enable_flow$enable_flow_dynamic" = xyesyes; then
- printf "%s\n" "#define HAVE_FLOW_DYNAMIC 1" >>confdefs.h
+ $as_echo "#define HAVE_FLOW_DYNAMIC 1" >>confdefs.h
fi
# Check whether --enable-flow-structure was given.
-if test ${enable_flow_structure+y}
-then :
+if test "${enable_flow_structure+set}" = set; then :
enableval=$enable_flow_structure; :
-else $as_nop
+else
enable_flow_structure=yes
fi
if test "x$enable_flow_structure" = xyes; then
- printf "%s\n" "#define FLOW_KEEP_STRUCTURE 1" >>confdefs.h
+ $as_echo "#define FLOW_KEEP_STRUCTURE 1" >>confdefs.h
fi
# Check whether --enable-flow-hash was given.
-if test ${enable_flow_hash+y}
-then :
+if test "${enable_flow_hash+set}" = set; then :
enableval=$enable_flow_hash; :
-else $as_nop
+else
enable_flow_hash=""
fi
if echo "$enable_flow_hash" | grep epoch >/dev/null 2>&1; then
-printf "%s\n" "#define FLOW_HASH_RELEASE 2" >>confdefs.h
+$as_echo "#define FLOW_HASH_RELEASE 2" >>confdefs.h
elif echo "$enable_flow_hash" | grep keep >/dev/null 2>&1; then
-printf "%s\n" "#define FLOW_HASH_RELEASE 1" >>confdefs.h
+$as_echo "#define FLOW_HASH_RELEASE 1" >>confdefs.h
elif echo "$enable_flow_hash" | grep reset >/dev/null 2>&1; then
-printf "%s\n" "#define FLOW_HASH_RELEASE 0" >>confdefs.h
+$as_echo "#define FLOW_HASH_RELEASE 0" >>confdefs.h
else
if test "x$enable_flow_structure" = xyes; then
-printf "%s\n" "#define FLOW_HASH_RELEASE 1" >>confdefs.h
+$as_echo "#define FLOW_HASH_RELEASE 1" >>confdefs.h
else
-printf "%s\n" "#define FLOW_HASH_RELEASE 2" >>confdefs.h
+$as_echo "#define FLOW_HASH_RELEASE 2" >>confdefs.h
fi
fi
# Check whether --enable-tools was given.
-if test ${enable_tools+y}
-then :
+if test "${enable_tools+set}" = set; then :
enableval=$enable_tools; :
-else $as_nop
+else
enable_tools=mixed
fi
@@ -14725,12 +13658,11 @@ else
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_BUILD_CC+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_BUILD_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$BUILD_CC"; then
ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
else
@@ -14738,15 +13670,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_BUILD_CC="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -14757,11 +13685,11 @@ fi
fi
BUILD_CC=$ac_cv_prog_BUILD_CC
if test -n "$BUILD_CC"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
-printf "%s\n" "$BUILD_CC" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
+$as_echo "$BUILD_CC" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -14772,12 +13700,11 @@ done
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_BUILD_CXX+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_BUILD_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$BUILD_CXX"; then
ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
else
@@ -14785,15 +13712,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_BUILD_CXX="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -14804,11 +13727,11 @@ fi
fi
BUILD_CXX=$ac_cv_prog_BUILD_CXX
if test -n "$BUILD_CXX"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
-printf "%s\n" "$BUILD_CXX" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
+$as_echo "$BUILD_CXX" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -14824,12 +13747,11 @@ done
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_BUILD_AR+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_BUILD_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$BUILD_AR"; then
ac_cv_prog_BUILD_AR="$BUILD_AR" # Let the user override the test.
else
@@ -14837,15 +13759,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_BUILD_AR="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -14856,11 +13774,11 @@ fi
fi
BUILD_AR=$ac_cv_prog_BUILD_AR
if test -n "$BUILD_AR"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_AR" >&5
-printf "%s\n" "$BUILD_AR" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_AR" >&5
+$as_echo "$BUILD_AR" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -14871,12 +13789,11 @@ done
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_BUILD_RANLIB+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_BUILD_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$BUILD_RANLIB"; then
ac_cv_prog_BUILD_RANLIB="$BUILD_RANLIB" # Let the user override the test.
else
@@ -14884,15 +13801,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_BUILD_RANLIB="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -14903,11 +13816,11 @@ fi
fi
BUILD_RANLIB=$ac_cv_prog_BUILD_RANLIB
if test -n "$BUILD_RANLIB"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_RANLIB" >&5
-printf "%s\n" "$BUILD_RANLIB" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_RANLIB" >&5
+$as_echo "$BUILD_RANLIB" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -14922,61 +13835,61 @@ fi
# Check whether --enable-dynamic-linking was given.
-if test ${enable_dynamic_linking+y}
-then :
+if test "${enable_dynamic_linking+set}" = set; then :
enableval=$enable_dynamic_linking; :
-else $as_nop
+else
enable_dynamic_linking=yes
fi
if test "x$enable_dynamic_linking" = xyes; then
+
DL_LIBS=
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
-printf %s "checking for dlopen in -ldl... " >&6; }
-if test ${ac_cv_lib_dl_dlopen+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-namespace conftest {
- extern "C" int dlopen ();
-}
+/* 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 dlopen ();
int
-main (void)
+main ()
{
-return conftest::dlopen ();
+return dlopen ();
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_lib_dl_dlopen=yes
-else $as_nop
+else
ac_cv_lib_dl_dlopen=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
-printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
ac_have_dlopen=yes; DL_LIBS="-ldl"
-else $as_nop
+else
ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = xyes
-then :
+if test "x$ac_cv_func_dlopen" = xyes; then :
ac_have_dlopen=yes
-else $as_nop
+else
ac_have_dlopen=no
fi
@@ -14984,7 +13897,7 @@ fi
if test "x$ac_have_dlopen" = xyes -a "x$ac_cv_header_dlfcn_h" = xyes; then
-printf "%s\n" "#define HAVE_DYNAMIC_LINKING 1" >>confdefs.h
+$as_echo "#define HAVE_DYNAMIC_LINKING 1" >>confdefs.h
ac_have_dynamic_linking=yes
fi
@@ -14992,34 +13905,33 @@ printf "%s\n" "#define HAVE_DYNAMIC_LINKING 1" >>confdefs.h
DL_LDFLAGS=
save_ldflags="$LDFLAGS"; LDFLAGS="$LDFLAGS -rdynamic"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linker accepts the -rdynamic flag" >&5
-printf %s "checking whether linker accepts the -rdynamic flag... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts the -rdynamic flag" >&5
+$as_echo_n "checking whether linker accepts the -rdynamic flag... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
return 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_rdynamic=yes; DL_LDFLAGS=-rdynamic
-else $as_nop
+else
ac_cv_rdynamic=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rdynamic" >&5
-printf "%s\n" "$ac_cv_rdynamic" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rdynamic" >&5
+$as_echo "$ac_cv_rdynamic" >&6; }
LDFLAGS="$save_ldflags"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler flags for building loadable modules" >&5
-printf %s "checking compiler flags for building loadable modules... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler flags for building loadable modules" >&5
+$as_echo_n "checking compiler flags for building loadable modules... " >&6; }
LDMODULEFLAGS=-shared
SOSUFFIX=so
if test "x$ac_have_dynamic_linking" = xyes; then
@@ -15028,8 +13940,8 @@ printf %s "checking compiler flags for building loadable modules... " >&6; }
SOSUFFIX=dylib
fi
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDMODULEFLAGS" >&5
-printf "%s\n" "$LDMODULEFLAGS" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDMODULEFLAGS" >&5
+$as_echo "$LDMODULEFLAGS" >&6; }
@@ -15039,61 +13951,63 @@ printf "%s\n" "$LDMODULEFLAGS" >&6; }
CXX="$BUILD_CXX"; CXXCPP="$BUILD_CXX -E"
unset ac_cv_header_dlfcn_h ac_cv_func_dlopen ac_cv_lib_dl_dlopen
BUILD_DL_LIBS=
- for ac_header in dlfcn.h
+ for ac_header in dlfcn.h
do :
- ac_fn_cxx_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
-if test "x$ac_cv_header_dlfcn_h" = xyes
-then :
- printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
+ ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DLFCN_H 1
+_ACEOF
ac_build_have_dlfcn_h=yes
-else $as_nop
+else
ac_build_have_dlfcn_h=no
fi
done
+
ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = xyes
-then :
+if test "x$ac_cv_func_dlopen" = xyes; then :
ac_build_have_dlopen=yes
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
-printf %s "checking for dlopen in -ldl... " >&6; }
-if test ${ac_cv_lib_dl_dlopen+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-namespace conftest {
- extern "C" int dlopen ();
-}
+/* 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 dlopen ();
int
-main (void)
+main ()
{
-return conftest::dlopen ();
+return dlopen ();
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_lib_dl_dlopen=yes
-else $as_nop
+else
ac_cv_lib_dl_dlopen=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
-printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
ac_build_have_dlopen=yes; BUILD_DL_LIBS="-ldl"
-else $as_nop
+else
ac_have_dlopen=no
fi
@@ -15105,29 +14019,28 @@ fi
BUILD_DL_LDFLAGS=
save_ldflags="$LDFLAGS"; LDFLAGS="$LDFLAGS -rdynamic"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linker accepts the -rdynamic flag" >&5
-printf %s "checking whether linker accepts the -rdynamic flag... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts the -rdynamic flag" >&5
+$as_echo_n "checking whether linker accepts the -rdynamic flag... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
-main (void)
+main ()
{
return 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_link "$LINENO"
-then :
+if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_build_rdynamic=yes; BUILD_DL_LDFLAGS=-rdynamic
-else $as_nop
+else
ac_cv_build_rdynamic=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_rdynamic" >&5
-printf "%s\n" "$ac_cv_build_rdynamic" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_rdynamic" >&5
+$as_echo "$ac_cv_build_rdynamic" >&6; }
LDFLAGS="$save_ldflags"
@@ -15161,13 +14074,19 @@ fi
+
+
+
+
+
+
+
if test x"$ac_cv_header_poll_h" = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <poll.h> is emulated" >&5
-printf %s "checking whether <poll.h> is emulated... " >&6; }
-if test ${ac_cv_emulated_poll_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <poll.h> is emulated" >&5
+$as_echo_n "checking whether <poll.h> is emulated... " >&6; }
+if ${ac_cv_emulated_poll_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <poll.h>
@@ -15176,88 +14095,84 @@ else $as_nop
#endif
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_emulated_poll_h=no
-else $as_nop
+else
ac_cv_emulated_poll_h=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_emulated_poll_h" >&5
-printf "%s\n" "$ac_cv_emulated_poll_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_emulated_poll_h" >&5
+$as_echo "$ac_cv_emulated_poll_h" >&6; }
if test "x$ac_cv_emulated_poll_h" = xno; then
-printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
+$as_echo "#define HAVE_POLL_H 1" >>confdefs.h
fi
fi
-ac_fn_cxx_check_func "$LINENO" "pselect" "ac_cv_func_pselect"
-if test "x$ac_cv_func_pselect" = xyes
-then :
- printf "%s\n" "#define HAVE_PSELECT 1" >>confdefs.h
-
-fi
-ac_fn_cxx_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
-if test "x$ac_cv_func_sigaction" = xyes
-then :
- printf "%s\n" "#define HAVE_SIGACTION 1" >>confdefs.h
+for ac_func in pselect sigaction
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
fi
+done
-
- for ac_func in kqueue
+for ac_func in kqueue
do :
ac_fn_cxx_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
-if test "x$ac_cv_func_kqueue" = xyes
-then :
- printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
+if test "x$ac_cv_func_kqueue" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_KQUEUE 1
+_ACEOF
have_kqueue=yes
fi
-
done
+
if test "x$have_kqueue" = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether EV_SET last argument is void *" >&5
-printf %s "checking whether EV_SET last argument is void *... " >&6; }
-if test ${ac_cv_ev_set_udata_pointer+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether EV_SET last argument is void *" >&5
+$as_echo_n "checking whether EV_SET last argument is void *... " >&6; }
+if ${ac_cv_ev_set_udata_pointer+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
int
-main (void)
+main ()
{
struct kevent kev; EV_SET(&kev, 1, EVFILT_WRITE, EV_ADD, 0, 0, (void *) &kev);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_ev_set_udata_pointer=yes
-else $as_nop
+else
ac_cv_ev_set_udata_pointer=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ev_set_udata_pointer" >&5
-printf "%s\n" "$ac_cv_ev_set_udata_pointer" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ev_set_udata_pointer" >&5
+$as_echo "$ac_cv_ev_set_udata_pointer" >&6; }
if test $ac_cv_ev_set_udata_pointer = yes; then
-printf "%s\n" "#define HAVE_EV_SET_UDATA_POINTER 1" >>confdefs.h
+$as_echo "#define HAVE_EV_SET_UDATA_POINTER 1" >>confdefs.h
fi
fi
@@ -15272,12 +14187,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
SOCKET_LIBS=
if test "$enable_userlevel" = yes; then
savelibs="$LIBS"; LIBS=
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
-printf %s "checking for library containing gethostbyname... " >&6; }
-if test ${ac_cv_search_gethostbyname+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
+$as_echo_n "checking for library containing gethostbyname... " >&6; }
+if ${ac_cv_search_gethostbyname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -15285,58 +14199,55 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 gethostbyname ();
int
-main (void)
+main ()
{
return gethostbyname ();
;
return 0;
}
_ACEOF
-for ac_lib in '' nsl
-do
+for ac_lib in '' nsl; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $savelibs $ac_func_search_save_LIBS"
fi
- if ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_gethostbyname=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_gethostbyname+y}
-then :
+ if ${ac_cv_search_gethostbyname+:} false; then :
break
fi
done
-if test ${ac_cv_search_gethostbyname+y}
-then :
+if ${ac_cv_search_gethostbyname+:} false; then :
-else $as_nop
+else
ac_cv_search_gethostbyname=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
-printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
+$as_echo "$ac_cv_search_gethostbyname" >&6; }
ac_res=$ac_cv_search_gethostbyname
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
-printf %s "checking for library containing connect... " >&6; }
-if test ${ac_cv_search_connect+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
+$as_echo_n "checking for library containing connect... " >&6; }
+if ${ac_cv_search_connect+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -15344,86 +14255,82 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 connect ();
int
-main (void)
+main ()
{
return connect ();
;
return 0;
}
_ACEOF
-for ac_lib in '' socket
-do
+for ac_lib in '' socket; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $savelibs $ac_func_search_save_LIBS"
fi
- if ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_connect=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_connect+y}
-then :
+ if ${ac_cv_search_connect+:} false; then :
break
fi
done
-if test ${ac_cv_search_connect+y}
-then :
+if ${ac_cv_search_connect+:} false; then :
-else $as_nop
+else
ac_cv_search_connect=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
-printf "%s\n" "$ac_cv_search_connect" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
+$as_echo "$ac_cv_search_connect" >&6; }
ac_res=$ac_cv_search_connect
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
SOCKET_LIBS="$LIBS"; LIBS="$savelibs"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether accept() uses socklen_t" >&5
-printf %s "checking whether accept() uses socklen_t... " >&6; }
-if test ${ac_cv_accept_socklen_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether accept() uses socklen_t" >&5
+$as_echo_n "checking whether accept() uses socklen_t... " >&6; }
+if ${ac_cv_accept_socklen_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/socket.h>
int
-main (void)
+main ()
{
socklen_t sl; (void) accept(0, (struct sockaddr *) 0, &sl);
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_accept_socklen_t=yes
-else $as_nop
+else
ac_cv_accept_socklen_t=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept_socklen_t" >&5
-printf "%s\n" "$ac_cv_accept_socklen_t" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept_socklen_t" >&5
+$as_echo "$ac_cv_accept_socklen_t" >&6; }
if test "$ac_cv_accept_socklen_t" = yes; then
-printf "%s\n" "#define HAVE_ACCEPT_SOCKLEN_T 1" >>confdefs.h
+$as_echo "#define HAVE_ACCEPT_SOCKLEN_T 1" >>confdefs.h
fi
fi
@@ -15444,12 +14351,11 @@ 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
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for large file support in C library" >&5
-printf %s "checking for large file support in C library... " >&6; }
-if test ${ac_cv_large_file_support+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for large file support in C library" >&5
+$as_echo_n "checking for large file support in C library... " >&6; }
+if ${ac_cv_large_file_support+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define _LARGEFILE_SOURCE 1
@@ -15463,26 +14369,25 @@ void h(off_t a) {
lseek(fd, a, 0);
}
int
-main (void)
+main ()
{
h(15);
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_large_file_support=yes
-else $as_nop
+else
ac_cv_large_file_support=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_large_file_support" >&5
-printf "%s\n" "$ac_cv_large_file_support" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_large_file_support" >&5
+$as_echo "$ac_cv_large_file_support" >&6; }
if test "x$ac_cv_large_file_support" = xyes; then
-printf "%s\n" "#define HAVE_LARGE_FILE_SUPPORT 1" >>confdefs.h
+$as_echo "#define HAVE_LARGE_FILE_SUPPORT 1" >>confdefs.h
fi
@@ -15490,25 +14395,23 @@ printf "%s\n" "#define HAVE_LARGE_FILE_SUPPORT 1" >>confdefs.h
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
-printf %s "checking size of off_t... " >&6; }
-if test ${ac_cv_sizeof_off_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
+$as_echo_n "checking size of off_t... " >&6; }
+if ${ac_cv_sizeof_off_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "#if HAVE_LARGE_FILE_SUPPORT && HAVE_INT64_TYPES
# define _LARGEFILE_SOURCE 1
# define _FILE_OFFSET_BITS 64
#endif
#include <stdio.h>
#include <sys/types.h>
-"
-then :
+"; then :
-else $as_nop
+else
if test "$ac_cv_type_off_t" = yes; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot compute sizeof (off_t)
See \`config.log' for more details" "$LINENO" 5; }
else
@@ -15517,12 +14420,14 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
-printf "%s\n" "$ac_cv_sizeof_off_t" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
+$as_echo "$ac_cv_sizeof_off_t" >&6; }
-printf "%s\n" "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
+_ACEOF
@@ -15538,36 +14443,30 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-ac_func=
-for ac_item in $ac_func_c_list
-do
- if test $ac_func; then
- ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
- if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
- echo "#define $ac_item 1" >> confdefs.h
- fi
- ac_func=
- else
- ac_func=$ac_item
- fi
-done
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
-printf %s "checking for working mmap... " >&6; }
-if test ${ac_cv_func_mmap_fixed_mapped+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if test "$cross_compiling" = yes
-then :
- case "$host_os" in # ((
- # Guess yes on platforms where we know the result.
- linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
- # If we don't know, assume the worst.
- *) ac_cv_func_mmap_fixed_mapped=no ;;
- esac
-else $as_nop
+
+
+
+for ac_func in getpagesize
+do :
+ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
+if test "x$ac_cv_func_getpagesize" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_GETPAGESIZE 1
+_ACEOF
+
+fi
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
+$as_echo_n "checking for working mmap... " >&6; }
+if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_mmap_fixed_mapped=no
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
@@ -15599,6 +14498,10 @@ $ac_includes_default
#include <fcntl.h>
#include <sys/mman.h>
+#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
+char *malloc ();
+#endif
+
/* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE
# ifdef _SC_PAGESIZE
@@ -15632,7 +14535,7 @@ $ac_includes_default
#endif /* no HAVE_GETPAGESIZE */
int
-main (void)
+main ()
{
char *data, *data2, *data3;
const char *cdata2;
@@ -15705,10 +14608,9 @@ main (void)
return 0;
}
_ACEOF
-if ac_fn_c_try_run "$LINENO"
-then :
+if ac_fn_c_try_run "$LINENO"; then :
ac_cv_func_mmap_fixed_mapped=yes
-else $as_nop
+else
ac_cv_func_mmap_fixed_mapped=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -15716,11 +14618,11 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
-printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
+$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
if test $ac_cv_func_mmap_fixed_mapped = yes; then
-printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
+$as_echo "#define HAVE_MMAP 1" >>confdefs.h
fi
rm -f conftest.mmap conftest.txt
@@ -15731,25 +14633,31 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-ac_fn_cxx_check_func "$LINENO" "madvise" "ac_cv_func_madvise"
-if test "x$ac_cv_func_madvise" = xyes
-then :
- printf "%s\n" "#define HAVE_MADVISE 1" >>confdefs.h
+for ac_func in madvise
+do :
+ ac_fn_cxx_check_func "$LINENO" "madvise" "ac_cv_func_madvise"
+if test "x$ac_cv_func_madvise" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MADVISE 1
+_ACEOF
fi
+done
-ac_fn_check_decl "$LINENO" "madvise" "ac_cv_have_decl_madvise" "#if HAVE_SYS_MMAN_H
+ac_fn_cxx_check_decl "$LINENO" "madvise" "ac_cv_have_decl_madvise" "#if HAVE_SYS_MMAN_H
#include <sys/types.h>
#include <sys/mman.h>
#endif
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_madvise" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_madvise" = xyes; then :
ac_have_decl=1
-else $as_nop
+else
ac_have_decl=0
fi
-printf "%s\n" "#define HAVE_DECL_MADVISE $ac_have_decl" >>confdefs.h
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_MADVISE $ac_have_decl
+_ACEOF
@@ -15773,14 +14681,14 @@ if test "$linux_system_map" = NONE; then
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Linux System.map" >&5
-printf %s "checking for Linux System.map... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux System.map" >&5
+$as_echo_n "checking for Linux System.map... " >&6; }
if test -r "$linux_system_map"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $linux_system_map" >&5
-printf "%s\n" "$linux_system_map" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $linux_system_map" >&5
+$as_echo "$linux_system_map" >&6; }
elif test -f "$linux_system_map"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $linux_system_map (unreadable)" >&5
-printf "%s\n" "$linux_system_map (unreadable)" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $linux_system_map (unreadable)" >&5
+$as_echo "$linux_system_map (unreadable)" >&6; }
as_fn_error $? "
=========================================
@@ -15791,7 +14699,7 @@ or use the --with-linux=DIR and/or --with-linux-map=MAP options.
=========================================" "$LINENO" 5
else
if test "x$enable_linuxmodule_default" = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
Can't find Linux System.map file $linux_system_map,
@@ -15799,7 +14707,7 @@ so I won't compile the linuxmodule driver.
(You may need the --with-linux=DIR and/or --with-linux-map=MAP options.)
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
Can't find Linux System.map file $linux_system_map,
@@ -15827,20 +14735,20 @@ fi
if test $ac_have_linux_kernel = y; then
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Linux version" >&5
-printf %s "checking Linux version... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Linux version" >&5
+$as_echo_n "checking Linux version... " >&6; }
linuxpath_makefile=`find_linuxpath Makefile`
linux_version=`grep '^VERSION[ ]*=[ ]*[0-9][0-9]*[ ]*$' "$linuxpath_makefile" | tr -c -d 0-9`
linux_patchlevel=`grep '^PATCHLEVEL[ ]*=[ ]*[0-9][0-9]*[ ]*$' "$linuxpath_makefile" | tr -c -d 0-9`
linux_sublevel=`grep '^SUBLEVEL[ ]*=[ ]*[0-9][0-9]*[ ]*$' "$linuxpath_makefile" | tr -c -d 0-9`
if test -n "$linux_version" -a -n "$linux_patchlevel" -a -z "$linux_sublevel"; then linux_sublevel=0; fi
if test -n "$linux_version" -a -n "$linux_patchlevel" -a -n "$linux_sublevel"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $linux_version.$linux_patchlevel.$linux_sublevel" >&5
-printf "%s\n" "$linux_version.$linux_patchlevel.$linux_sublevel" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $linux_version.$linux_patchlevel.$linux_sublevel" >&5
+$as_echo "$linux_version.$linux_patchlevel.$linux_sublevel" >&6; }
linux_version_code=`expr $linux_version '*' 65536 + $linux_patchlevel '*' 256 + $linux_sublevel`
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
-printf "%s\n" "unknown" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
+$as_echo "unknown" >&6; }
linux_version_code=0
fi
@@ -15848,7 +14756,7 @@ LINUXMODULE_2_6=0
if test "$linux_version.$linux_patchlevel" = 2.6 -o "$linux_version" -ge 3; then
LINUXMODULE_2_6=1
-printf "%s\n" "#define HAVE_LINUXMODULE_2_6 1" >>confdefs.h
+$as_echo "#define HAVE_LINUXMODULE_2_6 1" >>confdefs.h
fi
if test "$LINUXMODULE_2_6" = 0; then
@@ -15862,224 +14770,211 @@ Update your Linux or try an older version of Click.
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Click Linux kernel extensions" >&5
-printf %s "checking for Click Linux kernel extensions... " >&6; }
-if test ${ac_cv_click_kernel+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Click Linux kernel extensions" >&5
+$as_echo_n "checking for Click Linux kernel extensions... " >&6; }
+if ${ac_cv_click_kernel+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "register_net_in" $linux_system_map >/dev/null 2>&1; then
ac_cv_click_kernel=yes
else ac_cv_click_kernel=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_click_kernel" >&5
-printf "%s\n" "$ac_cv_click_kernel" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_click_kernel" >&5
+$as_echo "$ac_cv_click_kernel" >&6; }
if test $ac_cv_click_kernel = yes; then
- printf "%s\n" "#define HAVE_CLICK_KERNEL 1" >>confdefs.h
+ $as_echo "#define HAVE_CLICK_KERNEL 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Click Linux kernel extensions for transmit notification" >&5
-printf %s "checking for Click Linux kernel extensions for transmit notification... " >&6; }
-if test ${ac_cv_click_kernel_tx_notify+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Click Linux kernel extensions for transmit notification" >&5
+$as_echo_n "checking for Click Linux kernel extensions for transmit notification... " >&6; }
+if ${ac_cv_click_kernel_tx_notify+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "register_net_tx" $linux_system_map >/dev/null 2>&1; then
ac_cv_click_kernel_tx_notify=yes
else ac_cv_click_kernel_tx_notify=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_click_kernel_tx_notify" >&5
-printf "%s\n" "$ac_cv_click_kernel_tx_notify" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_click_kernel_tx_notify" >&5
+$as_echo "$ac_cv_click_kernel_tx_notify" >&6; }
if test $ac_cv_click_kernel_tx_notify = yes; then
- printf "%s\n" "#define HAVE_CLICK_KERNEL_TX_NOTIFY 1" >>confdefs.h
+ $as_echo "#define HAVE_CLICK_KERNEL_TX_NOTIFY 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for read_net_skbcount kernel extension" >&5
-printf %s "checking for read_net_skbcount kernel extension... " >&6; }
-if test ${ac_cv_linux_read_net_skbcount+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for read_net_skbcount kernel extension" >&5
+$as_echo_n "checking for read_net_skbcount kernel extension... " >&6; }
+if ${ac_cv_linux_read_net_skbcount+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "read_net_skbcount" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_read_net_skbcount=yes
else ac_cv_linux_read_net_skbcount=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_read_net_skbcount" >&5
-printf "%s\n" "$ac_cv_linux_read_net_skbcount" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_read_net_skbcount" >&5
+$as_echo "$ac_cv_linux_read_net_skbcount" >&6; }
if test $ac_cv_linux_read_net_skbcount = yes; then
- printf "%s\n" "#define HAVE_LINUX_READ_NET_SKBCOUNT 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_READ_NET_SKBCOUNT 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlen kernel symbol" >&5
-printf %s "checking for strlen kernel symbol... " >&6; }
-if test ${ac_cv_linux_strlen_exposed+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlen kernel symbol" >&5
+$as_echo_n "checking for strlen kernel symbol... " >&6; }
+if ${ac_cv_linux_strlen_exposed+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep ' strlen' $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_strlen_exposed=yes
else ac_cv_linux_strlen_exposed=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_strlen_exposed" >&5
-printf "%s\n" "$ac_cv_linux_strlen_exposed" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_strlen_exposed" >&5
+$as_echo "$ac_cv_linux_strlen_exposed" >&6; }
if test $ac_cv_linux_strlen_exposed = yes; then
- printf "%s\n" "#define HAVE_LINUX_STRLEN_EXPOSED 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_STRLEN_EXPOSED 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tulip_interrupt_hook kernel symbol" >&5
-printf %s "checking for tulip_interrupt_hook kernel symbol... " >&6; }
-if test ${ac_cv_linux_tulip_intr_hook+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tulip_interrupt_hook kernel symbol" >&5
+$as_echo_n "checking for tulip_interrupt_hook kernel symbol... " >&6; }
+if ${ac_cv_linux_tulip_intr_hook+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep ' tulip_interrupt_hook' $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_tulip_intr_hook=yes
else ac_cv_linux_tulip_intr_hook=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_tulip_intr_hook" >&5
-printf "%s\n" "$ac_cv_linux_tulip_intr_hook" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_tulip_intr_hook" >&5
+$as_echo "$ac_cv_linux_tulip_intr_hook" >&6; }
if test $ac_cv_linux_tulip_intr_hook = yes; then
- printf "%s\n" "#define HAVE_LINUX_TULIP_INTERRUPT_HOOK 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_TULIP_INTERRUPT_HOOK 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for files_lock kernel symbol" >&5
-printf %s "checking for files_lock kernel symbol... " >&6; }
-if test ${ac_cv_linux_files_lock+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for files_lock kernel symbol" >&5
+$as_echo_n "checking for files_lock kernel symbol... " >&6; }
+if ${ac_cv_linux_files_lock+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_files_lock" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_files_lock=yes
else ac_cv_linux_files_lock=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_files_lock" >&5
-printf "%s\n" "$ac_cv_linux_files_lock" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_files_lock" >&5
+$as_echo "$ac_cv_linux_files_lock" >&6; }
if test $ac_cv_linux_files_lock = yes; then
- printf "%s\n" "#define HAVE_LINUX_FILES_LOCK 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_FILES_LOCK 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for files_lglock kernel symbol" >&5
-printf %s "checking for files_lglock kernel symbol... " >&6; }
-if test ${ac_cv_linux_files_lglock+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for files_lglock kernel symbol" >&5
+$as_echo_n "checking for files_lglock kernel symbol... " >&6; }
+if ${ac_cv_linux_files_lglock+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_files_lglock" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_files_lglock=yes
else ac_cv_linux_files_lglock=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_files_lglock" >&5
-printf "%s\n" "$ac_cv_linux_files_lglock" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_files_lglock" >&5
+$as_echo "$ac_cv_linux_files_lglock" >&6; }
if test $ac_cv_linux_files_lglock = yes; then
- printf "%s\n" "#define HAVE_LINUX_FILES_LGLOCK 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_FILES_LGLOCK 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sb_lock kernel symbol" >&5
-printf %s "checking for sb_lock kernel symbol... " >&6; }
-if test ${ac_cv_linux_sb_lock+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sb_lock kernel symbol" >&5
+$as_echo_n "checking for sb_lock kernel symbol... " >&6; }
+if ${ac_cv_linux_sb_lock+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_sb_lock" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_sb_lock=yes
else ac_cv_linux_sb_lock=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_sb_lock" >&5
-printf "%s\n" "$ac_cv_linux_sb_lock" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_sb_lock" >&5
+$as_echo "$ac_cv_linux_sb_lock" >&6; }
if test $ac_cv_linux_sb_lock = yes; then
- printf "%s\n" "#define HAVE_LINUX_SB_LOCK 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_SB_LOCK 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dev_ioctl kernel symbol" >&5
-printf %s "checking for dev_ioctl kernel symbol... " >&6; }
-if test ${ac_cv_linux_dev_ioctl+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dev_ioctl kernel symbol" >&5
+$as_echo_n "checking for dev_ioctl kernel symbol... " >&6; }
+if ${ac_cv_linux_dev_ioctl+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_dev_ioctl" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_dev_ioctl=yes
else ac_cv_linux_dev_ioctl=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_dev_ioctl" >&5
-printf "%s\n" "$ac_cv_linux_dev_ioctl" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_dev_ioctl" >&5
+$as_echo "$ac_cv_linux_dev_ioctl" >&6; }
if test $ac_cv_linux_dev_ioctl = yes; then
- printf "%s\n" "#define HAVE_LINUX_DEV_IOCTL 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_DEV_IOCTL 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for devinet_ioctl kernel symbol" >&5
-printf %s "checking for devinet_ioctl kernel symbol... " >&6; }
-if test ${ac_cv_linux_devinet_ioctl+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for devinet_ioctl kernel symbol" >&5
+$as_echo_n "checking for devinet_ioctl kernel symbol... " >&6; }
+if ${ac_cv_linux_devinet_ioctl+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_devinet_ioctl" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_devinet_ioctl=yes
else ac_cv_linux_devinet_ioctl=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_devinet_ioctl" >&5
-printf "%s\n" "$ac_cv_linux_devinet_ioctl" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_devinet_ioctl" >&5
+$as_echo "$ac_cv_linux_devinet_ioctl" >&6; }
if test $ac_cv_linux_devinet_ioctl = yes; then
- printf "%s\n" "#define HAVE_LINUX_DEVINET_IOCTL 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_DEVINET_IOCTL 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ioctl kernel symbol" >&5
-printf %s "checking for inet_ioctl kernel symbol... " >&6; }
-if test ${ac_cv_linux_inet_ioctl+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ioctl kernel symbol" >&5
+$as_echo_n "checking for inet_ioctl kernel symbol... " >&6; }
+if ${ac_cv_linux_inet_ioctl+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_inet_ioctl" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_inet_ioctl=yes
else ac_cv_linux_inet_ioctl=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_inet_ioctl" >&5
-printf "%s\n" "$ac_cv_linux_inet_ioctl" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_inet_ioctl" >&5
+$as_echo "$ac_cv_linux_inet_ioctl" >&6; }
if test $ac_cv_linux_inet_ioctl = yes; then
- printf "%s\n" "#define HAVE_LINUX_INET_IOCTL 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_INET_IOCTL 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ctl_sock_create kernel symbol" >&5
-printf %s "checking for inet_ctl_sock_create kernel symbol... " >&6; }
-if test ${ac_cv_linux_inet_ctl_sock_create+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ctl_sock_create kernel symbol" >&5
+$as_echo_n "checking for inet_ctl_sock_create kernel symbol... " >&6; }
+if ${ac_cv_linux_inet_ctl_sock_create+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_inet_ctl_sock_create" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_inet_ctl_sock_create=yes
else ac_cv_linux_inet_ctl_sock_create=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_inet_ctl_sock_create" >&5
-printf "%s\n" "$ac_cv_linux_inet_ctl_sock_create" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_inet_ctl_sock_create" >&5
+$as_echo "$ac_cv_linux_inet_ctl_sock_create" >&6; }
if test $ac_cv_linux_inet_ctl_sock_create = yes; then
- printf "%s\n" "#define HAVE_LINUX_INET_CTL_SOCK_CREATE 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_INET_CTL_SOCK_CREATE 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for <linux/ktime.h>" >&5
-printf %s "checking for <linux/ktime.h>... " >&6; }
-if test ${ac_cv_linux_ktime_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for <linux/ktime.h>" >&5
+$as_echo_n "checking for <linux/ktime.h>... " >&6; }
+if ${ac_cv_linux_ktime_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep ktime_t `find_linuxpath include/linux/ktime.h` >/dev/null 2>&1; then
ac_cv_linux_ktime_h=yes
else ac_cv_linux_ktime_h=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_ktime_h" >&5
-printf "%s\n" "$ac_cv_linux_ktime_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_ktime_h" >&5
+$as_echo "$ac_cv_linux_ktime_h" >&6; }
if test $ac_cv_linux_ktime_h = yes; then
- printf "%s\n" "#define HAVE_LINUX_KTIME_H 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_KTIME_H 1" >>confdefs.h
fi
@@ -16089,12 +14984,11 @@ fi
if test $ac_have_bsd_kernel = y; then
KERNEL_CXX="$KERNEL_CXX -fpermissive"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking FreeBSD version" >&5
-printf %s "checking FreeBSD version... " >&6; }
-if test ${ac_cv_freebsd_version+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking FreeBSD version" >&5
+$as_echo_n "checking FreeBSD version... " >&6; }
+if ${ac_cv_freebsd_version+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
save_flags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$freebsd_includedir"
@@ -16105,37 +14999,36 @@ else $as_nop
#include <NONEXISTENT_FILE>
#endif
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_freebsd_version=yes
-else $as_nop
+else
ac_cv_freebsd_version=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CPPFLAGS="$save_flags"
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_freebsd_version" >&5
-printf "%s\n" "$ac_cv_freebsd_version" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_freebsd_version" >&5
+$as_echo "$ac_cv_freebsd_version" >&6; }
if test $ac_cv_freebsd_version = yes; then
- printf "%s\n" "#define HAVE_CLICK_BSD_KERNEL 1" >>confdefs.h
+ $as_echo "#define HAVE_CLICK_BSD_KERNEL 1" >>confdefs.h
- printf "%s\n" "#define HAVE_BSD_POLLING 1" >>confdefs.h
+ $as_echo "#define HAVE_BSD_POLLING 1" >>confdefs.h
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
Your version of FreeBSD is old. Click works with FreeBSD 7.x and later.
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
Your version of FreeBSD is old. Click works with FreeBSD 7.x and later.
@@ -16143,12 +15036,11 @@ Your version of FreeBSD is old. Click works with FreeBSD 7.x and later.
=========================================" >&2;}
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long and int64_t are the same type in the FreeBSD kernel" >&5
-printf %s "checking whether long and int64_t are the same type in the FreeBSD kernel... " >&6; }
-if test ${ac_cv_long_64_bsdmodule+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long and int64_t are the same type in the FreeBSD kernel" >&5
+$as_echo_n "checking whether long and int64_t are the same type in the FreeBSD kernel... " >&6; }
+if ${ac_cv_long_64_bsdmodule+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
save_flags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$freebsd_includedir"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16160,35 +15052,33 @@ void f1(long) {
void f1(int64_t) { // will fail if long long and int64_t are the same type
}
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_long_64_bsdmodule=no
-else $as_nop
+else
ac_cv_long_64_bsdmodule=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_64_bsdmodule" >&5
-printf "%s\n" "$ac_cv_long_64_bsdmodule" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_64_bsdmodule" >&5
+$as_echo "$ac_cv_long_64_bsdmodule" >&6; }
if test $ac_cv_long_64_bsdmodule = yes; then
-printf "%s\n" "#define HAVE_INT64_IS_LONG_BSDMODULE 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_IS_LONG_BSDMODULE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long long and int64_t are the same type in the FreeBSD kernel" >&5
-printf %s "checking whether long long and int64_t are the same type in the FreeBSD kernel... " >&6; }
-if test ${ac_cv_long_long_64_bsdmodule+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long long and int64_t are the same type in the FreeBSD kernel" >&5
+$as_echo_n "checking whether long long and int64_t are the same type in the FreeBSD kernel... " >&6; }
+if ${ac_cv_long_long_64_bsdmodule+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
save_flags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$freebsd_includedir"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16200,26 +15090,25 @@ void f1(long long) {
void f1(int64_t) { // will fail if long long and int64_t are the same type
}
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_long_long_64_bsdmodule=no
-else $as_nop
+else
ac_cv_long_long_64_bsdmodule=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_long_64_bsdmodule" >&5
-printf "%s\n" "$ac_cv_long_long_64_bsdmodule" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_long_64_bsdmodule" >&5
+$as_echo "$ac_cv_long_long_64_bsdmodule" >&6; }
if test $ac_cv_long_long_64_bsdmodule = yes; then
-printf "%s\n" "#define HAVE_INT64_IS_LONG_LONG_BSDMODULE 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_IS_LONG_LONG_BSDMODULE 1" >>confdefs.h
fi
fi
@@ -16228,17 +15117,18 @@ fi
# Check whether --enable-stats was given.
-if test ${enable_stats+y}
-then :
+if test "${enable_stats+set}" = set; then :
enableval=$enable_stats; :
-else $as_nop
+else
enable_stats=no
fi
if test "$enable_stats" = no; then enable_stats=0; fi
if test "$enable_stats" = yes; then enable_stats=1; fi
if test "$enable_stats" -ge 0 > /dev/null 2>&1; then
- printf "%s\n" "#define CLICK_STATS $enable_stats" >>confdefs.h
+ cat >>confdefs.h <<_ACEOF
+#define CLICK_STATS $enable_stats
+_ACEOF
else
as_fn_error $? "
@@ -16251,37 +15141,35 @@ fi
# Check whether --enable-stride was given.
-if test ${enable_stride+y}
-then :
+if test "${enable_stride+set}" = set; then :
enableval=$enable_stride; :
-else $as_nop
+else
enable_stride=yes
fi
if test $enable_stride = yes; then
- printf "%s\n" "#define HAVE_STRIDE_SCHED 1" >>confdefs.h
+ $as_echo "#define HAVE_STRIDE_SCHED 1" >>confdefs.h
fi
# Check whether --enable-task-heap was given.
-if test ${enable_task_heap+y}
-then :
+if test "${enable_task_heap+set}" = set; then :
enableval=$enable_task_heap; :
-else $as_nop
+else
enable_task_heap=no
fi
if test $enable_task_heap = yes -a $enable_stride = yes; then
- printf "%s\n" "#define HAVE_TASK_HEAP 1" >>confdefs.h
+ $as_echo "#define HAVE_TASK_HEAP 1" >>confdefs.h
elif test $enable_task_heap = yes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
Ignoring --enable-task-heap, which is incompatible with --disable-stride.
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
Ignoring --enable-task-heap, which is incompatible with --disable-stride.
@@ -16291,33 +15179,31 @@ fi
# Check whether --enable-task-stats was given.
-if test ${enable_task_stats+y}
-then :
+if test "${enable_task_stats+set}" = set; then :
enableval=$enable_task_stats; :
-else $as_nop
+else
enable_task_stats=no
fi
if test "x$enable_task_stats" = xyes; then
- printf "%s\n" "#define HAVE_TASK_STATS 1" >>confdefs.h
+ $as_echo "#define HAVE_TASK_STATS 1" >>confdefs.h
fi
# Check whether --enable-cpu-load was given.
-if test ${enable_cpu_load+y}
-then :
+if test "${enable_cpu_load+set}" = set; then :
enableval=$enable_cpu_load; :
-else $as_nop
+else
enable_cpu_load=no
fi
if test "x$enable_cpu_load" = xyes; then
- printf "%s\n" "#define HAVE_CLICK_LOAD 1" >>confdefs.h
+ $as_echo "#define HAVE_CLICK_LOAD 1" >>confdefs.h
else
if test "x$enable_rsspp" = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: --enable-rsspp needs --enable-cpu-load" >&5
-printf "%s\n" "$as_me: --enable-rsspp needs --enable-cpu-load" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: --enable-rsspp needs --enable-cpu-load" >&5
+$as_echo "$as_me: --enable-rsspp needs --enable-cpu-load" >&6;}
enable_rsspp=no
fi
fi
@@ -16328,13 +15214,12 @@ else
enable_rsspp=no
fi
-as_ac_File=`printf "%s\n" "ac_cv_file_$srcdir/include/click/flowruleparser.hh" | $as_tr_sh`
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $srcdir/include/click/flowruleparser.hh" >&5
-printf %s "checking for $srcdir/include/click/flowruleparser.hh... " >&6; }
-if eval test \${$as_ac_File+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+as_ac_File=`$as_echo "ac_cv_file_$srcdir/include/click/flowruleparser.hh" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $srcdir/include/click/flowruleparser.hh" >&5
+$as_echo_n "checking for $srcdir/include/click/flowruleparser.hh... " >&6; }
+if eval \${$as_ac_File+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "$srcdir/include/click/flowruleparser.hh"; then
@@ -16344,22 +15229,20 @@ else
fi
fi
eval ac_res=\$$as_ac_File
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_File"\" = x"yes"
-then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
ac_have_flow_rule_parser_h=yes
-else $as_nop
+else
ac_have_flow_rule_parser_h=no
fi
-as_ac_File=`printf "%s\n" "ac_cv_file_$srcdir/include/click/flowrulecache.hh" | $as_tr_sh`
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $srcdir/include/click/flowrulecache.hh" >&5
-printf %s "checking for $srcdir/include/click/flowrulecache.hh... " >&6; }
-if eval test \${$as_ac_File+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+as_ac_File=`$as_echo "ac_cv_file_$srcdir/include/click/flowrulecache.hh" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $srcdir/include/click/flowrulecache.hh" >&5
+$as_echo_n "checking for $srcdir/include/click/flowrulecache.hh... " >&6; }
+if eval \${$as_ac_File+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "$srcdir/include/click/flowrulecache.hh"; then
@@ -16369,22 +15252,20 @@ else
fi
fi
eval ac_res=\$$as_ac_File
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_File"\" = x"yes"
-then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
ac_have_flow_rule_cache_h=yes
-else $as_nop
+else
ac_have_flow_rule_cache_h=no
fi
-as_ac_File=`printf "%s\n" "ac_cv_file_$srcdir/include/click/flowrulemanager.hh" | $as_tr_sh`
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $srcdir/include/click/flowrulemanager.hh" >&5
-printf %s "checking for $srcdir/include/click/flowrulemanager.hh... " >&6; }
-if eval test \${$as_ac_File+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+as_ac_File=`$as_echo "ac_cv_file_$srcdir/include/click/flowrulemanager.hh" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $srcdir/include/click/flowrulemanager.hh" >&5
+$as_echo_n "checking for $srcdir/include/click/flowrulemanager.hh... " >&6; }
+if eval \${$as_ac_File+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "$srcdir/include/click/flowrulemanager.hh"; then
@@ -16394,18 +15275,17 @@ else
fi
fi
eval ac_res=\$$as_ac_File
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-printf "%s\n" "$ac_res" >&6; }
-if eval test \"x\$"$as_ac_File"\" = x"yes"
-then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
ac_have_flow_rule_man_h=yes
-else $as_nop
+else
ac_have_flow_rule_man_h=no
fi
if test "x$ac_have_flow_rule_parser_h$ac_have_flow_rule_cache_h$ac_have_flow_rule_man_h$enable_flow_api" = "xyesyesyesyes"; then
have_flow_api=yes
- printf "%s\n" "#define HAVE_FLOW_API 1" >>confdefs.h
+ $as_echo "#define HAVE_FLOW_API 1" >>confdefs.h
HAVE_FLOW_API=1
@@ -16417,16 +15297,15 @@ fi
# Check whether --enable-dmalloc was given.
-if test ${enable_dmalloc+y}
-then :
+if test "${enable_dmalloc+set}" = set; then :
enableval=$enable_dmalloc; :
-else $as_nop
+else
enable_dmalloc=no
fi
if test $enable_dmalloc = yes; then
-printf "%s\n" "#define CLICK_DMALLOC 1" >>confdefs.h
+$as_echo "#define CLICK_DMALLOC 1" >>confdefs.h
fi
@@ -16434,57 +15313,56 @@ fi
# Check whether --enable-hash-iterator-epochs was given.
-if test ${enable_hash_iterator_epochs+y}
-then :
+if test "${enable_hash_iterator_epochs+set}" = set; then :
enableval=$enable_hash_iterator_epochs; :
-else $as_nop
+else
enable_hash_iterator_epochs=no
fi
if test $enable_hash_iterator_epochs = yes; then
-printf "%s\n" "#define CLICK_HASH_ITERATOR_EPOCHS 1" >>confdefs.h
+$as_echo "#define CLICK_HASH_ITERATOR_EPOCHS 1" >>confdefs.h
fi
# Check whether --enable-force-expensive was given.
-if test ${enable_force_expensive+y}
-then :
+if test "${enable_force_expensive+set}" = set; then :
enableval=$enable_force_expensive; :
-else $as_nop
+else
enable_force_expensive=no
fi
if test $enable_force_expensive = yes; then
-printf "%s\n" "#define CLICK_FORCE_EXPENSIVE 1" >>confdefs.h
+$as_echo "#define CLICK_FORCE_EXPENSIVE 1" >>confdefs.h
fi
# Check whether --enable-valgrind was given.
-if test ${enable_valgrind+y}
-then :
+if test "${enable_valgrind+set}" = set; then :
enableval=$enable_valgrind; :
-else $as_nop
+else
enable_valgrind=no
fi
if test $enable_valgrind = yes; then
- for ac_header in valgrind/memcheck.h
+ for ac_header in valgrind/memcheck.h
do :
- ac_fn_cxx_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
-if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
-then :
- printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
+ ac_fn_cxx_check_header_mongrel "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
+if test "x$ac_cv_header_valgrind_memcheck_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_VALGRIND_MEMCHECK_H 1
+_ACEOF
ac_found_valgrind_memcheck_h=yes
-else $as_nop
+else
ac_found_valgrind_memcheck_h=no
fi
done
+
if test $ac_found_valgrind_memcheck_h = no; then
as_fn_error $? "
=========================================
@@ -16495,17 +15373,16 @@ Try again without '--enable-valgrind'.
=========================================" "$LINENO" 5
fi
-printf "%s\n" "#define HAVE_VALGRIND 1" >>confdefs.h
+$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
fi
# Check whether --enable-schedule-debugging was given.
-if test ${enable_schedule_debugging+y}
-then :
+if test "${enable_schedule_debugging+set}" = set; then :
enableval=$enable_schedule_debugging; :
-else $as_nop
+else
enable_schedule_debugging=no
fi
@@ -16517,26 +15394,38 @@ elif test "$enable_schedule_debugging" = extra; then
fi
if test "$value" != 0; then
-printf "%s\n" "#define CLICK_DEBUG_SCHEDULING $value" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define CLICK_DEBUG_SCHEDULING $value
+_ACEOF
+
+fi
+
+# Check whether --enable-hash-allocator-poisoning was given.
+if test "${enable_hash_allocator_poisoning+set}" = set; then :
+ enableval=$enable_hash_allocator_poisoning; :
+else
+ enable_hash_allocator_poisoning=no
+fi
+
+if test $enable_hash_allocator_poisoning = yes; then
+ $as_echo "#define HAVE_HASH_ALLOCATOR_POISONING 1" >>confdefs.h
fi
# Check whether --enable-portable-binary was given.
-if test ${enable_portable_binary+y}
-then :
+if test "${enable_portable_binary+set}" = set; then :
enableval=$enable_portable_binary; acx_maxopt_portable=$enableval
-else $as_nop
+else
acx_maxopt_portable=no
fi
if test $acx_maxopt_portable = no; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -march=native" >&5
-printf %s "checking whether C++ compiler accepts -march=native... " >&6; }
-if test ${ax_cv_check_cxxflags___march_native+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -march=native" >&5
+$as_echo_n "checking whether C++ compiler accepts -march=native... " >&6; }
+if ${ax_cv_check_cxxflags___march_native+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ax_check_save_flags=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -march=native"
@@ -16544,28 +15433,26 @@ else $as_nop
/* end confdefs.h. */
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ax_cv_check_cxxflags___march_native=yes
-else $as_nop
+else
ax_cv_check_cxxflags___march_native=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CXXFLAGS=$ax_check_save_flags
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___march_native" >&5
-printf "%s\n" "$ax_cv_check_cxxflags___march_native" >&6; }
-if test "x$ax_cv_check_cxxflags___march_native" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___march_native" >&5
+$as_echo "$ax_cv_check_cxxflags___march_native" >&6; }
+if test "x$ax_cv_check_cxxflags___march_native" = xyes; then :
CXXFLAGS="-march=native $CXXFLAGS";CFLAGS="-march=native $CFLAGS"
-else $as_nop
+else
:
fi
@@ -16573,74 +15460,70 @@ fi
# Check whether --enable-intel-cpu was given.
-if test ${enable_intel_cpu+y}
-then :
+if test "${enable_intel_cpu+set}" = set; then :
enableval=$enable_intel_cpu; :
-else $as_nop
+else
enable_intel_cpu=no
fi
if test $enable_intel_cpu = yes; then
- printf "%s\n" "#define HAVE_INTEL_CPU 1" >>confdefs.h
+ $as_echo "#define HAVE_INTEL_CPU 1" >>confdefs.h
fi
# Check whether --enable-avx2 was given.
-if test ${enable_avx2+y}
-then :
+if test "${enable_avx2+set}" = set; then :
enableval=$enable_avx2; check_avx2=no
-else $as_nop
+else
check_avx2=yes
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if AVX2 should be used" >&5
-printf %s "checking if AVX2 should be used... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if AVX2 should be used" >&5
+$as_echo_n "checking if AVX2 should be used... " >&6; }
if test "x$ax_cv_gcc_x86_cpu_supports_avx2$check_avx2" = "xyesyes"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
- printf "%s\n" "#define HAVE_AVX2 1" >>confdefs.h
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ $as_echo "#define HAVE_AVX2 1" >>confdefs.h
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
# Check whether --enable-sse42 was given.
-if test ${enable_sse42+y}
-then :
+if test "${enable_sse42+set}" = set; then :
enableval=$enable_sse42; check_sse42=no
-else $as_nop
+else
check_sse42=yes
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if SSE4.2 should be used" >&5
-printf %s "checking if SSE4.2 should be used... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SSE4.2 should be used" >&5
+$as_echo_n "checking if SSE4.2 should be used... " >&6; }
if test "x$ax_cv_gcc_x86_cpu_supports_sse4_2$check_sse42" = "xyesyes"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
- printf "%s\n" "#define HAVE_SSE42 1" >>confdefs.h
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ $as_echo "#define HAVE_SSE42 1" >>confdefs.h
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
# Check whether --enable-atomic-builtins was given.
-if test ${enable_atomic_builtins+y}
-then :
+if test "${enable_atomic_builtins+set}" = set; then :
enableval=$enable_atomic_builtins; :
-else $as_nop
+else
enable_atomic_builtins=no
fi
if test "x${enable_atomic_builtins}" = "xyes"; then
- printf "%s\n" "#define HAVE_ATOMIC_BUILTINS 1" >>confdefs.h
+ $as_echo "#define HAVE_ATOMIC_BUILTINS 1" >>confdefs.h
fi
@@ -16691,6 +15574,15 @@ done
+
+
+
+
+
+
+
+
+
@@ -16732,8 +15624,8 @@ done
if test "x$enable_dpdk" != "xno"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DPDK library" >&5
-printf %s "checking for DPDK library... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPDK library" >&5
+$as_echo_n "checking for DPDK library... " >&6; }
if test "x$enable_dpdk" != "xyes"; then
RTE_SDK=$enable_dpdk
@@ -16782,8 +15674,8 @@ printf %s "checking for DPDK library... " >&6; }
DPDK_LIBS=$(pkg-config --libs --static libdpdk)
fi
DPDK_CFLAGS=$(pkg-config --cflags libdpdk)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
else
dpdk_sys="make"
RTE_USE_PKGCONFIG=0
@@ -16803,8 +15695,8 @@ version (dpdk-dev or dpdk-devel).
=========================================" "$LINENO" 5
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, found at $RTE_SDK_BIN" >&5
-printf "%s\n" "yes, found at $RTE_SDK_BIN" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found at $RTE_SDK_BIN" >&5
+$as_echo "yes, found at $RTE_SDK_BIN" >&6; }
if test -e "$RTE_SRCDIR/VERSION"; then
rte_ver_year=`cat $RTE_SRCDIR/VERSION | sed -e 's/-rc/.-rc./' -e 's/$/..99/' | awk -F '.' '{print int($1)}'`
@@ -16844,33 +15736,33 @@ printf "%s\n" "yes, found at $RTE_SDK_BIN" >&6; }
DPDK_CFLAGS=${DPDK_CFLAGS}
- printf "%s\n" "#define HAVE_DPDK 1" >>confdefs.h
+ $as_echo "#define HAVE_DPDK 1" >>confdefs.h
USE_DPDK=yes
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether DPDK has rte_eth_read_clock" >&5
-printf %s "checking whether DPDK has rte_eth_read_clock... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DPDK has rte_eth_read_clock" >&5
+$as_echo_n "checking whether DPDK has rte_eth_read_clock... " >&6; }
if ${READELF} -Ws "$RTE_LIB/librte_ethdev.a" | grep rte_eth_read_clock &> /dev/null; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
- printf "%s\n" "#define HAVE_DPDK_READ_CLOCK 1" >>confdefs.h
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ $as_echo "#define HAVE_DPDK_READ_CLOCK 1" >>confdefs.h
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether DPDK has rte_flow_update" >&5
-printf %s "checking whether DPDK has rte_flow_update... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DPDK has rte_flow_update" >&5
+$as_echo_n "checking whether DPDK has rte_flow_update... " >&6; }
if ${READELF} -Ws "$RTE_LIB/librte_ethdev.a" | grep rte_flow_update &> /dev/null; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
- printf "%s\n" "#define HAVE_RTE_FLOW_UPDATE 1" >>confdefs.h
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ $as_echo "#define HAVE_RTE_FLOW_UPDATE 1" >>confdefs.h
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
fi
@@ -16884,7 +15776,7 @@ if test "x$enable_dpdk_pool" = xyes; then
=========================================" "$LINENO" 5
fi
- printf "%s\n" "#define HAVE_DPDK_PACKET_POOL 1" >>confdefs.h
+ $as_echo "#define HAVE_DPDK_PACKET_POOL 1" >>confdefs.h
fi
@@ -16897,7 +15789,7 @@ if test "x$enable_dpdk_xchg" = "xyes"; then
=========================================" "$LINENO" 5
fi
- printf "%s\n" "#define HAVE_DPDK_XCHG 1" >>confdefs.h
+ $as_echo "#define HAVE_DPDK_XCHG 1" >>confdefs.h
HAVE_DPDK_XCHG=y
@@ -16915,7 +15807,7 @@ if test "x$enable_dpdk_packet" = "xyes"; then
=========================================" "$LINENO" 5
fi
- printf "%s\n" "#define CLICK_PACKET_USE_DPDK 1" >>confdefs.h
+ $as_echo "#define CLICK_PACKET_USE_DPDK 1" >>confdefs.h
fi
@@ -16927,21 +15819,19 @@ if test "$enable_userlevel" = yes; then
HAVE_PCAP=yes
if test "${PCAP_INCLUDES-NO}" = NO; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap.h" >&5
-printf %s "checking for pcap.h... " >&6; }
-if test ${ac_cv_pcap_header_path+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap.h" >&5
+$as_echo_n "checking for pcap.h... " >&6; }
+if ${ac_cv_pcap_header_path+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <pcap.h>
_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"
-then :
+if ac_fn_cxx_try_cpp "$LINENO"; then :
ac_cv_pcap_header_path="found"
-else $as_nop
+else
ac_cv_pcap_header_path='not found'
test -r /usr/local/include/pcap/pcap.h && \
ac_cv_pcap_header_path='-I/usr/local/include/pcap'
@@ -16950,8 +15840,8 @@ else $as_nop
fi
rm -f conftest.err conftest.i conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pcap_header_path" >&5
-printf "%s\n" "$ac_cv_pcap_header_path" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pcap_header_path" >&5
+$as_echo "$ac_cv_pcap_header_path" >&6; }
if test "$ac_cv_pcap_header_path" = 'not found'; then
HAVE_PCAP=
elif test "$ac_cv_pcap_header_path" != 'found'; then
@@ -16960,12 +15850,11 @@ printf "%s\n" "$ac_cv_pcap_header_path" >&6; }
fi
if test "$HAVE_PCAP" = yes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pcap.h works" >&5
-printf %s "checking whether pcap.h works... " >&6; }
-if test ${ac_cv_working_pcap_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pcap.h works" >&5
+$as_echo_n "checking whether pcap.h works... " >&6; }
+if ${ac_cv_working_pcap_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
saveflags="$CPPFLAGS"
CPPFLAGS="$saveflags $PCAP_INCLUDES"
@@ -16973,17 +15862,16 @@ else $as_nop
/* end confdefs.h. */
#include <pcap.h>
_ACEOF
-if ac_fn_cxx_try_cpp "$LINENO"
-then :
+if ac_fn_cxx_try_cpp "$LINENO"; then :
ac_cv_working_pcap_h=yes
-else $as_nop
+else
ac_cv_working_pcap_h=no
fi
rm -f conftest.err conftest.i conftest.$ac_ext
CPPFLAGS="$saveflags"
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_pcap_h" >&5
-printf "%s\n" "$ac_cv_working_pcap_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_pcap_h" >&5
+$as_echo "$ac_cv_working_pcap_h" >&6; }
test "$ac_cv_working_pcap_h" != yes && HAVE_PCAP=
else
HAVE_PCAP=no
@@ -16992,43 +15880,43 @@ printf "%s\n" "$ac_cv_working_pcap_h" >&6; }
if test "$HAVE_PCAP" = yes; then
saveflags="$CPPFLAGS"
CPPFLAGS="$saveflags $PCAP_INCLUDES"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bpf_timeval in pcap.h" >&5
-printf %s "checking for bpf_timeval in pcap.h... " >&6; }
-if test ${ac_cv_bpf_timeval+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bpf_timeval in pcap.h" >&5
+$as_echo_n "checking for bpf_timeval in pcap.h... " >&6; }
+if ${ac_cv_bpf_timeval+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <pcap.h>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "bpf_timeval" >/dev/null 2>&1
-then :
+ $EGREP "bpf_timeval" >/dev/null 2>&1; then :
ac_cv_bpf_timeval=yes
-else $as_nop
+else
ac_cv_bpf_timeval=no
fi
-rm -rf conftest*
+rm -f conftest*
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_bpf_timeval" >&5
-printf "%s\n" "$ac_cv_bpf_timeval" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_bpf_timeval" >&5
+$as_echo "$ac_cv_bpf_timeval" >&6; }
if test "$ac_cv_bpf_timeval" = yes; then
-printf "%s\n" "#define HAVE_BPF_TIMEVAL 1" >>confdefs.h
+$as_echo "#define HAVE_BPF_TIMEVAL 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "pcap_setnonblock" "ac_cv_have_decl_pcap_setnonblock" "#include <pcap.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_pcap_setnonblock" = xyes
-then :
+ ac_fn_cxx_check_decl "$LINENO" "pcap_setnonblock" "ac_cv_have_decl_pcap_setnonblock" "#include <pcap.h>
+"
+if test "x$ac_cv_have_decl_pcap_setnonblock" = xyes; then :
ac_have_decl=1
-else $as_nop
+else
ac_have_decl=0
fi
-printf "%s\n" "#define HAVE_DECL_PCAP_SETNONBLOCK $ac_have_decl" >>confdefs.h
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_PCAP_SETNONBLOCK $ac_have_decl
+_ACEOF
CPPFLAGS="$saveflags"
fi
@@ -17040,12 +15928,11 @@ printf "%s\n" "#define HAVE_DECL_PCAP_SETNONBLOCK $ac_have_decl" >>confdefs.h
if test "$HAVE_PCAP" = yes; then
if test "${PCAP_LIBS-NO}" = NO; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lpcap" >&5
-printf %s "checking for -lpcap... " >&6; }
-if test ${ac_cv_pcap_library_path+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpcap" >&5
+$as_echo_n "checking for -lpcap... " >&6; }
+if ${ac_cv_pcap_library_path+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
saveflags="$LDFLAGS"
savelibs="$LIBS"
@@ -17062,19 +15949,21 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
/* 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 pcap_open_live ();
int
-main (void)
+main ()
{
return pcap_open_live ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_pcap_library_path="found"
-else $as_nop
+else
LDFLAGS="$saveflags -L/usr/local/lib"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -17082,38 +15971,39 @@ else $as_nop
/* 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 pcap_open_live ();
int
-main (void)
+main ()
{
return pcap_open_live ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_pcap_library_path="-L/usr/local/lib"
-else $as_nop
+else
ac_cv_pcap_library_path="not found"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$saveflags"
LIBS="$savelibs"
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pcap_library_path" >&5
-printf "%s\n" "$ac_cv_pcap_library_path" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pcap_library_path" >&5
+$as_echo "$ac_cv_pcap_library_path" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lpcap in \"$PCAP_LIBS\"" >&5
-printf %s "checking for -lpcap in \"$PCAP_LIBS\"... " >&6; }
-if test ${ac_cv_pcap_library_path+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpcap in \"$PCAP_LIBS\"" >&5
+$as_echo_n "checking for -lpcap in \"$PCAP_LIBS\"... " >&6; }
+if ${ac_cv_pcap_library_path+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
saveflags="$LDFLAGS"
LDFLAGS="$saveflags $PCAP_LIBS"
@@ -17131,28 +16021,30 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
/* 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 pcap_open_live ();
int
-main (void)
+main ()
{
return pcap_open_live ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_pcap_library_path="$PCAP_LIBS"
-else $as_nop
+else
ac_cv_pcap_library_path="not found"
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$saveflags"
LIBS="$savelibs"
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pcap_library_path" >&5
-printf "%s\n" "$ac_cv_pcap_library_path" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pcap_library_path" >&5
+$as_echo "$ac_cv_pcap_library_path" >&6; }
fi
if test "$ac_cv_pcap_library_path" = "found"; then
PCAP_LIBS='-lpcap'
@@ -17168,53 +16060,32 @@ printf "%s\n" "$ac_cv_pcap_library_path" >&6; }
if test "$HAVE_PCAP" = yes; then
-printf "%s\n" "#define HAVE_PCAP 1" >>confdefs.h
+$as_echo "#define HAVE_PCAP 1" >>confdefs.h
savelibs="$LIBS"
LIBS="$savelibs $PCAP_LIBS"
- ac_fn_c_check_func "$LINENO" "pcap_inject" "ac_cv_func_pcap_inject"
-if test "x$ac_cv_func_pcap_inject" = xyes
-then :
- printf "%s\n" "#define HAVE_PCAP_INJECT 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "pcap_sendpacket" "ac_cv_func_pcap_sendpacket"
-if test "x$ac_cv_func_pcap_sendpacket" = xyes
-then :
- printf "%s\n" "#define HAVE_PCAP_SENDPACKET 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "pcap_setdirection" "ac_cv_func_pcap_setdirection"
-if test "x$ac_cv_func_pcap_setdirection" = xyes
-then :
- printf "%s\n" "#define HAVE_PCAP_SETDIRECTION 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "pcap_setnonblock" "ac_cv_func_pcap_setnonblock"
-if test "x$ac_cv_func_pcap_setnonblock" = xyes
-then :
- printf "%s\n" "#define HAVE_PCAP_SETNONBLOCK 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "pcap_set_immediate_mode" "ac_cv_func_pcap_set_immediate_mode"
-if test "x$ac_cv_func_pcap_set_immediate_mode" = xyes
-then :
- printf "%s\n" "#define HAVE_PCAP_SET_IMMEDIATE_MODE 1" >>confdefs.h
+ for ac_func in pcap_inject pcap_sendpacket pcap_setdirection pcap_setnonblock pcap_set_immediate_mode
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
fi
+done
LIBS="$savelibs"
fi
-
# Check whether --with-numa was given.
-if test ${with_numa+y}
-then :
+if test "${with_numa+set}" = set; then :
withval=$with_numa; use_numa=$withval
-else $as_nop
+else
use_numa=yes
fi
@@ -17230,12 +16101,11 @@ fi
HAVE_NUMA=no
if test "$use_numa" != "no"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing numa_available" >&5
-printf %s "checking for library containing numa_available... " >&6; }
-if test ${ac_cv_search_numa_available+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing numa_available" >&5
+$as_echo_n "checking for library containing numa_available... " >&6; }
+if ${ac_cv_search_numa_available+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -17243,84 +16113,80 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 numa_available ();
int
-main (void)
+main ()
{
return numa_available ();
;
return 0;
}
_ACEOF
-for ac_lib in '' numa
-do
+for ac_lib in '' numa; 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 ac_fn_c_try_link "$LINENO"
-then :
+ if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_numa_available=$ac_res
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
- if test ${ac_cv_search_numa_available+y}
-then :
+ if ${ac_cv_search_numa_available+:} false; then :
break
fi
done
-if test ${ac_cv_search_numa_available+y}
-then :
+if ${ac_cv_search_numa_available+:} false; then :
-else $as_nop
+else
ac_cv_search_numa_available=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_numa_available" >&5
-printf "%s\n" "$ac_cv_search_numa_available" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_numa_available" >&5
+$as_echo "$ac_cv_search_numa_available" >&6; }
ac_res=$ac_cv_search_numa_available
-if test "$ac_res" != no
-then :
+if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
ac_have_libnuma=yes
-else $as_nop
+else
ac_have_libnuma=no
fi
if test "$ac_have_libnuma" = yes; then
-printf "%s\n" "#define HAVE_NUMA 1" >>confdefs.h
+$as_echo "#define HAVE_NUMA 1" >>confdefs.h
LDFLAGS="$LDFLAGS -Lnuma"
fi
if test "$HAVE_NUMA" = yes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether numa.h works" >&5
-printf %s "checking whether numa.h works... " >&6; }
-if test ${ac_cv_working_numa_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether numa.h works" >&5
+$as_echo_n "checking whether numa.h works... " >&6; }
+if ${ac_cv_working_numa_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <numa.h>
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
ac_cv_working_numa_h=yes
-else $as_nop
+else
ac_cv_working_numa_h=no
fi
rm -f conftest.err conftest.i conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_numa_h" >&5
-printf "%s\n" "$ac_cv_working_numa_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_numa_h" >&5
+$as_echo "$ac_cv_working_numa_h" >&6; }
test "$ac_cv_working_numa_h" != yes && HAVE_NUMA=
fi
fi
@@ -17330,10 +16196,9 @@ printf "%s\n" "$ac_cv_working_numa_h" >&6; }
# Check whether --with-netmap was given.
-if test ${with_netmap+y}
-then :
+if test "${with_netmap+set}" = set; then :
withval=$with_netmap; use_netmap=$withval
-else $as_nop
+else
use_netmap=no
fi
@@ -17351,55 +16216,52 @@ fi
CPPFLAGS="$saveflags $NETMAP_INCLUDES"
HAVE_NETMAP=no
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for net/netmap.h" >&5
-printf %s "checking for net/netmap.h... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for net/netmap.h" >&5
+$as_echo_n "checking for net/netmap.h... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <net/netmap.h>
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
ac_cv_net_netmap_header_path="found"
-else $as_nop
+else
ac_cv_net_netmap_header_path="not found"
fi
rm -f conftest.err conftest.i conftest.$ac_ext
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_net_netmap_header_path" >&5
-printf "%s\n" "$ac_cv_net_netmap_header_path" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_net_netmap_header_path" >&5
+$as_echo "$ac_cv_net_netmap_header_path" >&6; }
if test "$ac_cv_net_netmap_header_path" = "found"; then
HAVE_NETMAP=yes
fi
if test "$HAVE_NETMAP" = yes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether net/netmap.h works" >&5
-printf %s "checking whether net/netmap.h works... " >&6; }
-if test ${ac_cv_working_net_netmap_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether net/netmap.h works" >&5
+$as_echo_n "checking whether net/netmap.h works... " >&6; }
+if ${ac_cv_working_net_netmap_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <net/netmap.h>
_ACEOF
-if ac_fn_c_try_cpp "$LINENO"
-then :
+if ac_fn_c_try_cpp "$LINENO"; then :
ac_cv_working_net_netmap_h=yes
-else $as_nop
+else
ac_cv_working_net_netmap_h=no
fi
rm -f conftest.err conftest.i conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_net_netmap_h" >&5
-printf "%s\n" "$ac_cv_working_net_netmap_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_net_netmap_h" >&5
+$as_echo "$ac_cv_working_net_netmap_h" >&6; }
test "$ac_cv_working_net_netmap_h" != yes && HAVE_NETMAP=
fi
CPPFLAGS="$saveflags"
if test "$HAVE_NETMAP" = yes -a "$use_netmap" != no; then
-printf "%s\n" "#define HAVE_NETMAP 1" >>confdefs.h
+$as_echo "#define HAVE_NETMAP 1" >>confdefs.h
EXTRA_DRIVER_OBJS="netmapdevice.o $EXTRA_DRIVER_OBJS"
else
@@ -17410,13 +16272,13 @@ printf "%s\n" "#define HAVE_NETMAP 1" >>confdefs.h
if test "$HAVE_PCAP" != yes -a "$HAVE_NETMAP" != yes -a "$ac_cv_under_linux" != yes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
pcap.h and/or -lpcap not found; user-level driver can't steal packets.
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
pcap.h and/or -lpcap not found; user-level driver can't steal packets.
@@ -17424,7 +16286,7 @@ pcap.h and/or -lpcap not found; user-level driver can't steal packets.
=========================================" >&2;}
fi
DRIVERS="$DRIVERS userlevel"
- printf "%s\n" "#define HAVE_USERLEVEL_DRIVER 1" >>confdefs.h
+ $as_echo "#define HAVE_USERLEVEL_DRIVER 1" >>confdefs.h
HAVE_USERLEVEL_DRIVER=1
fi
@@ -17446,80 +16308,76 @@ if test "x$enable_netmap_pool" = "xyes"; then
=========================================" "$LINENO" 5
fi
- printf "%s\n" "#define HAVE_NETMAP_PACKET_POOL 1" >>confdefs.h
+ $as_echo "#define HAVE_NETMAP_PACKET_POOL 1" >>confdefs.h
HAVE_NETMAP_PACKET_POOL=yes
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct if_data has ifi_datalen" >&5
-printf %s "checking whether struct if_data has ifi_datalen... " >&6; }
-if test ${ac_cv_if_data_ifi_datalen+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct if_data has ifi_datalen" >&5
+$as_echo_n "checking whether struct if_data has ifi_datalen... " >&6; }
+if ${ac_cv_if_data_ifi_datalen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <net/if.h>
#include <net/if_var.h>
int
-main (void)
+main ()
{
struct if_msghdr ifm; ifm.ifm_data.ifi_datalen = 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_if_data_ifi_datalen=yes
-else $as_nop
+else
ac_cv_if_data_ifi_datalen=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_if_data_ifi_datalen" >&5
-printf "%s\n" "$ac_cv_if_data_ifi_datalen" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_if_data_ifi_datalen" >&5
+$as_echo "$ac_cv_if_data_ifi_datalen" >&6; }
if test "x$ac_cv_if_data_ifi_datalen" = xyes; then
-printf "%s\n" "#define HAVE_IF_DATA_IFI_DATALEN 1" >>confdefs.h
+$as_echo "#define HAVE_IF_DATA_IFI_DATALEN 1" >>confdefs.h
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in has sin_len" >&5
-printf %s "checking whether struct sockaddr_in has sin_len... " >&6; }
-if test ${ac_cv_sockaddr_in_sin_len+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in has sin_len" >&5
+$as_echo_n "checking whether struct sockaddr_in has sin_len... " >&6; }
+if ${ac_cv_sockaddr_in_sin_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/socket.h>
#include <netinet/in.h>
int
-main (void)
+main ()
{
struct sockaddr_in sin; sin.sin_len = 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_sockaddr_in_sin_len=yes
-else $as_nop
+else
ac_cv_sockaddr_in_sin_len=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sockaddr_in_sin_len" >&5
-printf "%s\n" "$ac_cv_sockaddr_in_sin_len" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sockaddr_in_sin_len" >&5
+$as_echo "$ac_cv_sockaddr_in_sin_len" >&6; }
if test "x$ac_cv_sockaddr_in_sin_len" = xyes; then
-printf "%s\n" "#define HAVE_SOCKADDR_IN_SIN_LEN 1" >>confdefs.h
+$as_echo "#define HAVE_SOCKADDR_IN_SIN_LEN 1" >>confdefs.h
fi
@@ -17528,24 +16386,23 @@ fi
explicit_proper=yes
# Check whether --with-proper was given.
-if test ${with_proper+y}
-then :
+if test "${with_proper+set}" = set; then :
withval=$with_proper; properprefix=$withval; if test -z "$withval" -o "$withval" = yes; then properprefix=; fi
-else $as_nop
+else
properprefix=no; explicit_proper=no
fi
if test "$properprefix" != no; then
saveflags="$CPPFLAGS"; test -n "$properprefix" && CPPFLAGS="$CPPFLAGS -I$properprefix/include"
- ac_fn_c_check_header_compile "$LINENO" "prop.h" "ac_cv_header_prop_h" "$ac_includes_default"
-if test "x$ac_cv_header_prop_h" = xyes
-then :
+ ac_fn_c_check_header_mongrel "$LINENO" "prop.h" "ac_cv_header_prop_h" "$ac_includes_default"
+if test "x$ac_cv_header_prop_h" = xyes; then :
have_prop_h=yes
-else $as_nop
+else
have_prop_h=no
fi
+
CPPFLAGS="$saveflags"
ac_ext=c
@@ -17555,12 +16412,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
saveflags="$LDFLAGS"; test -n "$properprefix" && LDFLAGS="$LDFLAGS -L$properprefix/lib"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for prop_open in -lproper" >&5
-printf %s "checking for prop_open in -lproper... " >&6; }
-if test ${ac_cv_lib_proper_prop_open+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_open in -lproper" >&5
+$as_echo_n "checking for prop_open in -lproper... " >&6; }
+if ${ac_cv_lib_proper_prop_open+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lproper $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17569,31 +16425,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 prop_open ();
int
-main (void)
+main ()
{
return prop_open ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_proper_prop_open=yes
-else $as_nop
+else
ac_cv_lib_proper_prop_open=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proper_prop_open" >&5
-printf "%s\n" "$ac_cv_lib_proper_prop_open" >&6; }
-if test "x$ac_cv_lib_proper_prop_open" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proper_prop_open" >&5
+$as_echo "$ac_cv_lib_proper_prop_open" >&6; }
+if test "x$ac_cv_lib_proper_prop_open" = xyes; then :
have_libproper=yes
-else $as_nop
+else
have_libproper=no
fi
@@ -17606,7 +16463,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
if test $have_prop_h = yes -a $have_libproper = yes; then
- printf "%s\n" "#define HAVE_PROPER 1" >>confdefs.h
+ $as_echo "#define HAVE_PROPER 1" >>confdefs.h
test -n "$properprefix" && PROPER_INCLUDES="-I$properprefix/include" && PROPER_LIBS="-L$properprefix/lib"
PROPER_LIBS="$PROPER_LIBS -lproper"
@@ -17630,10 +16487,9 @@ fi
explicit_expat=yes
# Check whether --with-expat was given.
-if test ${with_expat+y}
-then :
+if test "${with_expat+set}" = set; then :
withval=$with_expat; expatprefix=$withval; if test -z "$withval" -o "$withval" = yes; then expatprefix=; fi
-else $as_nop
+else
expatprefix=; explicit_expat=no
fi
@@ -17641,14 +16497,14 @@ fi
XML2CLICK=
if test "$expatprefix" != no; then
saveflags="$CPPFLAGS"; test -n "$expatprefix" && CPPFLAGS="$CPPFLAGS -I$expatprefix/include"
- ac_fn_cxx_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
-if test "x$ac_cv_header_expat_h" = xyes
-then :
+ ac_fn_cxx_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
+if test "x$ac_cv_header_expat_h" = xyes; then :
have_expat_h=yes
-else $as_nop
+else
have_expat_h=no
fi
+
CPPFLAGS="$saveflags"
ac_ext=c
@@ -17658,12 +16514,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
saveflags="$LDFLAGS"; test -n "$expatprefix" && LDFLAGS="$LDFLAGS -L$expatprefix/lib"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreateNS in -lexpat" >&5
-printf %s "checking for XML_ParserCreateNS in -lexpat... " >&6; }
-if test ${ac_cv_lib_expat_XML_ParserCreateNS+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreateNS in -lexpat" >&5
+$as_echo_n "checking for XML_ParserCreateNS in -lexpat... " >&6; }
+if ${ac_cv_lib_expat_XML_ParserCreateNS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lexpat $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17672,38 +16527,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 XML_ParserCreateNS ();
int
-main (void)
+main ()
{
return XML_ParserCreateNS ();
;
return 0;
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_expat_XML_ParserCreateNS=yes
-else $as_nop
+else
ac_cv_lib_expat_XML_ParserCreateNS=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreateNS" >&5
-printf "%s\n" "$ac_cv_lib_expat_XML_ParserCreateNS" >&6; }
-if test "x$ac_cv_lib_expat_XML_ParserCreateNS" = xyes
-then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreateNS" >&5
+$as_echo "$ac_cv_lib_expat_XML_ParserCreateNS" >&6; }
+if test "x$ac_cv_lib_expat_XML_ParserCreateNS" = xyes; then :
have_libexpat=yes
-else $as_nop
+else
have_libexpat=no
fi
LDFLAGS="$saveflags"
if test $have_expat_h = yes -a $have_libexpat = yes; then
- printf "%s\n" "#define HAVE_EXPAT 1" >>confdefs.h
+ $as_echo "#define HAVE_EXPAT 1" >>confdefs.h
XML2CLICK=xml2click
test -n "$expatprefix" && EXPAT_INCLUDES="-I$expatprefix/include" && EXPAT_LIBS="-L$expatprefix/lib"
@@ -17753,16 +16609,16 @@ if test $ac_have_linux_kernel = y; then
if test -n "$LINUX_CFLAGS"; then
:
elif test $LINUXMODULE_2_6 = 1; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Linux kernel compilation flags" >&5
-printf %s "checking for Linux kernel compilation flags... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux kernel compilation flags" >&5
+$as_echo_n "checking for Linux kernel compilation flags... " >&6; }
echo >conftest.c
make -C $linux_builddir M="`pwd`" $linux_makeargs --no-print-directory -p conftest.o >conftest.dat 2>&1
for v in KBUILD_CPPFLAGS KBUILD_CFLAGS CPPFLAGS CFLAGS LINUXINCLUDE debug_flags; do
eval l$v="'""`grep ^$v' *:*=' conftest.dat | sed s/^$v' *:*= *//'`""'"
done
if test -z "$lKBUILD_CPPFLAGS$lKBUILD_CFLAGS$lCPPFLAGS$lCFLAGS$lLINUXINCLUDE"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-printf "%s\n" "not found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
+$as_echo "not found" >&6; }
as_fn_error $? "
==============================================
@@ -17779,16 +16635,16 @@ Can't find Linux compilation flags.
-e 's,-std=[-a-z0-9+]*,,g' \
-e s,-Werror-implicit-function-declaration,,g \
-e 's,-W[^ ]*,,g' <conftest.dat`"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINUX_CFLAGS" >&5
-printf "%s\n" "$LINUX_CFLAGS" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_CFLAGS" >&5
+$as_echo "$LINUX_CFLAGS" >&6; }
LINUX_DEBUG_FLAGS="$ldebug_flags"
fi
LINUX_FIXINCLUDES_PROGRAM=
CLICKLINUX_FIXINCLUDES_PROGRAM=
if test "$LINUXMODULE_FIXINCLUDES" = 1; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: making C++-safe versions of Linux kernel headers (may take a while)" >&5
-printf "%s\n" "$as_me: making C++-safe versions of Linux kernel headers (may take a while)" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: making C++-safe versions of Linux kernel headers (may take a while)" >&5
+$as_echo "$as_me: making C++-safe versions of Linux kernel headers (may take a while)" >&6;}
mydir="`pwd`"
mysrcdir="$srcdir"
if expr $mysrcdir : / >/dev/null; then :; else mysrcdir="$mydir/$srcdir"; fi
@@ -17819,7 +16675,7 @@ click-linuxtool.pl execution failed.
linux_autoconf_include=
if test "$linux_version_code" -lt 132638; then
-printf "%s\n" "#define HAVE_CHECK_AUTOCONF_INCLUDED 1" >>confdefs.h
+$as_echo "#define HAVE_CHECK_AUTOCONF_INCLUDED 1" >>confdefs.h
linux_autoconf_include="#if !defined(AUTOCONF_INCLUDED)
# include <linux/autoconf.h>
@@ -17829,12 +16685,11 @@ printf "%s\n" "#define HAVE_CHECK_AUTOCONF_INCLUDED 1" >>confdefs.h
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++-includable kernel header files" >&5
-printf %s "checking for C++-includable kernel header files... " >&6; }
-if test ${ac_cv_cxx_aware_system+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++-includable kernel header files" >&5
+$as_echo_n "checking for C++-includable kernel header files... " >&6; }
+if ${ac_cv_cxx_aware_system+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -17864,33 +16719,32 @@ $linux_autoconf_include
#include <linux/skbuff.h>
#include <linux/sched.h>
int
-main (void)
+main ()
{
return 0
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_cxx_aware_system=yes
-else $as_nop
+else
ac_cv_cxx_aware_system=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_aware_system" >&5
-printf "%s\n" "$ac_cv_cxx_aware_system" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_aware_system" >&5
+$as_echo "$ac_cv_cxx_aware_system" >&6; }
if test $ac_cv_cxx_aware_system = yes; then
DRIVERS="$DRIVERS linuxmodule"
TOOL_TARGETS="$TOOL_TARGETS click-install"
- printf "%s\n" "#define HAVE_LINUXMODULE_DRIVER 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUXMODULE_DRIVER 1" >>confdefs.h
HAVE_LINUXMODULE_DRIVER=1
elif test x$enable_linuxmodule_default = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
=========================================
Your Linux kernel header files cause errors when included by a C++ program,
@@ -17904,7 +16758,7 @@ try to fix the error. See the config.log file for more information on the
error.
=========================================" >&5
-printf "%s\n" "$as_me: WARNING:
+$as_echo "$as_me: WARNING:
=========================================
Your Linux kernel header files cause errors when included by a C++ program,
@@ -17942,12 +16796,11 @@ error.
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long and int64_t are the same type in the Linux kernel" >&5
-printf %s "checking whether long and int64_t are the same type in the Linux kernel... " >&6; }
-if test ${ac_cv_long_64_linuxmodule+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long and int64_t are the same type in the Linux kernel" >&5
+$as_echo_n "checking whether long and int64_t are the same type in the Linux kernel... " >&6; }
+if ${ac_cv_long_64_linuxmodule+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -17973,35 +16826,33 @@ void f1(long) {
void f1(int64_t) { // will fail if long and int64_t are the same type
}
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_long_64_linuxmodule=no
-else $as_nop
+else
ac_cv_long_64_linuxmodule=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_64_linuxmodule" >&5
-printf "%s\n" "$ac_cv_long_64_linuxmodule" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_64_linuxmodule" >&5
+$as_echo "$ac_cv_long_64_linuxmodule" >&6; }
if test $ac_cv_long_64_linuxmodule = yes; then
-printf "%s\n" "#define HAVE_INT64_IS_LONG_LINUXMODULE 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_IS_LONG_LINUXMODULE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long long and int64_t are the same type in the Linux kernel" >&5
-printf %s "checking whether long long and int64_t are the same type in the Linux kernel... " >&6; }
-if test ${ac_cv_long_long_64_linuxmodule+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long long and int64_t are the same type in the Linux kernel" >&5
+$as_echo_n "checking whether long long and int64_t are the same type in the Linux kernel... " >&6; }
+if ${ac_cv_long_long_64_linuxmodule+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18027,35 +16878,33 @@ void f1(long long) {
void f1(int64_t) { // will fail if long long and int64_t are the same type
}
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_long_long_64_linuxmodule=no
-else $as_nop
+else
ac_cv_long_long_64_linuxmodule=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_long_64_linuxmodule" >&5
-printf "%s\n" "$ac_cv_long_long_64_linuxmodule" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_long_long_64_linuxmodule" >&5
+$as_echo "$ac_cv_long_long_64_linuxmodule" >&6; }
if test $ac_cv_long_long_64_linuxmodule = yes; then
-printf "%s\n" "#define HAVE_INT64_IS_LONG_LONG_LINUXMODULE 1" >>confdefs.h
+$as_echo "#define HAVE_INT64_IS_LONG_LONG_LINUXMODULE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uintptr_t is defined in the Linux kernel" >&5
-printf %s "checking whether uintptr_t is defined in the Linux kernel... " >&6; }
-if test ${ac_cv_uintptr_t_linuxmodule+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uintptr_t is defined in the Linux kernel" >&5
+$as_echo_n "checking whether uintptr_t is defined in the Linux kernel... " >&6; }
+if ${ac_cv_uintptr_t_linuxmodule+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18078,32 +16927,31 @@ $linux_autoconf_include
#include <linux/types.h>
int
-main (void)
+main ()
{
uintptr_t i = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_uintptr_t_linuxmodule=yes
-else $as_nop
+else
ac_cv_uintptr_t_linuxmodule=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_uintptr_t_linuxmodule" >&5
-printf "%s\n" "$ac_cv_uintptr_t_linuxmodule" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_uintptr_t_linuxmodule" >&5
+$as_echo "$ac_cv_uintptr_t_linuxmodule" >&6; }
if test $ac_cv_uintptr_t_linuxmodule = yes; then
-printf "%s\n" "#define HAVE_UINTPTR_T_LINUXMODULE 1" >>confdefs.h
+$as_echo "#define HAVE_UINTPTR_T_LINUXMODULE 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "atomic_cmpxchg" "ac_cv_have_decl_atomic_cmpxchg" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "atomic_cmpxchg" "ac_cv_have_decl_atomic_cmpxchg" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18121,20 +16969,20 @@ printf "%s\n" "#define HAVE_UINTPTR_T_LINUXMODULE 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <asm/atomic.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_atomic_cmpxchg" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_atomic_cmpxchg" = xyes; then :
ac_cv_linux_atomic_cmpxchg=yes
-else $as_nop
+else
ac_cv_linux_atomic_cmpxchg=no
fi
+
if test $ac_cv_linux_atomic_cmpxchg = yes; then
-printf "%s\n" "#define HAVE_LINUX_ATOMIC_CMPXCHG 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_ATOMIC_CMPXCHG 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "atomic_set_mask" "ac_cv_have_decl_atomic_set_mask" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "atomic_set_mask" "ac_cv_have_decl_atomic_set_mask" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18152,20 +17000,20 @@ printf "%s\n" "#define HAVE_LINUX_ATOMIC_CMPXCHG 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <asm/atomic.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_atomic_set_mask" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_atomic_set_mask" = xyes; then :
ac_cv_linux_atomic_set_mask=yes
-else $as_nop
+else
ac_cv_linux_atomic_set_mask=no
fi
+
if test $ac_cv_linux_atomic_set_mask = yes; then
-printf "%s\n" "#define HAVE_LINUX_ATOMIC_SET_MASK 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_ATOMIC_SET_MASK 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "atomic_add_return" "ac_cv_have_decl_atomic_add_return" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "atomic_add_return" "ac_cv_have_decl_atomic_add_return" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18183,25 +17031,24 @@ printf "%s\n" "#define HAVE_LINUX_ATOMIC_SET_MASK 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <asm/atomic.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_atomic_add_return" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_atomic_add_return" = xyes; then :
ac_cv_linux_atomic_add_return=yes
-else $as_nop
+else
ac_cv_linux_atomic_add_return=no
fi
+
if test $ac_cv_linux_atomic_add_return = yes; then
-printf "%s\n" "#define HAVE_LINUX_ATOMIC_ADD_RETURN 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_ATOMIC_ADD_RETURN 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for <asm/alternative.h>" >&5
-printf %s "checking for <asm/alternative.h>... " >&6; }
-if test ${ac_cv_linux_asm_alternative_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <asm/alternative.h>" >&5
+$as_echo_n "checking for <asm/alternative.h>... " >&6; }
+if ${ac_cv_linux_asm_alternative_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -18229,35 +17076,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <asm/alternative.h>
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_linux_asm_alternative_h=yes
-else $as_nop
+else
ac_cv_linux_asm_alternative_h=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_asm_alternative_h" >&5
-printf "%s\n" "$ac_cv_linux_asm_alternative_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_asm_alternative_h" >&5
+$as_echo "$ac_cv_linux_asm_alternative_h" >&6; }
if test $ac_cv_linux_asm_alternative_h = yes; then
-printf "%s\n" "#define HAVE_LINUX_ASM_ALTERNATIVE_H 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_ASM_ALTERNATIVE_H 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for <asm/scatterlist.h>" >&5
-printf %s "checking for <asm/scatterlist.h>... " >&6; }
-if test ${ac_cv_linux_asm_scatterlist_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <asm/scatterlist.h>" >&5
+$as_echo_n "checking for <asm/scatterlist.h>... " >&6; }
+if ${ac_cv_linux_asm_scatterlist_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -18285,35 +17130,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <asm/scatterlist.h>
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_linux_asm_scatterlist_h=yes
-else $as_nop
+else
ac_cv_linux_asm_scatterlist_h=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_asm_scatterlist_h" >&5
-printf "%s\n" "$ac_cv_linux_asm_scatterlist_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_asm_scatterlist_h" >&5
+$as_echo "$ac_cv_linux_asm_scatterlist_h" >&6; }
if test $ac_cv_linux_asm_scatterlist_h = yes; then
-printf "%s\n" "#define HAVE_LINUX_ASM_SCATTERLIST_H 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_ASM_SCATTERLIST_H 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for <asm/system.h>" >&5
-printf %s "checking for <asm/system.h>... " >&6; }
-if test ${ac_cv_linux_asm_system_h+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <asm/system.h>" >&5
+$as_echo_n "checking for <asm/system.h>... " >&6; }
+if ${ac_cv_linux_asm_system_h+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -18341,30 +17184,29 @@ $linux_autoconf_include
#include <asm/types.h>
#include <asm/system.h>
int
-main (void)
+main ()
{
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_linux_asm_system_h=yes
-else $as_nop
+else
ac_cv_linux_asm_system_h=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_asm_system_h" >&5
-printf "%s\n" "$ac_cv_linux_asm_system_h" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_asm_system_h" >&5
+$as_echo "$ac_cv_linux_asm_system_h" >&6; }
if test $ac_cv_linux_asm_system_h = yes; then
-printf "%s\n" "#define HAVE_LINUX_ASM_SYSTEM_H 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_ASM_SYSTEM_H 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "set_cpus_allowed_ptr" "ac_cv_have_decl_set_cpus_allowed_ptr" "#define KBUILD_STR(s) #s
+ ac_fn_c_check_decl "$LINENO" "set_cpus_allowed_ptr" "ac_cv_have_decl_set_cpus_allowed_ptr" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18382,16 +17224,16 @@ printf "%s\n" "#define HAVE_LINUX_ASM_SYSTEM_H 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <linux/sched.h>
-" "$ac_c_undeclared_builtin_options" "CFLAGS"
-if test "x$ac_cv_have_decl_set_cpus_allowed_ptr" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_set_cpus_allowed_ptr" = xyes; then :
ac_cv_linux_set_cpus_allowed_ptr=yes
-else $as_nop
+else
ac_cv_linux_set_cpus_allowed_ptr=no
fi
+
if test $ac_cv_linux_set_cpus_allowed_ptr = yes; then
-printf "%s\n" "#define HAVE_LINUX_SET_CPUS_ALLOWED_PTR 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SET_CPUS_ALLOWED_PTR 1" >>confdefs.h
fi
@@ -18403,12 +17245,11 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct sk_buff has a security member" >&5
-printf %s "checking whether struct sk_buff has a security member... " >&6; }
-if test ${ac_cv_linuxmodule_skbuff_security+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sk_buff has a security member" >&5
+$as_echo_n "checking whether struct sk_buff has a security member... " >&6; }
+if ${ac_cv_linuxmodule_skbuff_security+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18430,35 +17271,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; s->security = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skbuff_security=yes
-else $as_nop
+else
ac_cv_linuxmodule_skbuff_security=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skbuff_security" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skbuff_security" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skbuff_security" >&5
+$as_echo "$ac_cv_linuxmodule_skbuff_security" >&6; }
if test $ac_cv_linuxmodule_skbuff_security = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKBUFF_SECURITY 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKBUFF_SECURITY 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct sk_buff has an fclone member" >&5
-printf %s "checking whether struct sk_buff has an fclone member... " >&6; }
-if test ${ac_cv_linuxmodule_skbuff_fclone+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sk_buff has an fclone member" >&5
+$as_echo_n "checking whether struct sk_buff has an fclone member... " >&6; }
+if ${ac_cv_linuxmodule_skbuff_fclone+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18480,35 +17319,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; s->fclone = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skbuff_fclone=yes
-else $as_nop
+else
ac_cv_linuxmodule_skbuff_fclone=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skbuff_fclone" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skbuff_fclone" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skbuff_fclone" >&5
+$as_echo "$ac_cv_linuxmodule_skbuff_fclone" >&6; }
if test $ac_cv_linuxmodule_skbuff_fclone = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKBUFF_FCLONE 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKBUFF_FCLONE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a tso_size member" >&5
-printf %s "checking whether skb_shinfo has a tso_size member... " >&6; }
-if test ${ac_cv_linuxmodule_skb_shinfo_tso_size+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a tso_size member" >&5
+$as_echo_n "checking whether skb_shinfo has a tso_size member... " >&6; }
+if ${ac_cv_linuxmodule_skb_shinfo_tso_size+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18530,35 +17367,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; skb_shinfo(s)->tso_size = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skb_shinfo_tso_size=yes
-else $as_nop
+else
ac_cv_linuxmodule_skb_shinfo_tso_size=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_tso_size" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skb_shinfo_tso_size" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_tso_size" >&5
+$as_echo "$ac_cv_linuxmodule_skb_shinfo_tso_size" >&6; }
if test $ac_cv_linuxmodule_skb_shinfo_tso_size = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKB_SHINFO_TSO_SIZE 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKB_SHINFO_TSO_SIZE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a gso_size member" >&5
-printf %s "checking whether skb_shinfo has a gso_size member... " >&6; }
-if test ${ac_cv_linuxmodule_skb_shinfo_gso_size+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a gso_size member" >&5
+$as_echo_n "checking whether skb_shinfo has a gso_size member... " >&6; }
+if ${ac_cv_linuxmodule_skb_shinfo_gso_size+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18580,35 +17415,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; skb_shinfo(s)->gso_size = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skb_shinfo_gso_size=yes
-else $as_nop
+else
ac_cv_linuxmodule_skb_shinfo_gso_size=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_gso_size" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skb_shinfo_gso_size" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_gso_size" >&5
+$as_echo "$ac_cv_linuxmodule_skb_shinfo_gso_size" >&6; }
if test $ac_cv_linuxmodule_skb_shinfo_gso_size = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKB_SHINFO_GSO_SIZE 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKB_SHINFO_GSO_SIZE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a ufo_size member" >&5
-printf %s "checking whether skb_shinfo has a ufo_size member... " >&6; }
-if test ${ac_cv_linuxmodule_skb_shinfo_ufo_size+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a ufo_size member" >&5
+$as_echo_n "checking whether skb_shinfo has a ufo_size member... " >&6; }
+if ${ac_cv_linuxmodule_skb_shinfo_ufo_size+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18630,35 +17463,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; skb_shinfo(s)->ufo_size = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skb_shinfo_ufo_size=yes
-else $as_nop
+else
ac_cv_linuxmodule_skb_shinfo_ufo_size=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_ufo_size" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skb_shinfo_ufo_size" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_ufo_size" >&5
+$as_echo "$ac_cv_linuxmodule_skb_shinfo_ufo_size" >&6; }
if test $ac_cv_linuxmodule_skb_shinfo_ufo_size = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKB_SHINFO_UFO_SIZE 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKB_SHINFO_UFO_SIZE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has an ip6_frag_id member" >&5
-printf %s "checking whether skb_shinfo has an ip6_frag_id member... " >&6; }
-if test ${ac_cv_linuxmodule_skb_shinfo_ip6_frag_id+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has an ip6_frag_id member" >&5
+$as_echo_n "checking whether skb_shinfo has an ip6_frag_id member... " >&6; }
+if ${ac_cv_linuxmodule_skb_shinfo_ip6_frag_id+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18680,35 +17511,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; skb_shinfo(s)->ip6_frag_id = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skb_shinfo_ip6_frag_id=yes
-else $as_nop
+else
ac_cv_linuxmodule_skb_shinfo_ip6_frag_id=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_ip6_frag_id" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skb_shinfo_ip6_frag_id" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_ip6_frag_id" >&5
+$as_echo "$ac_cv_linuxmodule_skb_shinfo_ip6_frag_id" >&6; }
if test $ac_cv_linuxmodule_skb_shinfo_ip6_frag_id = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKB_SHINFO_IP6_FRAG_ID 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKB_SHINFO_IP6_FRAG_ID 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has tx_flags defining SKBTX_DEV_ZEROCOPY" >&5
-printf %s "checking whether skb_shinfo has tx_flags defining SKBTX_DEV_ZEROCOPY... " >&6; }
-if test ${ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has tx_flags defining SKBTX_DEV_ZEROCOPY" >&5
+$as_echo_n "checking whether skb_shinfo has tx_flags defining SKBTX_DEV_ZEROCOPY... " >&6; }
+if ${ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18730,35 +17559,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; skb_shinfo(s)->tx_flags = SKBTX_DEV_ZEROCOPY;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy=yes
-else $as_nop
+else
ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy" >&5
+$as_echo "$ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy" >&6; }
if test $ac_cv_linuxmodule_skb_shinfo_tx_flags_skbtx_dev_zerocopy = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKB_SHINFO_TX_FLAGS_SKBTX_DEV_ZEROCOPY 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKB_SHINFO_TX_FLAGS_SKBTX_DEV_ZEROCOPY 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a tx_flags union" >&5
-printf %s "checking whether skb_shinfo has a tx_flags union... " >&6; }
-if test ${ac_cv_linuxmodule_skb_shinfo_tx_flags_union+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_shinfo has a tx_flags union" >&5
+$as_echo_n "checking whether skb_shinfo has a tx_flags union... " >&6; }
+if ${ac_cv_linuxmodule_skb_shinfo_tx_flags_union+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18780,35 +17607,33 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *s; skb_shinfo(s)->tx_flags.flags = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_skb_shinfo_tx_flags_union=yes
-else $as_nop
+else
ac_cv_linuxmodule_skb_shinfo_tx_flags_union=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_tx_flags_union" >&5
-printf "%s\n" "$ac_cv_linuxmodule_skb_shinfo_tx_flags_union" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_skb_shinfo_tx_flags_union" >&5
+$as_echo "$ac_cv_linuxmodule_skb_shinfo_tx_flags_union" >&6; }
if test $ac_cv_linuxmodule_skb_shinfo_tx_flags_union = yes; then
-printf "%s\n" "#define HAVE_LINUX_SKB_SHINFO_TX_FLAGS_UNION 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SKB_SHINFO_TX_FLAGS_UNION 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for device polling kernel extension" >&5
-printf %s "checking for device polling kernel extension... " >&6; }
-if test ${ac_cv_linuxmodule_net_device_polling+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for device polling kernel extension" >&5
+$as_echo_n "checking for device polling kernel extension... " >&6; }
+if ${ac_cv_linuxmodule_net_device_polling+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18830,30 +17655,29 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/netdevice.h>
int
-main (void)
+main ()
{
extern struct net_device *d; d->polling = 0;
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_net_device_polling=yes
-else $as_nop
+else
ac_cv_linuxmodule_net_device_polling=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_net_device_polling" >&5
-printf "%s\n" "$ac_cv_linuxmodule_net_device_polling" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_net_device_polling" >&5
+$as_echo "$ac_cv_linuxmodule_net_device_polling" >&6; }
if test $ac_cv_linuxmodule_net_device_polling = yes; then
-printf "%s\n" "#define HAVE_LINUX_POLLING 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_POLLING 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "skb_dst_drop" "ac_cv_have_decl_skb_dst_drop" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "skb_dst_drop" "ac_cv_have_decl_skb_dst_drop" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18871,20 +17695,20 @@ printf "%s\n" "#define HAVE_LINUX_POLLING 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <net/dst.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_skb_dst_drop" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_skb_dst_drop" = xyes; then :
ac_cv_skb_dst_drop=yes
-else $as_nop
+else
ac_cv_skb_dst_drop=no
fi
+
if test $ac_cv_skb_dst_drop = yes; then
-printf "%s\n" "#define HAVE_SKB_DST_DROP 1" >>confdefs.h
+$as_echo "#define HAVE_SKB_DST_DROP 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "skb_recycle" "ac_cv_have_decl_skb_recycle" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "skb_recycle" "ac_cv_have_decl_skb_recycle" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18902,20 +17726,20 @@ printf "%s\n" "#define HAVE_SKB_DST_DROP 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_skb_recycle" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_skb_recycle" = xyes; then :
ac_cv_skb_recycle=yes
-else $as_nop
+else
ac_cv_skb_recycle=no
fi
+
if test $ac_cv_skb_recycle = yes; then
-printf "%s\n" "#define HAVE_SKB_RECYCLE 1" >>confdefs.h
+$as_echo "#define HAVE_SKB_RECYCLE 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "skb_recycle_check" "ac_cv_have_decl_skb_recycle_check" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "skb_recycle_check" "ac_cv_have_decl_skb_recycle_check" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -18933,28 +17757,27 @@ printf "%s\n" "#define HAVE_SKB_RECYCLE 1" >>confdefs.h
$linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_skb_recycle_check" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_skb_recycle_check" = xyes; then :
ac_cv_skb_recycle_check=yes
-else $as_nop
+else
ac_cv_skb_recycle_check=no
fi
+
if test $ac_cv_skb_recycle_check = yes; then
-printf "%s\n" "#define HAVE_SKB_RECYCLE_CHECK 1" >>confdefs.h
+$as_echo "#define HAVE_SKB_RECYCLE_CHECK 1" >>confdefs.h
fi
save_cflags="$CFLAGS"
CFLAGS="$save_cflags -Werror-implicit-function-declaration"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether skb_recycle returns an sk_buff" >&5
-printf %s "checking whether skb_recycle returns an sk_buff... " >&6; }
-if test ${ac_cv_linuxmodule_click_skb_recycle+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether skb_recycle returns an sk_buff" >&5
+$as_echo_n "checking whether skb_recycle returns an sk_buff... " >&6; }
+if ${ac_cv_linuxmodule_click_skb_recycle+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -18976,32 +17799,31 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
int
-main (void)
+main ()
{
extern struct sk_buff *b; b = skb_recycle(b);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_click_skb_recycle=yes
-else $as_nop
+else
ac_cv_linuxmodule_click_skb_recycle=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_click_skb_recycle" >&5
-printf "%s\n" "$ac_cv_linuxmodule_click_skb_recycle" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_click_skb_recycle" >&5
+$as_echo "$ac_cv_linuxmodule_click_skb_recycle" >&6; }
if test $ac_cv_linuxmodule_click_skb_recycle = yes; then
-printf "%s\n" "#define HAVE_CLICK_SKB_RECYCLE 1" >>confdefs.h
+$as_echo "#define HAVE_CLICK_SKB_RECYCLE 1" >>confdefs.h
fi
CFLAGS="$save_cflags"
- ac_fn_check_decl "$LINENO" "skb_linearize" "ac_cv_have_decl_skb_linearize" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "skb_linearize" "ac_cv_have_decl_skb_linearize" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19019,25 +17841,24 @@ CFLAGS="$save_cflags"
$linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_skb_linearize" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_skb_linearize" = xyes; then :
ac_cv_skb_linearize=yes
-else $as_nop
+else
ac_cv_skb_linearize=no
fi
+
if test $ac_cv_skb_linearize = yes; then
-printf "%s\n" "#define HAVE_SKB_LINEARIZE 1" >>confdefs.h
+$as_echo "#define HAVE_SKB_LINEARIZE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether netif_receive_skb has been extended" >&5
-printf %s "checking whether netif_receive_skb has been extended... " >&6; }
-if test ${ac_cv_linuxmodule_netif_receive_skb_extended+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netif_receive_skb has been extended" >&5
+$as_echo_n "checking whether netif_receive_skb has been extended... " >&6; }
+if ${ac_cv_linuxmodule_netif_receive_skb_extended+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#define KBUILD_STR(s) #s
@@ -19059,30 +17880,29 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/netdevice.h>
int
-main (void)
+main ()
{
netif_receive_skb(0, 0, 0);
;
return 0;
}
_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_linuxmodule_netif_receive_skb_extended=yes
-else $as_nop
+else
ac_cv_linuxmodule_netif_receive_skb_extended=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_netif_receive_skb_extended" >&5
-printf "%s\n" "$ac_cv_linuxmodule_netif_receive_skb_extended" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_netif_receive_skb_extended" >&5
+$as_echo "$ac_cv_linuxmodule_netif_receive_skb_extended" >&6; }
if test $ac_cv_linuxmodule_netif_receive_skb_extended = yes; then
-printf "%s\n" "#define HAVE_NETIF_RECEIVE_SKB_EXTENDED 1" >>confdefs.h
+$as_echo "#define HAVE_NETIF_RECEIVE_SKB_EXTENDED 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "net_enable_timestamp" "ac_cv_have_decl_net_enable_timestamp" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "net_enable_timestamp" "ac_cv_have_decl_net_enable_timestamp" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19101,20 +17921,20 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_net_enable_timestamp" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_net_enable_timestamp" = xyes; then :
ac_cv_net_enable_timestamp=yes
-else $as_nop
+else
ac_cv_net_enable_timestamp=no
fi
+
if test $ac_cv_net_enable_timestamp = yes; then
-printf "%s\n" "#define HAVE_NET_ENABLE_TIMESTAMP 1" >>confdefs.h
+$as_echo "#define HAVE_NET_ENABLE_TIMESTAMP 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "netif_tx_lock" "ac_cv_have_decl_netif_tx_lock" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "netif_tx_lock" "ac_cv_have_decl_netif_tx_lock" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19133,20 +17953,20 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_netif_tx_lock" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_netif_tx_lock" = xyes; then :
ac_cv_netif_tx_lock=yes
-else $as_nop
+else
ac_cv_netif_tx_lock=no
fi
+
if test $ac_cv_netif_tx_lock = yes; then
-printf "%s\n" "#define HAVE_NETIF_TX_LOCK 1" >>confdefs.h
+$as_echo "#define HAVE_NETIF_TX_LOCK 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "netdev_get_tx_queue" "ac_cv_have_decl_netdev_get_tx_queue" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "netdev_get_tx_queue" "ac_cv_have_decl_netdev_get_tx_queue" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19165,20 +17985,20 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_netdev_get_tx_queue" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_netdev_get_tx_queue" = xyes; then :
ac_cv_netdev_get_tx_queue=yes
-else $as_nop
+else
ac_cv_netdev_get_tx_queue=no
fi
+
if test $ac_cv_netdev_get_tx_queue = yes; then
-printf "%s\n" "#define HAVE_NETDEV_GET_TX_QUEUE 1" >>confdefs.h
+$as_echo "#define HAVE_NETDEV_GET_TX_QUEUE 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "netif_tx_queue_frozen" "ac_cv_have_decl_netif_tx_queue_frozen" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "netif_tx_queue_frozen" "ac_cv_have_decl_netif_tx_queue_frozen" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19197,20 +18017,20 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_netif_tx_queue_frozen" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_netif_tx_queue_frozen" = xyes; then :
ac_cv_netif_tx_queue_frozen=yes
-else $as_nop
+else
ac_cv_netif_tx_queue_frozen=no
fi
+
if test $ac_cv_netif_tx_queue_frozen = yes; then
-printf "%s\n" "#define HAVE_NETIF_TX_QUEUE_FROZEN 1" >>confdefs.h
+$as_echo "#define HAVE_NETIF_TX_QUEUE_FROZEN 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "netdev_uses_dsa_tags" "ac_cv_have_decl_netdev_uses_dsa_tags" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "netdev_uses_dsa_tags" "ac_cv_have_decl_netdev_uses_dsa_tags" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19229,20 +18049,20 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_netdev_uses_dsa_tags" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_netdev_uses_dsa_tags" = xyes; then :
ac_cv_netdev_uses_dsa_tags=yes
-else $as_nop
+else
ac_cv_netdev_uses_dsa_tags=no
fi
+
if test $ac_cv_netdev_uses_dsa_tags = yes; then
-printf "%s\n" "#define HAVE_NETDEV_USES_DSA_TAGS 1" >>confdefs.h
+$as_echo "#define HAVE_NETDEV_USES_DSA_TAGS 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "netdev_uses_trailer_tags" "ac_cv_have_decl_netdev_uses_trailer_tags" "#define KBUILD_STR(s) #s
+ ac_fn_cxx_check_decl "$LINENO" "netdev_uses_trailer_tags" "ac_cv_have_decl_netdev_uses_trailer_tags" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19261,97 +18081,92 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_netdev_uses_trailer_tags" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_netdev_uses_trailer_tags" = xyes; then :
ac_cv_netdev_uses_trailer_tags=yes
-else $as_nop
+else
ac_cv_netdev_uses_trailer_tags=no
fi
+
if test $ac_cv_netdev_uses_trailer_tags = yes; then
-printf "%s\n" "#define HAVE_NETDEV_USES_TRAILER_TAGS 1" >>confdefs.h
+$as_echo "#define HAVE_NETDEV_USES_TRAILER_TAGS 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for netdev_rx_handler_register kernel symbol" >&5
-printf %s "checking for netdev_rx_handler_register kernel symbol... " >&6; }
-if test ${ac_cv_linux_netdev_rx_handler_register+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netdev_rx_handler_register kernel symbol" >&5
+$as_echo_n "checking for netdev_rx_handler_register kernel symbol... " >&6; }
+if ${ac_cv_linux_netdev_rx_handler_register+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_netdev_rx_handler_register" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_netdev_rx_handler_register=yes
else ac_cv_linux_netdev_rx_handler_register=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_netdev_rx_handler_register" >&5
-printf "%s\n" "$ac_cv_linux_netdev_rx_handler_register" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_netdev_rx_handler_register" >&5
+$as_echo "$ac_cv_linux_netdev_rx_handler_register" >&6; }
if test $ac_cv_linux_netdev_rx_handler_register = yes; then
- printf "%s\n" "#define HAVE_LINUX_NETDEV_RX_HANDLER_REGISTER 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_NETDEV_RX_HANDLER_REGISTER 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for get_monotonic_coarse kernel symbol" >&5
-printf %s "checking for get_monotonic_coarse kernel symbol... " >&6; }
-if test ${ac_cv_linux_get_monotonic_coarse+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_monotonic_coarse kernel symbol" >&5
+$as_echo_n "checking for get_monotonic_coarse kernel symbol... " >&6; }
+if ${ac_cv_linux_get_monotonic_coarse+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep '__ksymtab_get_monotonic_coarse$' $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_get_monotonic_coarse=yes
else ac_cv_linux_get_monotonic_coarse=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_get_monotonic_coarse" >&5
-printf "%s\n" "$ac_cv_linux_get_monotonic_coarse" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_get_monotonic_coarse" >&5
+$as_echo "$ac_cv_linux_get_monotonic_coarse" >&6; }
if test $ac_cv_linux_get_monotonic_coarse = yes; then
- printf "%s\n" "#define HAVE_LINUX_GET_MONOTONIC_COARSE 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_GET_MONOTONIC_COARSE 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ktime_mono_to_any kernel symbol" >&5
-printf %s "checking for ktime_mono_to_any kernel symbol... " >&6; }
-if test ${ac_cv_linux_ktime_mono_to_any+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ktime_mono_to_any kernel symbol" >&5
+$as_echo_n "checking for ktime_mono_to_any kernel symbol... " >&6; }
+if ${ac_cv_linux_ktime_mono_to_any+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep '__ksymtab_ktime_mono_to_any$' $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_ktime_mono_to_any=yes
else ac_cv_linux_ktime_mono_to_any=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_ktime_mono_to_any" >&5
-printf "%s\n" "$ac_cv_linux_ktime_mono_to_any" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_ktime_mono_to_any" >&5
+$as_echo "$ac_cv_linux_ktime_mono_to_any" >&6; }
if test $ac_cv_linux_ktime_mono_to_any = yes; then
- printf "%s\n" "#define HAVE_LINUX_KTIME_MONO_TO_ANY 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_KTIME_MONO_TO_ANY 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getboottime kernel symbol" >&5
-printf %s "checking for getboottime kernel symbol... " >&6; }
-if test ${ac_cv_linux_getboottime+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getboottime kernel symbol" >&5
+$as_echo_n "checking for getboottime kernel symbol... " >&6; }
+if ${ac_cv_linux_getboottime+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if grep "__ksymtab_getboottime" $linux_system_map >/dev/null 2>&1; then
ac_cv_linux_getboottime=yes
else ac_cv_linux_getboottime=no; fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_getboottime" >&5
-printf "%s\n" "$ac_cv_linux_getboottime" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_getboottime" >&5
+$as_echo "$ac_cv_linux_getboottime" >&6; }
if test $ac_cv_linux_getboottime = yes; then
- printf "%s\n" "#define HAVE_LINUX_GETBOOTTIME 1" >>confdefs.h
+ $as_echo "#define HAVE_LINUX_GETBOOTTIME 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct super_block has an s_d_op member" >&5
-printf %s "checking whether struct super_block has an s_d_op member... " >&6; }
-if test ${ac_cv_linuxmodule_super_block_s_d_op+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct super_block has an s_d_op member" >&5
+$as_echo_n "checking whether struct super_block has an s_d_op member... " >&6; }
+if ${ac_cv_linuxmodule_super_block_s_d_op+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -19379,30 +18194,29 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/fs.h>
int
-main (void)
+main ()
{
extern struct super_block *sb; sb->s_d_op = 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_linuxmodule_super_block_s_d_op=yes
-else $as_nop
+else
ac_cv_linuxmodule_super_block_s_d_op=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_super_block_s_d_op" >&5
-printf "%s\n" "$ac_cv_linuxmodule_super_block_s_d_op" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_super_block_s_d_op" >&5
+$as_echo "$ac_cv_linuxmodule_super_block_s_d_op" >&6; }
if test $ac_cv_linuxmodule_super_block_s_d_op = yes; then
-printf "%s\n" "#define HAVE_LINUX_SUPER_BLOCK_S_D_OP 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_SUPER_BLOCK_S_D_OP 1" >>confdefs.h
fi
- ac_fn_check_decl "$LINENO" "d_make_root" "ac_cv_have_decl_d_make_root" "#define KBUILD_STR(s) #s
+ ac_fn_c_check_decl "$LINENO" "d_make_root" "ac_cv_have_decl_d_make_root" "#define KBUILD_STR(s) #s
#define KBUILD_BASENAME KBUILD_STR(click)
#define KBUILD_MODNAME KBUILD_STR(click)
#define new linux_new
@@ -19421,25 +18235,24 @@ $linux_autoconf_include
#include <asm/types.h>
#include <linux/fs.h>
#include <linux/dcache.h>
-" "$ac_c_undeclared_builtin_options" "CFLAGS"
-if test "x$ac_cv_have_decl_d_make_root" = xyes
-then :
+"
+if test "x$ac_cv_have_decl_d_make_root" = xyes; then :
ac_cv_linux_d_make_root=yes
-else $as_nop
+else
ac_cv_linux_d_make_root=no
fi
+
if test $ac_cv_linux_d_make_root = yes; then
-printf "%s\n" "#define HAVE_LINUX_D_MAKE_ROOT 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_D_MAKE_ROOT 1" >>confdefs.h
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct dentry has a d_child member" >&5
-printf %s "checking whether struct dentry has a d_child member... " >&6; }
-if test ${ac_cv_linuxmodule_dentry_d_child+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dentry has a d_child member" >&5
+$as_echo_n "checking whether struct dentry has a d_child member... " >&6; }
+if ${ac_cv_linuxmodule_dentry_d_child+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -19468,26 +18281,25 @@ $linux_autoconf_include
#include <linux/fs.h>
#include <linux/dcache.h>
int
-main (void)
+main ()
{
extern struct dentry* de; de->d_child.next = 0;
;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
+if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_linuxmodule_dentry_d_child=yes
-else $as_nop
+else
ac_cv_linuxmodule_dentry_d_child=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_dentry_d_child" >&5
-printf "%s\n" "$ac_cv_linuxmodule_dentry_d_child" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linuxmodule_dentry_d_child" >&5
+$as_echo "$ac_cv_linuxmodule_dentry_d_child" >&6; }
if test $ac_cv_linuxmodule_dentry_d_child = yes; then
-printf "%s\n" "#define HAVE_LINUX_DENTRY_D_CHILD 1" >>confdefs.h
+$as_echo "#define HAVE_LINUX_DENTRY_D_CHILD 1" >>confdefs.h
fi
@@ -19507,7 +18319,7 @@ if test $ac_have_bsd_kernel = y; then
if echo "$DRIVERS" | grep linuxmodule >/dev/null 2>&1; then :; else
TOOL_TARGETS="$TOOL_TARGETS click-install"
fi
- printf "%s\n" "#define HAVE_BSDMODULE_DRIVER 1" >>confdefs.h
+ $as_echo "#define HAVE_BSDMODULE_DRIVER 1" >>confdefs.h
HAVE_BSDMODULE_DRIVER=1
fi
@@ -19522,7 +18334,7 @@ fi
if test "x$enable_minios" = xyes; then
DRIVERS="$DRIVERS minios"
- printf "%s\n" "#define HAVE_MINIOS_DRIVER 1" >>confdefs.h
+ $as_echo "#define HAVE_MINIOS_DRIVER 1" >>confdefs.h
HAVE_MINIOS_DRIVER=1
fi
@@ -19535,8 +18347,7 @@ fi
-
- # 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
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
@@ -19550,25 +18361,20 @@ fi
# OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh.
# Reject install programs that cannot install multiple files.
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-printf %s "checking for a BSD-compatible install... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then
-if test ${ac_cv_path_install+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- # Account for fact that we put trailing slashes in our PATH walk.
-case $as_dir in #((
- ./ | /[cC]/* | \
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
/usr/ucb/* ) ;;
@@ -19578,13 +18384,13 @@ case $as_dir in #((
# by default.
for ac_prog in ginstall scoinst install; do
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
if test $ac_prog = install &&
- grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
:
elif test $ac_prog = install &&
- grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
# program-specific install script used by HP pwplus--don't use.
:
else
@@ -19592,12 +18398,12 @@ case $as_dir in #((
echo one > conftest.one
echo two > conftest.two
mkdir conftest.dir
- if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
test -s conftest.one && test -s conftest.two &&
test -s conftest.dir/conftest.one &&
test -s conftest.dir/conftest.two
then
- ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
break 3
fi
fi
@@ -19613,7 +18419,7 @@ IFS=$as_save_IFS
rm -rf conftest.one conftest.two conftest.dir
fi
- if test ${ac_cv_path_install+y}; then
+ if test "${ac_cv_path_install+set}" = set; then
INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. Don't cache a
@@ -19623,8 +18429,8 @@ fi
INSTALL=$ac_install_sh
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-printf "%s\n" "$INSTALL" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
@@ -19636,17 +18442,17 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether install accepts -C" >&5
-printf %s "checking whether install accepts -C... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether install accepts -C" >&5
+$as_echo_n "checking whether install accepts -C... " >&6; }
echo X > conftest.1
if $INSTALL -C conftest.1 conftest.2 >/dev/null 2>&1; then
INSTALL_IF_CHANGED='${INSTALL} -C'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
else
INSTALL_IF_CHANGED='${top_builddir}/installch'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
rm -f conftest.1 conftest.2
@@ -19659,12 +18465,11 @@ printf "%s\n" "no" >&6; }
if test "${GMAKE-NO}" = NO; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
-printf %s "checking for GNU make... " >&6; }
-if test ${ac_cv_gnu_make+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
+$as_echo_n "checking for GNU make... " >&6; }
+if ${ac_cv_gnu_make+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if /bin/sh -c 'make -f /dev/null -n --version | grep GNU' >/dev/null 2>/dev/null; then
ac_cv_gnu_make='make'
elif /bin/sh -c 'gmake -f /dev/null -n --version | grep GNU' >/dev/null 2>/dev/null; then
@@ -19673,8 +18478,8 @@ else $as_nop
ac_cv_gnu_make='not found'
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_make" >&5
-printf "%s\n" "$ac_cv_gnu_make" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_make" >&5
+$as_echo "$ac_cv_gnu_make" >&6; }
test "$ac_cv_gnu_make" != 'not found' && GMAKE="$ac_cv_gnu_make"
else
/bin/sh -c '$GMAKE -f /dev/null -n --version | grep GNU' >/dev/null 2>/dev/null || GMAKE='1'
@@ -19686,22 +18491,22 @@ printf "%s\n" "$ac_cv_gnu_make" >&6; }
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5
-printf %s "checking for working autoconf... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5
+$as_echo_n "checking for working autoconf... " >&6; }
AUTOCONF="${AUTOCONF-autoconf}"
if ($AUTOCONF --version) < /dev/null > conftest.out 2>&1; then
if test `head -n 1 conftest.out | sed 's/.*2\.\([0-9]*\).*/\1/'` -ge 13 2>/dev/null; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
-printf "%s\n" "found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+$as_echo "found" >&6; }
else
AUTOCONF='$(conf_auxdir)/missing autoconf'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: old" >&5
-printf "%s\n" "old" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: old" >&5
+$as_echo "old" >&6; }
fi
else
AUTOCONF='$(conf_auxdir)/missing autoconf'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
-printf "%s\n" "missing" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
+$as_echo "missing" >&6; }
fi
@@ -19713,12 +18518,11 @@ printf "%s\n" "missing" >&6; }
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_perl5+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_perl5+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$perl5"; then
ac_cv_prog_perl5="$perl5" # Let the user override the test.
else
@@ -19726,15 +18530,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_perl5="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -19745,11 +18545,11 @@ fi
fi
perl5=$ac_cv_prog_perl5
if test -n "$perl5"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $perl5" >&5
-printf "%s\n" "$perl5" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl5" >&5
+$as_echo "$perl5" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -19763,12 +18563,11 @@ test -n "$perl5" || perl5="missing"
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_localperl5+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_localperl5+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$localperl5"; then
ac_cv_prog_localperl5="$localperl5" # Let the user override the test.
else
@@ -19776,15 +18575,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /usr/local/bin
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_localperl5="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -19795,11 +18590,11 @@ fi
fi
localperl5=$ac_cv_prog_localperl5
if test -n "$localperl5"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $localperl5" >&5
-printf "%s\n" "$localperl5" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localperl5" >&5
+$as_echo "$localperl5" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -19827,12 +18622,11 @@ for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_AWK+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
@@ -19840,15 +18634,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AWK="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -19859,23 +18649,22 @@ fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-printf "%s\n" "$AWK" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
test -n "$AWK" && break
done
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-printf %s "checking for grep that handles long lines and -e... " >&6; }
-if test ${ac_cv_path_GREP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -z "$GREP"; then
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
@@ -19883,15 +18672,10 @@ else $as_nop
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- for ac_prog in grep ggrep
- do
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
@@ -19900,13 +18684,13 @@ case `"$ac_path_GREP" --version 2>&1` in
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
ac_count=0
- printf %s 0123456789 >"conftest.in"
+ $as_echo_n 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
- printf "%s\n" 'GREP' >> "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val
@@ -19934,17 +18718,16 @@ else
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-printf "%s\n" "$ac_cv_path_GREP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-printf %s "checking for egrep... " >&6; }
-if test ${ac_cv_path_EGREP+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
@@ -19955,15 +18738,10 @@ else $as_nop
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- for ac_prog in egrep
- do
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
@@ -19972,13 +18750,13 @@ case `"$ac_path_EGREP" --version 2>&1` in
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
ac_count=0
- printf %s 0123456789 >"conftest.in"
+ $as_echo_n 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
- printf "%s\n" 'EGREP' >> "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val
@@ -20007,8 +18785,8 @@ fi
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-printf "%s\n" "$ac_cv_path_EGREP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
@@ -20016,12 +18794,11 @@ for ac_prog in md5sum md5
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_MD5SUM+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MD5SUM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$MD5SUM"; then
ac_cv_prog_MD5SUM="$MD5SUM" # Let the user override the test.
else
@@ -20029,15 +18806,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_MD5SUM="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -20048,11 +18821,11 @@ fi
fi
MD5SUM=$ac_cv_prog_MD5SUM
if test -n "$MD5SUM"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5
-printf "%s\n" "$MD5SUM" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5
+$as_echo "$MD5SUM" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -20063,12 +18836,11 @@ for ac_prog in llvm-config
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_prog_LLVMCONFIG+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LLVMCONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
if test -n "$LLVMCONFIG"; then
ac_cv_prog_LLVMCONFIG="$LLVMCONFIG" # Let the user override the test.
else
@@ -20076,15 +18848,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_LLVMCONFIG="$ac_prog"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -20095,11 +18863,11 @@ fi
fi
LLVMCONFIG=$ac_cv_prog_LLVMCONFIG
if test -n "$LLVMCONFIG"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LLVMCONFIG" >&5
-printf "%s\n" "$LLVMCONFIG" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVMCONFIG" >&5
+$as_echo "$LLVMCONFIG" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
@@ -20122,7 +18890,7 @@ fi
if test -z "$LLVMCONFIG" -o -n "${CXX##*clang*}" ; then
have_llvm=no
else
- printf "%s\n" "#define HAVE_LLVM 1" >>confdefs.h
+ $as_echo "#define HAVE_LLVM 1" >>confdefs.h
have_llvm=yes
LLVM_OBJS="llvmutils.o $LLVM_OBJS"
@@ -20150,51 +18918,50 @@ done
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5
-printf %s "checking for working makeinfo... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5
+$as_echo_n "checking for working makeinfo... " >&6; }
MAKEINFO=${MAKEINFO-makeinfo}
if ($MAKEINFO --version) < /dev/null > conftest.out 2>&1; then
if test `head -n 1 conftest.out | sed 's/^.* \([0-9][0-9]*\).*$/\1/'` -ge 4; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
-printf "%s\n" "found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+$as_echo "found" >&6; }
else
MAKEINFO='$(conf_auxdir)/missing makeinfo'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: old" >&5
-printf "%s\n" "old" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: old" >&5
+$as_echo "old" >&6; }
fi
else
MAKEINFO='$(conf_auxdir)/missing makeinfo'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
-printf "%s\n" "missing" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
+$as_echo "missing" >&6; }
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working texi2dvi" >&5
-printf %s "checking for working texi2dvi... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working texi2dvi" >&5
+$as_echo_n "checking for working texi2dvi... " >&6; }
TEXI2DVI=${TEXI2DVI-texi2dvi}
if ($TEXI2DVI --version) < /dev/null > conftest.out 2>&1; then
if test `head -n 1 conftest.out | sed 's/.*Texinfo \([0-9][0-9]*\).*/\1/'` -ge 4; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
-printf "%s\n" "found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+$as_echo "found" >&6; }
else
TEXI2DVI='$(conf_auxdir)/missing texi2dvi'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: old" >&5
-printf "%s\n" "old" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: old" >&5
+$as_echo "old" >&6; }
fi
else
TEXI2DVI='$(conf_auxdir)/missing texi2dvi'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
-printf "%s\n" "missing" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
+$as_echo "missing" >&6; }
fi
if test ${INSTALL_INFO-xxx} = xxx; then
# Extract the first word of "install-info", so it can be a program name with args.
set dummy install-info; ac_word=$2
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-printf %s "checking for $ac_word... " >&6; }
-if test ${ac_cv_path_INSTALL_INFO+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_INSTALL_INFO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
case $INSTALL_INFO in
[\\/]* | ?:[\\/]*)
ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
@@ -20205,15 +18972,11 @@ as_dummy="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
+ test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
- ac_cv_path_INSTALL_INFO="$as_dir$ac_word$ac_exec_ext"
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
@@ -20226,36 +18989,36 @@ esac
fi
INSTALL_INFO=$ac_cv_path_INSTALL_INFO
if test -n "$INSTALL_INFO"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
-printf "%s\n" "$INSTALL_INFO" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
+$as_echo "$INSTALL_INFO" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working install-info" >&5
-printf %s "checking for working install-info... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working install-info" >&5
+$as_echo_n "checking for working install-info... " >&6; }
if ($INSTALL_INFO --version) < /dev/null > conftest.out 2>&1; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
-printf "%s\n" "found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+$as_echo "found" >&6; }
else
INSTALL_INFO='$(conf_auxdir)/missing install-info'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
-printf "%s\n" "missing" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
+$as_echo "missing" >&6; }
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working pod2man" >&5
-printf %s "checking for working pod2man... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working pod2man" >&5
+$as_echo_n "checking for working pod2man... " >&6; }
POD2MAN=${POD2MAN-pod2man}
if ($POD2MAN --help) < /dev/null > conftest.out 2>&1 && grep pod2man conftest.out >/dev/null 2>&1; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
-printf "%s\n" "found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+$as_echo "found" >&6; }
else
POD2MAN='$(conf_auxdir)/missing pod2man'
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
-printf "%s\n" "missing" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
+$as_echo "missing" >&6; }
fi
@@ -20267,17 +19030,25 @@ fi
-printf "%s\n" "#define CLICK_BINDIR \"$bindir\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define CLICK_BINDIR "$bindir"
+_ACEOF
-printf "%s\n" "#define CLICK_LIBDIR \"$libdir\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define CLICK_LIBDIR "$libdir"
+_ACEOF
-printf "%s\n" "#define CLICK_DATADIR \"$clickdatadir\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define CLICK_DATADIR "$clickdatadir"
+_ACEOF
-printf "%s\n" "#define CLICK_DIR \"$clickdir\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define CLICK_DIR "$clickdir"
+_ACEOF
@@ -20552,8 +19323,8 @@ _ACEOF
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
- *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
@@ -20583,15 +19354,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;}
/^ac_cv_env_/b end
t clear
:clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
t end
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
:end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
if test -w "$cache_file"; then
if test "x$cache_file" != "x/dev/null"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
if test ! -f "$cache_file" || test -h "$cache_file"; then
cat confcache >"$cache_file"
else
@@ -20605,8 +19376,8 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
fi
fi
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
fi
fi
rm -f confcache
@@ -20623,7 +19394,7 @@ U=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
# 1. Remove the extension, and $U if already installed.
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
# will be set to the directory where LIBOBJS objects are built.
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
@@ -20639,8 +19410,8 @@ LTLIBOBJS=$ac_ltlibobjs
ac_write_fail=0
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
as_write_fail=0
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
#! $SHELL
@@ -20663,16 +19434,14 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-as_nop=:
-if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
-then :
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else $as_nop
+else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
@@ -20682,46 +19451,46 @@ esac
fi
-
-# Reset variables that may have inherited troublesome values from
-# the environment.
-
-# IFS needs to be set, to space, tab, and newline, in precisely that order.
-# (If _AS_PATH_WALK were called with IFS unset, it would have the
-# side effect of setting IFS to empty, thus disabling word splitting.)
-# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
-IFS=" "" $as_nl"
-
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# Ensure predictable behavior from utilities with locale-dependent output.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# We cannot yet rely on "unset" to work, but we need these variables
-# to be unset--not just set to an empty or harmless value--now, to
-# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
-# also avoids known problems related to "unset" and subshell syntax
-# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
-for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
-do eval test \${$as_var+y} \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-
-# Ensure that fds 0, 1, and 2 are open.
-if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
-if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
-if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
# The user is always right.
-if ${PATH_SEPARATOR+false} :; then
+if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -20730,6 +19499,13 @@ if ${PATH_SEPARATOR+false} :; then
fi
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
@@ -20738,12 +19514,8 @@ case $0 in #((
for as_dir in $PATH
do
IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- test -r "$as_dir$0" && as_myself=$as_dir$0 && break
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS
@@ -20755,10 +19527,30 @@ if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
- printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# as_fn_error STATUS ERROR [LINENO LOG_FD]
@@ -20771,14 +19563,13 @@ as_fn_error ()
as_status=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
- printf "%s\n" "$as_me: error: $2" >&2
+ $as_echo "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
-
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
@@ -20805,20 +19596,18 @@ as_fn_unset ()
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
-
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
-then :
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
-else $as_nop
+else
as_fn_append ()
{
eval $1=\$$1\$2
@@ -20830,13 +19619,12 @@ fi # as_fn_append
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
-then :
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
-else $as_nop
+else
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
@@ -20867,7 +19655,7 @@ as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-printf "%s\n" X/"$0" |
+$as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
@@ -20889,10 +19677,6 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# Determine whether it's possible to make 'echo' print without a newline.
-# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
-# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
@@ -20906,12 +19690,6 @@ case `echo -n x` in #(((((
ECHO_N='-n';;
esac
-# For backward compatibility with old third-party macros, we provide
-# the shell variables $as_echo and $as_echo_n. New code should use
-# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
-as_echo='printf %s\n'
-as_echo_n='printf %s'
-
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
@@ -20953,7 +19731,7 @@ as_fn_mkdir_p ()
as_dirs=
while :; do
case $as_dir in #(
- *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
@@ -20962,7 +19740,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-printf "%s\n" X"$as_dir" |
+$as_echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
@@ -21025,7 +19803,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# values after options handling.
ac_log="
This file was extended by click $as_me 2.1, which was
-generated by GNU Autoconf 2.71. Invocation command line was
+generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
@@ -21083,16 +19861,14 @@ $config_headers
Report bugs to the package provider."
_ACEOF
-ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
-ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config='$ac_cs_config_escaped'
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
click config.status 2.1
-configured by $0, generated by GNU Autoconf 2.71,
+configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
@@ -21131,15 +19907,15 @@ do
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- printf "%s\n" "$ac_cs_version"; exit ;;
+ $as_echo "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c )
- printf "%s\n" "$ac_cs_config"; exit ;;
+ $as_echo "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
case $ac_optarg in
- *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
'') as_fn_error $? "missing file argument" ;;
esac
as_fn_append CONFIG_FILES " '$ac_optarg'"
@@ -21147,7 +19923,7 @@ do
--header | --heade | --head | --hea )
$ac_shift
case $ac_optarg in
- *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
ac_need_defaults=false;;
@@ -21156,7 +19932,7 @@ do
as_fn_error $? "ambiguous option: \`$1'
Try \`$0 --help' for more information.";;
--help | --hel | -h )
- printf "%s\n" "$ac_cs_usage"; exit ;;
+ $as_echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
ac_cs_silent=: ;;
@@ -21184,7 +19960,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
shift
- \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
export CONFIG_SHELL
exec "\$@"
@@ -21198,7 +19974,7 @@ exec 5>>config.log
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
- printf "%s\n" "$ac_log"
+ $as_echo "$ac_log"
} >&5
_ACEOF
@@ -21258,8 +20034,8 @@ done
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
- test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
- test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
fi
# Have a temporary directory for convenience. Make it in the build tree
@@ -21595,7 +20371,7 @@ do
esac ||
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
esac
- case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append ac_file_inputs " '$ac_f'"
done
@@ -21603,17 +20379,17 @@ do
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input='Generated from '`
- printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
`' by configure.'
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-printf "%s\n" "$as_me: creating $ac_file" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
case $configure_input in #(
*\&* | *\|* | *\\* )
- ac_sed_conf_input=`printf "%s\n" "$configure_input" |
+ ac_sed_conf_input=`$as_echo "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;;
esac
@@ -21630,7 +20406,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-printf "%s\n" X"$ac_file" |
+$as_echo X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
@@ -21654,9 +20430,9 @@ printf "%s\n" X"$ac_file" |
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
- ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -21713,8 +20489,8 @@ ac_sed_dataroot='
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_datarootdir_hack='
@@ -21757,9 +20533,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
"$ac_tmp/out"`; test -z "$ac_out"; } &&
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&5
-printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"
@@ -21775,20 +20551,20 @@ which seems to be undefined. Please make sure it is defined" >&2;}
#
if test x"$ac_file" != x-; then
{
- printf "%s\n" "/* $configure_input */" >&1 \
+ $as_echo "/* $configure_input */" \
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
} >"$ac_tmp/config.h" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
else
rm -f "$ac_file"
mv "$ac_tmp/config.h" "$ac_file" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
fi
else
- printf "%s\n" "/* $configure_input */" >&1 \
+ $as_echo "/* $configure_input */" \
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|| as_fn_error $? "could not create -" "$LINENO" 5
fi
@@ -21837,8 +20613,8 @@ if test "$no_create" != yes; then
$ac_cs_success || as_fn_exit 1
fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
@@ -21892,4 +20668,3 @@ if test "$feedback" != no; then
else
echo "Now type make to build FastClick..."
fi
-