diff options
author | netblue30 <netblue30@protonmail.com> | 2023-07-05 08:56:38 -0400 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-07-05 08:56:38 -0400 |
commit | 498b333db8182c4195d7048b29ee76c79734f942 (patch) | |
tree | e40734788a0b74522535d6edf080d4fe8a15183d /configure | |
parent | virtualbox: gentoo fix (#5880) (diff) | |
download | firejail-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-x | configure | 2764 |
1 files changed, 1430 insertions, 1334 deletions
@@ -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 |
18 | DUALCASE=1; export DUALCASE # for MKS sh | 19 | DUALCASE=1; export DUALCASE # for MKS sh |
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 20 | as_nop=: |
21 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 | ||
22 | then : | ||
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 |
26 | else | 29 | else $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 | |||
33 | fi | 36 | fi |
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. | ||
36 | as_nl=' | 47 | as_nl=' |
37 | ' | 48 | ' |
38 | export as_nl | 49 | export as_nl |
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 50 | IFS=" "" $as_nl" |
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 51 | |
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 52 | PS1='$ ' |
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 53 | PS2='> ' |
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 54 | PS4='+ ' |
44 | # but without wasting forks for bash or zsh. | 55 | |
45 | if 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 | 57 | LC_ALL=C |
47 | as_echo='print -r --' | 58 | export LC_ALL |
48 | as_echo_n='print -rn --' | 59 | LANGUAGE=C |
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 60 | export 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 |
52 | else | 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 | 67 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 68 | do 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; | 70 | done |
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"; | 73 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 74 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
64 | esac; | 75 | if (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' | ||
72 | fi | ||
73 | 76 | ||
74 | # The user is always right. | 77 | # The user is always right. |
75 | if test "${PATH_SEPARATOR+set}" != set; then | 78 | if ${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 | |||
81 | fi | 84 | fi |
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.) | ||
89 | IFS=" "" $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. |
92 | as_myself= | 88 | as_myself= |
93 | case $0 in #(( | 89 | case $0 in #(( |
@@ -96,8 +92,12 @@ case $0 in #(( | |||
96 | for as_dir in $PATH | 92 | for as_dir in $PATH |
97 | do | 93 | do |
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 |
102 | IFS=$as_save_IFS | 102 | IFS=$as_save_IFS |
103 | 103 | ||
@@ -109,30 +109,10 @@ if test "x$as_myself" = x; then | |||
109 | as_myself=$0 | 109 | as_myself=$0 |
110 | fi | 110 | fi |
111 | if test ! -f "$as_myself"; then | 111 | if 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 |
114 | fi | 114 | fi |
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. | ||
120 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
121 | do eval test x\${$as_var+set} = xset \ | ||
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
123 | done | ||
124 | PS1='$ ' | ||
125 | PS2='> ' | ||
126 | PS4='+ ' | ||
127 | |||
128 | # NLS nuisances. | ||
129 | LC_ALL=C | ||
130 | export LC_ALL | ||
131 | LANGUAGE=C | ||
132 | export 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 | |||
154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | 134 | exec $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 | 137 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
158 | as_fn_exit 255 | 138 | exit 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;} |
162 | if test "x$CONFIG_SHELL" = x; then | 142 | if 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=: |
144 | if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 | ||
145 | then : | ||
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 |
170 | else | 152 | else \$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.; } | |||
187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 169 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | 170 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | 171 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | 172 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
173 | then : | ||
191 | 174 | ||
192 | else | 175 | else \$as_nop |
193 | exitcode=1; echo positional parameters were not saved. | 176 | exitcode=1; echo positional parameters were not saved. |
194 | fi | 177 | fi |
195 | test x\$exitcode = x0 || exit 1 | 178 | test x\$exitcode = x0 || exit 1 |
179 | blah=\$(echo \$(echo blah)) | ||
180 | test x\"\$blah\" = xblah || exit 1 | ||
196 | test -x / || exit 1" | 181 | test -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" |
201 | test \$(( 1 + 1 )) = 2 || exit 1" | 186 | if (eval "$as_required") 2>/dev/null |
202 | if (eval "$as_required") 2>/dev/null; then : | 187 | then : |
203 | as_have_required=yes | 188 | as_have_required=yes |
204 | else | 189 | else $as_nop |
205 | as_have_required=no | 190 | as_have_required=no |
206 | fi | 191 | fi |
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 |
193 | then : | ||
208 | 194 | ||
209 | else | 195 | else $as_nop |
210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 196 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
211 | as_found=false | 197 | as_found=false |
212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 198 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
213 | do | 199 | do |
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 |
214 | then : | ||
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 |
217 | then : | ||
226 | break 2 | 218 | break 2 |
227 | fi | 219 | fi |
228 | fi | 220 | fi |
@@ -230,14 +222,21 @@ fi | |||
230 | esac | 222 | esac |
231 | as_found=false | 223 | as_found=false |
232 | done | 224 | done |
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 | ||
236 | fi; } | ||
237 | IFS=$as_save_IFS | 225 | IFS=$as_save_IFS |
226 | if $as_found | ||
227 | then : | ||
228 | |||
229 | else $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 | ||
232 | then : | ||
233 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
234 | fi | ||
235 | fi | ||
238 | 236 | ||
239 | 237 | ||
240 | if test "x$CONFIG_SHELL" != x; then : | 238 | if test "x$CONFIG_SHELL" != x |
239 | then : | ||
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 | |||
255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | 254 | exec $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 | 257 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
259 | exit 255 | 258 | exit 255 |
260 | fi | 259 | fi |
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" | 262 | then : |
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 | } |
295 | as_unset=as_fn_unset | 295 | as_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 $?. | ||
318 | as_fn_nop () | ||
319 | { | ||
320 | return $? | ||
321 | } | ||
322 | as_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" | | 346 | printf "%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. |
376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 385 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
386 | then : | ||
377 | eval 'as_fn_append () | 387 | eval 'as_fn_append () |
378 | { | 388 | { |
379 | eval $1+=\$2 | 389 | eval $1+=\$2 |
380 | }' | 390 | }' |
381 | else | 391 | else $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. |
393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 403 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
404 | then : | ||
394 | eval 'as_fn_arith () | 405 | eval 'as_fn_arith () |
395 | { | 406 | { |
396 | as_val=$(( $* )) | 407 | as_val=$(( $* )) |
397 | }' | 408 | }' |
398 | else | 409 | else $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 | } |
403 | fi # as_fn_arith | 414 | fi # as_fn_arith |
404 | 415 | ||
416 | # as_fn_nop | ||
417 | # --------- | ||
418 | # Do nothing but, unlike ":", preserve the value of $?. | ||
419 | as_fn_nop () | ||
420 | { | ||
421 | return $? | ||
422 | } | ||
423 | as_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" | | 464 | printf "%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. | ||
503 | ECHO_C= ECHO_N= ECHO_T= | 526 | ECHO_C= ECHO_N= ECHO_T= |
504 | case `echo -n x` in #((((( | 527 | case `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';; |
514 | esac | 537 | esac |
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. | ||
542 | as_echo='printf %s\n' | ||
543 | as_echo_n='printf %s' | ||
544 | |||
545 | |||
516 | rm -f conf$$ conf$$.exe conf$$.file | 546 | rm -f conf$$ conf$$.exe conf$$.file |
517 | if test -d conf$$.dir; then | 547 | if 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' | |||
588 | ac_unique_file="src/firejail/main.c" | 618 | ac_unique_file="src/firejail/main.c" |
589 | # Factoring default headers for most tests. | 619 | # Factoring default headers for most tests. |
590 | ac_includes_default="\ | 620 | ac_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 | ||
650 | ac_header_c_list= | ||
625 | ac_subst_vars='LTLIBOBJS | 651 | ac_subst_vars='LTLIBOBJS |
626 | LIBOBJS | 652 | LIBOBJS |
627 | EGREP | ||
628 | GREP | ||
629 | CPP | ||
630 | HAVE_LTS | 653 | HAVE_LTS |
631 | HAVE_ONLY_SYSCFG_PROFILES | 654 | HAVE_ONLY_SYSCFG_PROFILES |
632 | HAVE_FORCE_NONEWPRIVS | 655 | HAVE_FORCE_NONEWPRIVS |
@@ -748,8 +771,7 @@ PKG_CONFIG | |||
748 | PKG_CONFIG_PATH | 771 | PKG_CONFIG_PATH |
749 | PKG_CONFIG_LIBDIR | 772 | PKG_CONFIG_LIBDIR |
750 | AA_CFLAGS | 773 | AA_CFLAGS |
751 | AA_LIBS | 774 | AA_LIBS' |
752 | CPP' | ||
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 |
1184 | fi | 1204 | fi |
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" | | 1266 | printf "%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 | ||
1423 | Use these variables to override the choices made by `configure' or to help | 1442 | Use these variables to override the choices made by `configure' or to help |
1424 | it to find libraries and programs with nonstandard names/locations. | 1443 | it to find libraries and programs with nonstandard names/locations. |
@@ -1440,9 +1459,9 @@ if test "$ac_init_help" = "recursive"; then | |||
1440 | case "$ac_dir" in | 1459 | case "$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 | |||
1470 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 1489 | ac_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 | |||
1488 | if $ac_init_version; then | 1508 | if $ac_init_version; then |
1489 | cat <<\_ACEOF | 1509 | cat <<\_ACEOF |
1490 | firejail configure 0.9.73 | 1510 | firejail configure 0.9.73 |
1491 | generated by GNU Autoconf 2.69 | 1511 | generated by GNU Autoconf 2.71 |
1492 | 1512 | ||
1493 | Copyright (C) 2012 Free Software Foundation, Inc. | 1513 | Copyright (C) 2021 Free Software Foundation, Inc. |
1494 | This configure script is free software; the Free Software Foundation | 1514 | This configure script is free software; the Free Software Foundation |
1495 | gives unlimited permission to copy, distribute and modify it. | 1515 | gives unlimited permission to copy, distribute and modify it. |
1496 | _ACEOF | 1516 | _ACEOF |
@@ -1507,14 +1527,14 @@ fi | |||
1507 | ac_fn_c_try_compile () | 1527 | ac_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" |
1512 | case "(($ac_try" in | 1532 | case "(($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;; |
1515 | esac | 1535 | esac |
1516 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1536 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1517 | $as_echo "$ac_try_echo"; } >&5 | 1537 | printf "%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 |
1550 | then : | ||
1530 | ac_retval=0 | 1551 | ac_retval=0 |
1531 | else | 1552 | else $as_nop |
1532 | $as_echo "$as_me: failed program was:" >&5 | 1553 | printf "%s\n" "$as_me: failed program was:" >&5 |
1533 | sed 's/^/| /' conftest.$ac_ext >&5 | 1554 | sed '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. | ||
1545 | ac_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" | ||
1549 | case "(($ac_try" in | ||
1550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1551 | *) ac_try_echo=$ac_try;; | ||
1552 | esac | ||
1553 | eval 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 | ||
1568 | else | ||
1569 | $as_echo "$as_me: failed program was:" >&5 | ||
1570 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1571 | |||
1572 | ac_retval=1 | ||
1573 | fi | ||
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. | ||
1584 | ac_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; } | ||
1590 | if eval \${$3+:} false; then : | ||
1591 | $as_echo_n "(cached) " >&6 | ||
1592 | fi | ||
1593 | eval ac_res=\$$3 | ||
1594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1595 | $as_echo "$ac_res" >&6; } | ||
1596 | else | ||
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; } | ||
1600 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1601 | /* end confdefs.h. */ | ||
1602 | $4 | ||
1603 | #include <$2> | ||
1604 | _ACEOF | ||
1605 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1606 | ac_header_compiler=yes | ||
1607 | else | ||
1608 | ac_header_compiler=no | ||
1609 | fi | ||
1610 | rm -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; } | ||
1617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1618 | /* end confdefs.h. */ | ||
1619 | #include <$2> | ||
1620 | _ACEOF | ||
1621 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
1622 | ac_header_preproc=yes | ||
1623 | else | ||
1624 | ac_header_preproc=no | ||
1625 | fi | ||
1626 | rm -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? | ||
1631 | case $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 | ;; | ||
1654 | esac | ||
1655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1656 | $as_echo_n "checking for $2... " >&6; } | ||
1657 | if eval \${$3+:} false; then : | ||
1658 | $as_echo_n "(cached) " >&6 | ||
1659 | else | ||
1660 | eval "$3=\$ac_header_compiler" | ||
1661 | fi | ||
1662 | eval ac_res=\$$3 | ||
1663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1664 | $as_echo "$ac_res" >&6; } | ||
1665 | fi | ||
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. | ||
1674 | ac_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" | ||
1678 | case "(($ac_try" in | ||
1679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1680 | *) ac_try_echo=$ac_try;; | ||
1681 | esac | ||
1682 | eval 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;; | ||
1691 | esac | ||
1692 | eval 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 | ||
1699 | else | ||
1700 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
1701 | $as_echo "$as_me: failed program was:" >&5 | ||
1702 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1703 | |||
1704 | ac_retval=$ac_status | ||
1705 | fi | ||
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 | |||
1716 | ac_fn_c_check_header_compile () | 1567 | ac_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; } | 1571 | printf %s "checking for $2... " >&6; } |
1721 | if eval \${$3+:} false; then : | 1572 | if eval test \${$3+y} |
1722 | $as_echo_n "(cached) " >&6 | 1573 | then : |
1723 | else | 1574 | printf %s "(cached) " >&6 |
1575 | else $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 |
1729 | if ac_fn_c_try_compile "$LINENO"; then : | 1581 | if ac_fn_c_try_compile "$LINENO" |
1582 | then : | ||
1730 | eval "$3=yes" | 1583 | eval "$3=yes" |
1731 | else | 1584 | else $as_nop |
1732 | eval "$3=no" | 1585 | eval "$3=no" |
1733 | fi | 1586 | fi |
1734 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1587 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1735 | fi | 1588 | fi |
1736 | eval ac_res=\$$3 | 1589 | eval 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; } | 1591 | printf "%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 |
1595 | ac_configure_args_raw= | ||
1596 | for ac_arg | ||
1597 | do | ||
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'" | ||
1603 | done | ||
1604 | |||
1605 | case $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"`;; | ||
1613 | esac | ||
1614 | |||
1742 | cat >config.log <<_ACEOF | 1615 | cat >config.log <<_ACEOF |
1743 | This file contains any messages produced by compilers while | 1616 | This file contains any messages produced by compilers while |
1744 | running configure, to aid debugging if configure makes a mistake. | 1617 | running configure, to aid debugging if configure makes a mistake. |
1745 | 1618 | ||
1746 | It was created by firejail $as_me 0.9.73, which was | 1619 | It was created by firejail $as_me 0.9.73, which was |
1747 | generated by GNU Autoconf 2.69. Invocation command line was | 1620 | generated 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 |
1752 | exec 5>>config.log | 1625 | exec 5>>config.log |
@@ -1779,8 +1652,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
1779 | for as_dir in $PATH | 1652 | for as_dir in $PATH |
1780 | do | 1653 | do |
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 |
1785 | IFS=$as_save_IFS | 1662 | IFS=$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. |
1852 | trap 'exit_status=$? | 1729 | trap '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;} ;; | 1748 | printf "%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. |
1945 | rm -f -r conftest* confdefs.h | 1824 | rm -f -r conftest* confdefs.h |
1946 | 1825 | ||
1947 | $as_echo "/* confdefs.h */" > confdefs.h | 1826 | printf "%s\n" "/* confdefs.h */" > confdefs.h |
1948 | 1827 | ||
1949 | # Predefined preprocessor variables. | 1828 | # Predefined preprocessor variables. |
1950 | 1829 | ||
1951 | cat >>confdefs.h <<_ACEOF | 1830 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
1952 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
1953 | _ACEOF | ||
1954 | 1831 | ||
1955 | cat >>confdefs.h <<_ACEOF | 1832 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
1956 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1957 | _ACEOF | ||
1958 | 1833 | ||
1959 | cat >>confdefs.h <<_ACEOF | 1834 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
1960 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1961 | _ACEOF | ||
1962 | 1835 | ||
1963 | cat >>confdefs.h <<_ACEOF | 1836 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
1964 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
1965 | _ACEOF | ||
1966 | 1837 | ||
1967 | cat >>confdefs.h <<_ACEOF | 1838 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
1968 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1969 | _ACEOF | ||
1970 | 1839 | ||
1971 | cat >>confdefs.h <<_ACEOF | 1840 | printf "%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. |
1978 | ac_site_file1=NONE | ||
1979 | ac_site_file2=NONE | ||
1980 | if test -n "$CONFIG_SITE"; then | 1845 | if 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 | ||
1987 | elif test "x$prefix" != xNONE; then | 1847 | elif 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 | ||
1990 | else | 1849 | else |
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 | ||
1993 | fi | 1851 | fi |
1994 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1852 | |
1853 | for ac_site_file in $ac_site_files | ||
1995 | do | 1854 | do |
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 ;; | ||
1860 | esac | ||
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 | ||
1863 | printf "%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;} | 1867 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2004 | as_fn_error $? "failed to load site script $ac_site_file | 1868 | as_fn_error $? "failed to load site script $ac_site_file |
2005 | See \`config.log' for more details" "$LINENO" 5; } | 1869 | See \`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;} | 1878 | printf "%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 |
2020 | else | 1884 | else |
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;} | 1886 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
2023 | >$cache_file | 1887 | >$cache_file |
2024 | fi | 1888 | fi |
2025 | 1889 | ||
1890 | # Test code for whether the C compiler supports C89 (global declarations) | ||
1891 | ac_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> | ||
1901 | struct stat; | ||
1902 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | ||
1903 | struct buf { int x; }; | ||
1904 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | ||
1905 | static char *e (p, i) | ||
1906 | char **p; | ||
1907 | int i; | ||
1908 | { | ||
1909 | return p[i]; | ||
1910 | } | ||
1911 | static 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. */ | ||
1928 | int 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'\'' | ||
1933 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; | ||
1934 | |||
1935 | int test (int i, double x); | ||
1936 | struct s1 {int (*f) (int a);}; | ||
1937 | struct s2 {int (*f) (double a);}; | ||
1938 | int 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). | ||
1942 | ac_c_conftest_c89_main=' | ||
1943 | ok |= (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) | ||
1947 | ac_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> | ||
1954 | extern int puts (const char *); | ||
1955 | extern int printf (const char *, ...); | ||
1956 | extern int dprintf (int, const char *, ...); | ||
1957 | extern 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__)) | ||
1965 | static void | ||
1966 | test_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 | ||
1987 | static long long int bignum = -9223372036854775807LL; | ||
1988 | static unsigned long long int ubignum = BIG64; | ||
1989 | |||
1990 | struct incomplete_array | ||
1991 | { | ||
1992 | int datasize; | ||
1993 | double data[]; | ||
1994 | }; | ||
1995 | |||
1996 | struct named_init { | ||
1997 | int number; | ||
1998 | const wchar_t *name; | ||
1999 | double average; | ||
2000 | }; | ||
2001 | |||
2002 | typedef const char *ccp; | ||
2003 | |||
2004 | static inline int | ||
2005 | test_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. | ||
2016 | static bool | ||
2017 | test_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). | ||
2053 | ac_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) | ||
2093 | ac_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. | ||
2100 | char _Alignas (double) aligned_as_double; | ||
2101 | char _Alignas (0) no_special_alignment; | ||
2102 | extern char aligned_as_int; | ||
2103 | char _Alignas (0) _Alignas (int) aligned_as_int; | ||
2104 | |||
2105 | // Check _Alignof. | ||
2106 | enum | ||
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. | ||
2115 | int _Noreturn does_not_return (void) { for (;;) continue; } | ||
2116 | |||
2117 | // Check _Static_assert. | ||
2118 | struct 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! | ||
2128 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ||
2129 | |||
2130 | // Check duplicate typedefs. | ||
2131 | typedef long *long_ptr; | ||
2132 | typedef long int *long_ptr; | ||
2133 | typedef long_ptr long_ptr; | ||
2134 | |||
2135 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | ||
2136 | struct 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). | ||
2147 | ac_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). | ||
2157 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} | ||
2158 | ${ac_c_conftest_c99_globals} | ||
2159 | ${ac_c_conftest_c11_globals} | ||
2160 | |||
2161 | int | ||
2162 | main (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). | ||
2173 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} | ||
2174 | ${ac_c_conftest_c99_globals} | ||
2175 | |||
2176 | int | ||
2177 | main (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). | ||
2187 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} | ||
2188 | |||
2189 | int | ||
2190 | main (int argc, char **argv) | ||
2191 | { | ||
2192 | int ok = 0; | ||
2193 | ${ac_c_conftest_c89_main} | ||
2194 | return ok; | ||
2195 | } | ||
2196 | " | ||
2197 | |||
2198 | as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" | ||
2199 | as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" | ||
2200 | as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" | ||
2201 | as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" | ||
2202 | as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" | ||
2203 | as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" | ||
2204 | as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" | ||
2205 | as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" | ||
2206 | as_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. |
2028 | ac_cache_corrupted=false | 2209 | ac_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;} | 2218 | printf "%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;} | 2222 | printf "%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;} | 2232 | printf "%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;} | 2236 | printf "%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;} | 2240 | printf "%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;} | 2242 | printf "%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 |
2075 | done | 2256 | done |
2076 | if $ac_cache_corrupted; then | 2257 | if $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;} | 2259 | printf "%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;} | 2261 | printf "%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 | ||
2082 | fi | 2264 | fi |
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 | |||
2098 | ac_ext=c | 2289 | ac_ext=c |
2099 | ac_cpp='$CPP $CPPFLAGS' | 2290 | ac_cpp='$CPP $CPPFLAGS' |
2100 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2291 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
@@ -2103,11 +2294,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
2103 | if test -n "$ac_tool_prefix"; then | 2294 | if 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. |
2105 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2296 | set 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; } | 2298 | printf %s "checking for $ac_word... " >&6; } |
2108 | if ${ac_cv_prog_CC+:} false; then : | 2299 | if test ${ac_cv_prog_CC+y} |
2109 | $as_echo_n "(cached) " >&6 | 2300 | then : |
2110 | else | 2301 | printf %s "(cached) " >&6 |
2302 | else $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. |
2113 | else | 2305 | else |
@@ -2115,11 +2307,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
2115 | for as_dir in $PATH | 2307 | for as_dir in $PATH |
2116 | do | 2308 | do |
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 |
2125 | done | 2321 | done |
@@ -2130,11 +2326,11 @@ fi | |||
2130 | fi | 2326 | fi |
2131 | CC=$ac_cv_prog_CC | 2327 | CC=$ac_cv_prog_CC |
2132 | if test -n "$CC"; then | 2328 | if 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; } | 2330 | printf "%s\n" "$CC" >&6; } |
2135 | else | 2331 | else |
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; } | 2333 | printf "%s\n" "no" >&6; } |
2138 | fi | 2334 | fi |
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. |
2145 | set dummy gcc; ac_word=$2 | 2341 | set 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; } | 2343 | printf %s "checking for $ac_word... " >&6; } |
2148 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2344 | if test ${ac_cv_prog_ac_ct_CC+y} |
2149 | $as_echo_n "(cached) " >&6 | 2345 | then : |
2150 | else | 2346 | printf %s "(cached) " >&6 |
2347 | else $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. |
2153 | else | 2350 | else |
@@ -2155,11 +2352,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
2155 | for as_dir in $PATH | 2352 | for as_dir in $PATH |
2156 | do | 2353 | do |
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 |
2165 | done | 2366 | done |
@@ -2170,11 +2371,11 @@ fi | |||
2170 | fi | 2371 | fi |
2171 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2372 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2172 | if test -n "$ac_ct_CC"; then | 2373 | if 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; } | 2375 | printf "%s\n" "$ac_ct_CC" >&6; } |
2175 | else | 2376 | else |
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; } | 2378 | printf "%s\n" "no" >&6; } |
2178 | fi | 2379 | fi |
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 |
2184 | yes:) | 2385 | yes:) |
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;} | 2387 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2187 | ac_tool_warned=yes ;; | 2388 | ac_tool_warned=yes ;; |
2188 | esac | 2389 | esac |
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. |
2198 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2399 | set 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; } | 2401 | printf %s "checking for $ac_word... " >&6; } |
2201 | if ${ac_cv_prog_CC+:} false; then : | 2402 | if test ${ac_cv_prog_CC+y} |
2202 | $as_echo_n "(cached) " >&6 | 2403 | then : |
2203 | else | 2404 | printf %s "(cached) " >&6 |
2405 | else $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. |
2206 | else | 2408 | else |
@@ -2208,11 +2410,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
2208 | for as_dir in $PATH | 2410 | for as_dir in $PATH |
2209 | do | 2411 | do |
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 |
2218 | done | 2424 | done |
@@ -2223,11 +2429,11 @@ fi | |||
2223 | fi | 2429 | fi |
2224 | CC=$ac_cv_prog_CC | 2430 | CC=$ac_cv_prog_CC |
2225 | if test -n "$CC"; then | 2431 | if 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; } | 2433 | printf "%s\n" "$CC" >&6; } |
2228 | else | 2434 | else |
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; } | 2436 | printf "%s\n" "no" >&6; } |
2231 | fi | 2437 | fi |
2232 | 2438 | ||
2233 | 2439 | ||
@@ -2236,11 +2442,12 @@ fi | |||
2236 | if test -z "$CC"; then | 2442 | if 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. |
2238 | set dummy cc; ac_word=$2 | 2444 | set 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; } | 2446 | printf %s "checking for $ac_word... " >&6; } |
2241 | if ${ac_cv_prog_CC+:} false; then : | 2447 | if test ${ac_cv_prog_CC+y} |
2242 | $as_echo_n "(cached) " >&6 | 2448 | then : |
2243 | else | 2449 | printf %s "(cached) " >&6 |
2450 | else $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. |
2246 | else | 2453 | else |
@@ -2249,15 +2456,19 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
2249 | for as_dir in $PATH | 2456 | for as_dir in $PATH |
2250 | do | 2457 | do |
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 |
2263 | done | 2474 | done |
@@ -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 |
2278 | fi | 2489 | fi |
2279 | fi | 2490 | fi |
2280 | fi | 2491 | fi |
2281 | CC=$ac_cv_prog_CC | 2492 | CC=$ac_cv_prog_CC |
2282 | if test -n "$CC"; then | 2493 | if 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; } | 2495 | printf "%s\n" "$CC" >&6; } |
2285 | else | 2496 | else |
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; } | 2498 | printf "%s\n" "no" >&6; } |
2288 | fi | 2499 | fi |
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. |
2297 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2508 | set 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; } | 2510 | printf %s "checking for $ac_word... " >&6; } |
2300 | if ${ac_cv_prog_CC+:} false; then : | 2511 | if test ${ac_cv_prog_CC+y} |
2301 | $as_echo_n "(cached) " >&6 | 2512 | then : |
2302 | else | 2513 | printf %s "(cached) " >&6 |
2514 | else $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. |
2305 | else | 2517 | else |
@@ -2307,11 +2519,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
2307 | for as_dir in $PATH | 2519 | for as_dir in $PATH |
2308 | do | 2520 | do |
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 |
2317 | done | 2533 | done |
@@ -2322,11 +2538,11 @@ fi | |||
2322 | fi | 2538 | fi |
2323 | CC=$ac_cv_prog_CC | 2539 | CC=$ac_cv_prog_CC |
2324 | if test -n "$CC"; then | 2540 | if 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; } | 2542 | printf "%s\n" "$CC" >&6; } |
2327 | else | 2543 | else |
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; } | 2545 | printf "%s\n" "no" >&6; } |
2330 | fi | 2546 | fi |
2331 | 2547 | ||
2332 | 2548 | ||
@@ -2339,11 +2555,12 @@ if test -z "$CC"; then | |||
2339 | do | 2555 | do |
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. |
2341 | set dummy $ac_prog; ac_word=$2 | 2557 | set 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; } | 2559 | printf %s "checking for $ac_word... " >&6; } |
2344 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2560 | if test ${ac_cv_prog_ac_ct_CC+y} |
2345 | $as_echo_n "(cached) " >&6 | 2561 | then : |
2346 | else | 2562 | printf %s "(cached) " >&6 |
2563 | else $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. |
2349 | else | 2566 | else |
@@ -2351,11 +2568,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
2351 | for as_dir in $PATH | 2568 | for as_dir in $PATH |
2352 | do | 2569 | do |
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 |
2361 | done | 2582 | done |
@@ -2366,11 +2587,11 @@ fi | |||
2366 | fi | 2587 | fi |
2367 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2588 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2368 | if test -n "$ac_ct_CC"; then | 2589 | if 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; } | 2591 | printf "%s\n" "$ac_ct_CC" >&6; } |
2371 | else | 2592 | else |
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; } | 2594 | printf "%s\n" "no" >&6; } |
2374 | fi | 2595 | fi |
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 |
2384 | yes:) | 2605 | yes:) |
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;} | 2607 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2608 | ac_tool_warned=yes ;; | ||
2609 | esac | ||
2610 | CC=$ac_ct_CC | ||
2611 | fi | ||
2612 | fi | ||
2613 | |||
2614 | fi | ||
2615 | if 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. | ||
2618 | set dummy ${ac_tool_prefix}clang; ac_word=$2 | ||
2619 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2620 | printf %s "checking for $ac_word... " >&6; } | ||
2621 | if test ${ac_cv_prog_CC+y} | ||
2622 | then : | ||
2623 | printf %s "(cached) " >&6 | ||
2624 | else $as_nop | ||
2625 | if test -n "$CC"; then | ||
2626 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2627 | else | ||
2628 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2629 | for as_dir in $PATH | ||
2630 | do | ||
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 | ||
2643 | done | ||
2644 | done | ||
2645 | IFS=$as_save_IFS | ||
2646 | |||
2647 | fi | ||
2648 | fi | ||
2649 | CC=$ac_cv_prog_CC | ||
2650 | if test -n "$CC"; then | ||
2651 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2652 | printf "%s\n" "$CC" >&6; } | ||
2653 | else | ||
2654 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2655 | printf "%s\n" "no" >&6; } | ||
2656 | fi | ||
2657 | |||
2658 | |||
2659 | fi | ||
2660 | if 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. | ||
2663 | set dummy clang; ac_word=$2 | ||
2664 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2665 | printf %s "checking for $ac_word... " >&6; } | ||
2666 | if test ${ac_cv_prog_ac_ct_CC+y} | ||
2667 | then : | ||
2668 | printf %s "(cached) " >&6 | ||
2669 | else $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. | ||
2672 | else | ||
2673 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2674 | for as_dir in $PATH | ||
2675 | do | ||
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 | ||
2688 | done | ||
2689 | done | ||
2690 | IFS=$as_save_IFS | ||
2691 | |||
2692 | fi | ||
2693 | fi | ||
2694 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
2695 | if test -n "$ac_ct_CC"; then | ||
2696 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
2697 | printf "%s\n" "$ac_ct_CC" >&6; } | ||
2698 | else | ||
2699 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2700 | printf "%s\n" "no" >&6; } | ||
2701 | fi | ||
2702 | |||
2703 | if test "x$ac_ct_CC" = x; then | ||
2704 | CC="" | ||
2705 | else | ||
2706 | case $cross_compiling:$ac_tool_warned in | ||
2707 | yes:) | ||
2708 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2709 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2387 | ac_tool_warned=yes ;; | 2710 | ac_tool_warned=yes ;; |
2388 | esac | 2711 | esac |
2389 | CC=$ac_ct_CC | 2712 | CC=$ac_ct_CC |
2390 | fi | 2713 | fi |
2714 | else | ||
2715 | CC="$ac_cv_prog_CC" | ||
2391 | fi | 2716 | fi |
2392 | 2717 | ||
2393 | fi | 2718 | fi |
2394 | 2719 | ||
2395 | 2720 | ||
2396 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2721 | test -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;} | 2722 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2398 | as_fn_error $? "no acceptable C compiler found in \$PATH | 2723 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2399 | See \`config.log' for more details" "$LINENO" 5; } | 2724 | See \`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 | 2727 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2403 | set X $ac_compile | 2728 | set X $ac_compile |
2404 | ac_compiler=$2 | 2729 | ac_compiler=$2 |
2405 | for ac_option in --version -v -V -qversion; do | 2730 | for 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" |
2407 | case "(($ac_try" in | 2732 | case "(($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;; |
2410 | esac | 2735 | esac |
2411 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2736 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2412 | $as_echo "$ac_try_echo"; } >&5 | 2737 | printf "%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; } |
2424 | done | 2749 | done |
2425 | 2750 | ||
@@ -2427,7 +2752,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
2427 | /* end confdefs.h. */ | 2752 | /* end confdefs.h. */ |
2428 | 2753 | ||
2429 | int | 2754 | int |
2430 | main () | 2755 | main (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; } | 2768 | printf %s "checking whether the C compiler works... " >&6; } |
2444 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2769 | ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2445 | 2770 | ||
2446 | # The possible output files: | 2771 | # The possible output files: |
2447 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 2772 | ac_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;; |
2463 | esac | 2788 | esac |
2464 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2789 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2465 | $as_echo "$ac_try_echo"; } >&5 | 2790 | printf "%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; } |
2795 | then : | ||
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 | |||
2499 | done | 2825 | done |
2500 | test "$ac_cv_exeext" = no && ac_cv_exeext= | 2826 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2501 | 2827 | ||
2502 | else | 2828 | else $as_nop |
2503 | ac_file='' | 2829 | ac_file='' |
2504 | fi | 2830 | fi |
2505 | if test -z "$ac_file"; then : | 2831 | if test -z "$ac_file" |
2506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2832 | then : |
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 | 2834 | printf "%s\n" "no" >&6; } |
2835 | printf "%s\n" "$as_me: failed program was:" >&5 | ||
2509 | sed 's/^/| /' conftest.$ac_ext >&5 | 2836 | sed '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;} | 2839 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2513 | as_fn_error 77 "C compiler cannot create executables | 2840 | as_fn_error 77 "C compiler cannot create executables |
2514 | See \`config.log' for more details" "$LINENO" 5; } | 2841 | See \`config.log' for more details" "$LINENO" 5; } |
2515 | else | 2842 | else $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; } | 2844 | printf "%s\n" "yes" >&6; } |
2518 | fi | 2845 | fi |
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; } | 2847 | printf %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; } | 2849 | printf "%s\n" "$ac_file" >&6; } |
2523 | ac_exeext=$ac_cv_exeext | 2850 | ac_exeext=$ac_cv_exeext |
2524 | 2851 | ||
2525 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 2852 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2526 | ac_clean_files=$ac_clean_files_save | 2853 | ac_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; } | 2855 | printf %s "checking for suffix of executables... " >&6; } |
2529 | if { { ac_try="$ac_link" | 2856 | if { { ac_try="$ac_link" |
2530 | case "(($ac_try" in | 2857 | case "(($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;; |
2533 | esac | 2860 | esac |
2534 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2861 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2535 | $as_echo "$ac_try_echo"; } >&5 | 2862 | printf "%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; } |
2867 | then : | ||
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 |
2552 | done | 2880 | done |
2553 | else | 2881 | else $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;} | 2883 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2556 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 2884 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2557 | See \`config.log' for more details" "$LINENO" 5; } | 2885 | See \`config.log' for more details" "$LINENO" 5; } |
2558 | fi | 2886 | fi |
2559 | rm -f conftest conftest$ac_cv_exeext | 2887 | rm -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; } | 2889 | printf "%s\n" "$ac_cv_exeext" >&6; } |
2562 | 2890 | ||
2563 | rm -f conftest.$ac_ext | 2891 | rm -f conftest.$ac_ext |
2564 | EXEEXT=$ac_cv_exeext | 2892 | EXEEXT=$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> |
2569 | int | 2897 | int |
2570 | main () | 2898 | main (void) |
2571 | { | 2899 | { |
2572 | FILE *f = fopen ("conftest.out", "w"); | 2900 | FILE *f = fopen ("conftest.out", "w"); |
2573 | return ferror (f) || fclose (f) != 0; | 2901 | return ferror (f) || fclose (f) != 0; |
@@ -2579,8 +2907,8 @@ _ACEOF | |||
2579 | ac_clean_files="$ac_clean_files conftest.out" | 2907 | ac_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; } | 2911 | printf %s "checking whether we are cross compiling... " >&6; } |
2584 | if test "$cross_compiling" != yes; then | 2912 | if test "$cross_compiling" != yes; then |
2585 | { { ac_try="$ac_link" | 2913 | { { ac_try="$ac_link" |
2586 | case "(($ac_try" in | 2914 | case "(($ac_try" in |
@@ -2588,10 +2916,10 @@ case "(($ac_try" in | |||
2588 | *) ac_try_echo=$ac_try;; | 2916 | *) ac_try_echo=$ac_try;; |
2589 | esac | 2917 | esac |
2590 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2918 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2591 | $as_echo "$ac_try_echo"; } >&5 | 2919 | printf "%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;; |
2600 | esac | 2928 | esac |
2601 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2929 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2602 | $as_echo "$ac_try_echo"; } >&5 | 2930 | printf "%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;} | 2941 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2614 | as_fn_error $? "cannot run C compiled programs. | 2942 | as_fn_error 77 "cannot run C compiled programs. |
2615 | If you meant to cross compile, use \`--host'. | 2943 | If you meant to cross compile, use \`--host'. |
2616 | See \`config.log' for more details" "$LINENO" 5; } | 2944 | See \`config.log' for more details" "$LINENO" 5; } |
2617 | fi | 2945 | fi |
2618 | fi | 2946 | fi |
2619 | fi | 2947 | fi |
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; } | 2949 | printf "%s\n" "$cross_compiling" >&6; } |
2622 | 2950 | ||
2623 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 2951 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2624 | ac_clean_files=$ac_clean_files_save | 2952 | ac_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; } | 2954 | printf %s "checking for suffix of object files... " >&6; } |
2627 | if ${ac_cv_objext+:} false; then : | 2955 | if test ${ac_cv_objext+y} |
2628 | $as_echo_n "(cached) " >&6 | 2956 | then : |
2629 | else | 2957 | printf %s "(cached) " >&6 |
2958 | else $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 | ||
2633 | int | 2962 | int |
2634 | main () | 2963 | main (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;; |
2646 | esac | 2975 | esac |
2647 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2976 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2648 | $as_echo "$ac_try_echo"; } >&5 | 2977 | printf "%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; } |
2982 | then : | ||
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 |
2660 | done | 2990 | done |
2661 | else | 2991 | else $as_nop |
2662 | $as_echo "$as_me: failed program was:" >&5 | 2992 | printf "%s\n" "$as_me: failed program was:" >&5 |
2663 | sed 's/^/| /' conftest.$ac_ext >&5 | 2993 | sed '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;} | 2996 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2667 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 2997 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2668 | See \`config.log' for more details" "$LINENO" 5; } | 2998 | See \`config.log' for more details" "$LINENO" 5; } |
2669 | fi | 2999 | fi |
2670 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3000 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2671 | fi | 3001 | fi |
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; } | 3003 | printf "%s\n" "$ac_cv_objext" >&6; } |
2674 | OBJEXT=$ac_cv_objext | 3004 | OBJEXT=$ac_cv_objext |
2675 | ac_objext=$OBJEXT | 3005 | ac_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; } | 3007 | printf %s "checking whether the compiler supports GNU C... " >&6; } |
2678 | if ${ac_cv_c_compiler_gnu+:} false; then : | 3008 | if test ${ac_cv_c_compiler_gnu+y} |
2679 | $as_echo_n "(cached) " >&6 | 3009 | then : |
2680 | else | 3010 | printf %s "(cached) " >&6 |
3011 | else $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 | ||
2684 | int | 3015 | int |
2685 | main () | 3016 | main (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 |
2695 | if ac_fn_c_try_compile "$LINENO"; then : | 3026 | if ac_fn_c_try_compile "$LINENO" |
3027 | then : | ||
2696 | ac_compiler_gnu=yes | 3028 | ac_compiler_gnu=yes |
2697 | else | 3029 | else $as_nop |
2698 | ac_compiler_gnu=no | 3030 | ac_compiler_gnu=no |
2699 | fi | 3031 | fi |
2700 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3032 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2701 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3033 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2702 | 3034 | ||
2703 | fi | 3035 | fi |
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; } | 3037 | printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
3038 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3039 | |||
2706 | if test $ac_compiler_gnu = yes; then | 3040 | if test $ac_compiler_gnu = yes; then |
2707 | GCC=yes | 3041 | GCC=yes |
2708 | else | 3042 | else |
2709 | GCC= | 3043 | GCC= |
2710 | fi | 3044 | fi |
2711 | ac_test_CFLAGS=${CFLAGS+set} | 3045 | ac_test_CFLAGS=${CFLAGS+y} |
2712 | ac_save_CFLAGS=$CFLAGS | 3046 | ac_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; } | 3048 | printf %s "checking whether $CC accepts -g... " >&6; } |
2715 | if ${ac_cv_prog_cc_g+:} false; then : | 3049 | if test ${ac_cv_prog_cc_g+y} |
2716 | $as_echo_n "(cached) " >&6 | 3050 | then : |
2717 | else | 3051 | printf %s "(cached) " >&6 |
3052 | else $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 | ||
2725 | int | 3060 | int |
2726 | main () | 3061 | main (void) |
2727 | { | 3062 | { |
2728 | 3063 | ||
2729 | ; | 3064 | ; |
2730 | return 0; | 3065 | return 0; |
2731 | } | 3066 | } |
2732 | _ACEOF | 3067 | _ACEOF |
2733 | if ac_fn_c_try_compile "$LINENO"; then : | 3068 | if ac_fn_c_try_compile "$LINENO" |
3069 | then : | ||
2734 | ac_cv_prog_cc_g=yes | 3070 | ac_cv_prog_cc_g=yes |
2735 | else | 3071 | else $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 | ||
2740 | int | 3076 | int |
2741 | main () | 3077 | main (void) |
2742 | { | 3078 | { |
2743 | 3079 | ||
2744 | ; | 3080 | ; |
2745 | return 0; | 3081 | return 0; |
2746 | } | 3082 | } |
2747 | _ACEOF | 3083 | _ACEOF |
2748 | if ac_fn_c_try_compile "$LINENO"; then : | 3084 | if ac_fn_c_try_compile "$LINENO" |
3085 | then : | ||
2749 | 3086 | ||
2750 | else | 3087 | else $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 | ||
2756 | int | 3093 | int |
2757 | main () | 3094 | main (void) |
2758 | { | 3095 | { |
2759 | 3096 | ||
2760 | ; | 3097 | ; |
2761 | return 0; | 3098 | return 0; |
2762 | } | 3099 | } |
2763 | _ACEOF | 3100 | _ACEOF |
2764 | if ac_fn_c_try_compile "$LINENO"; then : | 3101 | if ac_fn_c_try_compile "$LINENO" |
3102 | then : | ||
2765 | ac_cv_prog_cc_g=yes | 3103 | ac_cv_prog_cc_g=yes |
2766 | fi | 3104 | fi |
2767 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3105 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2768 | fi | 3106 | fi |
2769 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3107 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2770 | fi | 3108 | fi |
2771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3109 | rm -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 |
2773 | fi | 3111 | fi |
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; } | 3113 | printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
2776 | if test "$ac_test_CFLAGS" = set; then | 3114 | if test $ac_test_CFLAGS; then |
2777 | CFLAGS=$ac_save_CFLAGS | 3115 | CFLAGS=$ac_save_CFLAGS |
2778 | elif test $ac_cv_prog_cc_g = yes; then | 3116 | elif 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 |
2790 | fi | 3128 | fi |
2791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3129 | ac_prog_cc_stdc=no |
2792 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3130 | if test x$ac_prog_cc_stdc = xno |
2793 | if ${ac_cv_prog_cc_c89+:} false; then : | 3131 | then : |
2794 | $as_echo_n "(cached) " >&6 | 3132 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
2795 | else | 3133 | printf %s "checking for $CC option to enable C11 features... " >&6; } |
2796 | ac_cv_prog_cc_c89=no | 3134 | if test ${ac_cv_prog_cc_c11+y} |
3135 | then : | ||
3136 | printf %s "(cached) " >&6 | ||
3137 | else $as_nop | ||
3138 | ac_cv_prog_cc_c11=no | ||
2797 | ac_save_CC=$CC | 3139 | ac_save_CC=$CC |
2798 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3140 | cat 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 |
2802 | struct stat; | 3144 | for ac_arg in '' -std=gnu11 |
2803 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 3145 | do |
2804 | struct buf { int x; }; | 3146 | CC="$ac_save_CC $ac_arg" |
2805 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 3147 | if ac_fn_c_try_compile "$LINENO" |
2806 | static char *e (p, i) | 3148 | then : |
2807 | char **p; | 3149 | ac_cv_prog_cc_c11=$ac_arg |
2808 | int i; | 3150 | fi |
2809 | { | 3151 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
2810 | return p[i]; | 3152 | test "x$ac_cv_prog_cc_c11" != "xno" && break |
2811 | } | 3153 | done |
2812 | static char *f (char * (*g) (char **, int), char **p, ...) | 3154 | rm -f conftest.$ac_ext |
2813 | { | 3155 | CC=$ac_save_CC |
2814 | char *s; | 3156 | fi |
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. */ | ||
2829 | int 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 | 3158 | if test "x$ac_cv_prog_cc_c11" = xno |
2832 | inside strings and character constants. */ | 3159 | then : |
2833 | #define FOO(x) 'x' | 3160 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2834 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 3161 | printf "%s\n" "unsupported" >&6; } |
3162 | else $as_nop | ||
3163 | if test "x$ac_cv_prog_cc_c11" = x | ||
3164 | then : | ||
3165 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
3166 | printf "%s\n" "none needed" >&6; } | ||
3167 | else $as_nop | ||
3168 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 | ||
3169 | printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } | ||
3170 | CC="$CC $ac_cv_prog_cc_c11" | ||
3171 | fi | ||
3172 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 | ||
3173 | ac_prog_cc_stdc=c11 | ||
3174 | fi | ||
3175 | fi | ||
3176 | if test x$ac_prog_cc_stdc = xno | ||
3177 | then : | ||
3178 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 | ||
3179 | printf %s "checking for $CC option to enable C99 features... " >&6; } | ||
3180 | if test ${ac_cv_prog_cc_c99+y} | ||
3181 | then : | ||
3182 | printf %s "(cached) " >&6 | ||
3183 | else $as_nop | ||
3184 | ac_cv_prog_cc_c99=no | ||
3185 | ac_save_CC=$CC | ||
3186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3187 | /* end confdefs.h. */ | ||
3188 | $ac_c_conftest_c99_program | ||
3189 | _ACEOF | ||
3190 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= | ||
3191 | do | ||
3192 | CC="$ac_save_CC $ac_arg" | ||
3193 | if ac_fn_c_try_compile "$LINENO" | ||
3194 | then : | ||
3195 | ac_cv_prog_cc_c99=$ac_arg | ||
3196 | fi | ||
3197 | rm -f core conftest.err conftest.$ac_objext conftest.beam | ||
3198 | test "x$ac_cv_prog_cc_c99" != "xno" && break | ||
3199 | done | ||
3200 | rm -f conftest.$ac_ext | ||
3201 | CC=$ac_save_CC | ||
3202 | fi | ||
2835 | 3203 | ||
2836 | int test (int i, double x); | 3204 | if test "x$ac_cv_prog_cc_c99" = xno |
2837 | struct s1 {int (*f) (int a);}; | 3205 | then : |
2838 | struct s2 {int (*f) (double a);}; | 3206 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2839 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 3207 | printf "%s\n" "unsupported" >&6; } |
2840 | int argc; | 3208 | else $as_nop |
2841 | char **argv; | 3209 | if test "x$ac_cv_prog_cc_c99" = x |
2842 | int | 3210 | then : |
2843 | main () | 3211 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2844 | { | 3212 | printf "%s\n" "none needed" >&6; } |
2845 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3213 | else $as_nop |
2846 | ; | 3214 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
2847 | return 0; | 3215 | printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
2848 | } | 3216 | CC="$CC $ac_cv_prog_cc_c99" |
3217 | fi | ||
3218 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 | ||
3219 | ac_prog_cc_stdc=c99 | ||
3220 | fi | ||
3221 | fi | ||
3222 | if test x$ac_prog_cc_stdc = xno | ||
3223 | then : | ||
3224 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 | ||
3225 | printf %s "checking for $CC option to enable C89 features... " >&6; } | ||
3226 | if test ${ac_cv_prog_cc_c89+y} | ||
3227 | then : | ||
3228 | printf %s "(cached) " >&6 | ||
3229 | else $as_nop | ||
3230 | ac_cv_prog_cc_c89=no | ||
3231 | ac_save_CC=$CC | ||
3232 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3233 | /* end confdefs.h. */ | ||
3234 | $ac_c_conftest_c89_program | ||
2849 | _ACEOF | 3235 | _ACEOF |
2850 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 3236 | for 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__" | ||
2852 | do | 3237 | do |
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" |
3240 | then : | ||
2855 | ac_cv_prog_cc_c89=$ac_arg | 3241 | ac_cv_prog_cc_c89=$ac_arg |
2856 | fi | 3242 | fi |
2857 | rm -f core conftest.err conftest.$ac_objext | 3243 | rm -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 |
2859 | done | 3245 | done |
2860 | rm -f conftest.$ac_ext | 3246 | rm -f conftest.$ac_ext |
2861 | CC=$ac_save_CC | 3247 | CC=$ac_save_CC |
2862 | |||
2863 | fi | 3248 | fi |
2864 | # AC_CACHE_VAL | ||
2865 | case "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; } ;; | ||
2876 | esac | ||
2877 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
2878 | 3249 | ||
3250 | if test "x$ac_cv_prog_cc_c89" = xno | ||
3251 | then : | ||
3252 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
3253 | printf "%s\n" "unsupported" >&6; } | ||
3254 | else $as_nop | ||
3255 | if test "x$ac_cv_prog_cc_c89" = x | ||
3256 | then : | ||
3257 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
3258 | printf "%s\n" "none needed" >&6; } | ||
3259 | else $as_nop | ||
3260 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | ||
3261 | printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } | ||
3262 | CC="$CC $ac_cv_prog_cc_c89" | ||
3263 | fi | ||
3264 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 | ||
3265 | ac_prog_cc_stdc=c89 | ||
3266 | fi | ||
2879 | fi | 3267 | fi |
2880 | 3268 | ||
2881 | ac_ext=c | 3269 | ac_ext=c |
@@ -2887,11 +3275,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
2887 | 3275 | ||
2888 | HAVE_SPECTRE="no" | 3276 | HAVE_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; } | 3279 | printf %s "checking whether C compiler accepts -mindirect-branch=thunk... " >&6; } |
2892 | if ${ax_cv_check_cflags___mindirect_branch_thunk+:} false; then : | 3280 | if test ${ax_cv_check_cflags___mindirect_branch_thunk+y} |
2893 | $as_echo_n "(cached) " >&6 | 3281 | then : |
2894 | else | 3282 | printf %s "(cached) " >&6 |
3283 | else $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 | ||
2901 | int | 3290 | int |
2902 | main () | 3291 | main (void) |
2903 | { | 3292 | { |
2904 | 3293 | ||
2905 | ; | 3294 | ; |
2906 | return 0; | 3295 | return 0; |
2907 | } | 3296 | } |
2908 | _ACEOF | 3297 | _ACEOF |
2909 | if ac_fn_c_try_compile "$LINENO"; then : | 3298 | if ac_fn_c_try_compile "$LINENO" |
3299 | then : | ||
2910 | ax_cv_check_cflags___mindirect_branch_thunk=yes | 3300 | ax_cv_check_cflags___mindirect_branch_thunk=yes |
2911 | else | 3301 | else $as_nop |
2912 | ax_cv_check_cflags___mindirect_branch_thunk=no | 3302 | ax_cv_check_cflags___mindirect_branch_thunk=no |
2913 | fi | 3303 | fi |
2914 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3304 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2915 | CFLAGS=$ax_check_save_flags | 3305 | CFLAGS=$ax_check_save_flags |
2916 | fi | 3306 | fi |
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; } | 3308 | printf "%s\n" "$ax_cv_check_cflags___mindirect_branch_thunk" >&6; } |
2919 | if test "x$ax_cv_check_cflags___mindirect_branch_thunk" = xyes; then : | 3309 | if test "x$ax_cv_check_cflags___mindirect_branch_thunk" = xyes |
3310 | then : | ||
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 | ||
2924 | else | 3315 | else $as_nop |
2925 | : | 3316 | : |
2926 | fi | 3317 | fi |
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; } | 3320 | printf %s "checking whether C compiler accepts -fstack-clash-protection... " >&6; } |
2930 | if ${ax_cv_check_cflags___fstack_clash_protection+:} false; then : | 3321 | if test ${ax_cv_check_cflags___fstack_clash_protection+y} |
2931 | $as_echo_n "(cached) " >&6 | 3322 | then : |
2932 | else | 3323 | printf %s "(cached) " >&6 |
3324 | else $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 | ||
2939 | int | 3331 | int |
2940 | main () | 3332 | main (void) |
2941 | { | 3333 | { |
2942 | 3334 | ||
2943 | ; | 3335 | ; |
2944 | return 0; | 3336 | return 0; |
2945 | } | 3337 | } |
2946 | _ACEOF | 3338 | _ACEOF |
2947 | if ac_fn_c_try_compile "$LINENO"; then : | 3339 | if ac_fn_c_try_compile "$LINENO" |
3340 | then : | ||
2948 | ax_cv_check_cflags___fstack_clash_protection=yes | 3341 | ax_cv_check_cflags___fstack_clash_protection=yes |
2949 | else | 3342 | else $as_nop |
2950 | ax_cv_check_cflags___fstack_clash_protection=no | 3343 | ax_cv_check_cflags___fstack_clash_protection=no |
2951 | fi | 3344 | fi |
2952 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3345 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2953 | CFLAGS=$ax_check_save_flags | 3346 | CFLAGS=$ax_check_save_flags |
2954 | fi | 3347 | fi |
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; } | 3349 | printf "%s\n" "$ax_cv_check_cflags___fstack_clash_protection" >&6; } |
2957 | if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes; then : | 3350 | if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes |
3351 | then : | ||
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 | ||
2962 | else | 3356 | else $as_nop |
2963 | : | 3357 | : |
2964 | fi | 3358 | fi |
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; } | 3361 | printf %s "checking whether C compiler accepts -fstack-protector-strong... " >&6; } |
2968 | if ${ax_cv_check_cflags___fstack_protector_strong+:} false; then : | 3362 | if test ${ax_cv_check_cflags___fstack_protector_strong+y} |
2969 | $as_echo_n "(cached) " >&6 | 3363 | then : |
2970 | else | 3364 | printf %s "(cached) " >&6 |
3365 | else $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 | ||
2977 | int | 3372 | int |
2978 | main () | 3373 | main (void) |
2979 | { | 3374 | { |
2980 | 3375 | ||
2981 | ; | 3376 | ; |
2982 | return 0; | 3377 | return 0; |
2983 | } | 3378 | } |
2984 | _ACEOF | 3379 | _ACEOF |
2985 | if ac_fn_c_try_compile "$LINENO"; then : | 3380 | if ac_fn_c_try_compile "$LINENO" |
3381 | then : | ||
2986 | ax_cv_check_cflags___fstack_protector_strong=yes | 3382 | ax_cv_check_cflags___fstack_protector_strong=yes |
2987 | else | 3383 | else $as_nop |
2988 | ax_cv_check_cflags___fstack_protector_strong=no | 3384 | ax_cv_check_cflags___fstack_protector_strong=no |
2989 | fi | 3385 | fi |
2990 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3386 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2991 | CFLAGS=$ax_check_save_flags | 3387 | CFLAGS=$ax_check_save_flags |
2992 | fi | 3388 | fi |
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; } | 3390 | printf "%s\n" "$ax_cv_check_cflags___fstack_protector_strong" >&6; } |
2995 | if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes; then : | 3391 | if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes |
3392 | then : | ||
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 | ||
3000 | else | 3397 | else $as_nop |
3001 | : | 3398 | : |
3002 | fi | 3399 | fi |
3003 | 3400 | ||
3004 | 3401 | ||
3005 | # Check whether --enable-analyzer was given. | 3402 | # Check whether --enable-analyzer was given. |
3006 | if test "${enable_analyzer+set}" = set; then : | 3403 | if test ${enable_analyzer+y} |
3404 | then : | ||
3007 | enableval=$enable_analyzer; | 3405 | enableval=$enable_analyzer; |
3008 | fi | 3406 | fi |
3009 | 3407 | ||
3010 | if test "x$enable_analyzer" = "xyes"; then : | 3408 | if test "x$enable_analyzer" = "xyes" |
3409 | then : | ||
3011 | 3410 | ||
3012 | EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer -Wno-analyzer-malloc-leak" | 3411 | EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer -Wno-analyzer-malloc-leak" |
3013 | 3412 | ||
3014 | fi | 3413 | fi |
3015 | 3414 | ||
3016 | # Check whether --enable-sanitizer was given. | 3415 | # Check whether --enable-sanitizer was given. |
3017 | if test "${enable_sanitizer+set}" = set; then : | 3416 | if test ${enable_sanitizer+y} |
3417 | then : | ||
3018 | enableval=$enable_sanitizer; | 3418 | enableval=$enable_sanitizer; |
3019 | else | 3419 | else $as_nop |
3020 | enable_sanitizer=no | 3420 | enable_sanitizer=no |
3021 | fi | 3421 | fi |
3022 | 3422 | ||
3023 | if test "x$enable_sanitizer" != "xno" ; then : | 3423 | if test "x$enable_sanitizer" != "xno" |
3424 | then : | ||
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; } | 3428 | printf %s "checking whether C compiler accepts -fsanitize=$enable_sanitizer... " >&6; } |
3028 | if eval \${$as_CACHEVAR+:} false; then : | 3429 | if eval test \${$as_CACHEVAR+y} |
3029 | $as_echo_n "(cached) " >&6 | 3430 | then : |
3030 | else | 3431 | printf %s "(cached) " >&6 |
3432 | else $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 | ||
3037 | int | 3439 | int |
3038 | main () | 3440 | main (void) |
3039 | { | 3441 | { |
3040 | 3442 | ||
3041 | ; | 3443 | ; |
3042 | return 0; | 3444 | return 0; |
3043 | } | 3445 | } |
3044 | _ACEOF | 3446 | _ACEOF |
3045 | if ac_fn_c_try_compile "$LINENO"; then : | 3447 | if ac_fn_c_try_compile "$LINENO" |
3448 | then : | ||
3046 | eval "$as_CACHEVAR=yes" | 3449 | eval "$as_CACHEVAR=yes" |
3047 | else | 3450 | else $as_nop |
3048 | eval "$as_CACHEVAR=no" | 3451 | eval "$as_CACHEVAR=no" |
3049 | fi | 3452 | fi |
3050 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3453 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
3051 | CFLAGS=$ax_check_save_flags | 3454 | CFLAGS=$ax_check_save_flags |
3052 | fi | 3455 | fi |
3053 | eval ac_res=\$$as_CACHEVAR | 3456 | eval 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; } | 3458 | printf "%s\n" "$ac_res" >&6; } |
3056 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : | 3459 | if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
3460 | then : | ||
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 | ||
3061 | else | 3465 | else $as_nop |
3062 | as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5 | 3466 | as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5 |
3063 | fi | 3467 | fi |
3064 | 3468 | ||
@@ -3068,11 +3472,13 @@ fi | |||
3068 | HAVE_IDS="" | 3472 | HAVE_IDS="" |
3069 | 3473 | ||
3070 | # Check whether --enable-ids was given. | 3474 | # Check whether --enable-ids was given. |
3071 | if test "${enable_ids+set}" = set; then : | 3475 | if test ${enable_ids+y} |
3476 | then : | ||
3072 | enableval=$enable_ids; | 3477 | enableval=$enable_ids; |
3073 | fi | 3478 | fi |
3074 | 3479 | ||
3075 | if test "x$enable_ids" = "xyes"; then : | 3480 | if test "x$enable_ids" = "xyes" |
3481 | then : | ||
3076 | 3482 | ||
3077 | HAVE_IDS="-DHAVE_IDS" | 3483 | HAVE_IDS="-DHAVE_IDS" |
3078 | 3484 | ||
@@ -3081,7 +3487,8 @@ fi | |||
3081 | HAVE_APPARMOR="" | 3487 | HAVE_APPARMOR="" |
3082 | 3488 | ||
3083 | # Check whether --enable-apparmor was given. | 3489 | # Check whether --enable-apparmor was given. |
3084 | if test "${enable_apparmor+set}" = set; then : | 3490 | if test ${enable_apparmor+y} |
3491 | then : | ||
3085 | enableval=$enable_apparmor; | 3492 | enableval=$enable_apparmor; |
3086 | fi | 3493 | fi |
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. |
3098 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 3505 | set 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; } | 3507 | printf %s "checking for $ac_word... " >&6; } |
3101 | if ${ac_cv_path_PKG_CONFIG+:} false; then : | 3508 | if test ${ac_cv_path_PKG_CONFIG+y} |
3102 | $as_echo_n "(cached) " >&6 | 3509 | then : |
3103 | else | 3510 | printf %s "(cached) " >&6 |
3511 | else $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 | |||
3110 | for as_dir in $PATH | 3518 | for as_dir in $PATH |
3111 | do | 3519 | do |
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 |
3120 | done | 3532 | done |
@@ -3126,11 +3538,11 @@ esac | |||
3126 | fi | 3538 | fi |
3127 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 3539 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
3128 | if test -n "$PKG_CONFIG"; then | 3540 | if 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; } | 3542 | printf "%s\n" "$PKG_CONFIG" >&6; } |
3131 | else | 3543 | else |
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; } | 3545 | printf "%s\n" "no" >&6; } |
3134 | fi | 3546 | fi |
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. |
3141 | set dummy pkg-config; ac_word=$2 | 3553 | set 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; } | 3555 | printf %s "checking for $ac_word... " >&6; } |
3144 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | 3556 | if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
3145 | $as_echo_n "(cached) " >&6 | 3557 | then : |
3146 | else | 3558 | printf %s "(cached) " >&6 |
3559 | else $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 | |||
3153 | for as_dir in $PATH | 3566 | for as_dir in $PATH |
3154 | do | 3567 | do |
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 |
3163 | done | 3580 | done |
@@ -3169,11 +3586,11 @@ esac | |||
3169 | fi | 3586 | fi |
3170 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | 3587 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
3171 | if test -n "$ac_pt_PKG_CONFIG"; then | 3588 | if 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; } | 3590 | printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
3174 | else | 3591 | else |
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; } | 3593 | printf "%s\n" "no" >&6; } |
3177 | fi | 3594 | fi |
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 |
3183 | yes:) | 3600 | yes:) |
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;} | 3602 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3186 | ac_tool_warned=yes ;; | 3603 | ac_tool_warned=yes ;; |
3187 | esac | 3604 | esac |
3188 | PKG_CONFIG=$ac_pt_PKG_CONFIG | 3605 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
@@ -3194,33 +3611,34 @@ fi | |||
3194 | fi | 3611 | fi |
3195 | if test -n "$PKG_CONFIG"; then | 3612 | if 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; } | 3615 | printf %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; } | 3618 | printf "%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; } | 3621 | printf "%s\n" "no" >&6; } |
3205 | PKG_CONFIG="" | 3622 | PKG_CONFIG="" |
3206 | fi | 3623 | fi |
3207 | fi | 3624 | fi |
3208 | if test "x$enable_apparmor" = "xyes"; then : | 3625 | if test "x$enable_apparmor" = "xyes" |
3626 | then : | ||
3209 | 3627 | ||
3210 | HAVE_APPARMOR="-DHAVE_APPARMOR" | 3628 | HAVE_APPARMOR="-DHAVE_APPARMOR" |
3211 | 3629 | ||
3212 | pkg_failed=no | 3630 | pkg_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; } | 3632 | printf %s "checking for libapparmor... " >&6; } |
3215 | 3633 | ||
3216 | if test -n "$AA_CFLAGS"; then | 3634 | if 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 | ||
3253 | if test $pkg_failed = yes; then | 3671 | if 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; } | 3673 | printf "%s\n" "no" >&6; } |
3256 | 3674 | ||
3257 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 3675 | if $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 |
3261 | fi | 3679 | fi |
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 | |||
3278 | and AA_LIBS to avoid the need to call pkg-config. | 3696 | and AA_LIBS to avoid the need to call pkg-config. |
3279 | See the pkg-config man page for more details." "$LINENO" 5 | 3697 | See the pkg-config man page for more details." "$LINENO" 5 |
3280 | elif test $pkg_failed = untried; then | 3698 | elif 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; } | 3700 | printf "%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;} | 3702 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
3285 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | 3703 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
3286 | is in your PATH or set the PKG_CONFIG environment variable to the full | 3704 | is in your PATH or set the PKG_CONFIG environment variable to the full |
3287 | path to pkg-config. | 3705 | path to pkg-config. |
@@ -3293,10 +3711,10 @@ See the pkg-config man page for more details. | |||
3293 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | 3711 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
3294 | See \`config.log' for more details" "$LINENO" 5; } | 3712 | See \`config.log' for more details" "$LINENO" 5; } |
3295 | else | 3713 | else |
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; } | 3717 | printf "%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 | |||
3308 | HAVE_SELINUX="" | 3726 | HAVE_SELINUX="" |
3309 | 3727 | ||
3310 | # Check whether --enable-selinux was given. | 3728 | # Check whether --enable-selinux was given. |
3311 | if test "${enable_selinux+set}" = set; then : | 3729 | if test ${enable_selinux+y} |
3730 | then : | ||
3312 | enableval=$enable_selinux; | 3731 | enableval=$enable_selinux; |
3313 | fi | 3732 | fi |
3314 | 3733 | ||
3315 | if test "x$enable_selinux" = "xyes"; then : | 3734 | if test "x$enable_selinux" = "xyes" |
3735 | then : | ||
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 | |||
3325 | HAVE_DBUSPROXY="" | 3745 | HAVE_DBUSPROXY="" |
3326 | 3746 | ||
3327 | # Check whether --enable-dbusproxy was given. | 3747 | # Check whether --enable-dbusproxy was given. |
3328 | if test "${enable_dbusproxy+set}" = set; then : | 3748 | if test ${enable_dbusproxy+y} |
3749 | then : | ||
3329 | enableval=$enable_dbusproxy; | 3750 | enableval=$enable_dbusproxy; |
3330 | fi | 3751 | fi |
3331 | 3752 | ||
3332 | if test "x$enable_dbusproxy" != "xno"; then : | 3753 | if test "x$enable_dbusproxy" != "xno" |
3754 | then : | ||
3333 | 3755 | ||
3334 | HAVE_DBUSPROXY="-DHAVE_DBUSPROXY" | 3756 | HAVE_DBUSPROXY="-DHAVE_DBUSPROXY" |
3335 | 3757 | ||
@@ -3347,11 +3769,13 @@ HAVE_OVERLAYFS="" | |||
3347 | HAVE_OUTPUT="" | 3769 | HAVE_OUTPUT="" |
3348 | 3770 | ||
3349 | # Check whether --enable-output was given. | 3771 | # Check whether --enable-output was given. |
3350 | if test "${enable_output+set}" = set; then : | 3772 | if test ${enable_output+y} |
3773 | then : | ||
3351 | enableval=$enable_output; | 3774 | enableval=$enable_output; |
3352 | fi | 3775 | fi |
3353 | 3776 | ||
3354 | if test "x$enable_output" != "xno"; then : | 3777 | if test "x$enable_output" != "xno" |
3778 | then : | ||
3355 | 3779 | ||
3356 | HAVE_OUTPUT="-DHAVE_OUTPUT" | 3780 | HAVE_OUTPUT="-DHAVE_OUTPUT" |
3357 | 3781 | ||
@@ -3360,11 +3784,13 @@ fi | |||
3360 | HAVE_USERTMPFS="" | 3784 | HAVE_USERTMPFS="" |
3361 | 3785 | ||
3362 | # Check whether --enable-usertmpfs was given. | 3786 | # Check whether --enable-usertmpfs was given. |
3363 | if test "${enable_usertmpfs+set}" = set; then : | 3787 | if test ${enable_usertmpfs+y} |
3788 | then : | ||
3364 | enableval=$enable_usertmpfs; | 3789 | enableval=$enable_usertmpfs; |
3365 | fi | 3790 | fi |
3366 | 3791 | ||
3367 | if test "x$enable_usertmpfs" != "xno"; then : | 3792 | if test "x$enable_usertmpfs" != "xno" |
3793 | then : | ||
3368 | 3794 | ||
3369 | HAVE_USERTMPFS="-DHAVE_USERTMPFS" | 3795 | HAVE_USERTMPFS="-DHAVE_USERTMPFS" |
3370 | 3796 | ||
@@ -3373,20 +3799,23 @@ fi | |||
3373 | HAVE_MAN="no" | 3799 | HAVE_MAN="no" |
3374 | 3800 | ||
3375 | # Check whether --enable-man was given. | 3801 | # Check whether --enable-man was given. |
3376 | if test "${enable_man+set}" = set; then : | 3802 | if test ${enable_man+y} |
3803 | then : | ||
3377 | enableval=$enable_man; | 3804 | enableval=$enable_man; |
3378 | fi | 3805 | fi |
3379 | 3806 | ||
3380 | if test "x$enable_man" != "xno"; then : | 3807 | if test "x$enable_man" != "xno" |
3808 | then : | ||
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. |
3384 | set dummy gawk; ac_word=$2 | 3812 | set 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; } | 3814 | printf %s "checking for $ac_word... " >&6; } |
3387 | if ${ac_cv_prog_HAVE_GAWK+:} false; then : | 3815 | if test ${ac_cv_prog_HAVE_GAWK+y} |
3388 | $as_echo_n "(cached) " >&6 | 3816 | then : |
3389 | else | 3817 | printf %s "(cached) " >&6 |
3818 | else $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. |
3392 | else | 3821 | else |
@@ -3394,11 +3823,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
3394 | for as_dir in $PATH | 3823 | for as_dir in $PATH |
3395 | do | 3824 | do |
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 |
3404 | done | 3837 | done |
@@ -3410,15 +3843,16 @@ fi | |||
3410 | fi | 3843 | fi |
3411 | HAVE_GAWK=$ac_cv_prog_HAVE_GAWK | 3844 | HAVE_GAWK=$ac_cv_prog_HAVE_GAWK |
3412 | if test -n "$HAVE_GAWK"; then | 3845 | if 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; } | 3847 | printf "%s\n" "$HAVE_GAWK" >&6; } |
3415 | else | 3848 | else |
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; } | 3850 | printf "%s\n" "no" >&6; } |
3418 | fi | 3851 | fi |
3419 | 3852 | ||
3420 | 3853 | ||
3421 | if test "x$HAVE_GAWK" != "xyes"; then : | 3854 | if test "x$HAVE_GAWK" != "xyes" |
3855 | then : | ||
3422 | as_fn_error $? "*** gawk not found ***" "$LINENO" 5 | 3856 | as_fn_error $? "*** gawk not found ***" "$LINENO" 5 |
3423 | fi | 3857 | fi |
3424 | 3858 | ||
@@ -3427,11 +3861,13 @@ fi | |||
3427 | HAVE_FIRETUNNEL="" | 3861 | HAVE_FIRETUNNEL="" |
3428 | 3862 | ||
3429 | # Check whether --enable-firetunnel was given. | 3863 | # Check whether --enable-firetunnel was given. |
3430 | if test "${enable_firetunnel+set}" = set; then : | 3864 | if test ${enable_firetunnel+y} |
3865 | then : | ||
3431 | enableval=$enable_firetunnel; | 3866 | enableval=$enable_firetunnel; |
3432 | fi | 3867 | fi |
3433 | 3868 | ||
3434 | if test "x$enable_firetunnel" = "xyes"; then : | 3869 | if test "x$enable_firetunnel" = "xyes" |
3870 | then : | ||
3435 | 3871 | ||
3436 | HAVE_FIRETUNNEL="-DHAVE_FIRETUNNEL" | 3872 | HAVE_FIRETUNNEL="-DHAVE_FIRETUNNEL" |
3437 | 3873 | ||
@@ -3440,11 +3876,13 @@ fi | |||
3440 | HAVE_PRIVATE_HOME="" | 3876 | HAVE_PRIVATE_HOME="" |
3441 | 3877 | ||
3442 | # Check whether --enable-private-home was given. | 3878 | # Check whether --enable-private-home was given. |
3443 | if test "${enable_private_home+set}" = set; then : | 3879 | if test ${enable_private_home+y} |
3880 | then : | ||
3444 | enableval=$enable_private_home; | 3881 | enableval=$enable_private_home; |
3445 | fi | 3882 | fi |
3446 | 3883 | ||
3447 | if test "x$enable_private_home" != "xno"; then : | 3884 | if test "x$enable_private_home" != "xno" |
3885 | then : | ||
3448 | 3886 | ||
3449 | HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME" | 3887 | HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME" |
3450 | 3888 | ||
@@ -3453,11 +3891,13 @@ fi | |||
3453 | HAVE_PRIVATE_LIB="" | 3891 | HAVE_PRIVATE_LIB="" |
3454 | 3892 | ||
3455 | # Check whether --enable-private-lib was given. | 3893 | # Check whether --enable-private-lib was given. |
3456 | if test "${enable_private_lib+set}" = set; then : | 3894 | if test ${enable_private_lib+y} |
3895 | then : | ||
3457 | enableval=$enable_private_lib; | 3896 | enableval=$enable_private_lib; |
3458 | fi | 3897 | fi |
3459 | 3898 | ||
3460 | if test "x$enable_private_lib" = "xyes"; then : | 3899 | if test "x$enable_private_lib" = "xyes" |
3900 | then : | ||
3461 | 3901 | ||
3462 | HAVE_PRIVATE_LIB="-DHAVE_PRIVATE_LIB" | 3902 | HAVE_PRIVATE_LIB="-DHAVE_PRIVATE_LIB" |
3463 | 3903 | ||
@@ -3466,11 +3906,13 @@ fi | |||
3466 | HAVE_CHROOT="" | 3906 | HAVE_CHROOT="" |
3467 | 3907 | ||
3468 | # Check whether --enable-chroot was given. | 3908 | # Check whether --enable-chroot was given. |
3469 | if test "${enable_chroot+set}" = set; then : | 3909 | if test ${enable_chroot+y} |
3910 | then : | ||
3470 | enableval=$enable_chroot; | 3911 | enableval=$enable_chroot; |
3471 | fi | 3912 | fi |
3472 | 3913 | ||
3473 | if test "x$enable_chroot" != "xno"; then : | 3914 | if test "x$enable_chroot" != "xno" |
3915 | then : | ||
3474 | 3916 | ||
3475 | HAVE_CHROOT="-DHAVE_CHROOT" | 3917 | HAVE_CHROOT="-DHAVE_CHROOT" |
3476 | 3918 | ||
@@ -3479,11 +3921,13 @@ fi | |||
3479 | HAVE_GLOBALCFG="" | 3921 | HAVE_GLOBALCFG="" |
3480 | 3922 | ||
3481 | # Check whether --enable-globalcfg was given. | 3923 | # Check whether --enable-globalcfg was given. |
3482 | if test "${enable_globalcfg+set}" = set; then : | 3924 | if test ${enable_globalcfg+y} |
3925 | then : | ||
3483 | enableval=$enable_globalcfg; | 3926 | enableval=$enable_globalcfg; |
3484 | fi | 3927 | fi |
3485 | 3928 | ||
3486 | if test "x$enable_globalcfg" != "xno"; then : | 3929 | if test "x$enable_globalcfg" != "xno" |
3930 | then : | ||
3487 | 3931 | ||
3488 | HAVE_GLOBALCFG="-DHAVE_GLOBALCFG" | 3932 | HAVE_GLOBALCFG="-DHAVE_GLOBALCFG" |
3489 | 3933 | ||
@@ -3492,11 +3936,13 @@ fi | |||
3492 | HAVE_NETWORK="" | 3936 | HAVE_NETWORK="" |
3493 | 3937 | ||
3494 | # Check whether --enable-network was given. | 3938 | # Check whether --enable-network was given. |
3495 | if test "${enable_network+set}" = set; then : | 3939 | if test ${enable_network+y} |
3940 | then : | ||
3496 | enableval=$enable_network; | 3941 | enableval=$enable_network; |
3497 | fi | 3942 | fi |
3498 | 3943 | ||
3499 | if test "x$enable_network" != "xno"; then : | 3944 | if test "x$enable_network" != "xno" |
3945 | then : | ||
3500 | 3946 | ||
3501 | HAVE_NETWORK="-DHAVE_NETWORK" | 3947 | HAVE_NETWORK="-DHAVE_NETWORK" |
3502 | 3948 | ||
@@ -3505,11 +3951,13 @@ fi | |||
3505 | HAVE_USERNS="" | 3951 | HAVE_USERNS="" |
3506 | 3952 | ||
3507 | # Check whether --enable-userns was given. | 3953 | # Check whether --enable-userns was given. |
3508 | if test "${enable_userns+set}" = set; then : | 3954 | if test ${enable_userns+y} |
3955 | then : | ||
3509 | enableval=$enable_userns; | 3956 | enableval=$enable_userns; |
3510 | fi | 3957 | fi |
3511 | 3958 | ||
3512 | if test "x$enable_userns" != "xno"; then : | 3959 | if test "x$enable_userns" != "xno" |
3960 | then : | ||
3513 | 3961 | ||
3514 | HAVE_USERNS="-DHAVE_USERNS" | 3962 | HAVE_USERNS="-DHAVE_USERNS" |
3515 | 3963 | ||
@@ -3518,11 +3966,13 @@ fi | |||
3518 | HAVE_X11="" | 3966 | HAVE_X11="" |
3519 | 3967 | ||
3520 | # Check whether --enable-x11 was given. | 3968 | # Check whether --enable-x11 was given. |
3521 | if test "${enable_x11+set}" = set; then : | 3969 | if test ${enable_x11+y} |
3970 | then : | ||
3522 | enableval=$enable_x11; | 3971 | enableval=$enable_x11; |
3523 | fi | 3972 | fi |
3524 | 3973 | ||
3525 | if test "x$enable_x11" != "xno"; then : | 3974 | if test "x$enable_x11" != "xno" |
3975 | then : | ||
3526 | 3976 | ||
3527 | HAVE_X11="-DHAVE_X11" | 3977 | HAVE_X11="-DHAVE_X11" |
3528 | 3978 | ||
@@ -3531,11 +3981,13 @@ fi | |||
3531 | HAVE_FILE_TRANSFER="" | 3981 | HAVE_FILE_TRANSFER="" |
3532 | 3982 | ||
3533 | # Check whether --enable-file-transfer was given. | 3983 | # Check whether --enable-file-transfer was given. |
3534 | if test "${enable_file_transfer+set}" = set; then : | 3984 | if test ${enable_file_transfer+y} |
3985 | then : | ||
3535 | enableval=$enable_file_transfer; | 3986 | enableval=$enable_file_transfer; |
3536 | fi | 3987 | fi |
3537 | 3988 | ||
3538 | if test "x$enable_file_transfer" != "xno"; then : | 3989 | if test "x$enable_file_transfer" != "xno" |
3990 | then : | ||
3539 | 3991 | ||
3540 | HAVE_FILE_TRANSFER="-DHAVE_FILE_TRANSFER" | 3992 | HAVE_FILE_TRANSFER="-DHAVE_FILE_TRANSFER" |
3541 | 3993 | ||
@@ -3544,11 +3996,13 @@ fi | |||
3544 | HAVE_SUID="" | 3996 | HAVE_SUID="" |
3545 | 3997 | ||
3546 | # Check whether --enable-suid was given. | 3998 | # Check whether --enable-suid was given. |
3547 | if test "${enable_suid+set}" = set; then : | 3999 | if test ${enable_suid+y} |
4000 | then : | ||
3548 | enableval=$enable_suid; | 4001 | enableval=$enable_suid; |
3549 | fi | 4002 | fi |
3550 | 4003 | ||
3551 | if test "x$enable_suid" != "xno"; then : | 4004 | if test "x$enable_suid" != "xno" |
4005 | then : | ||
3552 | 4006 | ||
3553 | HAVE_SUID="-DHAVE_SUID" | 4007 | HAVE_SUID="-DHAVE_SUID" |
3554 | 4008 | ||
@@ -3557,11 +4011,13 @@ fi | |||
3557 | HAVE_FATAL_WARNINGS="" | 4011 | HAVE_FATAL_WARNINGS="" |
3558 | 4012 | ||
3559 | # Check whether --enable-fatal_warnings was given. | 4013 | # Check whether --enable-fatal_warnings was given. |
3560 | if test "${enable_fatal_warnings+set}" = set; then : | 4014 | if test ${enable_fatal_warnings+y} |
4015 | then : | ||
3561 | enableval=$enable_fatal_warnings; | 4016 | enableval=$enable_fatal_warnings; |
3562 | fi | 4017 | fi |
3563 | 4018 | ||
3564 | if test "x$enable_fatal_warnings" = "xyes"; then : | 4019 | if test "x$enable_fatal_warnings" = "xyes" |
4020 | then : | ||
3565 | 4021 | ||
3566 | HAVE_FATAL_WARNINGS="-W -Werror" | 4022 | HAVE_FATAL_WARNINGS="-W -Werror" |
3567 | 4023 | ||
@@ -3570,11 +4026,13 @@ fi | |||
3570 | BUSYBOX_WORKAROUND="no" | 4026 | BUSYBOX_WORKAROUND="no" |
3571 | 4027 | ||
3572 | # Check whether --enable-busybox-workaround was given. | 4028 | # Check whether --enable-busybox-workaround was given. |
3573 | if test "${enable_busybox_workaround+set}" = set; then : | 4029 | if test ${enable_busybox_workaround+y} |
4030 | then : | ||
3574 | enableval=$enable_busybox_workaround; | 4031 | enableval=$enable_busybox_workaround; |
3575 | fi | 4032 | fi |
3576 | 4033 | ||
3577 | if test "x$enable_busybox_workaround" = "xyes"; then : | 4034 | if test "x$enable_busybox_workaround" = "xyes" |
4035 | then : | ||
3578 | 4036 | ||
3579 | BUSYBOX_WORKAROUND="yes" | 4037 | BUSYBOX_WORKAROUND="yes" |
3580 | 4038 | ||
@@ -3583,11 +4041,13 @@ fi | |||
3583 | HAVE_GCOV="" | 4041 | HAVE_GCOV="" |
3584 | 4042 | ||
3585 | # Check whether --enable-gcov was given. | 4043 | # Check whether --enable-gcov was given. |
3586 | if test "${enable_gcov+set}" = set; then : | 4044 | if test ${enable_gcov+y} |
4045 | then : | ||
3587 | enableval=$enable_gcov; | 4046 | enableval=$enable_gcov; |
3588 | fi | 4047 | fi |
3589 | 4048 | ||
3590 | if test "x$enable_gcov" = "xyes"; then : | 4049 | if test "x$enable_gcov" = "xyes" |
4050 | then : | ||
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 | |||
3598 | HAVE_CONTRIB_INSTALL="yes" | 4058 | HAVE_CONTRIB_INSTALL="yes" |
3599 | 4059 | ||
3600 | # Check whether --enable-contrib-install was given. | 4060 | # Check whether --enable-contrib-install was given. |
3601 | if test "${enable_contrib_install+set}" = set; then : | 4061 | if test ${enable_contrib_install+y} |
4062 | then : | ||
3602 | enableval=$enable_contrib_install; | 4063 | enableval=$enable_contrib_install; |
3603 | fi | 4064 | fi |
3604 | 4065 | ||
3605 | if test "x$enable_contrib_install" = "xno"; then : | 4066 | if test "x$enable_contrib_install" = "xno" |
4067 | then : | ||
3606 | 4068 | ||
3607 | HAVE_CONTRIB_INSTALL="no" | 4069 | HAVE_CONTRIB_INSTALL="no" |
3608 | 4070 | ||
@@ -3611,11 +4073,13 @@ fi | |||
3611 | HAVE_FORCE_NONEWPRIVS="" | 4073 | HAVE_FORCE_NONEWPRIVS="" |
3612 | 4074 | ||
3613 | # Check whether --enable-force-nonewprivs was given. | 4075 | # Check whether --enable-force-nonewprivs was given. |
3614 | if test "${enable_force_nonewprivs+set}" = set; then : | 4076 | if test ${enable_force_nonewprivs+y} |
4077 | then : | ||
3615 | enableval=$enable_force_nonewprivs; | 4078 | enableval=$enable_force_nonewprivs; |
3616 | fi | 4079 | fi |
3617 | 4080 | ||
3618 | if test "x$enable_force_nonewprivs" = "xyes"; then : | 4081 | if test "x$enable_force_nonewprivs" = "xyes" |
4082 | then : | ||
3619 | 4083 | ||
3620 | HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" | 4084 | HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" |
3621 | 4085 | ||
@@ -3624,11 +4088,13 @@ fi | |||
3624 | HAVE_ONLY_SYSCFG_PROFILES="" | 4088 | HAVE_ONLY_SYSCFG_PROFILES="" |
3625 | 4089 | ||
3626 | # Check whether --enable-only-syscfg-profiles was given. | 4090 | # Check whether --enable-only-syscfg-profiles was given. |
3627 | if test "${enable_only_syscfg_profiles+set}" = set; then : | 4091 | if test ${enable_only_syscfg_profiles+y} |
4092 | then : | ||
3628 | enableval=$enable_only_syscfg_profiles; | 4093 | enableval=$enable_only_syscfg_profiles; |
3629 | fi | 4094 | fi |
3630 | 4095 | ||
3631 | if test "x$enable_only_syscfg_profiles" = "xyes"; then : | 4096 | if test "x$enable_only_syscfg_profiles" = "xyes" |
4097 | then : | ||
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 | |||
3637 | HAVE_LTS="" | 4103 | HAVE_LTS="" |
3638 | 4104 | ||
3639 | # Check whether --enable-lts was given. | 4105 | # Check whether --enable-lts was given. |
3640 | if test "${enable_lts+set}" = set; then : | 4106 | if test ${enable_lts+y} |
4107 | then : | ||
3641 | enableval=$enable_lts; | 4108 | enableval=$enable_lts; |
3642 | fi | 4109 | fi |
3643 | 4110 | ||
3644 | if test "x$enable_lts" = "xyes"; then : | 4111 | if test "x$enable_lts" = "xyes" |
4112 | then : | ||
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 | ||
3665 | fi | 4133 | fi |
3666 | 4134 | ||
3667 | ac_ext=c | 4135 | ac_header= ac_cache= |
3668 | ac_cpp='$CPP $CPPFLAGS' | 4136 | for ac_item in $ac_header_c_list |
3669 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3670 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3671 | ac_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. | ||
3675 | if test -n "$CPP" && test -d "$CPP"; then | ||
3676 | CPP= | ||
3677 | fi | ||
3678 | if test -z "$CPP"; then | ||
3679 | if ${ac_cv_prog_CPP+:} false; then : | ||
3680 | $as_echo_n "(cached) " >&6 | ||
3681 | else | ||
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 | ||
3686 | for ac_c_preproc_warn_flag in '' yes | ||
3687 | do | ||
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 | ||
3703 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3704 | |||
3705 | else | ||
3706 | # Broken: fails on valid input. | ||
3707 | continue | ||
3708 | fi | ||
3709 | rm -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 | ||
3717 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3718 | # Broken: success on invalid input. | ||
3719 | continue | ||
3720 | else | ||
3721 | # Passes both tests. | ||
3722 | ac_preproc_ok=: | ||
3723 | break | ||
3724 | fi | ||
3725 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
3726 | |||
3727 | done | ||
3728 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
3729 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
3730 | if $ac_preproc_ok; then : | ||
3731 | break | ||
3732 | fi | ||
3733 | |||
3734 | done | ||
3735 | ac_cv_prog_CPP=$CPP | ||
3736 | |||
3737 | fi | ||
3738 | CPP=$ac_cv_prog_CPP | ||
3739 | else | ||
3740 | ac_cv_prog_CPP=$CPP | ||
3741 | fi | ||
3742 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | ||
3743 | $as_echo "$CPP" >&6; } | ||
3744 | ac_preproc_ok=false | ||
3745 | for ac_c_preproc_warn_flag in '' yes | ||
3746 | do | 4137 | do |
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 | ||
3762 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3763 | |||
3764 | else | ||
3765 | # Broken: fails on valid input. | ||
3766 | continue | ||
3767 | fi | ||
3768 | rm -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 | ||
3776 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3777 | # Broken: success on invalid input. | ||
3778 | continue | ||
3779 | else | ||
3780 | # Passes both tests. | ||
3781 | ac_preproc_ok=: | ||
3782 | break | ||
3783 | fi | ||
3784 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
3785 | |||
3786 | done | ||
3787 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
3788 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
3789 | if $ac_preproc_ok; then : | ||
3790 | |||
3791 | else | ||
3792 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
3793 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3794 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | ||
3795 | See \`config.log' for more details" "$LINENO" 5; } | ||
3796 | fi | ||
3797 | |||
3798 | ac_ext=c | ||
3799 | ac_cpp='$CPP $CPPFLAGS' | ||
3800 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3801 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3802 | ac_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; } | ||
3807 | if ${ac_cv_path_GREP+:} false; then : | ||
3808 | $as_echo_n "(cached) " >&6 | ||
3809 | else | ||
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 | ||
3814 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
3815 | do | ||
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 | ||
3824 | case `"$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 |
3848 | esac | 4147 | ac_header=$ac_item |
3849 | |||
3850 | $ac_path_GREP_found && break 3 | ||
3851 | done | ||
3852 | done | ||
3853 | done | ||
3854 | IFS=$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 | ||
3858 | else | ||
3859 | ac_cv_path_GREP=$GREP | ||
3860 | fi | ||
3861 | |||
3862 | fi | ||
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; } | ||
3870 | if ${ac_cv_path_EGREP+:} false; then : | ||
3871 | $as_echo_n "(cached) " >&6 | ||
3872 | else | ||
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 | ||
3880 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
3881 | do | ||
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 | ||
3890 | case `"$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;; | ||
3914 | esac | ||
3915 | |||
3916 | $ac_path_EGREP_found && break 3 | ||
3917 | done | ||
3918 | done | ||
3919 | done | ||
3920 | IFS=$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 |
3924 | else | 4149 | done |
3925 | ac_cv_path_EGREP=$EGREP | ||
3926 | fi | ||
3927 | |||
3928 | fi | ||
3929 | fi | ||
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; } | ||
3937 | if ${ac_cv_header_stdc+:} false; then : | ||
3938 | $as_echo_n "(cached) " >&6 | ||
3939 | else | ||
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 | |||
3947 | int | ||
3948 | main () | ||
3949 | { | ||
3950 | |||
3951 | ; | ||
3952 | return 0; | ||
3953 | } | ||
3954 | _ACEOF | ||
3955 | if ac_fn_c_try_compile "$LINENO"; then : | ||
3956 | ac_cv_header_stdc=yes | ||
3957 | else | ||
3958 | ac_cv_header_stdc=no | ||
3959 | fi | ||
3960 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3961 | |||
3962 | if 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 | ||
3969 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
3970 | $EGREP "memchr" >/dev/null 2>&1; then : | ||
3971 | |||
3972 | else | ||
3973 | ac_cv_header_stdc=no | ||
3974 | fi | ||
3975 | rm -f conftest* | ||
3976 | |||
3977 | fi | ||
3978 | |||
3979 | if 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 | ||
3986 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
3987 | $EGREP "free" >/dev/null 2>&1; then : | ||
3988 | 4150 | ||
3989 | else | ||
3990 | ac_cv_header_stdc=no | ||
3991 | fi | ||
3992 | rm -f conftest* | ||
3993 | 4151 | ||
3994 | fi | ||
3995 | 4152 | ||
3996 | if 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 | : | ||
4000 | else | ||
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))) | ||
4017 | int | ||
4018 | main () | ||
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 | ||
4028 | if ac_fn_c_try_run "$LINENO"; then : | ||
4029 | 4154 | ||
4030 | else | ||
4031 | ac_cv_header_stdc=no | ||
4032 | fi | ||
4033 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
4034 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
4035 | fi | ||
4036 | 4155 | ||
4037 | fi | ||
4038 | fi | ||
4039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | ||
4040 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
4041 | if test $ac_cv_header_stdc = yes; then | ||
4042 | 4156 | ||
4043 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | ||
4044 | 4157 | ||
4045 | fi | 4158 | if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
4159 | then : | ||
4046 | 4160 | ||
4047 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4161 | printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
4048 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
4049 | inttypes.h stdint.h unistd.h | ||
4050 | do : | ||
4051 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
4052 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | ||
4053 | " | ||
4054 | if 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 | ||
4059 | fi | 4163 | fi |
4164 | ac_fn_c_check_header_compile "$LINENO" "linux/seccomp.h" "ac_cv_header_linux_seccomp_h" "$ac_includes_default" | ||
4165 | if test "x$ac_cv_header_linux_seccomp_h" = xyes | ||
4166 | then : | ||
4060 | 4167 | ||
4061 | done | 4168 | else $as_nop |
4062 | |||
4063 | |||
4064 | ac_fn_c_check_header_mongrel "$LINENO" "linux/seccomp.h" "ac_cv_header_linux_seccomp_h" "$ac_includes_default" | ||
4065 | if test "x$ac_cv_header_linux_seccomp_h" = xyes; then : | ||
4066 | |||
4067 | else | ||
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 |
4069 | fi | 4170 | fi |
4070 | 4171 | ||
4071 | 4172 | ||
4072 | |||
4073 | # set sysconfdir | 4173 | # set sysconfdir |
4074 | if test "$prefix" = /usr; then | 4174 | if 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;} ;; | 4208 | printf "%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 |
4142 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 4242 | if 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;} | 4246 | printf "%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;} | 4261 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
4162 | fi | 4262 | fi |
4163 | fi | 4263 | fi |
4164 | rm -f confcache | 4264 | rm -f confcache |
@@ -4211,7 +4311,7 @@ U= | |||
4211 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 4311 | for 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 | |||
4227 | ac_write_fail=0 | 4327 | ac_write_fail=0 |
4228 | ac_clean_files_save=$ac_clean_files | 4328 | ac_clean_files_save=$ac_clean_files |
4229 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 4329 | ac_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;} | 4331 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
4232 | as_write_fail=0 | 4332 | as_write_fail=0 |
4233 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 4333 | cat >$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 |
4253 | DUALCASE=1; export DUALCASE # for MKS sh | 4353 | DUALCASE=1; export DUALCASE # for MKS sh |
4254 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 4354 | as_nop=: |
4355 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 | ||
4356 | then : | ||
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 |
4261 | else | 4363 | else $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 | |||
4268 | fi | 4370 | fi |
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. | ||
4271 | as_nl=' | 4381 | as_nl=' |
4272 | ' | 4382 | ' |
4273 | export as_nl | 4383 | export as_nl |
4274 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 4384 | IFS=" "" $as_nl" |
4275 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 4385 | |
4276 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 4386 | PS1='$ ' |
4277 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 4387 | PS2='> ' |
4278 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 4388 | PS4='+ ' |
4279 | # but without wasting forks for bash or zsh. | 4389 | |
4280 | if 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 | 4391 | LC_ALL=C |
4282 | as_echo='print -r --' | 4392 | export LC_ALL |
4283 | as_echo_n='print -rn --' | 4393 | LANGUAGE=C |
4284 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 4394 | export 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 |
4287 | else | 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 | 4401 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
4292 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 4402 | do 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; | 4404 | done |
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"; | 4407 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
4298 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 4408 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
4299 | esac; | 4409 | if (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' | ||
4307 | fi | ||
4308 | 4410 | ||
4309 | # The user is always right. | 4411 | # The user is always right. |
4310 | if test "${PATH_SEPARATOR+set}" != set; then | 4412 | if ${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 | |||
4316 | fi | 4418 | fi |
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.) | ||
4324 | IFS=" "" $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. |
4327 | as_myself= | 4422 | as_myself= |
4328 | case $0 in #(( | 4423 | case $0 in #(( |
@@ -4331,8 +4426,12 @@ case $0 in #(( | |||
4331 | for as_dir in $PATH | 4426 | for as_dir in $PATH |
4332 | do | 4427 | do |
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 |
4337 | IFS=$as_save_IFS | 4436 | IFS=$as_save_IFS |
4338 | 4437 | ||
@@ -4344,30 +4443,10 @@ if test "x$as_myself" = x; then | |||
4344 | as_myself=$0 | 4443 | as_myself=$0 |
4345 | fi | 4444 | fi |
4346 | if test ! -f "$as_myself"; then | 4445 | if 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 |
4349 | fi | 4448 | fi |
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. | ||
4355 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
4356 | do eval test x\${$as_var+set} = xset \ | ||
4357 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
4358 | done | ||
4359 | PS1='$ ' | ||
4360 | PS2='> ' | ||
4361 | PS4='+ ' | ||
4362 | |||
4363 | # NLS nuisances. | ||
4364 | LC_ALL=C | ||
4365 | export LC_ALL | ||
4366 | LANGUAGE=C | ||
4367 | export 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 | } |
4415 | as_unset=as_fn_unset | 4495 | as_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. |
4422 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 4503 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
4504 | then : | ||
4423 | eval 'as_fn_append () | 4505 | eval 'as_fn_append () |
4424 | { | 4506 | { |
4425 | eval $1+=\$2 | 4507 | eval $1+=\$2 |
4426 | }' | 4508 | }' |
4427 | else | 4509 | else $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. |
4439 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 4521 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
4522 | then : | ||
4440 | eval 'as_fn_arith () | 4523 | eval 'as_fn_arith () |
4441 | { | 4524 | { |
4442 | as_val=$(( $* )) | 4525 | as_val=$(( $* )) |
4443 | }' | 4526 | }' |
4444 | else | 4527 | else $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" | | 4558 | printf "%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 | |||
4494 | as_cr_digits='0123456789' | 4577 | as_cr_digits='0123456789' |
4495 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 4578 | as_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. | ||
4497 | ECHO_C= ECHO_N= ECHO_T= | 4584 | ECHO_C= ECHO_N= ECHO_T= |
4498 | case `echo -n x` in #((((( | 4585 | case `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';; |
4508 | esac | 4595 | esac |
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. | ||
4600 | as_echo='printf %s\n' | ||
4601 | as_echo_n='printf %s' | ||
4602 | |||
4510 | rm -f conf$$ conf$$.exe conf$$.file | 4603 | rm -f conf$$ conf$$.exe conf$$.file |
4511 | if test -d conf$$.dir; then | 4604 | if 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" | | 4653 | printf "%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. |
4621 | ac_log=" | 4714 | ac_log=" |
4622 | This file was extended by firejail $as_me 0.9.73, which was | 4715 | This file was extended by firejail $as_me 0.9.73, which was |
4623 | generated by GNU Autoconf 2.69. Invocation command line was | 4716 | generated 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>. | |||
4670 | firejail home page: <https://firejail.wordpress.com>." | 4763 | firejail home page: <https://firejail.wordpress.com>." |
4671 | 4764 | ||
4672 | _ACEOF | 4765 | _ACEOF |
4766 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` | ||
4767 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` | ||
4673 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 4768 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4674 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 4769 | ac_cs_config='$ac_cs_config_escaped' |
4675 | ac_cs_version="\\ | 4770 | ac_cs_version="\\ |
4676 | firejail config.status 0.9.73 | 4771 | firejail config.status 0.9.73 |
4677 | configured by $0, generated by GNU Autoconf 2.69, | 4772 | configured by $0, generated by GNU Autoconf 2.71, |
4678 | with options \\"\$ac_cs_config\\" | 4773 | with options \\"\$ac_cs_config\\" |
4679 | 4774 | ||
4680 | Copyright (C) 2012 Free Software Foundation, Inc. | 4775 | Copyright (C) 2021 Free Software Foundation, Inc. |
4681 | This config.status script is free software; the Free Software Foundation | 4776 | This config.status script is free software; the Free Software Foundation |
4682 | gives unlimited permission to copy, distribute and modify it." | 4777 | gives 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 | |||
4756 | if \$ac_cs_recheck; then | 4851 | if \$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. |
4798 | if $ac_need_defaults; then | 4893 | if $ac_need_defaults; then |
4799 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 4894 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
4800 | fi | 4895 | fi |
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;} | 5135 | printf "%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" | | 5157 | printf "%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" | | |||
5083 | case "$ac_dir" in | 5178 | case "$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=' | |||
5138 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 5233 | case `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;} | 5237 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
5143 | _ACEOF | 5238 | _ACEOF |
5144 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 5239 | cat >>$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' |
5185 | which seems to be undefined. Please make sure it is defined" >&5 | 5280 | which 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' | 5281 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5187 | which seems to be undefined. Please make sure it is defined" >&2;} | 5282 | which 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 |
5231 | fi | 5326 | fi |
5232 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 5327 | if 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;} | 5329 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
5235 | fi | 5330 | fi |
5236 | 5331 | ||
5237 | 5332 | ||
@@ -5286,3 +5381,4 @@ if test "$HAVE_LTS" = -DHAVE_LTS; then | |||
5286 | 5381 | ||
5287 | EOF | 5382 | EOF |
5288 | fi | 5383 | fi |
5384 | |||