aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-07-05 08:56:38 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2023-07-05 08:56:38 -0400
commit498b333db8182c4195d7048b29ee76c79734f942 (patch)
treee40734788a0b74522535d6edf080d4fe8a15183d /configure
parentvirtualbox: gentoo fix (#5880) (diff)
downloadfirejail-498b333db8182c4195d7048b29ee76c79734f942.tar.gz
firejail-498b333db8182c4195d7048b29ee76c79734f942.tar.zst
firejail-498b333db8182c4195d7048b29ee76c79734f942.zip
rebuild configure script for Debian 12 (run into some problems with PKG_CHECK_MODULES macro
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2764
1 files changed, 1430 insertions, 1334 deletions
diff --git a/configure b/configure
index 068274fea..54b9d4da3 100755
--- a/configure
+++ b/configure
@@ -1,11 +1,12 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for firejail 0.9.73. 3# Generated by GNU Autoconf 2.71 for firejail 0.9.73.
4# 4#
5# Report bugs to <netblue30@protonmail.com>. 5# Report bugs to <netblue30@protonmail.com>.
6# 6#
7# 7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9# Inc.
9# 10#
10# 11#
11# This configure script is free software; the Free Software Foundation 12# This configure script is free software; the Free Software Foundation
@@ -16,14 +17,16 @@
16 17
17# Be more Bourne compatible 18# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh 19DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20as_nop=:
21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22then :
20 emulate sh 23 emulate sh
21 NULLCMD=: 24 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature. 26 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"' 27 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST 28 setopt NO_GLOB_SUBST
26else 29else $as_nop
27 case `(set -o) 2>/dev/null` in #( 30 case `(set -o) 2>/dev/null` in #(
28 *posix*) : 31 *posix*) :
29 set -o posix ;; #( 32 set -o posix ;; #(
@@ -33,46 +36,46 @@ esac
33fi 36fi
34 37
35 38
39
40# Reset variables that may have inherited troublesome values from
41# the environment.
42
43# IFS needs to be set, to space, tab, and newline, in precisely that order.
44# (If _AS_PATH_WALK were called with IFS unset, it would have the
45# side effect of setting IFS to empty, thus disabling word splitting.)
46# Quoting is to prevent editors from complaining about space-tab.
36as_nl=' 47as_nl='
37' 48'
38export as_nl 49export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf. 50IFS=" "" $as_nl"
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 51
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 52PS1='$ '
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 53PS2='> '
43# Prefer a ksh shell builtin over an external printf program on Solaris, 54PS4='+ '
44# but without wasting forks for bash or zsh. 55
45if test -z "$BASH_VERSION$ZSH_VERSION" \ 56# Ensure predictable behavior from utilities with locale-dependent output.
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 57LC_ALL=C
47 as_echo='print -r --' 58export LC_ALL
48 as_echo_n='print -rn --' 59LANGUAGE=C
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 60export LANGUAGE
50 as_echo='printf %s\n' 61
51 as_echo_n='printf %s' 62# We cannot yet rely on "unset" to work, but we need these variables
52else 63# to be unset--not just set to an empty or harmless value--now, to
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 64# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 65# also avoids known problems related to "unset" and subshell syntax
55 as_echo_n='/usr/ucb/echo -n' 66# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
56 else 67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 68do eval test \${$as_var+y} \
58 as_echo_n_body='eval 69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59 arg=$1; 70done
60 case $arg in #( 71
61 *"$as_nl"*) 72# Ensure that fds 0, 1, and 2 are open.
62 expr "X$arg" : "X\\(.*\\)$as_nl"; 73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
64 esac; 75if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73 76
74# The user is always right. 77# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then 78if ${PATH_SEPARATOR+false} :; then
76 PATH_SEPARATOR=: 79 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
81fi 84fi
82 85
83 86
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator. 87# Find who we are. Look in the path if we contain no directory separator.
92as_myself= 88as_myself=
93case $0 in #(( 89case $0 in #((
@@ -96,8 +92,12 @@ case $0 in #((
96for as_dir in $PATH 92for as_dir in $PATH
97do 93do
98 IFS=$as_save_IFS 94 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=. 95 case $as_dir in #(((
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done 101 done
102IFS=$as_save_IFS 102IFS=$as_save_IFS
103 103
@@ -109,30 +109,10 @@ if test "x$as_myself" = x; then
109 as_myself=$0 109 as_myself=$0
110fi 110fi
111if test ! -f "$as_myself"; then 111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1 113 exit 1
114fi 114fi
115 115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 116
137# Use a proper internal environment variable to ensure we don't fall 117# Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves. 118 # into an infinite loop, continuously re-executing ourselves.
@@ -154,20 +134,22 @@ esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail 135# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'. 136# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255 138exit 255
159 fi 139 fi
160 # We don't want this to propagate to other subprocesses. 140 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;} 141 { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then 142if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 as_bourne_compatible="as_nop=:
144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145then :
164 emulate sh 146 emulate sh
165 NULLCMD=: 147 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature. 149 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST 151 setopt NO_GLOB_SUBST
170else 152else \$as_nop
171 case \`(set -o) 2>/dev/null\` in #( 153 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) : 154 *posix*) :
173 set -o posix ;; #( 155 set -o posix ;; #(
@@ -187,42 +169,52 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 172if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173then :
191 174
192else 175else \$as_nop
193 exitcode=1; echo positional parameters were not saved. 176 exitcode=1; echo positional parameters were not saved.
194fi 177fi
195test x\$exitcode = x0 || exit 1 178test x\$exitcode = x0 || exit 1
179blah=\$(echo \$(echo blah))
180test x\"\$blah\" = xblah || exit 1
196test -x / || exit 1" 181test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201test \$(( 1 + 1 )) = 2 || exit 1" 186 if (eval "$as_required") 2>/dev/null
202 if (eval "$as_required") 2>/dev/null; then : 187then :
203 as_have_required=yes 188 as_have_required=yes
204else 189else $as_nop
205 as_have_required=no 190 as_have_required=no
206fi 191fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193then :
208 194
209else 195else $as_nop
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false 197as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 198for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do 199do
214 IFS=$as_save_IFS 200 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=. 201 case $as_dir in #(((
202 '') as_dir=./ ;;
203 */) ;;
204 *) as_dir=$as_dir/ ;;
205 esac
216 as_found=: 206 as_found=:
217 case $as_dir in #( 207 case $as_dir in #(
218 /*) 208 /*)
219 for as_base in sh bash ksh sh5; do 209 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks. 210 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base 211 as_shell=$as_dir$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214then :
224 CONFIG_SHELL=$as_shell as_have_required=yes 215 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217then :
226 break 2 218 break 2
227fi 219fi
228fi 220fi
@@ -230,14 +222,21 @@ fi
230 esac 222 esac
231 as_found=false 223 as_found=false
232done 224done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS 225IFS=$as_save_IFS
226if $as_found
227then :
228
229else $as_nop
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234fi
235fi
238 236
239 237
240 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x
239then :
241 export CONFIG_SHELL 240 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a 241 # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also 242# neutralization value for shells without unset; and this also
@@ -255,18 +254,19 @@ esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail 255# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'. 256# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255 258exit 255
260fi 259fi
261 260
262 if test x$as_have_required = xno; then : 261 if test x$as_have_required = xno
263 $as_echo "$0: This script requires a shell more modern than all" 262then :
264 $as_echo "$0: the shells that I found on your system." 263 printf "%s\n" "$0: This script requires a shell more modern than all"
265 if test x${ZSH_VERSION+set} = xset ; then 264 printf "%s\n" "$0: the shells that I found on your system."
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 if test ${ZSH_VERSION+y} ; then
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 else 268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270$0: netblue30@protonmail.com about your system, including 270$0: netblue30@protonmail.com about your system, including
271$0: any error possibly output before this message. Then 271$0: any error possibly output before this message. Then
272$0: install a modern shell, or manually run the script 272$0: install a modern shell, or manually run the script
@@ -294,6 +294,7 @@ as_fn_unset ()
294} 294}
295as_unset=as_fn_unset 295as_unset=as_fn_unset
296 296
297
297# as_fn_set_status STATUS 298# as_fn_set_status STATUS
298# ----------------------- 299# -----------------------
299# Set $? to STATUS, without forking. 300# Set $? to STATUS, without forking.
@@ -311,6 +312,14 @@ as_fn_exit ()
311 as_fn_set_status $1 312 as_fn_set_status $1
312 exit $1 313 exit $1
313} # as_fn_exit 314} # as_fn_exit
315# as_fn_nop
316# ---------
317# Do nothing but, unlike ":", preserve the value of $?.
318as_fn_nop ()
319{
320 return $?
321}
322as_nop=as_fn_nop
314 323
315# as_fn_mkdir_p 324# as_fn_mkdir_p
316# ------------- 325# -------------
@@ -325,7 +334,7 @@ as_fn_mkdir_p ()
325 as_dirs= 334 as_dirs=
326 while :; do 335 while :; do
327 case $as_dir in #( 336 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;; 338 *) as_qdir=$as_dir;;
330 esac 339 esac
331 as_dirs="'$as_qdir' $as_dirs" 340 as_dirs="'$as_qdir' $as_dirs"
@@ -334,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" | 346printf "%s\n" X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/ 348 s//\1/
340 q 349 q
@@ -373,12 +382,13 @@ as_fn_executable_p ()
373# advantage of any shell optimizations that allow amortized linear growth over 382# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive 383# repeated appends, instead of the typical quadratic growth present in naive
375# implementations. 384# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386then :
377 eval 'as_fn_append () 387 eval 'as_fn_append ()
378 { 388 {
379 eval $1+=\$2 389 eval $1+=\$2
380 }' 390 }'
381else 391else $as_nop
382 as_fn_append () 392 as_fn_append ()
383 { 393 {
384 eval $1=\$$1\$2 394 eval $1=\$$1\$2
@@ -390,18 +400,27 @@ fi # as_fn_append
390# Perform arithmetic evaluation on the ARGs, and store the result in the 400# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr. 402# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404then :
394 eval 'as_fn_arith () 405 eval 'as_fn_arith ()
395 { 406 {
396 as_val=$(( $* )) 407 as_val=$(( $* ))
397 }' 408 }'
398else 409else $as_nop
399 as_fn_arith () 410 as_fn_arith ()
400 { 411 {
401 as_val=`expr "$@" || test $? -eq 1` 412 as_val=`expr "$@" || test $? -eq 1`
402 } 413 }
403fi # as_fn_arith 414fi # as_fn_arith
404 415
416# as_fn_nop
417# ---------
418# Do nothing but, unlike ":", preserve the value of $?.
419as_fn_nop ()
420{
421 return $?
422}
423as_nop=as_fn_nop
405 424
406# as_fn_error STATUS ERROR [LINENO LOG_FD] 425# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ---------------------------------------- 426# ----------------------------------------
@@ -413,9 +432,9 @@ as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1 432 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then 433 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi 436 fi
418 $as_echo "$as_me: error: $2" >&2 437 printf "%s\n" "$as_me: error: $2" >&2
419 as_fn_exit $as_status 438 as_fn_exit $as_status
420} # as_fn_error 439} # as_fn_error
421 440
@@ -442,7 +461,7 @@ as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 461$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \ 462 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" | 464printf "%s\n" X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 465 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/ 466 s//\1/
448 q 467 q
@@ -486,7 +505,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
486 s/-\n.*// 505 s/-\n.*//
487 ' >$as_me.lineno && 506 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" || 507 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 509
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall 511 # already done that, so ensure we don't try to do so again and fall
@@ -500,6 +519,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
500 exit 519 exit
501} 520}
502 521
522
523# Determine whether it's possible to make 'echo' print without a newline.
524# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525# for compatibility with existing Makefiles.
503ECHO_C= ECHO_N= ECHO_T= 526ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #((((( 527case `echo -n x` in #(((((
505-n*) 528-n*)
@@ -513,6 +536,13 @@ case `echo -n x` in #(((((
513 ECHO_N='-n';; 536 ECHO_N='-n';;
514esac 537esac
515 538
539# For backward compatibility with old third-party macros, we provide
540# the shell variables $as_echo and $as_echo_n. New code should use
541# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542as_echo='printf %s\n'
543as_echo_n='printf %s'
544
545
516rm -f conf$$ conf$$.exe conf$$.file 546rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then 547if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file 548 rm -f conf$$.dir/conf$$.file
@@ -588,45 +618,38 @@ PACKAGE_URL='https://firejail.wordpress.com'
588ac_unique_file="src/firejail/main.c" 618ac_unique_file="src/firejail/main.c"
589# Factoring default headers for most tests. 619# Factoring default headers for most tests.
590ac_includes_default="\ 620ac_includes_default="\
591#include <stdio.h> 621#include <stddef.h>
592#ifdef HAVE_SYS_TYPES_H 622#ifdef HAVE_STDIO_H
593# include <sys/types.h> 623# include <stdio.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif 624#endif
598#ifdef STDC_HEADERS 625#ifdef HAVE_STDLIB_H
599# include <stdlib.h> 626# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603# include <stdlib.h>
604# endif
605#endif 627#endif
606#ifdef HAVE_STRING_H 628#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608# include <memory.h>
609# endif
610# include <string.h> 629# include <string.h>
611#endif 630#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H 631#ifdef HAVE_INTTYPES_H
616# include <inttypes.h> 632# include <inttypes.h>
617#endif 633#endif
618#ifdef HAVE_STDINT_H 634#ifdef HAVE_STDINT_H
619# include <stdint.h> 635# include <stdint.h>
620#endif 636#endif
637#ifdef HAVE_STRINGS_H
638# include <strings.h>
639#endif
640#ifdef HAVE_SYS_TYPES_H
641# include <sys/types.h>
642#endif
643#ifdef HAVE_SYS_STAT_H
644# include <sys/stat.h>
645#endif
621#ifdef HAVE_UNISTD_H 646#ifdef HAVE_UNISTD_H
622# include <unistd.h> 647# include <unistd.h>
623#endif" 648#endif"
624 649
650ac_header_c_list=
625ac_subst_vars='LTLIBOBJS 651ac_subst_vars='LTLIBOBJS
626LIBOBJS 652LIBOBJS
627EGREP
628GREP
629CPP
630HAVE_LTS 653HAVE_LTS
631HAVE_ONLY_SYSCFG_PROFILES 654HAVE_ONLY_SYSCFG_PROFILES
632HAVE_FORCE_NONEWPRIVS 655HAVE_FORCE_NONEWPRIVS
@@ -748,8 +771,7 @@ PKG_CONFIG
748PKG_CONFIG_PATH 771PKG_CONFIG_PATH
749PKG_CONFIG_LIBDIR 772PKG_CONFIG_LIBDIR
750AA_CFLAGS 773AA_CFLAGS
751AA_LIBS 774AA_LIBS'
752CPP'
753 775
754 776
755# Initialize some variables set by options. 777# Initialize some variables set by options.
@@ -818,8 +840,6 @@ do
818 *) ac_optarg=yes ;; 840 *) ac_optarg=yes ;;
819 esac 841 esac
820 842
821 # Accept the important Cygnus configure options, so we can diagnose typos.
822
823 case $ac_dashdash$ac_option in 843 case $ac_dashdash$ac_option in
824 --) 844 --)
825 ac_dashdash=yes ;; 845 ac_dashdash=yes ;;
@@ -860,9 +880,9 @@ do
860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 880 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names. 881 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error $? "invalid feature name: $ac_useropt" 883 as_fn_error $? "invalid feature name: \`$ac_useropt'"
864 ac_useropt_orig=$ac_useropt 884 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 885 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in 886 case $ac_user_opts in
867 *" 887 *"
868"enable_$ac_useropt" 888"enable_$ac_useropt"
@@ -886,9 +906,9 @@ do
886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 906 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names. 907 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt" 909 as_fn_error $? "invalid feature name: \`$ac_useropt'"
890 ac_useropt_orig=$ac_useropt 910 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 911 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in 912 case $ac_user_opts in
893 *" 913 *"
894"enable_$ac_useropt" 914"enable_$ac_useropt"
@@ -1099,9 +1119,9 @@ do
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names. 1120 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt" 1122 as_fn_error $? "invalid package name: \`$ac_useropt'"
1103 ac_useropt_orig=$ac_useropt 1123 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1124 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in 1125 case $ac_user_opts in
1106 *" 1126 *"
1107"with_$ac_useropt" 1127"with_$ac_useropt"
@@ -1115,9 +1135,9 @@ do
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names. 1136 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt" 1138 as_fn_error $? "invalid package name: \`$ac_useropt'"
1119 ac_useropt_orig=$ac_useropt 1139 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in 1141 case $ac_user_opts in
1122 *" 1142 *"
1123"with_$ac_useropt" 1143"with_$ac_useropt"
@@ -1161,9 +1181,9 @@ Try \`$0 --help' for more information"
1161 1181
1162 *) 1182 *)
1163 # FIXME: should be removed in autoconf 3.0. 1183 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 ;; 1188 ;;
1169 1189
@@ -1179,7 +1199,7 @@ if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in 1199 case $enable_option_checking in
1180 no) ;; 1200 no) ;;
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 esac 1203 esac
1184fi 1204fi
1185 1205
@@ -1243,7 +1263,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243 X"$as_myself" : 'X\(//\)[^/]' \| \ 1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1244 X"$as_myself" : 'X\(//\)$' \| \ 1264 X"$as_myself" : 'X\(//\)$' \| \
1245 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246$as_echo X"$as_myself" | 1266printf "%s\n" X"$as_myself" |
1247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1248 s//\1/ 1268 s//\1/
1249 q 1269 q
@@ -1418,7 +1438,6 @@ Some influential environment variables:
1418 path overriding pkg-config's built-in search path 1438 path overriding pkg-config's built-in search path
1419 AA_CFLAGS C compiler flags for AA, overriding pkg-config 1439 AA_CFLAGS C compiler flags for AA, overriding pkg-config
1420 AA_LIBS linker flags for AA, overriding pkg-config 1440 AA_LIBS linker flags for AA, overriding pkg-config
1421 CPP C preprocessor
1422 1441
1423Use these variables to override the choices made by `configure' or to help 1442Use these variables to override the choices made by `configure' or to help
1424it to find libraries and programs with nonstandard names/locations. 1443it to find libraries and programs with nonstandard names/locations.
@@ -1440,9 +1459,9 @@ if test "$ac_init_help" = "recursive"; then
1440case "$ac_dir" in 1459case "$ac_dir" in
1441.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1460.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442*) 1461*)
1443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1462 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix. 1463 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1464 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in 1465 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -1470,7 +1489,8 @@ esac
1470ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1489ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1471 1490
1472 cd "$ac_dir" || { ac_status=$?; continue; } 1491 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure. 1492 # Check for configure.gnu first; this name is used for a wrapper for
1493 # Metaconfig's "Configure" on case-insensitive file systems.
1474 if test -f "$ac_srcdir/configure.gnu"; then 1494 if test -f "$ac_srcdir/configure.gnu"; then
1475 echo && 1495 echo &&
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1496 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
@@ -1478,7 +1498,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 echo && 1498 echo &&
1479 $SHELL "$ac_srcdir/configure" --help=recursive 1499 $SHELL "$ac_srcdir/configure" --help=recursive
1480 else 1500 else
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1501 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 fi || ac_status=$? 1502 fi || ac_status=$?
1483 cd "$ac_pwd" || { ac_status=$?; break; } 1503 cd "$ac_pwd" || { ac_status=$?; break; }
1484 done 1504 done
@@ -1488,9 +1508,9 @@ test -n "$ac_init_help" && exit $ac_status
1488if $ac_init_version; then 1508if $ac_init_version; then
1489 cat <<\_ACEOF 1509 cat <<\_ACEOF
1490firejail configure 0.9.73 1510firejail configure 0.9.73
1491generated by GNU Autoconf 2.69 1511generated by GNU Autoconf 2.71
1492 1512
1493Copyright (C) 2012 Free Software Foundation, Inc. 1513Copyright (C) 2021 Free Software Foundation, Inc.
1494This configure script is free software; the Free Software Foundation 1514This configure script is free software; the Free Software Foundation
1495gives unlimited permission to copy, distribute and modify it. 1515gives unlimited permission to copy, distribute and modify it.
1496_ACEOF 1516_ACEOF
@@ -1507,14 +1527,14 @@ fi
1507ac_fn_c_try_compile () 1527ac_fn_c_try_compile ()
1508{ 1528{
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext 1530 rm -f conftest.$ac_objext conftest.beam
1511 if { { ac_try="$ac_compile" 1531 if { { ac_try="$ac_compile"
1512case "(($ac_try" in 1532case "(($ac_try" in
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;; 1534 *) ac_try_echo=$ac_try;;
1515esac 1535esac
1516eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517$as_echo "$ac_try_echo"; } >&5 1537printf "%s\n" "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err 1538 (eval "$ac_compile") 2>conftest.err
1519 ac_status=$? 1539 ac_status=$?
1520 if test -s conftest.err; then 1540 if test -s conftest.err; then
@@ -1522,14 +1542,15 @@ $as_echo "$ac_try_echo"; } >&5
1522 cat conftest.er1 >&5 1542 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err 1543 mv -f conftest.er1 conftest.err
1524 fi 1544 fi
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && { 1546 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" || 1547 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err 1548 test ! -s conftest.err
1529 } && test -s conftest.$ac_objext; then : 1549 } && test -s conftest.$ac_objext
1550then :
1530 ac_retval=0 1551 ac_retval=0
1531else 1552else $as_nop
1532 $as_echo "$as_me: failed program was:" >&5 1553 printf "%s\n" "$as_me: failed program was:" >&5
1533sed 's/^/| /' conftest.$ac_ext >&5 1554sed 's/^/| /' conftest.$ac_ext >&5
1534 1555
1535 ac_retval=1 1556 ac_retval=1
@@ -1539,176 +1560,6 @@ fi
1539 1560
1540} # ac_fn_c_try_compile 1561} # ac_fn_c_try_compile
1541 1562
1542# ac_fn_c_try_cpp LINENO
1543# ----------------------
1544# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1545ac_fn_c_try_cpp ()
1546{
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if { { ac_try="$ac_cpp conftest.$ac_ext"
1549case "(($ac_try" in
1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1552esac
1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554$as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1556 ac_status=$?
1557 if test -s conftest.err; then
1558 grep -v '^ *+' conftest.err >conftest.er1
1559 cat conftest.er1 >&5
1560 mv -f conftest.er1 conftest.err
1561 fi
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } > conftest.i && {
1564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 }; then :
1567 ac_retval=0
1568else
1569 $as_echo "$as_me: failed program was:" >&5
1570sed 's/^/| /' conftest.$ac_ext >&5
1571
1572 ac_retval=1
1573fi
1574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575 as_fn_set_status $ac_retval
1576
1577} # ac_fn_c_try_cpp
1578
1579# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1580# -------------------------------------------------------
1581# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1582# the include files in INCLUDES and setting the cache variable VAR
1583# accordingly.
1584ac_fn_c_check_header_mongrel ()
1585{
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if eval \${$3+:} false; then :
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589$as_echo_n "checking for $2... " >&6; }
1590if eval \${$3+:} false; then :
1591 $as_echo_n "(cached) " >&6
1592fi
1593eval ac_res=\$$3
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595$as_echo "$ac_res" >&6; }
1596else
1597 # Is the header compilable?
1598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1599$as_echo_n "checking $2 usability... " >&6; }
1600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1601/* end confdefs.h. */
1602$4
1603#include <$2>
1604_ACEOF
1605if ac_fn_c_try_compile "$LINENO"; then :
1606 ac_header_compiler=yes
1607else
1608 ac_header_compiler=no
1609fi
1610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1612$as_echo "$ac_header_compiler" >&6; }
1613
1614# Is the header present?
1615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1616$as_echo_n "checking $2 presence... " >&6; }
1617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618/* end confdefs.h. */
1619#include <$2>
1620_ACEOF
1621if ac_fn_c_try_cpp "$LINENO"; then :
1622 ac_header_preproc=yes
1623else
1624 ac_header_preproc=no
1625fi
1626rm -f conftest.err conftest.i conftest.$ac_ext
1627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1628$as_echo "$ac_header_preproc" >&6; }
1629
1630# So? What about this header?
1631case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1632 yes:no: )
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1634$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1637 ;;
1638 no:yes:* )
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1640$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1642$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1644$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1646$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1648$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1649( $as_echo "## --------------------------------------- ##
1650## Report this to netblue30@protonmail.com ##
1651## --------------------------------------- ##"
1652 ) | sed "s/^/$as_me: WARNING: /" >&2
1653 ;;
1654esac
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656$as_echo_n "checking for $2... " >&6; }
1657if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1659else
1660 eval "$3=\$ac_header_compiler"
1661fi
1662eval ac_res=\$$3
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664$as_echo "$ac_res" >&6; }
1665fi
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667
1668} # ac_fn_c_check_header_mongrel
1669
1670# ac_fn_c_try_run LINENO
1671# ----------------------
1672# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673# that executables *can* be run.
1674ac_fn_c_try_run ()
1675{
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 if { { ac_try="$ac_link"
1678case "(($ac_try" in
1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1681esac
1682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683$as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>&5
1685 ac_status=$?
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1688 { { case "(($ac_try" in
1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1691esac
1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693$as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_try") 2>&5
1695 ac_status=$?
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; }; }; then :
1698 ac_retval=0
1699else
1700 $as_echo "$as_me: program exited with status $ac_status" >&5
1701 $as_echo "$as_me: failed program was:" >&5
1702sed 's/^/| /' conftest.$ac_ext >&5
1703
1704 ac_retval=$ac_status
1705fi
1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1709
1710} # ac_fn_c_try_run
1711
1712# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1563# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1713# ------------------------------------------------------- 1564# -------------------------------------------------------
1714# Tests whether HEADER exists and can be compiled using the include files in 1565# Tests whether HEADER exists and can be compiled using the include files in
@@ -1716,37 +1567,59 @@ fi
1716ac_fn_c_check_header_compile () 1567ac_fn_c_check_header_compile ()
1717{ 1568{
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720$as_echo_n "checking for $2... " >&6; } 1571printf %s "checking for $2... " >&6; }
1721if eval \${$3+:} false; then : 1572if eval test \${$3+y}
1722 $as_echo_n "(cached) " >&6 1573then :
1723else 1574 printf %s "(cached) " >&6
1575else $as_nop
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725/* end confdefs.h. */ 1577/* end confdefs.h. */
1726$4 1578$4
1727#include <$2> 1579#include <$2>
1728_ACEOF 1580_ACEOF
1729if ac_fn_c_try_compile "$LINENO"; then : 1581if ac_fn_c_try_compile "$LINENO"
1582then :
1730 eval "$3=yes" 1583 eval "$3=yes"
1731else 1584else $as_nop
1732 eval "$3=no" 1585 eval "$3=no"
1733fi 1586fi
1734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1587rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1735fi 1588fi
1736eval ac_res=\$$3 1589eval ac_res=\$$3
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738$as_echo "$ac_res" >&6; } 1591printf "%s\n" "$ac_res" >&6; }
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 1593
1741} # ac_fn_c_check_header_compile 1594} # ac_fn_c_check_header_compile
1595ac_configure_args_raw=
1596for ac_arg
1597do
1598 case $ac_arg in
1599 *\'*)
1600 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1601 esac
1602 as_fn_append ac_configure_args_raw " '$ac_arg'"
1603done
1604
1605case $ac_configure_args_raw in
1606 *$as_nl*)
1607 ac_safe_unquote= ;;
1608 *)
1609 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1610 ac_unsafe_a="$ac_unsafe_z#~"
1611 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1612 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1613esac
1614
1742cat >config.log <<_ACEOF 1615cat >config.log <<_ACEOF
1743This file contains any messages produced by compilers while 1616This file contains any messages produced by compilers while
1744running configure, to aid debugging if configure makes a mistake. 1617running configure, to aid debugging if configure makes a mistake.
1745 1618
1746It was created by firejail $as_me 0.9.73, which was 1619It was created by firejail $as_me 0.9.73, which was
1747generated by GNU Autoconf 2.69. Invocation command line was 1620generated by GNU Autoconf 2.71. Invocation command line was
1748 1621
1749 $ $0 $@ 1622 $ $0$ac_configure_args_raw
1750 1623
1751_ACEOF 1624_ACEOF
1752exec 5>>config.log 1625exec 5>>config.log
@@ -1779,8 +1652,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779for as_dir in $PATH 1652for as_dir in $PATH
1780do 1653do
1781 IFS=$as_save_IFS 1654 IFS=$as_save_IFS
1782 test -z "$as_dir" && as_dir=. 1655 case $as_dir in #(((
1783 $as_echo "PATH: $as_dir" 1656 '') as_dir=./ ;;
1657 */) ;;
1658 *) as_dir=$as_dir/ ;;
1659 esac
1660 printf "%s\n" "PATH: $as_dir"
1784 done 1661 done
1785IFS=$as_save_IFS 1662IFS=$as_save_IFS
1786 1663
@@ -1815,7 +1692,7 @@ do
1815 | -silent | --silent | --silen | --sile | --sil) 1692 | -silent | --silent | --silen | --sile | --sil)
1816 continue ;; 1693 continue ;;
1817 *\'*) 1694 *\'*)
1818 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1695 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 esac 1696 esac
1820 case $ac_pass in 1697 case $ac_pass in
1821 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1698 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
@@ -1850,11 +1727,13 @@ done
1850# WARNING: Use '\'' to represent an apostrophe within the trap. 1727# WARNING: Use '\'' to represent an apostrophe within the trap.
1851# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1728# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1852trap 'exit_status=$? 1729trap 'exit_status=$?
1730 # Sanitize IFS.
1731 IFS=" "" $as_nl"
1853 # Save into config.log some information that might help in debugging. 1732 # Save into config.log some information that might help in debugging.
1854 { 1733 {
1855 echo 1734 echo
1856 1735
1857 $as_echo "## ---------------- ## 1736 printf "%s\n" "## ---------------- ##
1858## Cache variables. ## 1737## Cache variables. ##
1859## ---------------- ##" 1738## ---------------- ##"
1860 echo 1739 echo
@@ -1865,8 +1744,8 @@ trap 'exit_status=$?
1865 case $ac_val in #( 1744 case $ac_val in #(
1866 *${as_nl}*) 1745 *${as_nl}*)
1867 case $ac_var in #( 1746 case $ac_var in #(
1868 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1747 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1869$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1748printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1870 esac 1749 esac
1871 case $ac_var in #( 1750 case $ac_var in #(
1872 _ | IFS | as_nl) ;; #( 1751 _ | IFS | as_nl) ;; #(
@@ -1890,7 +1769,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1890) 1769)
1891 echo 1770 echo
1892 1771
1893 $as_echo "## ----------------- ## 1772 printf "%s\n" "## ----------------- ##
1894## Output variables. ## 1773## Output variables. ##
1895## ----------------- ##" 1774## ----------------- ##"
1896 echo 1775 echo
@@ -1898,14 +1777,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1898 do 1777 do
1899 eval ac_val=\$$ac_var 1778 eval ac_val=\$$ac_var
1900 case $ac_val in 1779 case $ac_val in
1901 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1780 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902 esac 1781 esac
1903 $as_echo "$ac_var='\''$ac_val'\''" 1782 printf "%s\n" "$ac_var='\''$ac_val'\''"
1904 done | sort 1783 done | sort
1905 echo 1784 echo
1906 1785
1907 if test -n "$ac_subst_files"; then 1786 if test -n "$ac_subst_files"; then
1908 $as_echo "## ------------------- ## 1787 printf "%s\n" "## ------------------- ##
1909## File substitutions. ## 1788## File substitutions. ##
1910## ------------------- ##" 1789## ------------------- ##"
1911 echo 1790 echo
@@ -1913,15 +1792,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1913 do 1792 do
1914 eval ac_val=\$$ac_var 1793 eval ac_val=\$$ac_var
1915 case $ac_val in 1794 case $ac_val in
1916 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1795 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917 esac 1796 esac
1918 $as_echo "$ac_var='\''$ac_val'\''" 1797 printf "%s\n" "$ac_var='\''$ac_val'\''"
1919 done | sort 1798 done | sort
1920 echo 1799 echo
1921 fi 1800 fi
1922 1801
1923 if test -s confdefs.h; then 1802 if test -s confdefs.h; then
1924 $as_echo "## ----------- ## 1803 printf "%s\n" "## ----------- ##
1925## confdefs.h. ## 1804## confdefs.h. ##
1926## ----------- ##" 1805## ----------- ##"
1927 echo 1806 echo
@@ -1929,8 +1808,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1929 echo 1808 echo
1930 fi 1809 fi
1931 test "$ac_signal" != 0 && 1810 test "$ac_signal" != 0 &&
1932 $as_echo "$as_me: caught signal $ac_signal" 1811 printf "%s\n" "$as_me: caught signal $ac_signal"
1933 $as_echo "$as_me: exit $exit_status" 1812 printf "%s\n" "$as_me: exit $exit_status"
1934 } >&5 1813 } >&5
1935 rm -f core *.core core.conftest.* && 1814 rm -f core *.core core.conftest.* &&
1936 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1815 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
@@ -1944,63 +1823,48 @@ ac_signal=0
1944# confdefs.h avoids OS command line length limits that DEFS can exceed. 1823# confdefs.h avoids OS command line length limits that DEFS can exceed.
1945rm -f -r conftest* confdefs.h 1824rm -f -r conftest* confdefs.h
1946 1825
1947$as_echo "/* confdefs.h */" > confdefs.h 1826printf "%s\n" "/* confdefs.h */" > confdefs.h
1948 1827
1949# Predefined preprocessor variables. 1828# Predefined preprocessor variables.
1950 1829
1951cat >>confdefs.h <<_ACEOF 1830printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1952#define PACKAGE_NAME "$PACKAGE_NAME"
1953_ACEOF
1954 1831
1955cat >>confdefs.h <<_ACEOF 1832printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1956#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1957_ACEOF
1958 1833
1959cat >>confdefs.h <<_ACEOF 1834printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1960#define PACKAGE_VERSION "$PACKAGE_VERSION"
1961_ACEOF
1962 1835
1963cat >>confdefs.h <<_ACEOF 1836printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1964#define PACKAGE_STRING "$PACKAGE_STRING"
1965_ACEOF
1966 1837
1967cat >>confdefs.h <<_ACEOF 1838printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1968#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1969_ACEOF
1970 1839
1971cat >>confdefs.h <<_ACEOF 1840printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1972#define PACKAGE_URL "$PACKAGE_URL"
1973_ACEOF
1974 1841
1975 1842
1976# Let the site file select an alternate cache file if it wants to. 1843# Let the site file select an alternate cache file if it wants to.
1977# Prefer an explicitly selected file to automatically selected ones. 1844# Prefer an explicitly selected file to automatically selected ones.
1978ac_site_file1=NONE
1979ac_site_file2=NONE
1980if test -n "$CONFIG_SITE"; then 1845if test -n "$CONFIG_SITE"; then
1981 # We do not want a PATH search for config.site. 1846 ac_site_files="$CONFIG_SITE"
1982 case $CONFIG_SITE in #((
1983 -*) ac_site_file1=./$CONFIG_SITE;;
1984 */*) ac_site_file1=$CONFIG_SITE;;
1985 *) ac_site_file1=./$CONFIG_SITE;;
1986 esac
1987elif test "x$prefix" != xNONE; then 1847elif test "x$prefix" != xNONE; then
1988 ac_site_file1=$prefix/share/config.site 1848 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1989 ac_site_file2=$prefix/etc/config.site
1990else 1849else
1991 ac_site_file1=$ac_default_prefix/share/config.site 1850 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1992 ac_site_file2=$ac_default_prefix/etc/config.site
1993fi 1851fi
1994for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1852
1853for ac_site_file in $ac_site_files
1995do 1854do
1996 test "x$ac_site_file" = xNONE && continue 1855 case $ac_site_file in #(
1997 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1856 */*) :
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1857 ;; #(
1999$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1858 *) :
1859 ac_site_file=./$ac_site_file ;;
1860esac
1861 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1863printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2000 sed 's/^/| /' "$ac_site_file" >&5 1864 sed 's/^/| /' "$ac_site_file" >&5
2001 . "$ac_site_file" \ 1865 . "$ac_site_file" \
2002 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1866 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2003$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1867printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2004as_fn_error $? "failed to load site script $ac_site_file 1868as_fn_error $? "failed to load site script $ac_site_file
2005See \`config.log' for more details" "$LINENO" 5; } 1869See \`config.log' for more details" "$LINENO" 5; }
2006 fi 1870 fi
@@ -2010,19 +1874,336 @@ if test -r "$cache_file"; then
2010 # Some versions of bash will fail to source /dev/null (special files 1874 # Some versions of bash will fail to source /dev/null (special files
2011 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1875 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2012 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1876 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2014$as_echo "$as_me: loading cache $cache_file" >&6;} 1878printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2015 case $cache_file in 1879 case $cache_file in
2016 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1880 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2017 *) . "./$cache_file";; 1881 *) . "./$cache_file";;
2018 esac 1882 esac
2019 fi 1883 fi
2020else 1884else
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2022$as_echo "$as_me: creating cache $cache_file" >&6;} 1886printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2023 >$cache_file 1887 >$cache_file
2024fi 1888fi
2025 1889
1890# Test code for whether the C compiler supports C89 (global declarations)
1891ac_c_conftest_c89_globals='
1892/* Does the compiler advertise C89 conformance?
1893 Do not test the value of __STDC__, because some compilers set it to 0
1894 while being otherwise adequately conformant. */
1895#if !defined __STDC__
1896# error "Compiler does not advertise C89 conformance"
1897#endif
1898
1899#include <stddef.h>
1900#include <stdarg.h>
1901struct stat;
1902/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1903struct buf { int x; };
1904struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1905static char *e (p, i)
1906 char **p;
1907 int i;
1908{
1909 return p[i];
1910}
1911static char *f (char * (*g) (char **, int), char **p, ...)
1912{
1913 char *s;
1914 va_list v;
1915 va_start (v,p);
1916 s = g (p, va_arg (v,int));
1917 va_end (v);
1918 return s;
1919}
1920
1921/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1922 function prototypes and stuff, but not \xHH hex character constants.
1923 These do not provoke an error unfortunately, instead are silently treated
1924 as an "x". The following induces an error, until -std is added to get
1925 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1926 array size at least. It is necessary to write \x00 == 0 to get something
1927 that is true only with -std. */
1928int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1929
1930/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1931 inside strings and character constants. */
1932#define FOO(x) '\''x'\''
1933int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1934
1935int test (int i, double x);
1936struct s1 {int (*f) (int a);};
1937struct s2 {int (*f) (double a);};
1938int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1939 int, int);'
1940
1941# Test code for whether the C compiler supports C89 (body of main).
1942ac_c_conftest_c89_main='
1943ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1944'
1945
1946# Test code for whether the C compiler supports C99 (global declarations)
1947ac_c_conftest_c99_globals='
1948// Does the compiler advertise C99 conformance?
1949#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1950# error "Compiler does not advertise C99 conformance"
1951#endif
1952
1953#include <stdbool.h>
1954extern int puts (const char *);
1955extern int printf (const char *, ...);
1956extern int dprintf (int, const char *, ...);
1957extern void *malloc (size_t);
1958
1959// Check varargs macros. These examples are taken from C99 6.10.3.5.
1960// dprintf is used instead of fprintf to avoid needing to declare
1961// FILE and stderr.
1962#define debug(...) dprintf (2, __VA_ARGS__)
1963#define showlist(...) puts (#__VA_ARGS__)
1964#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1965static void
1966test_varargs_macros (void)
1967{
1968 int x = 1234;
1969 int y = 5678;
1970 debug ("Flag");
1971 debug ("X = %d\n", x);
1972 showlist (The first, second, and third items.);
1973 report (x>y, "x is %d but y is %d", x, y);
1974}
1975
1976// Check long long types.
1977#define BIG64 18446744073709551615ull
1978#define BIG32 4294967295ul
1979#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1980#if !BIG_OK
1981 #error "your preprocessor is broken"
1982#endif
1983#if BIG_OK
1984#else
1985 #error "your preprocessor is broken"
1986#endif
1987static long long int bignum = -9223372036854775807LL;
1988static unsigned long long int ubignum = BIG64;
1989
1990struct incomplete_array
1991{
1992 int datasize;
1993 double data[];
1994};
1995
1996struct named_init {
1997 int number;
1998 const wchar_t *name;
1999 double average;
2000};
2001
2002typedef const char *ccp;
2003
2004static inline int
2005test_restrict (ccp restrict text)
2006{
2007 // See if C++-style comments work.
2008 // Iterate through items via the restricted pointer.
2009 // Also check for declarations in for loops.
2010 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2011 continue;
2012 return 0;
2013}
2014
2015// Check varargs and va_copy.
2016static bool
2017test_varargs (const char *format, ...)
2018{
2019 va_list args;
2020 va_start (args, format);
2021 va_list args_copy;
2022 va_copy (args_copy, args);
2023
2024 const char *str = "";
2025 int number = 0;
2026 float fnumber = 0;
2027
2028 while (*format)
2029 {
2030 switch (*format++)
2031 {
2032 case '\''s'\'': // string
2033 str = va_arg (args_copy, const char *);
2034 break;
2035 case '\''d'\'': // int
2036 number = va_arg (args_copy, int);
2037 break;
2038 case '\''f'\'': // float
2039 fnumber = va_arg (args_copy, double);
2040 break;
2041 default:
2042 break;
2043 }
2044 }
2045 va_end (args_copy);
2046 va_end (args);
2047
2048 return *str && number && fnumber;
2049}
2050'
2051
2052# Test code for whether the C compiler supports C99 (body of main).
2053ac_c_conftest_c99_main='
2054 // Check bool.
2055 _Bool success = false;
2056 success |= (argc != 0);
2057
2058 // Check restrict.
2059 if (test_restrict ("String literal") == 0)
2060 success = true;
2061 char *restrict newvar = "Another string";
2062
2063 // Check varargs.
2064 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2065 test_varargs_macros ();
2066
2067 // Check flexible array members.
2068 struct incomplete_array *ia =
2069 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2070 ia->datasize = 10;
2071 for (int i = 0; i < ia->datasize; ++i)
2072 ia->data[i] = i * 1.234;
2073
2074 // Check named initializers.
2075 struct named_init ni = {
2076 .number = 34,
2077 .name = L"Test wide string",
2078 .average = 543.34343,
2079 };
2080
2081 ni.number = 58;
2082
2083 int dynamic_array[ni.number];
2084 dynamic_array[0] = argv[0][0];
2085 dynamic_array[ni.number - 1] = 543;
2086
2087 // work around unused variable warnings
2088 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2089 || dynamic_array[ni.number - 1] != 543);
2090'
2091
2092# Test code for whether the C compiler supports C11 (global declarations)
2093ac_c_conftest_c11_globals='
2094// Does the compiler advertise C11 conformance?
2095#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2096# error "Compiler does not advertise C11 conformance"
2097#endif
2098
2099// Check _Alignas.
2100char _Alignas (double) aligned_as_double;
2101char _Alignas (0) no_special_alignment;
2102extern char aligned_as_int;
2103char _Alignas (0) _Alignas (int) aligned_as_int;
2104
2105// Check _Alignof.
2106enum
2107{
2108 int_alignment = _Alignof (int),
2109 int_array_alignment = _Alignof (int[100]),
2110 char_alignment = _Alignof (char)
2111};
2112_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2113
2114// Check _Noreturn.
2115int _Noreturn does_not_return (void) { for (;;) continue; }
2116
2117// Check _Static_assert.
2118struct test_static_assert
2119{
2120 int x;
2121 _Static_assert (sizeof (int) <= sizeof (long int),
2122 "_Static_assert does not work in struct");
2123 long int y;
2124};
2125
2126// Check UTF-8 literals.
2127#define u8 syntax error!
2128char const utf8_literal[] = u8"happens to be ASCII" "another string";
2129
2130// Check duplicate typedefs.
2131typedef long *long_ptr;
2132typedef long int *long_ptr;
2133typedef long_ptr long_ptr;
2134
2135// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2136struct anonymous
2137{
2138 union {
2139 struct { int i; int j; };
2140 struct { int k; long int l; } w;
2141 };
2142 int m;
2143} v1;
2144'
2145
2146# Test code for whether the C compiler supports C11 (body of main).
2147ac_c_conftest_c11_main='
2148 _Static_assert ((offsetof (struct anonymous, i)
2149 == offsetof (struct anonymous, w.k)),
2150 "Anonymous union alignment botch");
2151 v1.i = 2;
2152 v1.w.k = 5;
2153 ok |= v1.i != 5;
2154'
2155
2156# Test code for whether the C compiler supports C11 (complete).
2157ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2158${ac_c_conftest_c99_globals}
2159${ac_c_conftest_c11_globals}
2160
2161int
2162main (int argc, char **argv)
2163{
2164 int ok = 0;
2165 ${ac_c_conftest_c89_main}
2166 ${ac_c_conftest_c99_main}
2167 ${ac_c_conftest_c11_main}
2168 return ok;
2169}
2170"
2171
2172# Test code for whether the C compiler supports C99 (complete).
2173ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2174${ac_c_conftest_c99_globals}
2175
2176int
2177main (int argc, char **argv)
2178{
2179 int ok = 0;
2180 ${ac_c_conftest_c89_main}
2181 ${ac_c_conftest_c99_main}
2182 return ok;
2183}
2184"
2185
2186# Test code for whether the C compiler supports C89 (complete).
2187ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2188
2189int
2190main (int argc, char **argv)
2191{
2192 int ok = 0;
2193 ${ac_c_conftest_c89_main}
2194 return ok;
2195}
2196"
2197
2198as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2199as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2200as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2201as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2202as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2203as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2204as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2205as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2206as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2026# Check that the precious variables saved in the cache have kept the same 2207# Check that the precious variables saved in the cache have kept the same
2027# value. 2208# value.
2028ac_cache_corrupted=false 2209ac_cache_corrupted=false
@@ -2033,12 +2214,12 @@ for ac_var in $ac_precious_vars; do
2033 eval ac_new_val=\$ac_env_${ac_var}_value 2214 eval ac_new_val=\$ac_env_${ac_var}_value
2034 case $ac_old_set,$ac_new_set in 2215 case $ac_old_set,$ac_new_set in
2035 set,) 2216 set,)
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2037$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2218printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2038 ac_cache_corrupted=: ;; 2219 ac_cache_corrupted=: ;;
2039 ,set) 2220 ,set)
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2041$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2222printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2042 ac_cache_corrupted=: ;; 2223 ac_cache_corrupted=: ;;
2043 ,);; 2224 ,);;
2044 *) 2225 *)
@@ -2047,24 +2228,24 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2047 ac_old_val_w=`echo x $ac_old_val` 2228 ac_old_val_w=`echo x $ac_old_val`
2048 ac_new_val_w=`echo x $ac_new_val` 2229 ac_new_val_w=`echo x $ac_new_val`
2049 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2230 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2051$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2232printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2052 ac_cache_corrupted=: 2233 ac_cache_corrupted=:
2053 else 2234 else
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2055$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2236printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2056 eval $ac_var=\$ac_old_val 2237 eval $ac_var=\$ac_old_val
2057 fi 2238 fi
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2059$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2240printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2061$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2242printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2062 fi;; 2243 fi;;
2063 esac 2244 esac
2064 # Pass precious variables to config.status. 2245 # Pass precious variables to config.status.
2065 if test "$ac_new_set" = set; then 2246 if test "$ac_new_set" = set; then
2066 case $ac_new_val in 2247 case $ac_new_val in
2067 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2248 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2068 *) ac_arg=$ac_var=$ac_new_val ;; 2249 *) ac_arg=$ac_var=$ac_new_val ;;
2069 esac 2250 esac
2070 case " $ac_configure_args " in 2251 case " $ac_configure_args " in
@@ -2074,11 +2255,12 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2074 fi 2255 fi
2075done 2256done
2076if $ac_cache_corrupted; then 2257if $ac_cache_corrupted; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2078$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2259printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2080$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2261printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2081 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2262 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2263 and start over" "$LINENO" 5
2082fi 2264fi
2083## -------------------- ## 2265## -------------------- ##
2084## Main body of script. ## 2266## Main body of script. ##
@@ -2095,6 +2277,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2095 2277
2096 2278
2097 2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2098ac_ext=c 2289ac_ext=c
2099ac_cpp='$CPP $CPPFLAGS' 2290ac_cpp='$CPP $CPPFLAGS'
2100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -2103,11 +2294,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2103if test -n "$ac_tool_prefix"; then 2294if test -n "$ac_tool_prefix"; then
2104 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2295 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2105set dummy ${ac_tool_prefix}gcc; ac_word=$2 2296set dummy ${ac_tool_prefix}gcc; ac_word=$2
2106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2297{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2107$as_echo_n "checking for $ac_word... " >&6; } 2298printf %s "checking for $ac_word... " >&6; }
2108if ${ac_cv_prog_CC+:} false; then : 2299if test ${ac_cv_prog_CC+y}
2109 $as_echo_n "(cached) " >&6 2300then :
2110else 2301 printf %s "(cached) " >&6
2302else $as_nop
2111 if test -n "$CC"; then 2303 if test -n "$CC"; then
2112 ac_cv_prog_CC="$CC" # Let the user override the test. 2304 ac_cv_prog_CC="$CC" # Let the user override the test.
2113else 2305else
@@ -2115,11 +2307,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115for as_dir in $PATH 2307for as_dir in $PATH
2116do 2308do
2117 IFS=$as_save_IFS 2309 IFS=$as_save_IFS
2118 test -z "$as_dir" && as_dir=. 2310 case $as_dir in #(((
2311 '') as_dir=./ ;;
2312 */) ;;
2313 *) as_dir=$as_dir/ ;;
2314 esac
2119 for ac_exec_ext in '' $ac_executable_extensions; do 2315 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2121 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2317 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2123 break 2 2319 break 2
2124 fi 2320 fi
2125done 2321done
@@ -2130,11 +2326,11 @@ fi
2130fi 2326fi
2131CC=$ac_cv_prog_CC 2327CC=$ac_cv_prog_CC
2132if test -n "$CC"; then 2328if test -n "$CC"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2134$as_echo "$CC" >&6; } 2330printf "%s\n" "$CC" >&6; }
2135else 2331else
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2137$as_echo "no" >&6; } 2333printf "%s\n" "no" >&6; }
2138fi 2334fi
2139 2335
2140 2336
@@ -2143,11 +2339,12 @@ if test -z "$ac_cv_prog_CC"; then
2143 ac_ct_CC=$CC 2339 ac_ct_CC=$CC
2144 # Extract the first word of "gcc", so it can be a program name with args. 2340 # Extract the first word of "gcc", so it can be a program name with args.
2145set dummy gcc; ac_word=$2 2341set dummy gcc; ac_word=$2
2146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2342{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2147$as_echo_n "checking for $ac_word... " >&6; } 2343printf %s "checking for $ac_word... " >&6; }
2148if ${ac_cv_prog_ac_ct_CC+:} false; then : 2344if test ${ac_cv_prog_ac_ct_CC+y}
2149 $as_echo_n "(cached) " >&6 2345then :
2150else 2346 printf %s "(cached) " >&6
2347else $as_nop
2151 if test -n "$ac_ct_CC"; then 2348 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2153else 2350else
@@ -2155,11 +2352,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155for as_dir in $PATH 2352for as_dir in $PATH
2156do 2353do
2157 IFS=$as_save_IFS 2354 IFS=$as_save_IFS
2158 test -z "$as_dir" && as_dir=. 2355 case $as_dir in #(((
2356 '') as_dir=./ ;;
2357 */) ;;
2358 *) as_dir=$as_dir/ ;;
2359 esac
2159 for ac_exec_ext in '' $ac_executable_extensions; do 2360 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC="gcc" 2362 ac_cv_prog_ac_ct_CC="gcc"
2162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2163 break 2 2364 break 2
2164 fi 2365 fi
2165done 2366done
@@ -2170,11 +2371,11 @@ fi
2170fi 2371fi
2171ac_ct_CC=$ac_cv_prog_ac_ct_CC 2372ac_ct_CC=$ac_cv_prog_ac_ct_CC
2172if test -n "$ac_ct_CC"; then 2373if test -n "$ac_ct_CC"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2174$as_echo "$ac_ct_CC" >&6; } 2375printf "%s\n" "$ac_ct_CC" >&6; }
2175else 2376else
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2177$as_echo "no" >&6; } 2378printf "%s\n" "no" >&6; }
2178fi 2379fi
2179 2380
2180 if test "x$ac_ct_CC" = x; then 2381 if test "x$ac_ct_CC" = x; then
@@ -2182,8 +2383,8 @@ fi
2182 else 2383 else
2183 case $cross_compiling:$ac_tool_warned in 2384 case $cross_compiling:$ac_tool_warned in
2184yes:) 2385yes:)
2185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2386{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2387printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2187ac_tool_warned=yes ;; 2388ac_tool_warned=yes ;;
2188esac 2389esac
2189 CC=$ac_ct_CC 2390 CC=$ac_ct_CC
@@ -2196,11 +2397,12 @@ if test -z "$CC"; then
2196 if test -n "$ac_tool_prefix"; then 2397 if test -n "$ac_tool_prefix"; then
2197 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2398 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2198set dummy ${ac_tool_prefix}cc; ac_word=$2 2399set dummy ${ac_tool_prefix}cc; ac_word=$2
2199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2400{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2200$as_echo_n "checking for $ac_word... " >&6; } 2401printf %s "checking for $ac_word... " >&6; }
2201if ${ac_cv_prog_CC+:} false; then : 2402if test ${ac_cv_prog_CC+y}
2202 $as_echo_n "(cached) " >&6 2403then :
2203else 2404 printf %s "(cached) " >&6
2405else $as_nop
2204 if test -n "$CC"; then 2406 if test -n "$CC"; then
2205 ac_cv_prog_CC="$CC" # Let the user override the test. 2407 ac_cv_prog_CC="$CC" # Let the user override the test.
2206else 2408else
@@ -2208,11 +2410,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208for as_dir in $PATH 2410for as_dir in $PATH
2209do 2411do
2210 IFS=$as_save_IFS 2412 IFS=$as_save_IFS
2211 test -z "$as_dir" && as_dir=. 2413 case $as_dir in #(((
2414 '') as_dir=./ ;;
2415 */) ;;
2416 *) as_dir=$as_dir/ ;;
2417 esac
2212 for ac_exec_ext in '' $ac_executable_extensions; do 2418 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2419 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_CC="${ac_tool_prefix}cc" 2420 ac_cv_prog_CC="${ac_tool_prefix}cc"
2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2216 break 2 2422 break 2
2217 fi 2423 fi
2218done 2424done
@@ -2223,11 +2429,11 @@ fi
2223fi 2429fi
2224CC=$ac_cv_prog_CC 2430CC=$ac_cv_prog_CC
2225if test -n "$CC"; then 2431if test -n "$CC"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2227$as_echo "$CC" >&6; } 2433printf "%s\n" "$CC" >&6; }
2228else 2434else
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2230$as_echo "no" >&6; } 2436printf "%s\n" "no" >&6; }
2231fi 2437fi
2232 2438
2233 2439
@@ -2236,11 +2442,12 @@ fi
2236if test -z "$CC"; then 2442if test -z "$CC"; then
2237 # Extract the first word of "cc", so it can be a program name with args. 2443 # Extract the first word of "cc", so it can be a program name with args.
2238set dummy cc; ac_word=$2 2444set dummy cc; ac_word=$2
2239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2445{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2240$as_echo_n "checking for $ac_word... " >&6; } 2446printf %s "checking for $ac_word... " >&6; }
2241if ${ac_cv_prog_CC+:} false; then : 2447if test ${ac_cv_prog_CC+y}
2242 $as_echo_n "(cached) " >&6 2448then :
2243else 2449 printf %s "(cached) " >&6
2450else $as_nop
2244 if test -n "$CC"; then 2451 if test -n "$CC"; then
2245 ac_cv_prog_CC="$CC" # Let the user override the test. 2452 ac_cv_prog_CC="$CC" # Let the user override the test.
2246else 2453else
@@ -2249,15 +2456,19 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249for as_dir in $PATH 2456for as_dir in $PATH
2250do 2457do
2251 IFS=$as_save_IFS 2458 IFS=$as_save_IFS
2252 test -z "$as_dir" && as_dir=. 2459 case $as_dir in #(((
2460 '') as_dir=./ ;;
2461 */) ;;
2462 *) as_dir=$as_dir/ ;;
2463 esac
2253 for ac_exec_ext in '' $ac_executable_extensions; do 2464 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2255 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2466 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2256 ac_prog_rejected=yes 2467 ac_prog_rejected=yes
2257 continue 2468 continue
2258 fi 2469 fi
2259 ac_cv_prog_CC="cc" 2470 ac_cv_prog_CC="cc"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2261 break 2 2472 break 2
2262 fi 2473 fi
2263done 2474done
@@ -2273,18 +2484,18 @@ if test $ac_prog_rejected = yes; then
2273 # However, it has the same basename, so the bogon will be chosen 2484 # However, it has the same basename, so the bogon will be chosen
2274 # first if we set CC to just the basename; use the full file name. 2485 # first if we set CC to just the basename; use the full file name.
2275 shift 2486 shift
2276 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2487 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2277 fi 2488 fi
2278fi 2489fi
2279fi 2490fi
2280fi 2491fi
2281CC=$ac_cv_prog_CC 2492CC=$ac_cv_prog_CC
2282if test -n "$CC"; then 2493if test -n "$CC"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2284$as_echo "$CC" >&6; } 2495printf "%s\n" "$CC" >&6; }
2285else 2496else
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2287$as_echo "no" >&6; } 2498printf "%s\n" "no" >&6; }
2288fi 2499fi
2289 2500
2290 2501
@@ -2295,11 +2506,12 @@ if test -z "$CC"; then
2295 do 2506 do
2296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2297set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2508set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2509{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2299$as_echo_n "checking for $ac_word... " >&6; } 2510printf %s "checking for $ac_word... " >&6; }
2300if ${ac_cv_prog_CC+:} false; then : 2511if test ${ac_cv_prog_CC+y}
2301 $as_echo_n "(cached) " >&6 2512then :
2302else 2513 printf %s "(cached) " >&6
2514else $as_nop
2303 if test -n "$CC"; then 2515 if test -n "$CC"; then
2304 ac_cv_prog_CC="$CC" # Let the user override the test. 2516 ac_cv_prog_CC="$CC" # Let the user override the test.
2305else 2517else
@@ -2307,11 +2519,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307for as_dir in $PATH 2519for as_dir in $PATH
2308do 2520do
2309 IFS=$as_save_IFS 2521 IFS=$as_save_IFS
2310 test -z "$as_dir" && as_dir=. 2522 case $as_dir in #(((
2523 '') as_dir=./ ;;
2524 */) ;;
2525 *) as_dir=$as_dir/ ;;
2526 esac
2311 for ac_exec_ext in '' $ac_executable_extensions; do 2527 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2528 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2313 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2529 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2315 break 2 2531 break 2
2316 fi 2532 fi
2317done 2533done
@@ -2322,11 +2538,11 @@ fi
2322fi 2538fi
2323CC=$ac_cv_prog_CC 2539CC=$ac_cv_prog_CC
2324if test -n "$CC"; then 2540if test -n "$CC"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2326$as_echo "$CC" >&6; } 2542printf "%s\n" "$CC" >&6; }
2327else 2543else
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329$as_echo "no" >&6; } 2545printf "%s\n" "no" >&6; }
2330fi 2546fi
2331 2547
2332 2548
@@ -2339,11 +2555,12 @@ if test -z "$CC"; then
2339do 2555do
2340 # Extract the first word of "$ac_prog", so it can be a program name with args. 2556 # Extract the first word of "$ac_prog", so it can be a program name with args.
2341set dummy $ac_prog; ac_word=$2 2557set dummy $ac_prog; ac_word=$2
2342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2558{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343$as_echo_n "checking for $ac_word... " >&6; } 2559printf %s "checking for $ac_word... " >&6; }
2344if ${ac_cv_prog_ac_ct_CC+:} false; then : 2560if test ${ac_cv_prog_ac_ct_CC+y}
2345 $as_echo_n "(cached) " >&6 2561then :
2346else 2562 printf %s "(cached) " >&6
2563else $as_nop
2347 if test -n "$ac_ct_CC"; then 2564 if test -n "$ac_ct_CC"; then
2348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2349else 2566else
@@ -2351,11 +2568,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351for as_dir in $PATH 2568for as_dir in $PATH
2352do 2569do
2353 IFS=$as_save_IFS 2570 IFS=$as_save_IFS
2354 test -z "$as_dir" && as_dir=. 2571 case $as_dir in #(((
2572 '') as_dir=./ ;;
2573 */) ;;
2574 *) as_dir=$as_dir/ ;;
2575 esac
2355 for ac_exec_ext in '' $ac_executable_extensions; do 2576 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2357 ac_cv_prog_ac_ct_CC="$ac_prog" 2578 ac_cv_prog_ac_ct_CC="$ac_prog"
2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2359 break 2 2580 break 2
2360 fi 2581 fi
2361done 2582done
@@ -2366,11 +2587,11 @@ fi
2366fi 2587fi
2367ac_ct_CC=$ac_cv_prog_ac_ct_CC 2588ac_ct_CC=$ac_cv_prog_ac_ct_CC
2368if test -n "$ac_ct_CC"; then 2589if test -n "$ac_ct_CC"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2370$as_echo "$ac_ct_CC" >&6; } 2591printf "%s\n" "$ac_ct_CC" >&6; }
2371else 2592else
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373$as_echo "no" >&6; } 2594printf "%s\n" "no" >&6; }
2374fi 2595fi
2375 2596
2376 2597
@@ -2382,34 +2603,138 @@ done
2382 else 2603 else
2383 case $cross_compiling:$ac_tool_warned in 2604 case $cross_compiling:$ac_tool_warned in
2384yes:) 2605yes:)
2385{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2606{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2386$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2607printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608ac_tool_warned=yes ;;
2609esac
2610 CC=$ac_ct_CC
2611 fi
2612fi
2613
2614fi
2615if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2618set dummy ${ac_tool_prefix}clang; ac_word=$2
2619{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620printf %s "checking for $ac_word... " >&6; }
2621if test ${ac_cv_prog_CC+y}
2622then :
2623 printf %s "(cached) " >&6
2624else $as_nop
2625 if test -n "$CC"; then
2626 ac_cv_prog_CC="$CC" # Let the user override the test.
2627else
2628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629for as_dir in $PATH
2630do
2631 IFS=$as_save_IFS
2632 case $as_dir in #(((
2633 '') as_dir=./ ;;
2634 */) ;;
2635 *) as_dir=$as_dir/ ;;
2636 esac
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_CC="${ac_tool_prefix}clang"
2640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2641 break 2
2642 fi
2643done
2644 done
2645IFS=$as_save_IFS
2646
2647fi
2648fi
2649CC=$ac_cv_prog_CC
2650if test -n "$CC"; then
2651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2652printf "%s\n" "$CC" >&6; }
2653else
2654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655printf "%s\n" "no" >&6; }
2656fi
2657
2658
2659fi
2660if test -z "$ac_cv_prog_CC"; then
2661 ac_ct_CC=$CC
2662 # Extract the first word of "clang", so it can be a program name with args.
2663set dummy clang; ac_word=$2
2664{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665printf %s "checking for $ac_word... " >&6; }
2666if test ${ac_cv_prog_ac_ct_CC+y}
2667then :
2668 printf %s "(cached) " >&6
2669else $as_nop
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2672else
2673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674for as_dir in $PATH
2675do
2676 IFS=$as_save_IFS
2677 case $as_dir in #(((
2678 '') as_dir=./ ;;
2679 */) ;;
2680 *) as_dir=$as_dir/ ;;
2681 esac
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_ac_ct_CC="clang"
2685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2686 break 2
2687 fi
2688done
2689 done
2690IFS=$as_save_IFS
2691
2692fi
2693fi
2694ac_ct_CC=$ac_cv_prog_ac_ct_CC
2695if test -n "$ac_ct_CC"; then
2696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2697printf "%s\n" "$ac_ct_CC" >&6; }
2698else
2699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700printf "%s\n" "no" >&6; }
2701fi
2702
2703 if test "x$ac_ct_CC" = x; then
2704 CC=""
2705 else
2706 case $cross_compiling:$ac_tool_warned in
2707yes:)
2708{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2387ac_tool_warned=yes ;; 2710ac_tool_warned=yes ;;
2388esac 2711esac
2389 CC=$ac_ct_CC 2712 CC=$ac_ct_CC
2390 fi 2713 fi
2714else
2715 CC="$ac_cv_prog_CC"
2391fi 2716fi
2392 2717
2393fi 2718fi
2394 2719
2395 2720
2396test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2721test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2722printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2398as_fn_error $? "no acceptable C compiler found in \$PATH 2723as_fn_error $? "no acceptable C compiler found in \$PATH
2399See \`config.log' for more details" "$LINENO" 5; } 2724See \`config.log' for more details" "$LINENO" 5; }
2400 2725
2401# Provide some information about the compiler. 2726# Provide some information about the compiler.
2402$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2727printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2403set X $ac_compile 2728set X $ac_compile
2404ac_compiler=$2 2729ac_compiler=$2
2405for ac_option in --version -v -V -qversion; do 2730for ac_option in --version -v -V -qversion -version; do
2406 { { ac_try="$ac_compiler $ac_option >&5" 2731 { { ac_try="$ac_compiler $ac_option >&5"
2407case "(($ac_try" in 2732case "(($ac_try" in
2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;; 2734 *) ac_try_echo=$ac_try;;
2410esac 2735esac
2411eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2412$as_echo "$ac_try_echo"; } >&5 2737printf "%s\n" "$ac_try_echo"; } >&5
2413 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2414 ac_status=$? 2739 ac_status=$?
2415 if test -s conftest.err; then 2740 if test -s conftest.err; then
@@ -2419,7 +2744,7 @@ $as_echo "$ac_try_echo"; } >&5
2419 cat conftest.er1 >&5 2744 cat conftest.er1 >&5
2420 fi 2745 fi
2421 rm -f conftest.er1 conftest.err 2746 rm -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } 2748 test $ac_status = 0; }
2424done 2749done
2425 2750
@@ -2427,7 +2752,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427/* end confdefs.h. */ 2752/* end confdefs.h. */
2428 2753
2429int 2754int
2430main () 2755main (void)
2431{ 2756{
2432 2757
2433 ; 2758 ;
@@ -2439,9 +2764,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2439# Try to create an executable without -o first, disregard a.out. 2764# Try to create an executable without -o first, disregard a.out.
2440# It will help us diagnose broken compilers, and finding out an intuition 2765# It will help us diagnose broken compilers, and finding out an intuition
2441# of exeext. 2766# of exeext.
2442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2767{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2443$as_echo_n "checking whether the C compiler works... " >&6; } 2768printf %s "checking whether the C compiler works... " >&6; }
2444ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2769ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2445 2770
2446# The possible output files: 2771# The possible output files:
2447ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2772ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
@@ -2462,11 +2787,12 @@ case "(($ac_try" in
2462 *) ac_try_echo=$ac_try;; 2787 *) ac_try_echo=$ac_try;;
2463esac 2788esac
2464eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2789eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465$as_echo "$ac_try_echo"; } >&5 2790printf "%s\n" "$ac_try_echo"; } >&5
2466 (eval "$ac_link_default") 2>&5 2791 (eval "$ac_link_default") 2>&5
2467 ac_status=$? 2792 ac_status=$?
2468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2469 test $ac_status = 0; }; then : 2794 test $ac_status = 0; }
2795then :
2470 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2796 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2471# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2797# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2472# in a Makefile. We should not override ac_cv_exeext if it was cached, 2798# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2483,7 +2809,7 @@ do
2483 # certainly right. 2809 # certainly right.
2484 break;; 2810 break;;
2485 *.* ) 2811 *.* )
2486 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2812 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
2487 then :; else 2813 then :; else
2488 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2489 fi 2815 fi
@@ -2499,44 +2825,46 @@ do
2499done 2825done
2500test "$ac_cv_exeext" = no && ac_cv_exeext= 2826test "$ac_cv_exeext" = no && ac_cv_exeext=
2501 2827
2502else 2828else $as_nop
2503 ac_file='' 2829 ac_file=''
2504fi 2830fi
2505if test -z "$ac_file"; then : 2831if test -z "$ac_file"
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2832then :
2507$as_echo "no" >&6; } 2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508$as_echo "$as_me: failed program was:" >&5 2834printf "%s\n" "no" >&6; }
2835printf "%s\n" "$as_me: failed program was:" >&5
2509sed 's/^/| /' conftest.$ac_ext >&5 2836sed 's/^/| /' conftest.$ac_ext >&5
2510 2837
2511{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2838{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2839printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2513as_fn_error 77 "C compiler cannot create executables 2840as_fn_error 77 "C compiler cannot create executables
2514See \`config.log' for more details" "$LINENO" 5; } 2841See \`config.log' for more details" "$LINENO" 5; }
2515else 2842else $as_nop
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2517$as_echo "yes" >&6; } 2844printf "%s\n" "yes" >&6; }
2518fi 2845fi
2519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2846{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2520$as_echo_n "checking for C compiler default output file name... " >&6; } 2847printf %s "checking for C compiler default output file name... " >&6; }
2521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2848{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2522$as_echo "$ac_file" >&6; } 2849printf "%s\n" "$ac_file" >&6; }
2523ac_exeext=$ac_cv_exeext 2850ac_exeext=$ac_cv_exeext
2524 2851
2525rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2852rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2526ac_clean_files=$ac_clean_files_save 2853ac_clean_files=$ac_clean_files_save
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2854{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2528$as_echo_n "checking for suffix of executables... " >&6; } 2855printf %s "checking for suffix of executables... " >&6; }
2529if { { ac_try="$ac_link" 2856if { { ac_try="$ac_link"
2530case "(($ac_try" in 2857case "(($ac_try" in
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;; 2859 *) ac_try_echo=$ac_try;;
2533esac 2860esac
2534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535$as_echo "$ac_try_echo"; } >&5 2862printf "%s\n" "$ac_try_echo"; } >&5
2536 (eval "$ac_link") 2>&5 2863 (eval "$ac_link") 2>&5
2537 ac_status=$? 2864 ac_status=$?
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; }; then : 2866 test $ac_status = 0; }
2867then :
2540 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2868 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2541# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2869# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2542# work properly (i.e., refer to `conftest.exe'), while it won't with 2870# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -2550,15 +2878,15 @@ for ac_file in conftest.exe conftest conftest.*; do
2550 * ) break;; 2878 * ) break;;
2551 esac 2879 esac
2552done 2880done
2553else 2881else $as_nop
2554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2882 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2883printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2556as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2884as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2557See \`config.log' for more details" "$LINENO" 5; } 2885See \`config.log' for more details" "$LINENO" 5; }
2558fi 2886fi
2559rm -f conftest conftest$ac_cv_exeext 2887rm -f conftest conftest$ac_cv_exeext
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2888{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2561$as_echo "$ac_cv_exeext" >&6; } 2889printf "%s\n" "$ac_cv_exeext" >&6; }
2562 2890
2563rm -f conftest.$ac_ext 2891rm -f conftest.$ac_ext
2564EXEEXT=$ac_cv_exeext 2892EXEEXT=$ac_cv_exeext
@@ -2567,7 +2895,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567/* end confdefs.h. */ 2895/* end confdefs.h. */
2568#include <stdio.h> 2896#include <stdio.h>
2569int 2897int
2570main () 2898main (void)
2571{ 2899{
2572FILE *f = fopen ("conftest.out", "w"); 2900FILE *f = fopen ("conftest.out", "w");
2573 return ferror (f) || fclose (f) != 0; 2901 return ferror (f) || fclose (f) != 0;
@@ -2579,8 +2907,8 @@ _ACEOF
2579ac_clean_files="$ac_clean_files conftest.out" 2907ac_clean_files="$ac_clean_files conftest.out"
2580# Check that the compiler produces executables we can run. If not, either 2908# Check that the compiler produces executables we can run. If not, either
2581# the compiler is broken, or we cross compile. 2909# the compiler is broken, or we cross compile.
2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2910{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2583$as_echo_n "checking whether we are cross compiling... " >&6; } 2911printf %s "checking whether we are cross compiling... " >&6; }
2584if test "$cross_compiling" != yes; then 2912if test "$cross_compiling" != yes; then
2585 { { ac_try="$ac_link" 2913 { { ac_try="$ac_link"
2586case "(($ac_try" in 2914case "(($ac_try" in
@@ -2588,10 +2916,10 @@ case "(($ac_try" in
2588 *) ac_try_echo=$ac_try;; 2916 *) ac_try_echo=$ac_try;;
2589esac 2917esac
2590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2918eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591$as_echo "$ac_try_echo"; } >&5 2919printf "%s\n" "$ac_try_echo"; } >&5
2592 (eval "$ac_link") 2>&5 2920 (eval "$ac_link") 2>&5
2593 ac_status=$? 2921 ac_status=$?
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; } 2923 test $ac_status = 0; }
2596 if { ac_try='./conftest$ac_cv_exeext' 2924 if { ac_try='./conftest$ac_cv_exeext'
2597 { { case "(($ac_try" in 2925 { { case "(($ac_try" in
@@ -2599,39 +2927,40 @@ $as_echo "$ac_try_echo"; } >&5
2599 *) ac_try_echo=$ac_try;; 2927 *) ac_try_echo=$ac_try;;
2600esac 2928esac
2601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2929eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2602$as_echo "$ac_try_echo"; } >&5 2930printf "%s\n" "$ac_try_echo"; } >&5
2603 (eval "$ac_try") 2>&5 2931 (eval "$ac_try") 2>&5
2604 ac_status=$? 2932 ac_status=$?
2605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2606 test $ac_status = 0; }; }; then 2934 test $ac_status = 0; }; }; then
2607 cross_compiling=no 2935 cross_compiling=no
2608 else 2936 else
2609 if test "$cross_compiling" = maybe; then 2937 if test "$cross_compiling" = maybe; then
2610 cross_compiling=yes 2938 cross_compiling=yes
2611 else 2939 else
2612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2940 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2613$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2941printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2614as_fn_error $? "cannot run C compiled programs. 2942as_fn_error 77 "cannot run C compiled programs.
2615If you meant to cross compile, use \`--host'. 2943If you meant to cross compile, use \`--host'.
2616See \`config.log' for more details" "$LINENO" 5; } 2944See \`config.log' for more details" "$LINENO" 5; }
2617 fi 2945 fi
2618 fi 2946 fi
2619fi 2947fi
2620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2948{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2621$as_echo "$cross_compiling" >&6; } 2949printf "%s\n" "$cross_compiling" >&6; }
2622 2950
2623rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2951rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2624ac_clean_files=$ac_clean_files_save 2952ac_clean_files=$ac_clean_files_save
2625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2953{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2626$as_echo_n "checking for suffix of object files... " >&6; } 2954printf %s "checking for suffix of object files... " >&6; }
2627if ${ac_cv_objext+:} false; then : 2955if test ${ac_cv_objext+y}
2628 $as_echo_n "(cached) " >&6 2956then :
2629else 2957 printf %s "(cached) " >&6
2958else $as_nop
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631/* end confdefs.h. */ 2960/* end confdefs.h. */
2632 2961
2633int 2962int
2634main () 2963main (void)
2635{ 2964{
2636 2965
2637 ; 2966 ;
@@ -2645,11 +2974,12 @@ case "(($ac_try" in
2645 *) ac_try_echo=$ac_try;; 2974 *) ac_try_echo=$ac_try;;
2646esac 2975esac
2647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2976eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648$as_echo "$ac_try_echo"; } >&5 2977printf "%s\n" "$ac_try_echo"; } >&5
2649 (eval "$ac_compile") 2>&5 2978 (eval "$ac_compile") 2>&5
2650 ac_status=$? 2979 ac_status=$?
2651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652 test $ac_status = 0; }; then : 2981 test $ac_status = 0; }
2982then :
2653 for ac_file in conftest.o conftest.obj conftest.*; do 2983 for ac_file in conftest.o conftest.obj conftest.*; do
2654 test -f "$ac_file" || continue; 2984 test -f "$ac_file" || continue;
2655 case $ac_file in 2985 case $ac_file in
@@ -2658,31 +2988,32 @@ $as_echo "$ac_try_echo"; } >&5
2658 break;; 2988 break;;
2659 esac 2989 esac
2660done 2990done
2661else 2991else $as_nop
2662 $as_echo "$as_me: failed program was:" >&5 2992 printf "%s\n" "$as_me: failed program was:" >&5
2663sed 's/^/| /' conftest.$ac_ext >&5 2993sed 's/^/| /' conftest.$ac_ext >&5
2664 2994
2665{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2995{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2996printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2667as_fn_error $? "cannot compute suffix of object files: cannot compile 2997as_fn_error $? "cannot compute suffix of object files: cannot compile
2668See \`config.log' for more details" "$LINENO" 5; } 2998See \`config.log' for more details" "$LINENO" 5; }
2669fi 2999fi
2670rm -f conftest.$ac_cv_objext conftest.$ac_ext 3000rm -f conftest.$ac_cv_objext conftest.$ac_ext
2671fi 3001fi
2672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3002{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2673$as_echo "$ac_cv_objext" >&6; } 3003printf "%s\n" "$ac_cv_objext" >&6; }
2674OBJEXT=$ac_cv_objext 3004OBJEXT=$ac_cv_objext
2675ac_objext=$OBJEXT 3005ac_objext=$OBJEXT
2676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3006{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
2677$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3007printf %s "checking whether the compiler supports GNU C... " >&6; }
2678if ${ac_cv_c_compiler_gnu+:} false; then : 3008if test ${ac_cv_c_compiler_gnu+y}
2679 $as_echo_n "(cached) " >&6 3009then :
2680else 3010 printf %s "(cached) " >&6
3011else $as_nop
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682/* end confdefs.h. */ 3013/* end confdefs.h. */
2683 3014
2684int 3015int
2685main () 3016main (void)
2686{ 3017{
2687#ifndef __GNUC__ 3018#ifndef __GNUC__
2688 choke me 3019 choke me
@@ -2692,29 +3023,33 @@ main ()
2692 return 0; 3023 return 0;
2693} 3024}
2694_ACEOF 3025_ACEOF
2695if ac_fn_c_try_compile "$LINENO"; then : 3026if ac_fn_c_try_compile "$LINENO"
3027then :
2696 ac_compiler_gnu=yes 3028 ac_compiler_gnu=yes
2697else 3029else $as_nop
2698 ac_compiler_gnu=no 3030 ac_compiler_gnu=no
2699fi 3031fi
2700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3032rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2701ac_cv_c_compiler_gnu=$ac_compiler_gnu 3033ac_cv_c_compiler_gnu=$ac_compiler_gnu
2702 3034
2703fi 3035fi
2704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3036{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2705$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3037printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3038ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039
2706if test $ac_compiler_gnu = yes; then 3040if test $ac_compiler_gnu = yes; then
2707 GCC=yes 3041 GCC=yes
2708else 3042else
2709 GCC= 3043 GCC=
2710fi 3044fi
2711ac_test_CFLAGS=${CFLAGS+set} 3045ac_test_CFLAGS=${CFLAGS+y}
2712ac_save_CFLAGS=$CFLAGS 3046ac_save_CFLAGS=$CFLAGS
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3047{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2714$as_echo_n "checking whether $CC accepts -g... " >&6; } 3048printf %s "checking whether $CC accepts -g... " >&6; }
2715if ${ac_cv_prog_cc_g+:} false; then : 3049if test ${ac_cv_prog_cc_g+y}
2716 $as_echo_n "(cached) " >&6 3050then :
2717else 3051 printf %s "(cached) " >&6
3052else $as_nop
2718 ac_save_c_werror_flag=$ac_c_werror_flag 3053 ac_save_c_werror_flag=$ac_c_werror_flag
2719 ac_c_werror_flag=yes 3054 ac_c_werror_flag=yes
2720 ac_cv_prog_cc_g=no 3055 ac_cv_prog_cc_g=no
@@ -2723,57 +3058,60 @@ else
2723/* end confdefs.h. */ 3058/* end confdefs.h. */
2724 3059
2725int 3060int
2726main () 3061main (void)
2727{ 3062{
2728 3063
2729 ; 3064 ;
2730 return 0; 3065 return 0;
2731} 3066}
2732_ACEOF 3067_ACEOF
2733if ac_fn_c_try_compile "$LINENO"; then : 3068if ac_fn_c_try_compile "$LINENO"
3069then :
2734 ac_cv_prog_cc_g=yes 3070 ac_cv_prog_cc_g=yes
2735else 3071else $as_nop
2736 CFLAGS="" 3072 CFLAGS=""
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738/* end confdefs.h. */ 3074/* end confdefs.h. */
2739 3075
2740int 3076int
2741main () 3077main (void)
2742{ 3078{
2743 3079
2744 ; 3080 ;
2745 return 0; 3081 return 0;
2746} 3082}
2747_ACEOF 3083_ACEOF
2748if ac_fn_c_try_compile "$LINENO"; then : 3084if ac_fn_c_try_compile "$LINENO"
3085then :
2749 3086
2750else 3087else $as_nop
2751 ac_c_werror_flag=$ac_save_c_werror_flag 3088 ac_c_werror_flag=$ac_save_c_werror_flag
2752 CFLAGS="-g" 3089 CFLAGS="-g"
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754/* end confdefs.h. */ 3091/* end confdefs.h. */
2755 3092
2756int 3093int
2757main () 3094main (void)
2758{ 3095{
2759 3096
2760 ; 3097 ;
2761 return 0; 3098 return 0;
2762} 3099}
2763_ACEOF 3100_ACEOF
2764if ac_fn_c_try_compile "$LINENO"; then : 3101if ac_fn_c_try_compile "$LINENO"
3102then :
2765 ac_cv_prog_cc_g=yes 3103 ac_cv_prog_cc_g=yes
2766fi 3104fi
2767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3105rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2768fi 3106fi
2769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3107rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2770fi 3108fi
2771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3109rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2772 ac_c_werror_flag=$ac_save_c_werror_flag 3110 ac_c_werror_flag=$ac_save_c_werror_flag
2773fi 3111fi
2774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3112{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2775$as_echo "$ac_cv_prog_cc_g" >&6; } 3113printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
2776if test "$ac_test_CFLAGS" = set; then 3114if test $ac_test_CFLAGS; then
2777 CFLAGS=$ac_save_CFLAGS 3115 CFLAGS=$ac_save_CFLAGS
2778elif test $ac_cv_prog_cc_g = yes; then 3116elif test $ac_cv_prog_cc_g = yes; then
2779 if test "$GCC" = yes; then 3117 if test "$GCC" = yes; then
@@ -2788,94 +3126,144 @@ else
2788 CFLAGS= 3126 CFLAGS=
2789 fi 3127 fi
2790fi 3128fi
2791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3129ac_prog_cc_stdc=no
2792$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3130if test x$ac_prog_cc_stdc = xno
2793if ${ac_cv_prog_cc_c89+:} false; then : 3131then :
2794 $as_echo_n "(cached) " >&6 3132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
2795else 3133printf %s "checking for $CC option to enable C11 features... " >&6; }
2796 ac_cv_prog_cc_c89=no 3134if test ${ac_cv_prog_cc_c11+y}
3135then :
3136 printf %s "(cached) " >&6
3137else $as_nop
3138 ac_cv_prog_cc_c11=no
2797ac_save_CC=$CC 3139ac_save_CC=$CC
2798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3140cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799/* end confdefs.h. */ 3141/* end confdefs.h. */
2800#include <stdarg.h> 3142$ac_c_conftest_c11_program
2801#include <stdio.h> 3143_ACEOF
2802struct stat; 3144for ac_arg in '' -std=gnu11
2803/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3145do
2804struct buf { int x; }; 3146 CC="$ac_save_CC $ac_arg"
2805FILE * (*rcsopen) (struct buf *, struct stat *, int); 3147 if ac_fn_c_try_compile "$LINENO"
2806static char *e (p, i) 3148then :
2807 char **p; 3149 ac_cv_prog_cc_c11=$ac_arg
2808 int i; 3150fi
2809{ 3151rm -f core conftest.err conftest.$ac_objext conftest.beam
2810 return p[i]; 3152 test "x$ac_cv_prog_cc_c11" != "xno" && break
2811} 3153done
2812static char *f (char * (*g) (char **, int), char **p, ...) 3154rm -f conftest.$ac_ext
2813{ 3155CC=$ac_save_CC
2814 char *s; 3156fi
2815 va_list v;
2816 va_start (v,p);
2817 s = g (p, va_arg (v,int));
2818 va_end (v);
2819 return s;
2820}
2821
2822/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2823 function prototypes and stuff, but not '\xHH' hex character constants.
2824 These don't provoke an error unfortunately, instead are silently treated
2825 as 'x'. The following induces an error, until -std is added to get
2826 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2827 array size at least. It's necessary to write '\x00'==0 to get something
2828 that's true only with -std. */
2829int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2830 3157
2831/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3158if test "x$ac_cv_prog_cc_c11" = xno
2832 inside strings and character constants. */ 3159then :
2833#define FOO(x) 'x' 3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2834int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3161printf "%s\n" "unsupported" >&6; }
3162else $as_nop
3163 if test "x$ac_cv_prog_cc_c11" = x
3164then :
3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3166printf "%s\n" "none needed" >&6; }
3167else $as_nop
3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3169printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3170 CC="$CC $ac_cv_prog_cc_c11"
3171fi
3172 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3173 ac_prog_cc_stdc=c11
3174fi
3175fi
3176if test x$ac_prog_cc_stdc = xno
3177then :
3178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3179printf %s "checking for $CC option to enable C99 features... " >&6; }
3180if test ${ac_cv_prog_cc_c99+y}
3181then :
3182 printf %s "(cached) " >&6
3183else $as_nop
3184 ac_cv_prog_cc_c99=no
3185ac_save_CC=$CC
3186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187/* end confdefs.h. */
3188$ac_c_conftest_c99_program
3189_ACEOF
3190for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3191do
3192 CC="$ac_save_CC $ac_arg"
3193 if ac_fn_c_try_compile "$LINENO"
3194then :
3195 ac_cv_prog_cc_c99=$ac_arg
3196fi
3197rm -f core conftest.err conftest.$ac_objext conftest.beam
3198 test "x$ac_cv_prog_cc_c99" != "xno" && break
3199done
3200rm -f conftest.$ac_ext
3201CC=$ac_save_CC
3202fi
2835 3203
2836int test (int i, double x); 3204if test "x$ac_cv_prog_cc_c99" = xno
2837struct s1 {int (*f) (int a);}; 3205then :
2838struct s2 {int (*f) (double a);}; 3206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2839int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3207printf "%s\n" "unsupported" >&6; }
2840int argc; 3208else $as_nop
2841char **argv; 3209 if test "x$ac_cv_prog_cc_c99" = x
2842int 3210then :
2843main () 3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2844{ 3212printf "%s\n" "none needed" >&6; }
2845return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3213else $as_nop
2846 ; 3214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
2847 return 0; 3215printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
2848} 3216 CC="$CC $ac_cv_prog_cc_c99"
3217fi
3218 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3219 ac_prog_cc_stdc=c99
3220fi
3221fi
3222if test x$ac_prog_cc_stdc = xno
3223then :
3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3225printf %s "checking for $CC option to enable C89 features... " >&6; }
3226if test ${ac_cv_prog_cc_c89+y}
3227then :
3228 printf %s "(cached) " >&6
3229else $as_nop
3230 ac_cv_prog_cc_c89=no
3231ac_save_CC=$CC
3232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233/* end confdefs.h. */
3234$ac_c_conftest_c89_program
2849_ACEOF 3235_ACEOF
2850for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3236for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2851 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2852do 3237do
2853 CC="$ac_save_CC $ac_arg" 3238 CC="$ac_save_CC $ac_arg"
2854 if ac_fn_c_try_compile "$LINENO"; then : 3239 if ac_fn_c_try_compile "$LINENO"
3240then :
2855 ac_cv_prog_cc_c89=$ac_arg 3241 ac_cv_prog_cc_c89=$ac_arg
2856fi 3242fi
2857rm -f core conftest.err conftest.$ac_objext 3243rm -f core conftest.err conftest.$ac_objext conftest.beam
2858 test "x$ac_cv_prog_cc_c89" != "xno" && break 3244 test "x$ac_cv_prog_cc_c89" != "xno" && break
2859done 3245done
2860rm -f conftest.$ac_ext 3246rm -f conftest.$ac_ext
2861CC=$ac_save_CC 3247CC=$ac_save_CC
2862
2863fi 3248fi
2864# AC_CACHE_VAL
2865case "x$ac_cv_prog_cc_c89" in
2866 x)
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2868$as_echo "none needed" >&6; } ;;
2869 xno)
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2871$as_echo "unsupported" >&6; } ;;
2872 *)
2873 CC="$CC $ac_cv_prog_cc_c89"
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2875$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2876esac
2877if test "x$ac_cv_prog_cc_c89" != xno; then :
2878 3249
3250if test "x$ac_cv_prog_cc_c89" = xno
3251then :
3252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3253printf "%s\n" "unsupported" >&6; }
3254else $as_nop
3255 if test "x$ac_cv_prog_cc_c89" = x
3256then :
3257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3258printf "%s\n" "none needed" >&6; }
3259else $as_nop
3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3261printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3262 CC="$CC $ac_cv_prog_cc_c89"
3263fi
3264 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3265 ac_prog_cc_stdc=c89
3266fi
2879fi 3267fi
2880 3268
2881ac_ext=c 3269ac_ext=c
@@ -2887,11 +3275,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2887 3275
2888HAVE_SPECTRE="no" 3276HAVE_SPECTRE="no"
2889 3277
2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mindirect-branch=thunk" >&5 3278{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mindirect-branch=thunk" >&5
2891$as_echo_n "checking whether C compiler accepts -mindirect-branch=thunk... " >&6; } 3279printf %s "checking whether C compiler accepts -mindirect-branch=thunk... " >&6; }
2892if ${ax_cv_check_cflags___mindirect_branch_thunk+:} false; then : 3280if test ${ax_cv_check_cflags___mindirect_branch_thunk+y}
2893 $as_echo_n "(cached) " >&6 3281then :
2894else 3282 printf %s "(cached) " >&6
3283else $as_nop
2895 3284
2896 ax_check_save_flags=$CFLAGS 3285 ax_check_save_flags=$CFLAGS
2897 CFLAGS="$CFLAGS -mindirect-branch=thunk" 3286 CFLAGS="$CFLAGS -mindirect-branch=thunk"
@@ -2899,37 +3288,40 @@ else
2899/* end confdefs.h. */ 3288/* end confdefs.h. */
2900 3289
2901int 3290int
2902main () 3291main (void)
2903{ 3292{
2904 3293
2905 ; 3294 ;
2906 return 0; 3295 return 0;
2907} 3296}
2908_ACEOF 3297_ACEOF
2909if ac_fn_c_try_compile "$LINENO"; then : 3298if ac_fn_c_try_compile "$LINENO"
3299then :
2910 ax_cv_check_cflags___mindirect_branch_thunk=yes 3300 ax_cv_check_cflags___mindirect_branch_thunk=yes
2911else 3301else $as_nop
2912 ax_cv_check_cflags___mindirect_branch_thunk=no 3302 ax_cv_check_cflags___mindirect_branch_thunk=no
2913fi 3303fi
2914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3304rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2915 CFLAGS=$ax_check_save_flags 3305 CFLAGS=$ax_check_save_flags
2916fi 3306fi
2917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mindirect_branch_thunk" >&5 3307{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mindirect_branch_thunk" >&5
2918$as_echo "$ax_cv_check_cflags___mindirect_branch_thunk" >&6; } 3308printf "%s\n" "$ax_cv_check_cflags___mindirect_branch_thunk" >&6; }
2919if test "x$ax_cv_check_cflags___mindirect_branch_thunk" = xyes; then : 3309if test "x$ax_cv_check_cflags___mindirect_branch_thunk" = xyes
3310then :
2920 3311
2921 HAVE_SPECTRE="yes" 3312 HAVE_SPECTRE="yes"
2922 EXTRA_CFLAGS="$EXTRA_CFLAGS -mindirect-branch=thunk" 3313 EXTRA_CFLAGS="$EXTRA_CFLAGS -mindirect-branch=thunk"
2923 3314
2924else 3315else $as_nop
2925 : 3316 :
2926fi 3317fi
2927 3318
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-clash-protection" >&5 3319{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-clash-protection" >&5
2929$as_echo_n "checking whether C compiler accepts -fstack-clash-protection... " >&6; } 3320printf %s "checking whether C compiler accepts -fstack-clash-protection... " >&6; }
2930if ${ax_cv_check_cflags___fstack_clash_protection+:} false; then : 3321if test ${ax_cv_check_cflags___fstack_clash_protection+y}
2931 $as_echo_n "(cached) " >&6 3322then :
2932else 3323 printf %s "(cached) " >&6
3324else $as_nop
2933 3325
2934 ax_check_save_flags=$CFLAGS 3326 ax_check_save_flags=$CFLAGS
2935 CFLAGS="$CFLAGS -fstack-clash-protection" 3327 CFLAGS="$CFLAGS -fstack-clash-protection"
@@ -2937,37 +3329,40 @@ else
2937/* end confdefs.h. */ 3329/* end confdefs.h. */
2938 3330
2939int 3331int
2940main () 3332main (void)
2941{ 3333{
2942 3334
2943 ; 3335 ;
2944 return 0; 3336 return 0;
2945} 3337}
2946_ACEOF 3338_ACEOF
2947if ac_fn_c_try_compile "$LINENO"; then : 3339if ac_fn_c_try_compile "$LINENO"
3340then :
2948 ax_cv_check_cflags___fstack_clash_protection=yes 3341 ax_cv_check_cflags___fstack_clash_protection=yes
2949else 3342else $as_nop
2950 ax_cv_check_cflags___fstack_clash_protection=no 3343 ax_cv_check_cflags___fstack_clash_protection=no
2951fi 3344fi
2952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3345rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2953 CFLAGS=$ax_check_save_flags 3346 CFLAGS=$ax_check_save_flags
2954fi 3347fi
2955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_clash_protection" >&5 3348{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_clash_protection" >&5
2956$as_echo "$ax_cv_check_cflags___fstack_clash_protection" >&6; } 3349printf "%s\n" "$ax_cv_check_cflags___fstack_clash_protection" >&6; }
2957if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes; then : 3350if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes
3351then :
2958 3352
2959 HAVE_SPECTRE="yes" 3353 HAVE_SPECTRE="yes"
2960 EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-clash-protection" 3354 EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-clash-protection"
2961 3355
2962else 3356else $as_nop
2963 : 3357 :
2964fi 3358fi
2965 3359
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-strong" >&5 3360{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-strong" >&5
2967$as_echo_n "checking whether C compiler accepts -fstack-protector-strong... " >&6; } 3361printf %s "checking whether C compiler accepts -fstack-protector-strong... " >&6; }
2968if ${ax_cv_check_cflags___fstack_protector_strong+:} false; then : 3362if test ${ax_cv_check_cflags___fstack_protector_strong+y}
2969 $as_echo_n "(cached) " >&6 3363then :
2970else 3364 printf %s "(cached) " >&6
3365else $as_nop
2971 3366
2972 ax_check_save_flags=$CFLAGS 3367 ax_check_save_flags=$CFLAGS
2973 CFLAGS="$CFLAGS -fstack-protector-strong" 3368 CFLAGS="$CFLAGS -fstack-protector-strong"
@@ -2975,59 +3370,66 @@ else
2975/* end confdefs.h. */ 3370/* end confdefs.h. */
2976 3371
2977int 3372int
2978main () 3373main (void)
2979{ 3374{
2980 3375
2981 ; 3376 ;
2982 return 0; 3377 return 0;
2983} 3378}
2984_ACEOF 3379_ACEOF
2985if ac_fn_c_try_compile "$LINENO"; then : 3380if ac_fn_c_try_compile "$LINENO"
3381then :
2986 ax_cv_check_cflags___fstack_protector_strong=yes 3382 ax_cv_check_cflags___fstack_protector_strong=yes
2987else 3383else $as_nop
2988 ax_cv_check_cflags___fstack_protector_strong=no 3384 ax_cv_check_cflags___fstack_protector_strong=no
2989fi 3385fi
2990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3386rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2991 CFLAGS=$ax_check_save_flags 3387 CFLAGS=$ax_check_save_flags
2992fi 3388fi
2993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_strong" >&5 3389{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_strong" >&5
2994$as_echo "$ax_cv_check_cflags___fstack_protector_strong" >&6; } 3390printf "%s\n" "$ax_cv_check_cflags___fstack_protector_strong" >&6; }
2995if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes; then : 3391if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes
3392then :
2996 3393
2997 HAVE_SPECTRE="yes" 3394 HAVE_SPECTRE="yes"
2998 EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-protector-strong" 3395 EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-protector-strong"
2999 3396
3000else 3397else $as_nop
3001 : 3398 :
3002fi 3399fi
3003 3400
3004 3401
3005# Check whether --enable-analyzer was given. 3402# Check whether --enable-analyzer was given.
3006if test "${enable_analyzer+set}" = set; then : 3403if test ${enable_analyzer+y}
3404then :
3007 enableval=$enable_analyzer; 3405 enableval=$enable_analyzer;
3008fi 3406fi
3009 3407
3010if test "x$enable_analyzer" = "xyes"; then : 3408if test "x$enable_analyzer" = "xyes"
3409then :
3011 3410
3012 EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer -Wno-analyzer-malloc-leak" 3411 EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer -Wno-analyzer-malloc-leak"
3013 3412
3014fi 3413fi
3015 3414
3016# Check whether --enable-sanitizer was given. 3415# Check whether --enable-sanitizer was given.
3017if test "${enable_sanitizer+set}" = set; then : 3416if test ${enable_sanitizer+y}
3417then :
3018 enableval=$enable_sanitizer; 3418 enableval=$enable_sanitizer;
3019else 3419else $as_nop
3020 enable_sanitizer=no 3420 enable_sanitizer=no
3021fi 3421fi
3022 3422
3023if test "x$enable_sanitizer" != "xno" ; then : 3423if test "x$enable_sanitizer" != "xno"
3424then :
3024 3425
3025 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-fsanitize=$enable_sanitizer" | $as_tr_sh` 3426 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__-fsanitize=$enable_sanitizer" | $as_tr_sh`
3026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=$enable_sanitizer" >&5 3427{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=$enable_sanitizer" >&5
3027$as_echo_n "checking whether C compiler accepts -fsanitize=$enable_sanitizer... " >&6; } 3428printf %s "checking whether C compiler accepts -fsanitize=$enable_sanitizer... " >&6; }
3028if eval \${$as_CACHEVAR+:} false; then : 3429if eval test \${$as_CACHEVAR+y}
3029 $as_echo_n "(cached) " >&6 3430then :
3030else 3431 printf %s "(cached) " >&6
3432else $as_nop
3031 3433
3032 ax_check_save_flags=$CFLAGS 3434 ax_check_save_flags=$CFLAGS
3033 CFLAGS="$CFLAGS -fsanitize=$enable_sanitizer" 3435 CFLAGS="$CFLAGS -fsanitize=$enable_sanitizer"
@@ -3035,30 +3437,32 @@ else
3035/* end confdefs.h. */ 3437/* end confdefs.h. */
3036 3438
3037int 3439int
3038main () 3440main (void)
3039{ 3441{
3040 3442
3041 ; 3443 ;
3042 return 0; 3444 return 0;
3043} 3445}
3044_ACEOF 3446_ACEOF
3045if ac_fn_c_try_compile "$LINENO"; then : 3447if ac_fn_c_try_compile "$LINENO"
3448then :
3046 eval "$as_CACHEVAR=yes" 3449 eval "$as_CACHEVAR=yes"
3047else 3450else $as_nop
3048 eval "$as_CACHEVAR=no" 3451 eval "$as_CACHEVAR=no"
3049fi 3452fi
3050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3453rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3051 CFLAGS=$ax_check_save_flags 3454 CFLAGS=$ax_check_save_flags
3052fi 3455fi
3053eval ac_res=\$$as_CACHEVAR 3456eval ac_res=\$$as_CACHEVAR
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055$as_echo "$ac_res" >&6; } 3458printf "%s\n" "$ac_res" >&6; }
3056if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 3459if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
3460then :
3057 3461
3058 EXTRA_CFLAGS="$EXTRA_CFLAGS -fsanitize=$enable_sanitizer -fno-omit-frame-pointer" 3462 EXTRA_CFLAGS="$EXTRA_CFLAGS -fsanitize=$enable_sanitizer -fno-omit-frame-pointer"
3059 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -fsanitize=$enable_sanitizer" 3463 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -fsanitize=$enable_sanitizer"
3060 3464
3061else 3465else $as_nop
3062 as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5 3466 as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5
3063fi 3467fi
3064 3468
@@ -3068,11 +3472,13 @@ fi
3068HAVE_IDS="" 3472HAVE_IDS=""
3069 3473
3070# Check whether --enable-ids was given. 3474# Check whether --enable-ids was given.
3071if test "${enable_ids+set}" = set; then : 3475if test ${enable_ids+y}
3476then :
3072 enableval=$enable_ids; 3477 enableval=$enable_ids;
3073fi 3478fi
3074 3479
3075if test "x$enable_ids" = "xyes"; then : 3480if test "x$enable_ids" = "xyes"
3481then :
3076 3482
3077 HAVE_IDS="-DHAVE_IDS" 3483 HAVE_IDS="-DHAVE_IDS"
3078 3484
@@ -3081,7 +3487,8 @@ fi
3081HAVE_APPARMOR="" 3487HAVE_APPARMOR=""
3082 3488
3083# Check whether --enable-apparmor was given. 3489# Check whether --enable-apparmor was given.
3084if test "${enable_apparmor+set}" = set; then : 3490if test ${enable_apparmor+y}
3491then :
3085 enableval=$enable_apparmor; 3492 enableval=$enable_apparmor;
3086fi 3493fi
3087 3494
@@ -3096,11 +3503,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3096 if test -n "$ac_tool_prefix"; then 3503 if test -n "$ac_tool_prefix"; then
3097 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3098set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3505set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3506{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100$as_echo_n "checking for $ac_word... " >&6; } 3507printf %s "checking for $ac_word... " >&6; }
3101if ${ac_cv_path_PKG_CONFIG+:} false; then : 3508if test ${ac_cv_path_PKG_CONFIG+y}
3102 $as_echo_n "(cached) " >&6 3509then :
3103else 3510 printf %s "(cached) " >&6
3511else $as_nop
3104 case $PKG_CONFIG in 3512 case $PKG_CONFIG in
3105 [\\/]* | ?:[\\/]*) 3513 [\\/]* | ?:[\\/]*)
3106 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3514 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
@@ -3110,11 +3518,15 @@ else
3110for as_dir in $PATH 3518for as_dir in $PATH
3111do 3519do
3112 IFS=$as_save_IFS 3520 IFS=$as_save_IFS
3113 test -z "$as_dir" && as_dir=. 3521 case $as_dir in #(((
3522 '') as_dir=./ ;;
3523 */) ;;
3524 *) as_dir=$as_dir/ ;;
3525 esac
3114 for ac_exec_ext in '' $ac_executable_extensions; do 3526 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3527 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3116 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3528 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3118 break 2 3530 break 2
3119 fi 3531 fi
3120done 3532done
@@ -3126,11 +3538,11 @@ esac
3126fi 3538fi
3127PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3539PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3128if test -n "$PKG_CONFIG"; then 3540if test -n "$PKG_CONFIG"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3130$as_echo "$PKG_CONFIG" >&6; } 3542printf "%s\n" "$PKG_CONFIG" >&6; }
3131else 3543else
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133$as_echo "no" >&6; } 3545printf "%s\n" "no" >&6; }
3134fi 3546fi
3135 3547
3136 3548
@@ -3139,11 +3551,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then
3139 ac_pt_PKG_CONFIG=$PKG_CONFIG 3551 ac_pt_PKG_CONFIG=$PKG_CONFIG
3140 # Extract the first word of "pkg-config", so it can be a program name with args. 3552 # Extract the first word of "pkg-config", so it can be a program name with args.
3141set dummy pkg-config; ac_word=$2 3553set dummy pkg-config; ac_word=$2
3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3554{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143$as_echo_n "checking for $ac_word... " >&6; } 3555printf %s "checking for $ac_word... " >&6; }
3144if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 3556if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
3145 $as_echo_n "(cached) " >&6 3557then :
3146else 3558 printf %s "(cached) " >&6
3559else $as_nop
3147 case $ac_pt_PKG_CONFIG in 3560 case $ac_pt_PKG_CONFIG in
3148 [\\/]* | ?:[\\/]*) 3561 [\\/]* | ?:[\\/]*)
3149 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3562 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
@@ -3153,11 +3566,15 @@ else
3153for as_dir in $PATH 3566for as_dir in $PATH
3154do 3567do
3155 IFS=$as_save_IFS 3568 IFS=$as_save_IFS
3156 test -z "$as_dir" && as_dir=. 3569 case $as_dir in #(((
3570 '') as_dir=./ ;;
3571 */) ;;
3572 *) as_dir=$as_dir/ ;;
3573 esac
3157 for ac_exec_ext in '' $ac_executable_extensions; do 3574 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3159 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3576 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3161 break 2 3578 break 2
3162 fi 3579 fi
3163done 3580done
@@ -3169,11 +3586,11 @@ esac
3169fi 3586fi
3170ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3587ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3171if test -n "$ac_pt_PKG_CONFIG"; then 3588if test -n "$ac_pt_PKG_CONFIG"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3173$as_echo "$ac_pt_PKG_CONFIG" >&6; } 3590printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
3174else 3591else
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176$as_echo "no" >&6; } 3593printf "%s\n" "no" >&6; }
3177fi 3594fi
3178 3595
3179 if test "x$ac_pt_PKG_CONFIG" = x; then 3596 if test "x$ac_pt_PKG_CONFIG" = x; then
@@ -3181,8 +3598,8 @@ fi
3181 else 3598 else
3182 case $cross_compiling:$ac_tool_warned in 3599 case $cross_compiling:$ac_tool_warned in
3183yes:) 3600yes:)
3184{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3601{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3185$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3602printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3186ac_tool_warned=yes ;; 3603ac_tool_warned=yes ;;
3187esac 3604esac
3188 PKG_CONFIG=$ac_pt_PKG_CONFIG 3605 PKG_CONFIG=$ac_pt_PKG_CONFIG
@@ -3194,33 +3611,34 @@ fi
3194fi 3611fi
3195if test -n "$PKG_CONFIG"; then 3612if test -n "$PKG_CONFIG"; then
3196 _pkg_min_version=0.9.0 3613 _pkg_min_version=0.9.0
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3198$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 3615printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3199 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3616 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3201$as_echo "yes" >&6; } 3618printf "%s\n" "yes" >&6; }
3202 else 3619 else
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204$as_echo "no" >&6; } 3621printf "%s\n" "no" >&6; }
3205 PKG_CONFIG="" 3622 PKG_CONFIG=""
3206 fi 3623 fi
3207fi 3624fi
3208if test "x$enable_apparmor" = "xyes"; then : 3625if test "x$enable_apparmor" = "xyes"
3626then :
3209 3627
3210 HAVE_APPARMOR="-DHAVE_APPARMOR" 3628 HAVE_APPARMOR="-DHAVE_APPARMOR"
3211 3629
3212pkg_failed=no 3630pkg_failed=no
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libapparmor" >&5 3631{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libapparmor" >&5
3214$as_echo_n "checking for libapparmor... " >&6; } 3632printf %s "checking for libapparmor... " >&6; }
3215 3633
3216if test -n "$AA_CFLAGS"; then 3634if test -n "$AA_CFLAGS"; then
3217 pkg_cv_AA_CFLAGS="$AA_CFLAGS" 3635 pkg_cv_AA_CFLAGS="$AA_CFLAGS"
3218 elif test -n "$PKG_CONFIG"; then 3636 elif test -n "$PKG_CONFIG"; then
3219 if test -n "$PKG_CONFIG" && \ 3637 if test -n "$PKG_CONFIG" && \
3220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libapparmor\""; } >&5 3638 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libapparmor\""; } >&5
3221 ($PKG_CONFIG --exists --print-errors "libapparmor") 2>&5 3639 ($PKG_CONFIG --exists --print-errors "libapparmor") 2>&5
3222 ac_status=$? 3640 ac_status=$?
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }; then 3642 test $ac_status = 0; }; then
3225 pkg_cv_AA_CFLAGS=`$PKG_CONFIG --cflags "libapparmor" 2>/dev/null` 3643 pkg_cv_AA_CFLAGS=`$PKG_CONFIG --cflags "libapparmor" 2>/dev/null`
3226 test "x$?" != "x0" && pkg_failed=yes 3644 test "x$?" != "x0" && pkg_failed=yes
@@ -3234,10 +3652,10 @@ if test -n "$AA_LIBS"; then
3234 pkg_cv_AA_LIBS="$AA_LIBS" 3652 pkg_cv_AA_LIBS="$AA_LIBS"
3235 elif test -n "$PKG_CONFIG"; then 3653 elif test -n "$PKG_CONFIG"; then
3236 if test -n "$PKG_CONFIG" && \ 3654 if test -n "$PKG_CONFIG" && \
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libapparmor\""; } >&5 3655 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libapparmor\""; } >&5
3238 ($PKG_CONFIG --exists --print-errors "libapparmor") 2>&5 3656 ($PKG_CONFIG --exists --print-errors "libapparmor") 2>&5
3239 ac_status=$? 3657 ac_status=$?
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; }; then 3659 test $ac_status = 0; }; then
3242 pkg_cv_AA_LIBS=`$PKG_CONFIG --libs "libapparmor" 2>/dev/null` 3660 pkg_cv_AA_LIBS=`$PKG_CONFIG --libs "libapparmor" 2>/dev/null`
3243 test "x$?" != "x0" && pkg_failed=yes 3661 test "x$?" != "x0" && pkg_failed=yes
@@ -3251,8 +3669,8 @@ fi
3251 3669
3252 3670
3253if test $pkg_failed = yes; then 3671if test $pkg_failed = yes; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255$as_echo "no" >&6; } 3673printf "%s\n" "no" >&6; }
3256 3674
3257if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3675if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3258 _pkg_short_errors_supported=yes 3676 _pkg_short_errors_supported=yes
@@ -3260,14 +3678,14 @@ else
3260 _pkg_short_errors_supported=no 3678 _pkg_short_errors_supported=no
3261fi 3679fi
3262 if test $_pkg_short_errors_supported = yes; then 3680 if test $_pkg_short_errors_supported = yes; then
3263 AA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libapparmor" 2>&1` 3681 AA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libapparmor" 2>&1`
3264 else 3682 else
3265 AA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libapparmor" 2>&1` 3683 AA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libapparmor" 2>&1`
3266 fi 3684 fi
3267 # Put the nasty error message in config.log where it belongs 3685 # Put the nasty error message in config.log where it belongs
3268 echo "$AA_PKG_ERRORS" >&5 3686 echo "$AA_PKG_ERRORS" >&5
3269 3687
3270 as_fn_error $? "Package requirements (libapparmor) were not met: 3688 as_fn_error $? "Package requirements (libapparmor) were not met:
3271 3689
3272$AA_PKG_ERRORS 3690$AA_PKG_ERRORS
3273 3691
@@ -3278,10 +3696,10 @@ Alternatively, you may set the environment variables AA_CFLAGS
3278and AA_LIBS to avoid the need to call pkg-config. 3696and AA_LIBS to avoid the need to call pkg-config.
3279See the pkg-config man page for more details." "$LINENO" 5 3697See the pkg-config man page for more details." "$LINENO" 5
3280elif test $pkg_failed = untried; then 3698elif test $pkg_failed = untried; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282$as_echo "no" >&6; } 3700printf "%s\n" "no" >&6; }
3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3701 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3702printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3285as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 3703as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3286is in your PATH or set the PKG_CONFIG environment variable to the full 3704is in your PATH or set the PKG_CONFIG environment variable to the full
3287path to pkg-config. 3705path to pkg-config.
@@ -3293,10 +3711,10 @@ See the pkg-config man page for more details.
3293To get pkg-config, see <http://pkg-config.freedesktop.org/>. 3711To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3294See \`config.log' for more details" "$LINENO" 5; } 3712See \`config.log' for more details" "$LINENO" 5; }
3295else 3713else
3296 AA_CFLAGS=$pkg_cv_AA_CFLAGS 3714 AA_CFLAGS=$pkg_cv_AA_CFLAGS
3297 AA_LIBS=$pkg_cv_AA_LIBS 3715 AA_LIBS=$pkg_cv_AA_LIBS
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3299$as_echo "yes" >&6; } 3717printf "%s\n" "yes" >&6; }
3300 3718
3301 EXTRA_CFLAGS="$EXTRA_CFLAGS $AA_CFLAGS" 3719 EXTRA_CFLAGS="$EXTRA_CFLAGS $AA_CFLAGS"
3302 LIBS="$LIBS $AA_LIBS" 3720 LIBS="$LIBS $AA_LIBS"
@@ -3308,11 +3726,13 @@ fi
3308HAVE_SELINUX="" 3726HAVE_SELINUX=""
3309 3727
3310# Check whether --enable-selinux was given. 3728# Check whether --enable-selinux was given.
3311if test "${enable_selinux+set}" = set; then : 3729if test ${enable_selinux+y}
3730then :
3312 enableval=$enable_selinux; 3731 enableval=$enable_selinux;
3313fi 3732fi
3314 3733
3315if test "x$enable_selinux" = "xyes"; then : 3734if test "x$enable_selinux" = "xyes"
3735then :
3316 3736
3317 HAVE_SELINUX="-DHAVE_SELINUX" 3737 HAVE_SELINUX="-DHAVE_SELINUX"
3318 LIBS="$LIBS -lselinux" 3738 LIBS="$LIBS -lselinux"
@@ -3325,11 +3745,13 @@ fi
3325HAVE_DBUSPROXY="" 3745HAVE_DBUSPROXY=""
3326 3746
3327# Check whether --enable-dbusproxy was given. 3747# Check whether --enable-dbusproxy was given.
3328if test "${enable_dbusproxy+set}" = set; then : 3748if test ${enable_dbusproxy+y}
3749then :
3329 enableval=$enable_dbusproxy; 3750 enableval=$enable_dbusproxy;
3330fi 3751fi
3331 3752
3332if test "x$enable_dbusproxy" != "xno"; then : 3753if test "x$enable_dbusproxy" != "xno"
3754then :
3333 3755
3334 HAVE_DBUSPROXY="-DHAVE_DBUSPROXY" 3756 HAVE_DBUSPROXY="-DHAVE_DBUSPROXY"
3335 3757
@@ -3347,11 +3769,13 @@ HAVE_OVERLAYFS=""
3347HAVE_OUTPUT="" 3769HAVE_OUTPUT=""
3348 3770
3349# Check whether --enable-output was given. 3771# Check whether --enable-output was given.
3350if test "${enable_output+set}" = set; then : 3772if test ${enable_output+y}
3773then :
3351 enableval=$enable_output; 3774 enableval=$enable_output;
3352fi 3775fi
3353 3776
3354if test "x$enable_output" != "xno"; then : 3777if test "x$enable_output" != "xno"
3778then :
3355 3779
3356 HAVE_OUTPUT="-DHAVE_OUTPUT" 3780 HAVE_OUTPUT="-DHAVE_OUTPUT"
3357 3781
@@ -3360,11 +3784,13 @@ fi
3360HAVE_USERTMPFS="" 3784HAVE_USERTMPFS=""
3361 3785
3362# Check whether --enable-usertmpfs was given. 3786# Check whether --enable-usertmpfs was given.
3363if test "${enable_usertmpfs+set}" = set; then : 3787if test ${enable_usertmpfs+y}
3788then :
3364 enableval=$enable_usertmpfs; 3789 enableval=$enable_usertmpfs;
3365fi 3790fi
3366 3791
3367if test "x$enable_usertmpfs" != "xno"; then : 3792if test "x$enable_usertmpfs" != "xno"
3793then :
3368 3794
3369 HAVE_USERTMPFS="-DHAVE_USERTMPFS" 3795 HAVE_USERTMPFS="-DHAVE_USERTMPFS"
3370 3796
@@ -3373,20 +3799,23 @@ fi
3373HAVE_MAN="no" 3799HAVE_MAN="no"
3374 3800
3375# Check whether --enable-man was given. 3801# Check whether --enable-man was given.
3376if test "${enable_man+set}" = set; then : 3802if test ${enable_man+y}
3803then :
3377 enableval=$enable_man; 3804 enableval=$enable_man;
3378fi 3805fi
3379 3806
3380if test "x$enable_man" != "xno"; then : 3807if test "x$enable_man" != "xno"
3808then :
3381 3809
3382 HAVE_MAN="-DHAVE_MAN" 3810 HAVE_MAN="-DHAVE_MAN"
3383 # Extract the first word of "gawk", so it can be a program name with args. 3811 # Extract the first word of "gawk", so it can be a program name with args.
3384set dummy gawk; ac_word=$2 3812set dummy gawk; ac_word=$2
3385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3813{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386$as_echo_n "checking for $ac_word... " >&6; } 3814printf %s "checking for $ac_word... " >&6; }
3387if ${ac_cv_prog_HAVE_GAWK+:} false; then : 3815if test ${ac_cv_prog_HAVE_GAWK+y}
3388 $as_echo_n "(cached) " >&6 3816then :
3389else 3817 printf %s "(cached) " >&6
3818else $as_nop
3390 if test -n "$HAVE_GAWK"; then 3819 if test -n "$HAVE_GAWK"; then
3391 ac_cv_prog_HAVE_GAWK="$HAVE_GAWK" # Let the user override the test. 3820 ac_cv_prog_HAVE_GAWK="$HAVE_GAWK" # Let the user override the test.
3392else 3821else
@@ -3394,11 +3823,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394for as_dir in $PATH 3823for as_dir in $PATH
3395do 3824do
3396 IFS=$as_save_IFS 3825 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=. 3826 case $as_dir in #(((
3827 '') as_dir=./ ;;
3828 */) ;;
3829 *) as_dir=$as_dir/ ;;
3830 esac
3398 for ac_exec_ext in '' $ac_executable_extensions; do 3831 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3400 ac_cv_prog_HAVE_GAWK="yes" 3833 ac_cv_prog_HAVE_GAWK="yes"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3402 break 2 3835 break 2
3403 fi 3836 fi
3404done 3837done
@@ -3410,15 +3843,16 @@ fi
3410fi 3843fi
3411HAVE_GAWK=$ac_cv_prog_HAVE_GAWK 3844HAVE_GAWK=$ac_cv_prog_HAVE_GAWK
3412if test -n "$HAVE_GAWK"; then 3845if test -n "$HAVE_GAWK"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GAWK" >&5 3846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_GAWK" >&5
3414$as_echo "$HAVE_GAWK" >&6; } 3847printf "%s\n" "$HAVE_GAWK" >&6; }
3415else 3848else
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417$as_echo "no" >&6; } 3850printf "%s\n" "no" >&6; }
3418fi 3851fi
3419 3852
3420 3853
3421 if test "x$HAVE_GAWK" != "xyes"; then : 3854 if test "x$HAVE_GAWK" != "xyes"
3855then :
3422 as_fn_error $? "*** gawk not found ***" "$LINENO" 5 3856 as_fn_error $? "*** gawk not found ***" "$LINENO" 5
3423fi 3857fi
3424 3858
@@ -3427,11 +3861,13 @@ fi
3427HAVE_FIRETUNNEL="" 3861HAVE_FIRETUNNEL=""
3428 3862
3429# Check whether --enable-firetunnel was given. 3863# Check whether --enable-firetunnel was given.
3430if test "${enable_firetunnel+set}" = set; then : 3864if test ${enable_firetunnel+y}
3865then :
3431 enableval=$enable_firetunnel; 3866 enableval=$enable_firetunnel;
3432fi 3867fi
3433 3868
3434if test "x$enable_firetunnel" = "xyes"; then : 3869if test "x$enable_firetunnel" = "xyes"
3870then :
3435 3871
3436 HAVE_FIRETUNNEL="-DHAVE_FIRETUNNEL" 3872 HAVE_FIRETUNNEL="-DHAVE_FIRETUNNEL"
3437 3873
@@ -3440,11 +3876,13 @@ fi
3440HAVE_PRIVATE_HOME="" 3876HAVE_PRIVATE_HOME=""
3441 3877
3442# Check whether --enable-private-home was given. 3878# Check whether --enable-private-home was given.
3443if test "${enable_private_home+set}" = set; then : 3879if test ${enable_private_home+y}
3880then :
3444 enableval=$enable_private_home; 3881 enableval=$enable_private_home;
3445fi 3882fi
3446 3883
3447if test "x$enable_private_home" != "xno"; then : 3884if test "x$enable_private_home" != "xno"
3885then :
3448 3886
3449 HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME" 3887 HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME"
3450 3888
@@ -3453,11 +3891,13 @@ fi
3453HAVE_PRIVATE_LIB="" 3891HAVE_PRIVATE_LIB=""
3454 3892
3455# Check whether --enable-private-lib was given. 3893# Check whether --enable-private-lib was given.
3456if test "${enable_private_lib+set}" = set; then : 3894if test ${enable_private_lib+y}
3895then :
3457 enableval=$enable_private_lib; 3896 enableval=$enable_private_lib;
3458fi 3897fi
3459 3898
3460if test "x$enable_private_lib" = "xyes"; then : 3899if test "x$enable_private_lib" = "xyes"
3900then :
3461 3901
3462 HAVE_PRIVATE_LIB="-DHAVE_PRIVATE_LIB" 3902 HAVE_PRIVATE_LIB="-DHAVE_PRIVATE_LIB"
3463 3903
@@ -3466,11 +3906,13 @@ fi
3466HAVE_CHROOT="" 3906HAVE_CHROOT=""
3467 3907
3468# Check whether --enable-chroot was given. 3908# Check whether --enable-chroot was given.
3469if test "${enable_chroot+set}" = set; then : 3909if test ${enable_chroot+y}
3910then :
3470 enableval=$enable_chroot; 3911 enableval=$enable_chroot;
3471fi 3912fi
3472 3913
3473if test "x$enable_chroot" != "xno"; then : 3914if test "x$enable_chroot" != "xno"
3915then :
3474 3916
3475 HAVE_CHROOT="-DHAVE_CHROOT" 3917 HAVE_CHROOT="-DHAVE_CHROOT"
3476 3918
@@ -3479,11 +3921,13 @@ fi
3479HAVE_GLOBALCFG="" 3921HAVE_GLOBALCFG=""
3480 3922
3481# Check whether --enable-globalcfg was given. 3923# Check whether --enable-globalcfg was given.
3482if test "${enable_globalcfg+set}" = set; then : 3924if test ${enable_globalcfg+y}
3925then :
3483 enableval=$enable_globalcfg; 3926 enableval=$enable_globalcfg;
3484fi 3927fi
3485 3928
3486if test "x$enable_globalcfg" != "xno"; then : 3929if test "x$enable_globalcfg" != "xno"
3930then :
3487 3931
3488 HAVE_GLOBALCFG="-DHAVE_GLOBALCFG" 3932 HAVE_GLOBALCFG="-DHAVE_GLOBALCFG"
3489 3933
@@ -3492,11 +3936,13 @@ fi
3492HAVE_NETWORK="" 3936HAVE_NETWORK=""
3493 3937
3494# Check whether --enable-network was given. 3938# Check whether --enable-network was given.
3495if test "${enable_network+set}" = set; then : 3939if test ${enable_network+y}
3940then :
3496 enableval=$enable_network; 3941 enableval=$enable_network;
3497fi 3942fi
3498 3943
3499if test "x$enable_network" != "xno"; then : 3944if test "x$enable_network" != "xno"
3945then :
3500 3946
3501 HAVE_NETWORK="-DHAVE_NETWORK" 3947 HAVE_NETWORK="-DHAVE_NETWORK"
3502 3948
@@ -3505,11 +3951,13 @@ fi
3505HAVE_USERNS="" 3951HAVE_USERNS=""
3506 3952
3507# Check whether --enable-userns was given. 3953# Check whether --enable-userns was given.
3508if test "${enable_userns+set}" = set; then : 3954if test ${enable_userns+y}
3955then :
3509 enableval=$enable_userns; 3956 enableval=$enable_userns;
3510fi 3957fi
3511 3958
3512if test "x$enable_userns" != "xno"; then : 3959if test "x$enable_userns" != "xno"
3960then :
3513 3961
3514 HAVE_USERNS="-DHAVE_USERNS" 3962 HAVE_USERNS="-DHAVE_USERNS"
3515 3963
@@ -3518,11 +3966,13 @@ fi
3518HAVE_X11="" 3966HAVE_X11=""
3519 3967
3520# Check whether --enable-x11 was given. 3968# Check whether --enable-x11 was given.
3521if test "${enable_x11+set}" = set; then : 3969if test ${enable_x11+y}
3970then :
3522 enableval=$enable_x11; 3971 enableval=$enable_x11;
3523fi 3972fi
3524 3973
3525if test "x$enable_x11" != "xno"; then : 3974if test "x$enable_x11" != "xno"
3975then :
3526 3976
3527 HAVE_X11="-DHAVE_X11" 3977 HAVE_X11="-DHAVE_X11"
3528 3978
@@ -3531,11 +3981,13 @@ fi
3531HAVE_FILE_TRANSFER="" 3981HAVE_FILE_TRANSFER=""
3532 3982
3533# Check whether --enable-file-transfer was given. 3983# Check whether --enable-file-transfer was given.
3534if test "${enable_file_transfer+set}" = set; then : 3984if test ${enable_file_transfer+y}
3985then :
3535 enableval=$enable_file_transfer; 3986 enableval=$enable_file_transfer;
3536fi 3987fi
3537 3988
3538if test "x$enable_file_transfer" != "xno"; then : 3989if test "x$enable_file_transfer" != "xno"
3990then :
3539 3991
3540 HAVE_FILE_TRANSFER="-DHAVE_FILE_TRANSFER" 3992 HAVE_FILE_TRANSFER="-DHAVE_FILE_TRANSFER"
3541 3993
@@ -3544,11 +3996,13 @@ fi
3544HAVE_SUID="" 3996HAVE_SUID=""
3545 3997
3546# Check whether --enable-suid was given. 3998# Check whether --enable-suid was given.
3547if test "${enable_suid+set}" = set; then : 3999if test ${enable_suid+y}
4000then :
3548 enableval=$enable_suid; 4001 enableval=$enable_suid;
3549fi 4002fi
3550 4003
3551if test "x$enable_suid" != "xno"; then : 4004if test "x$enable_suid" != "xno"
4005then :
3552 4006
3553 HAVE_SUID="-DHAVE_SUID" 4007 HAVE_SUID="-DHAVE_SUID"
3554 4008
@@ -3557,11 +4011,13 @@ fi
3557HAVE_FATAL_WARNINGS="" 4011HAVE_FATAL_WARNINGS=""
3558 4012
3559# Check whether --enable-fatal_warnings was given. 4013# Check whether --enable-fatal_warnings was given.
3560if test "${enable_fatal_warnings+set}" = set; then : 4014if test ${enable_fatal_warnings+y}
4015then :
3561 enableval=$enable_fatal_warnings; 4016 enableval=$enable_fatal_warnings;
3562fi 4017fi
3563 4018
3564if test "x$enable_fatal_warnings" = "xyes"; then : 4019if test "x$enable_fatal_warnings" = "xyes"
4020then :
3565 4021
3566 HAVE_FATAL_WARNINGS="-W -Werror" 4022 HAVE_FATAL_WARNINGS="-W -Werror"
3567 4023
@@ -3570,11 +4026,13 @@ fi
3570BUSYBOX_WORKAROUND="no" 4026BUSYBOX_WORKAROUND="no"
3571 4027
3572# Check whether --enable-busybox-workaround was given. 4028# Check whether --enable-busybox-workaround was given.
3573if test "${enable_busybox_workaround+set}" = set; then : 4029if test ${enable_busybox_workaround+y}
4030then :
3574 enableval=$enable_busybox_workaround; 4031 enableval=$enable_busybox_workaround;
3575fi 4032fi
3576 4033
3577if test "x$enable_busybox_workaround" = "xyes"; then : 4034if test "x$enable_busybox_workaround" = "xyes"
4035then :
3578 4036
3579 BUSYBOX_WORKAROUND="yes" 4037 BUSYBOX_WORKAROUND="yes"
3580 4038
@@ -3583,11 +4041,13 @@ fi
3583HAVE_GCOV="" 4041HAVE_GCOV=""
3584 4042
3585# Check whether --enable-gcov was given. 4043# Check whether --enable-gcov was given.
3586if test "${enable_gcov+set}" = set; then : 4044if test ${enable_gcov+y}
4045then :
3587 enableval=$enable_gcov; 4046 enableval=$enable_gcov;
3588fi 4047fi
3589 4048
3590if test "x$enable_gcov" = "xyes"; then : 4049if test "x$enable_gcov" = "xyes"
4050then :
3591 4051
3592 HAVE_GCOV="--coverage -DHAVE_GCOV" 4052 HAVE_GCOV="--coverage -DHAVE_GCOV"
3593 EXTRA_LDFLAGS="$EXTRA_LDFLAGS --coverage" 4053 EXTRA_LDFLAGS="$EXTRA_LDFLAGS --coverage"
@@ -3598,11 +4058,13 @@ fi
3598HAVE_CONTRIB_INSTALL="yes" 4058HAVE_CONTRIB_INSTALL="yes"
3599 4059
3600# Check whether --enable-contrib-install was given. 4060# Check whether --enable-contrib-install was given.
3601if test "${enable_contrib_install+set}" = set; then : 4061if test ${enable_contrib_install+y}
4062then :
3602 enableval=$enable_contrib_install; 4063 enableval=$enable_contrib_install;
3603fi 4064fi
3604 4065
3605if test "x$enable_contrib_install" = "xno"; then : 4066if test "x$enable_contrib_install" = "xno"
4067then :
3606 4068
3607 HAVE_CONTRIB_INSTALL="no" 4069 HAVE_CONTRIB_INSTALL="no"
3608 4070
@@ -3611,11 +4073,13 @@ fi
3611HAVE_FORCE_NONEWPRIVS="" 4073HAVE_FORCE_NONEWPRIVS=""
3612 4074
3613# Check whether --enable-force-nonewprivs was given. 4075# Check whether --enable-force-nonewprivs was given.
3614if test "${enable_force_nonewprivs+set}" = set; then : 4076if test ${enable_force_nonewprivs+y}
4077then :
3615 enableval=$enable_force_nonewprivs; 4078 enableval=$enable_force_nonewprivs;
3616fi 4079fi
3617 4080
3618if test "x$enable_force_nonewprivs" = "xyes"; then : 4081if test "x$enable_force_nonewprivs" = "xyes"
4082then :
3619 4083
3620 HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" 4084 HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS"
3621 4085
@@ -3624,11 +4088,13 @@ fi
3624HAVE_ONLY_SYSCFG_PROFILES="" 4088HAVE_ONLY_SYSCFG_PROFILES=""
3625 4089
3626# Check whether --enable-only-syscfg-profiles was given. 4090# Check whether --enable-only-syscfg-profiles was given.
3627if test "${enable_only_syscfg_profiles+set}" = set; then : 4091if test ${enable_only_syscfg_profiles+y}
4092then :
3628 enableval=$enable_only_syscfg_profiles; 4093 enableval=$enable_only_syscfg_profiles;
3629fi 4094fi
3630 4095
3631if test "x$enable_only_syscfg_profiles" = "xyes"; then : 4096if test "x$enable_only_syscfg_profiles" = "xyes"
4097then :
3632 4098
3633 HAVE_ONLY_SYSCFG_PROFILES="-DHAVE_ONLY_SYSCFG_PROFILES" 4099 HAVE_ONLY_SYSCFG_PROFILES="-DHAVE_ONLY_SYSCFG_PROFILES"
3634 4100
@@ -3637,11 +4103,13 @@ fi
3637HAVE_LTS="" 4103HAVE_LTS=""
3638 4104
3639# Check whether --enable-lts was given. 4105# Check whether --enable-lts was given.
3640if test "${enable_lts+set}" = set; then : 4106if test ${enable_lts+y}
4107then :
3641 enableval=$enable_lts; 4108 enableval=$enable_lts;
3642fi 4109fi
3643 4110
3644if test "x$enable_lts" = "xyes"; then : 4111if test "x$enable_lts" = "xyes"
4112then :
3645 4113
3646 HAVE_LTS="-DHAVE_LTS" 4114 HAVE_LTS="-DHAVE_LTS"
3647 HAVE_IDS="" 4115 HAVE_IDS=""
@@ -3664,412 +4132,44 @@ if test "x$enable_lts" = "xyes"; then :
3664 4132
3665fi 4133fi
3666 4134
3667ac_ext=c 4135ac_header= ac_cache=
3668ac_cpp='$CPP $CPPFLAGS' 4136for ac_item in $ac_header_c_list
3669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3671ac_compiler_gnu=$ac_cv_c_compiler_gnu
3672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3673$as_echo_n "checking how to run the C preprocessor... " >&6; }
3674# On Suns, sometimes $CPP names a directory.
3675if test -n "$CPP" && test -d "$CPP"; then
3676 CPP=
3677fi
3678if test -z "$CPP"; then
3679 if ${ac_cv_prog_CPP+:} false; then :
3680 $as_echo_n "(cached) " >&6
3681else
3682 # Double quotes because CPP needs to be expanded
3683 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3684 do
3685 ac_preproc_ok=false
3686for ac_c_preproc_warn_flag in '' yes
3687do
3688 # Use a header file that comes with gcc, so configuring glibc
3689 # with a fresh cross-compiler works.
3690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3691 # <limits.h> exists even on freestanding compilers.
3692 # On the NeXT, cc -E runs the code through the compiler's parser,
3693 # not just through cpp. "Syntax error" is here to catch this case.
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695/* end confdefs.h. */
3696#ifdef __STDC__
3697# include <limits.h>
3698#else
3699# include <assert.h>
3700#endif
3701 Syntax error
3702_ACEOF
3703if ac_fn_c_try_cpp "$LINENO"; then :
3704
3705else
3706 # Broken: fails on valid input.
3707continue
3708fi
3709rm -f conftest.err conftest.i conftest.$ac_ext
3710
3711 # OK, works on sane cases. Now check whether nonexistent headers
3712 # can be detected and how.
3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714/* end confdefs.h. */
3715#include <ac_nonexistent.h>
3716_ACEOF
3717if ac_fn_c_try_cpp "$LINENO"; then :
3718 # Broken: success on invalid input.
3719continue
3720else
3721 # Passes both tests.
3722ac_preproc_ok=:
3723break
3724fi
3725rm -f conftest.err conftest.i conftest.$ac_ext
3726
3727done
3728# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3729rm -f conftest.i conftest.err conftest.$ac_ext
3730if $ac_preproc_ok; then :
3731 break
3732fi
3733
3734 done
3735 ac_cv_prog_CPP=$CPP
3736
3737fi
3738 CPP=$ac_cv_prog_CPP
3739else
3740 ac_cv_prog_CPP=$CPP
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3743$as_echo "$CPP" >&6; }
3744ac_preproc_ok=false
3745for ac_c_preproc_warn_flag in '' yes
3746do 4137do
3747 # Use a header file that comes with gcc, so configuring glibc 4138 if test $ac_cache; then
3748 # with a fresh cross-compiler works. 4139 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4140 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3750 # <limits.h> exists even on freestanding compilers. 4141 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3751 # On the NeXT, cc -E runs the code through the compiler's parser,
3752 # not just through cpp. "Syntax error" is here to catch this case.
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754/* end confdefs.h. */
3755#ifdef __STDC__
3756# include <limits.h>
3757#else
3758# include <assert.h>
3759#endif
3760 Syntax error
3761_ACEOF
3762if ac_fn_c_try_cpp "$LINENO"; then :
3763
3764else
3765 # Broken: fails on valid input.
3766continue
3767fi
3768rm -f conftest.err conftest.i conftest.$ac_ext
3769
3770 # OK, works on sane cases. Now check whether nonexistent headers
3771 # can be detected and how.
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773/* end confdefs.h. */
3774#include <ac_nonexistent.h>
3775_ACEOF
3776if ac_fn_c_try_cpp "$LINENO"; then :
3777 # Broken: success on invalid input.
3778continue
3779else
3780 # Passes both tests.
3781ac_preproc_ok=:
3782break
3783fi
3784rm -f conftest.err conftest.i conftest.$ac_ext
3785
3786done
3787# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3788rm -f conftest.i conftest.err conftest.$ac_ext
3789if $ac_preproc_ok; then :
3790
3791else
3792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3795See \`config.log' for more details" "$LINENO" 5; }
3796fi
3797
3798ac_ext=c
3799ac_cpp='$CPP $CPPFLAGS'
3800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803
3804
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3806$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3807if ${ac_cv_path_GREP+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809else
3810 if test -z "$GREP"; then
3811 ac_path_GREP_found=false
3812 # Loop through the user's path and test for each of PROGNAME-LIST
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3815do
3816 IFS=$as_save_IFS
3817 test -z "$as_dir" && as_dir=.
3818 for ac_prog in grep ggrep; do
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3821 as_fn_executable_p "$ac_path_GREP" || continue
3822# Check for GNU ac_path_GREP and select it if it is found.
3823 # Check for GNU $ac_path_GREP
3824case `"$ac_path_GREP" --version 2>&1` in
3825*GNU*)
3826 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3827*)
3828 ac_count=0
3829 $as_echo_n 0123456789 >"conftest.in"
3830 while :
3831 do
3832 cat "conftest.in" "conftest.in" >"conftest.tmp"
3833 mv "conftest.tmp" "conftest.in"
3834 cp "conftest.in" "conftest.nl"
3835 $as_echo 'GREP' >> "conftest.nl"
3836 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3837 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3838 as_fn_arith $ac_count + 1 && ac_count=$as_val
3839 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3840 # Best one so far, save it but keep looking for a better one
3841 ac_cv_path_GREP="$ac_path_GREP"
3842 ac_path_GREP_max=$ac_count
3843 fi 4142 fi
3844 # 10*(2^10) chars as input seems more than enough 4143 ac_header= ac_cache=
3845 test $ac_count -gt 10 && break 4144 elif test $ac_header; then
3846 done 4145 ac_cache=$ac_item
3847 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4146 else
3848esac 4147 ac_header=$ac_item
3849
3850 $ac_path_GREP_found && break 3
3851 done
3852 done
3853 done
3854IFS=$as_save_IFS
3855 if test -z "$ac_cv_path_GREP"; then
3856 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3857 fi
3858else
3859 ac_cv_path_GREP=$GREP
3860fi
3861
3862fi
3863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3864$as_echo "$ac_cv_path_GREP" >&6; }
3865 GREP="$ac_cv_path_GREP"
3866
3867
3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3869$as_echo_n "checking for egrep... " >&6; }
3870if ${ac_cv_path_EGREP+:} false; then :
3871 $as_echo_n "(cached) " >&6
3872else
3873 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3874 then ac_cv_path_EGREP="$GREP -E"
3875 else
3876 if test -z "$EGREP"; then
3877 ac_path_EGREP_found=false
3878 # Loop through the user's path and test for each of PROGNAME-LIST
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3881do
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for ac_prog in egrep; do
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3887 as_fn_executable_p "$ac_path_EGREP" || continue
3888# Check for GNU ac_path_EGREP and select it if it is found.
3889 # Check for GNU $ac_path_EGREP
3890case `"$ac_path_EGREP" --version 2>&1` in
3891*GNU*)
3892 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3893*)
3894 ac_count=0
3895 $as_echo_n 0123456789 >"conftest.in"
3896 while :
3897 do
3898 cat "conftest.in" "conftest.in" >"conftest.tmp"
3899 mv "conftest.tmp" "conftest.in"
3900 cp "conftest.in" "conftest.nl"
3901 $as_echo 'EGREP' >> "conftest.nl"
3902 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3903 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3904 as_fn_arith $ac_count + 1 && ac_count=$as_val
3905 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3906 # Best one so far, save it but keep looking for a better one
3907 ac_cv_path_EGREP="$ac_path_EGREP"
3908 ac_path_EGREP_max=$ac_count
3909 fi
3910 # 10*(2^10) chars as input seems more than enough
3911 test $ac_count -gt 10 && break
3912 done
3913 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3914esac
3915
3916 $ac_path_EGREP_found && break 3
3917 done
3918 done
3919 done
3920IFS=$as_save_IFS
3921 if test -z "$ac_cv_path_EGREP"; then
3922 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3923 fi 4148 fi
3924else 4149done
3925 ac_cv_path_EGREP=$EGREP
3926fi
3927
3928 fi
3929fi
3930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3931$as_echo "$ac_cv_path_EGREP" >&6; }
3932 EGREP="$ac_cv_path_EGREP"
3933
3934
3935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3936$as_echo_n "checking for ANSI C header files... " >&6; }
3937if ${ac_cv_header_stdc+:} false; then :
3938 $as_echo_n "(cached) " >&6
3939else
3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941/* end confdefs.h. */
3942#include <stdlib.h>
3943#include <stdarg.h>
3944#include <string.h>
3945#include <float.h>
3946
3947int
3948main ()
3949{
3950
3951 ;
3952 return 0;
3953}
3954_ACEOF
3955if ac_fn_c_try_compile "$LINENO"; then :
3956 ac_cv_header_stdc=yes
3957else
3958 ac_cv_header_stdc=no
3959fi
3960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961
3962if test $ac_cv_header_stdc = yes; then
3963 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965/* end confdefs.h. */
3966#include <string.h>
3967
3968_ACEOF
3969if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3970 $EGREP "memchr" >/dev/null 2>&1; then :
3971
3972else
3973 ac_cv_header_stdc=no
3974fi
3975rm -f conftest*
3976
3977fi
3978
3979if test $ac_cv_header_stdc = yes; then
3980 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982/* end confdefs.h. */
3983#include <stdlib.h>
3984
3985_ACEOF
3986if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3987 $EGREP "free" >/dev/null 2>&1; then :
3988 4150
3989else
3990 ac_cv_header_stdc=no
3991fi
3992rm -f conftest*
3993 4151
3994fi
3995 4152
3996if test $ac_cv_header_stdc = yes; then
3997 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3998 if test "$cross_compiling" = yes; then :
3999 :
4000else
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002/* end confdefs.h. */
4003#include <ctype.h>
4004#include <stdlib.h>
4005#if ((' ' & 0x0FF) == 0x020)
4006# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4007# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4008#else
4009# define ISLOWER(c) \
4010 (('a' <= (c) && (c) <= 'i') \
4011 || ('j' <= (c) && (c) <= 'r') \
4012 || ('s' <= (c) && (c) <= 'z'))
4013# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4014#endif
4015 4153
4016#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4017int
4018main ()
4019{
4020 int i;
4021 for (i = 0; i < 256; i++)
4022 if (XOR (islower (i), ISLOWER (i))
4023 || toupper (i) != TOUPPER (i))
4024 return 2;
4025 return 0;
4026}
4027_ACEOF
4028if ac_fn_c_try_run "$LINENO"; then :
4029 4154
4030else
4031 ac_cv_header_stdc=no
4032fi
4033rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4034 conftest.$ac_objext conftest.beam conftest.$ac_ext
4035fi
4036 4155
4037fi
4038fi
4039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4040$as_echo "$ac_cv_header_stdc" >&6; }
4041if test $ac_cv_header_stdc = yes; then
4042 4156
4043$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4044 4157
4045fi 4158if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4159then :
4046 4160
4047# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4161printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4048for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4049 inttypes.h stdint.h unistd.h
4050do :
4051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4052ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4053"
4054if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4055 cat >>confdefs.h <<_ACEOF
4056#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4057_ACEOF
4058 4162
4059fi 4163fi
4164ac_fn_c_check_header_compile "$LINENO" "linux/seccomp.h" "ac_cv_header_linux_seccomp_h" "$ac_includes_default"
4165if test "x$ac_cv_header_linux_seccomp_h" = xyes
4166then :
4060 4167
4061done 4168else $as_nop
4062
4063
4064ac_fn_c_check_header_mongrel "$LINENO" "linux/seccomp.h" "ac_cv_header_linux_seccomp_h" "$ac_includes_default"
4065if test "x$ac_cv_header_linux_seccomp_h" = xyes; then :
4066
4067else
4068 as_fn_error $? "*** SECCOMP support is not installed (/usr/include/linux/seccomp.h missing) ***" "$LINENO" 5 4169 as_fn_error $? "*** SECCOMP support is not installed (/usr/include/linux/seccomp.h missing) ***" "$LINENO" 5
4069fi 4170fi
4070 4171
4071 4172
4072
4073# set sysconfdir 4173# set sysconfdir
4074if test "$prefix" = /usr; then 4174if test "$prefix" = /usr; then
4075 test "$sysconfdir" = '${prefix}/etc' && sysconfdir="/etc" 4175 test "$sysconfdir" = '${prefix}/etc' && sysconfdir="/etc"
@@ -4104,8 +4204,8 @@ _ACEOF
4104 case $ac_val in #( 4204 case $ac_val in #(
4105 *${as_nl}*) 4205 *${as_nl}*)
4106 case $ac_var in #( 4206 case $ac_var in #(
4107 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4207 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4108$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4208printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4109 esac 4209 esac
4110 case $ac_var in #( 4210 case $ac_var in #(
4111 _ | IFS | as_nl) ;; #( 4211 _ | IFS | as_nl) ;; #(
@@ -4135,15 +4235,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4135 /^ac_cv_env_/b end 4235 /^ac_cv_env_/b end
4136 t clear 4236 t clear
4137 :clear 4237 :clear
4138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4238 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4139 t end 4239 t end
4140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4141 :end' >>confcache 4241 :end' >>confcache
4142if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4242if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4143 if test -w "$cache_file"; then 4243 if test -w "$cache_file"; then
4144 if test "x$cache_file" != "x/dev/null"; then 4244 if test "x$cache_file" != "x/dev/null"; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4146$as_echo "$as_me: updating cache $cache_file" >&6;} 4246printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4147 if test ! -f "$cache_file" || test -h "$cache_file"; then 4247 if test ! -f "$cache_file" || test -h "$cache_file"; then
4148 cat confcache >"$cache_file" 4248 cat confcache >"$cache_file"
4149 else 4249 else
@@ -4157,8 +4257,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;}
4157 fi 4257 fi
4158 fi 4258 fi
4159 else 4259 else
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4161$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4261printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4162 fi 4262 fi
4163fi 4263fi
4164rm -f confcache 4264rm -f confcache
@@ -4211,7 +4311,7 @@ U=
4211for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4311for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4212 # 1. Remove the extension, and $U if already installed. 4312 # 1. Remove the extension, and $U if already installed.
4213 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4313 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4214 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4314 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4215 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4315 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4216 # will be set to the directory where LIBOBJS objects are built. 4316 # will be set to the directory where LIBOBJS objects are built.
4217 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4317 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
@@ -4227,8 +4327,8 @@ LTLIBOBJS=$ac_ltlibobjs
4227ac_write_fail=0 4327ac_write_fail=0
4228ac_clean_files_save=$ac_clean_files 4328ac_clean_files_save=$ac_clean_files
4229ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4329ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4230{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4330{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4231$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4331printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4232as_write_fail=0 4332as_write_fail=0
4233cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4333cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4234#! $SHELL 4334#! $SHELL
@@ -4251,14 +4351,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4251 4351
4252# Be more Bourne compatible 4352# Be more Bourne compatible
4253DUALCASE=1; export DUALCASE # for MKS sh 4353DUALCASE=1; export DUALCASE # for MKS sh
4254if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4354as_nop=:
4355if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4356then :
4255 emulate sh 4357 emulate sh
4256 NULLCMD=: 4358 NULLCMD=:
4257 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4359 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4258 # is contrary to our usage. Disable this feature. 4360 # is contrary to our usage. Disable this feature.
4259 alias -g '${1+"$@"}'='"$@"' 4361 alias -g '${1+"$@"}'='"$@"'
4260 setopt NO_GLOB_SUBST 4362 setopt NO_GLOB_SUBST
4261else 4363else $as_nop
4262 case `(set -o) 2>/dev/null` in #( 4364 case `(set -o) 2>/dev/null` in #(
4263 *posix*) : 4365 *posix*) :
4264 set -o posix ;; #( 4366 set -o posix ;; #(
@@ -4268,46 +4370,46 @@ esac
4268fi 4370fi
4269 4371
4270 4372
4373
4374# Reset variables that may have inherited troublesome values from
4375# the environment.
4376
4377# IFS needs to be set, to space, tab, and newline, in precisely that order.
4378# (If _AS_PATH_WALK were called with IFS unset, it would have the
4379# side effect of setting IFS to empty, thus disabling word splitting.)
4380# Quoting is to prevent editors from complaining about space-tab.
4271as_nl=' 4381as_nl='
4272' 4382'
4273export as_nl 4383export as_nl
4274# Printing a long string crashes Solaris 7 /usr/bin/printf. 4384IFS=" "" $as_nl"
4275as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4385
4276as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4386PS1='$ '
4277as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4387PS2='> '
4278# Prefer a ksh shell builtin over an external printf program on Solaris, 4388PS4='+ '
4279# but without wasting forks for bash or zsh. 4389
4280if test -z "$BASH_VERSION$ZSH_VERSION" \ 4390# Ensure predictable behavior from utilities with locale-dependent output.
4281 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4391LC_ALL=C
4282 as_echo='print -r --' 4392export LC_ALL
4283 as_echo_n='print -rn --' 4393LANGUAGE=C
4284elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4394export LANGUAGE
4285 as_echo='printf %s\n' 4395
4286 as_echo_n='printf %s' 4396# We cannot yet rely on "unset" to work, but we need these variables
4287else 4397# to be unset--not just set to an empty or harmless value--now, to
4288 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4398# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4289 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4399# also avoids known problems related to "unset" and subshell syntax
4290 as_echo_n='/usr/ucb/echo -n' 4400# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4291 else 4401for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4292 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4402do eval test \${$as_var+y} \
4293 as_echo_n_body='eval 4403 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4294 arg=$1; 4404done
4295 case $arg in #( 4405
4296 *"$as_nl"*) 4406# Ensure that fds 0, 1, and 2 are open.
4297 expr "X$arg" : "X\\(.*\\)$as_nl"; 4407if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4298 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4408if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4299 esac; 4409if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4300 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4301 '
4302 export as_echo_n_body
4303 as_echo_n='sh -c $as_echo_n_body as_echo'
4304 fi
4305 export as_echo_body
4306 as_echo='sh -c $as_echo_body as_echo'
4307fi
4308 4410
4309# The user is always right. 4411# The user is always right.
4310if test "${PATH_SEPARATOR+set}" != set; then 4412if ${PATH_SEPARATOR+false} :; then
4311 PATH_SEPARATOR=: 4413 PATH_SEPARATOR=:
4312 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4414 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4313 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4415 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -4316,13 +4418,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
4316fi 4418fi
4317 4419
4318 4420
4319# IFS
4320# We need space, tab and new line, in precisely that order. Quoting is
4321# there to prevent editors from complaining about space-tab.
4322# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4323# splitting by setting IFS to empty value.)
4324IFS=" "" $as_nl"
4325
4326# Find who we are. Look in the path if we contain no directory separator. 4421# Find who we are. Look in the path if we contain no directory separator.
4327as_myself= 4422as_myself=
4328case $0 in #(( 4423case $0 in #((
@@ -4331,8 +4426,12 @@ case $0 in #((
4331for as_dir in $PATH 4426for as_dir in $PATH
4332do 4427do
4333 IFS=$as_save_IFS 4428 IFS=$as_save_IFS
4334 test -z "$as_dir" && as_dir=. 4429 case $as_dir in #(((
4335 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4430 '') as_dir=./ ;;
4431 */) ;;
4432 *) as_dir=$as_dir/ ;;
4433 esac
4434 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4336 done 4435 done
4337IFS=$as_save_IFS 4436IFS=$as_save_IFS
4338 4437
@@ -4344,30 +4443,10 @@ if test "x$as_myself" = x; then
4344 as_myself=$0 4443 as_myself=$0
4345fi 4444fi
4346if test ! -f "$as_myself"; then 4445if test ! -f "$as_myself"; then
4347 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4446 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4348 exit 1 4447 exit 1
4349fi 4448fi
4350 4449
4351# Unset variables that we do not need and which cause bugs (e.g. in
4352# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4353# suppresses any "Segmentation fault" message there. '((' could
4354# trigger a bug in pdksh 5.2.14.
4355for as_var in BASH_ENV ENV MAIL MAILPATH
4356do eval test x\${$as_var+set} = xset \
4357 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4358done
4359PS1='$ '
4360PS2='> '
4361PS4='+ '
4362
4363# NLS nuisances.
4364LC_ALL=C
4365export LC_ALL
4366LANGUAGE=C
4367export LANGUAGE
4368
4369# CDPATH.
4370(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4371 4450
4372 4451
4373# as_fn_error STATUS ERROR [LINENO LOG_FD] 4452# as_fn_error STATUS ERROR [LINENO LOG_FD]
@@ -4380,13 +4459,14 @@ as_fn_error ()
4380 as_status=$1; test $as_status -eq 0 && as_status=1 4459 as_status=$1; test $as_status -eq 0 && as_status=1
4381 if test "$4"; then 4460 if test "$4"; then
4382 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4461 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4383 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4384 fi 4463 fi
4385 $as_echo "$as_me: error: $2" >&2 4464 printf "%s\n" "$as_me: error: $2" >&2
4386 as_fn_exit $as_status 4465 as_fn_exit $as_status
4387} # as_fn_error 4466} # as_fn_error
4388 4467
4389 4468
4469
4390# as_fn_set_status STATUS 4470# as_fn_set_status STATUS
4391# ----------------------- 4471# -----------------------
4392# Set $? to STATUS, without forking. 4472# Set $? to STATUS, without forking.
@@ -4413,18 +4493,20 @@ as_fn_unset ()
4413 { eval $1=; unset $1;} 4493 { eval $1=; unset $1;}
4414} 4494}
4415as_unset=as_fn_unset 4495as_unset=as_fn_unset
4496
4416# as_fn_append VAR VALUE 4497# as_fn_append VAR VALUE
4417# ---------------------- 4498# ----------------------
4418# Append the text in VALUE to the end of the definition contained in VAR. Take 4499# Append the text in VALUE to the end of the definition contained in VAR. Take
4419# advantage of any shell optimizations that allow amortized linear growth over 4500# advantage of any shell optimizations that allow amortized linear growth over
4420# repeated appends, instead of the typical quadratic growth present in naive 4501# repeated appends, instead of the typical quadratic growth present in naive
4421# implementations. 4502# implementations.
4422if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4503if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4504then :
4423 eval 'as_fn_append () 4505 eval 'as_fn_append ()
4424 { 4506 {
4425 eval $1+=\$2 4507 eval $1+=\$2
4426 }' 4508 }'
4427else 4509else $as_nop
4428 as_fn_append () 4510 as_fn_append ()
4429 { 4511 {
4430 eval $1=\$$1\$2 4512 eval $1=\$$1\$2
@@ -4436,12 +4518,13 @@ fi # as_fn_append
4436# Perform arithmetic evaluation on the ARGs, and store the result in the 4518# Perform arithmetic evaluation on the ARGs, and store the result in the
4437# global $as_val. Take advantage of shells that can avoid forks. The arguments 4519# global $as_val. Take advantage of shells that can avoid forks. The arguments
4438# must be portable across $(()) and expr. 4520# must be portable across $(()) and expr.
4439if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4521if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4522then :
4440 eval 'as_fn_arith () 4523 eval 'as_fn_arith ()
4441 { 4524 {
4442 as_val=$(( $* )) 4525 as_val=$(( $* ))
4443 }' 4526 }'
4444else 4527else $as_nop
4445 as_fn_arith () 4528 as_fn_arith ()
4446 { 4529 {
4447 as_val=`expr "$@" || test $? -eq 1` 4530 as_val=`expr "$@" || test $? -eq 1`
@@ -4472,7 +4555,7 @@ as_me=`$as_basename -- "$0" ||
4472$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4555$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4473 X"$0" : 'X\(//\)$' \| \ 4556 X"$0" : 'X\(//\)$' \| \
4474 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4557 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4475$as_echo X/"$0" | 4558printf "%s\n" X/"$0" |
4476 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4559 sed '/^.*\/\([^/][^/]*\)\/*$/{
4477 s//\1/ 4560 s//\1/
4478 q 4561 q
@@ -4494,6 +4577,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4494as_cr_digits='0123456789' 4577as_cr_digits='0123456789'
4495as_cr_alnum=$as_cr_Letters$as_cr_digits 4578as_cr_alnum=$as_cr_Letters$as_cr_digits
4496 4579
4580
4581# Determine whether it's possible to make 'echo' print without a newline.
4582# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4583# for compatibility with existing Makefiles.
4497ECHO_C= ECHO_N= ECHO_T= 4584ECHO_C= ECHO_N= ECHO_T=
4498case `echo -n x` in #((((( 4585case `echo -n x` in #(((((
4499-n*) 4586-n*)
@@ -4507,6 +4594,12 @@ case `echo -n x` in #(((((
4507 ECHO_N='-n';; 4594 ECHO_N='-n';;
4508esac 4595esac
4509 4596
4597# For backward compatibility with old third-party macros, we provide
4598# the shell variables $as_echo and $as_echo_n. New code should use
4599# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
4600as_echo='printf %s\n'
4601as_echo_n='printf %s'
4602
4510rm -f conf$$ conf$$.exe conf$$.file 4603rm -f conf$$ conf$$.exe conf$$.file
4511if test -d conf$$.dir; then 4604if test -d conf$$.dir; then
4512 rm -f conf$$.dir/conf$$.file 4605 rm -f conf$$.dir/conf$$.file
@@ -4548,7 +4641,7 @@ as_fn_mkdir_p ()
4548 as_dirs= 4641 as_dirs=
4549 while :; do 4642 while :; do
4550 case $as_dir in #( 4643 case $as_dir in #(
4551 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4644 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4552 *) as_qdir=$as_dir;; 4645 *) as_qdir=$as_dir;;
4553 esac 4646 esac
4554 as_dirs="'$as_qdir' $as_dirs" 4647 as_dirs="'$as_qdir' $as_dirs"
@@ -4557,7 +4650,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4557 X"$as_dir" : 'X\(//\)[^/]' \| \ 4650 X"$as_dir" : 'X\(//\)[^/]' \| \
4558 X"$as_dir" : 'X\(//\)$' \| \ 4651 X"$as_dir" : 'X\(//\)$' \| \
4559 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4652 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4560$as_echo X"$as_dir" | 4653printf "%s\n" X"$as_dir" |
4561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4562 s//\1/ 4655 s//\1/
4563 q 4656 q
@@ -4620,7 +4713,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4620# values after options handling. 4713# values after options handling.
4621ac_log=" 4714ac_log="
4622This file was extended by firejail $as_me 0.9.73, which was 4715This file was extended by firejail $as_me 0.9.73, which was
4623generated by GNU Autoconf 2.69. Invocation command line was 4716generated by GNU Autoconf 2.71. Invocation command line was
4624 4717
4625 CONFIG_FILES = $CONFIG_FILES 4718 CONFIG_FILES = $CONFIG_FILES
4626 CONFIG_HEADERS = $CONFIG_HEADERS 4719 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -4670,14 +4763,16 @@ Report bugs to <netblue30@protonmail.com>.
4670firejail home page: <https://firejail.wordpress.com>." 4763firejail home page: <https://firejail.wordpress.com>."
4671 4764
4672_ACEOF 4765_ACEOF
4766ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4767ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4673cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4674ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4769ac_cs_config='$ac_cs_config_escaped'
4675ac_cs_version="\\ 4770ac_cs_version="\\
4676firejail config.status 0.9.73 4771firejail config.status 0.9.73
4677configured by $0, generated by GNU Autoconf 2.69, 4772configured by $0, generated by GNU Autoconf 2.71,
4678 with options \\"\$ac_cs_config\\" 4773 with options \\"\$ac_cs_config\\"
4679 4774
4680Copyright (C) 2012 Free Software Foundation, Inc. 4775Copyright (C) 2021 Free Software Foundation, Inc.
4681This config.status script is free software; the Free Software Foundation 4776This config.status script is free software; the Free Software Foundation
4682gives unlimited permission to copy, distribute and modify it." 4777gives unlimited permission to copy, distribute and modify it."
4683 4778
@@ -4714,21 +4809,21 @@ do
4714 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4809 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4715 ac_cs_recheck=: ;; 4810 ac_cs_recheck=: ;;
4716 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4811 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4717 $as_echo "$ac_cs_version"; exit ;; 4812 printf "%s\n" "$ac_cs_version"; exit ;;
4718 --config | --confi | --conf | --con | --co | --c ) 4813 --config | --confi | --conf | --con | --co | --c )
4719 $as_echo "$ac_cs_config"; exit ;; 4814 printf "%s\n" "$ac_cs_config"; exit ;;
4720 --debug | --debu | --deb | --de | --d | -d ) 4815 --debug | --debu | --deb | --de | --d | -d )
4721 debug=: ;; 4816 debug=: ;;
4722 --file | --fil | --fi | --f ) 4817 --file | --fil | --fi | --f )
4723 $ac_shift 4818 $ac_shift
4724 case $ac_optarg in 4819 case $ac_optarg in
4725 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4820 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4726 '') as_fn_error $? "missing file argument" ;; 4821 '') as_fn_error $? "missing file argument" ;;
4727 esac 4822 esac
4728 as_fn_append CONFIG_FILES " '$ac_optarg'" 4823 as_fn_append CONFIG_FILES " '$ac_optarg'"
4729 ac_need_defaults=false;; 4824 ac_need_defaults=false;;
4730 --he | --h | --help | --hel | -h ) 4825 --he | --h | --help | --hel | -h )
4731 $as_echo "$ac_cs_usage"; exit ;; 4826 printf "%s\n" "$ac_cs_usage"; exit ;;
4732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4733 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4828 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4734 ac_cs_silent=: ;; 4829 ac_cs_silent=: ;;
@@ -4756,7 +4851,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4756if \$ac_cs_recheck; then 4851if \$ac_cs_recheck; then
4757 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4852 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4758 shift 4853 shift
4759 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4854 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4760 CONFIG_SHELL='$SHELL' 4855 CONFIG_SHELL='$SHELL'
4761 export CONFIG_SHELL 4856 export CONFIG_SHELL
4762 exec "\$@" 4857 exec "\$@"
@@ -4770,7 +4865,7 @@ exec 5>>config.log
4770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4771## Running $as_me. ## 4866## Running $as_me. ##
4772_ASBOX 4867_ASBOX
4773 $as_echo "$ac_log" 4868 printf "%s\n" "$ac_log"
4774} >&5 4869} >&5
4775 4870
4776_ACEOF 4871_ACEOF
@@ -4796,7 +4891,7 @@ done
4796# We use the long form for the default assignment because of an extremely 4891# We use the long form for the default assignment because of an extremely
4797# bizarre bug on SunOS 4.1.3. 4892# bizarre bug on SunOS 4.1.3.
4798if $ac_need_defaults; then 4893if $ac_need_defaults; then
4799 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4894 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4800fi 4895fi
4801 4896
4802# Have a temporary directory for convenience. Make it in the build tree 4897# Have a temporary directory for convenience. Make it in the build tree
@@ -5024,7 +5119,7 @@ do
5024 esac || 5119 esac ||
5025 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5120 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5026 esac 5121 esac
5027 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5122 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5028 as_fn_append ac_file_inputs " '$ac_f'" 5123 as_fn_append ac_file_inputs " '$ac_f'"
5029 done 5124 done
5030 5125
@@ -5032,17 +5127,17 @@ do
5032 # use $as_me), people would be surprised to read: 5127 # use $as_me), people would be surprised to read:
5033 # /* config.h. Generated by config.status. */ 5128 # /* config.h. Generated by config.status. */
5034 configure_input='Generated from '` 5129 configure_input='Generated from '`
5035 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5130 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5036 `' by configure.' 5131 `' by configure.'
5037 if test x"$ac_file" != x-; then 5132 if test x"$ac_file" != x-; then
5038 configure_input="$ac_file. $configure_input" 5133 configure_input="$ac_file. $configure_input"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5040$as_echo "$as_me: creating $ac_file" >&6;} 5135printf "%s\n" "$as_me: creating $ac_file" >&6;}
5041 fi 5136 fi
5042 # Neutralize special characters interpreted by sed in replacement strings. 5137 # Neutralize special characters interpreted by sed in replacement strings.
5043 case $configure_input in #( 5138 case $configure_input in #(
5044 *\&* | *\|* | *\\* ) 5139 *\&* | *\|* | *\\* )
5045 ac_sed_conf_input=`$as_echo "$configure_input" | 5140 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5046 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5141 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5047 *) ac_sed_conf_input=$configure_input;; 5142 *) ac_sed_conf_input=$configure_input;;
5048 esac 5143 esac
@@ -5059,7 +5154,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5059 X"$ac_file" : 'X\(//\)[^/]' \| \ 5154 X"$ac_file" : 'X\(//\)[^/]' \| \
5060 X"$ac_file" : 'X\(//\)$' \| \ 5155 X"$ac_file" : 'X\(//\)$' \| \
5061 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5156 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5062$as_echo X"$ac_file" | 5157printf "%s\n" X"$ac_file" |
5063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5064 s//\1/ 5159 s//\1/
5065 q 5160 q
@@ -5083,9 +5178,9 @@ $as_echo X"$ac_file" |
5083case "$ac_dir" in 5178case "$ac_dir" in
5084.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5179.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5085*) 5180*)
5086 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5181 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5087 # A ".." for each directory in $ac_dir_suffix. 5182 # A ".." for each directory in $ac_dir_suffix.
5088 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5183 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5089 case $ac_top_builddir_sub in 5184 case $ac_top_builddir_sub in
5090 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5185 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5091 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5186 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -5138,8 +5233,8 @@ ac_sed_dataroot='
5138case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5233case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5139*datarootdir*) ac_datarootdir_seen=yes;; 5234*datarootdir*) ac_datarootdir_seen=yes;;
5140*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5235*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5142$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5237printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5143_ACEOF 5238_ACEOF
5144cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5239cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145 ac_datarootdir_hack=' 5240 ac_datarootdir_hack='
@@ -5181,9 +5276,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5181 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5276 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5182 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5277 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5183 "$ac_tmp/out"`; test -z "$ac_out"; } && 5278 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5185which seems to be undefined. Please make sure it is defined" >&5 5280which seems to be undefined. Please make sure it is defined" >&5
5186$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5281printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5187which seems to be undefined. Please make sure it is defined" >&2;} 5282which seems to be undefined. Please make sure it is defined" >&2;}
5188 5283
5189 rm -f "$ac_tmp/stdin" 5284 rm -f "$ac_tmp/stdin"
@@ -5230,8 +5325,8 @@ if test "$no_create" != yes; then
5230 $ac_cs_success || as_fn_exit 1 5325 $ac_cs_success || as_fn_exit 1
5231fi 5326fi
5232if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5327if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5234$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5329printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5235fi 5330fi
5236 5331
5237 5332
@@ -5286,3 +5381,4 @@ if test "$HAVE_LTS" = -DHAVE_LTS; then
5286 5381
5287EOF 5382EOF
5288fi 5383fi
5384