diff options
author | netblue30 <netblue30@yahoo.com> | 2015-08-08 19:12:30 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-08-08 19:12:30 -0400 |
commit | 1379851360349d6617ad32944a25ee5e2bb74fc2 (patch) | |
tree | f69b48e90708bfa3c2723d5a27ed3e024c827b43 /configure | |
parent | delete files (diff) | |
download | firejail-1379851360349d6617ad32944a25ee5e2bb74fc2.tar.gz firejail-1379851360349d6617ad32944a25ee5e2bb74fc2.tar.zst firejail-1379851360349d6617ad32944a25ee5e2bb74fc2.zip |
Baseline firejail 0.9.28
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4723 |
1 files changed, 4723 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 000000000..50abe97c2 --- /dev/null +++ b/configure | |||
@@ -0,0 +1,4723 @@ | |||
1 | #! /bin/sh | ||
2 | # Guess values for system-dependent variables and create Makefiles. | ||
3 | # Generated by GNU Autoconf 2.69 for firejail 0.9.28. | ||
4 | # | ||
5 | # Report bugs to <netblue30@yahoo.com>. | ||
6 | # | ||
7 | # | ||
8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | ||
9 | # | ||
10 | # | ||
11 | # This configure script is free software; the Free Software Foundation | ||
12 | # gives unlimited permission to copy, distribute and modify it. | ||
13 | ## -------------------- ## | ||
14 | ## M4sh Initialization. ## | ||
15 | ## -------------------- ## | ||
16 | |||
17 | # Be more Bourne compatible | ||
18 | DUALCASE=1; export DUALCASE # for MKS sh | ||
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
20 | emulate sh | ||
21 | NULLCMD=: | ||
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
23 | # is contrary to our usage. Disable this feature. | ||
24 | alias -g '${1+"$@"}'='"$@"' | ||
25 | setopt NO_GLOB_SUBST | ||
26 | else | ||
27 | case `(set -o) 2>/dev/null` in #( | ||
28 | *posix*) : | ||
29 | set -o posix ;; #( | ||
30 | *) : | ||
31 | ;; | ||
32 | esac | ||
33 | fi | ||
34 | |||
35 | |||
36 | as_nl=' | ||
37 | ' | ||
38 | export as_nl | ||
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
44 | # but without wasting forks for bash or zsh. | ||
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
47 | as_echo='print -r --' | ||
48 | as_echo_n='print -rn --' | ||
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
50 | as_echo='printf %s\n' | ||
51 | as_echo_n='printf %s' | ||
52 | else | ||
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
55 | as_echo_n='/usr/ucb/echo -n' | ||
56 | else | ||
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
58 | as_echo_n_body='eval | ||
59 | arg=$1; | ||
60 | case $arg in #( | ||
61 | *"$as_nl"*) | ||
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
64 | esac; | ||
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 | |||
74 | # The user is always right. | ||
75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
76 | PATH_SEPARATOR=: | ||
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
79 | PATH_SEPARATOR=';' | ||
80 | } | ||
81 | fi | ||
82 | |||
83 | |||
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. | ||
92 | as_myself= | ||
93 | case $0 in #(( | ||
94 | *[\\/]* ) as_myself=$0 ;; | ||
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
96 | for as_dir in $PATH | ||
97 | do | ||
98 | IFS=$as_save_IFS | ||
99 | test -z "$as_dir" && as_dir=. | ||
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
101 | done | ||
102 | IFS=$as_save_IFS | ||
103 | |||
104 | ;; | ||
105 | esac | ||
106 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
107 | # in which case we are not to be found in the path. | ||
108 | if test "x$as_myself" = x; then | ||
109 | as_myself=$0 | ||
110 | fi | ||
111 | if test ! -f "$as_myself"; then | ||
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
113 | exit 1 | ||
114 | fi | ||
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 | |||
137 | # Use a proper internal environment variable to ensure we don't fall | ||
138 | # into an infinite loop, continuously re-executing ourselves. | ||
139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | ||
140 | _as_can_reexec=no; export _as_can_reexec; | ||
141 | # We cannot yet assume a decent shell, so we have to provide a | ||
142 | # neutralization value for shells without unset; and this also | ||
143 | # works around shells that cannot unset nonexistent variables. | ||
144 | # Preserve -v and -x to the replacement shell. | ||
145 | BASH_ENV=/dev/null | ||
146 | ENV=/dev/null | ||
147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
148 | case $- in # (((( | ||
149 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
150 | *v* ) as_opts=-v ;; | ||
151 | *x* ) as_opts=-x ;; | ||
152 | * ) as_opts= ;; | ||
153 | esac | ||
154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
155 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
156 | # out after a failed `exec'. | ||
157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
158 | as_fn_exit 255 | ||
159 | fi | ||
160 | # We don't want this to propagate to other subprocesses. | ||
161 | { _as_can_reexec=; unset _as_can_reexec;} | ||
162 | if test "x$CONFIG_SHELL" = x; then | ||
163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | ||
164 | emulate sh | ||
165 | NULLCMD=: | ||
166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
167 | # is contrary to our usage. Disable this feature. | ||
168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
169 | setopt NO_GLOB_SUBST | ||
170 | else | ||
171 | case \`(set -o) 2>/dev/null\` in #( | ||
172 | *posix*) : | ||
173 | set -o posix ;; #( | ||
174 | *) : | ||
175 | ;; | ||
176 | esac | ||
177 | fi | ||
178 | " | ||
179 | as_required="as_fn_return () { (exit \$1); } | ||
180 | as_fn_success () { as_fn_return 0; } | ||
181 | as_fn_failure () { as_fn_return 1; } | ||
182 | as_fn_ret_success () { return 0; } | ||
183 | as_fn_ret_failure () { return 1; } | ||
184 | |||
185 | exitcode=0 | ||
186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
188 | 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.; } | ||
190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
191 | |||
192 | else | ||
193 | exitcode=1; echo positional parameters were not saved. | ||
194 | fi | ||
195 | test x\$exitcode = x0 || exit 1 | ||
196 | test -x / || exit 1" | ||
197 | 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 | ||
199 | 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 | ||
201 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
202 | if (eval "$as_required") 2>/dev/null; then : | ||
203 | as_have_required=yes | ||
204 | else | ||
205 | as_have_required=no | ||
206 | fi | ||
207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
208 | |||
209 | else | ||
210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
211 | as_found=false | ||
212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
213 | do | ||
214 | IFS=$as_save_IFS | ||
215 | test -z "$as_dir" && as_dir=. | ||
216 | as_found=: | ||
217 | case $as_dir in #( | ||
218 | /*) | ||
219 | for as_base in sh bash ksh sh5; do | ||
220 | # Try only shells that exist, to save several forks. | ||
221 | as_shell=$as_dir/$as_base | ||
222 | 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 : | ||
224 | 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 : | ||
226 | break 2 | ||
227 | fi | ||
228 | fi | ||
229 | done;; | ||
230 | esac | ||
231 | as_found=false | ||
232 | 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 | ||
238 | |||
239 | |||
240 | if test "x$CONFIG_SHELL" != x; then : | ||
241 | export CONFIG_SHELL | ||
242 | # We cannot yet assume a decent shell, so we have to provide a | ||
243 | # neutralization value for shells without unset; and this also | ||
244 | # works around shells that cannot unset nonexistent variables. | ||
245 | # Preserve -v and -x to the replacement shell. | ||
246 | BASH_ENV=/dev/null | ||
247 | ENV=/dev/null | ||
248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
249 | case $- in # (((( | ||
250 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
251 | *v* ) as_opts=-v ;; | ||
252 | *x* ) as_opts=-x ;; | ||
253 | * ) as_opts= ;; | ||
254 | esac | ||
255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
256 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
257 | # out after a failed `exec'. | ||
258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
259 | exit 255 | ||
260 | fi | ||
261 | |||
262 | if test x$as_have_required = xno; then : | ||
263 | $as_echo "$0: This script requires a shell more modern than all" | ||
264 | $as_echo "$0: the shells that I found on your system." | ||
265 | if test x${ZSH_VERSION+set} = xset ; then | ||
266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
268 | else | ||
269 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | ||
270 | $0: netblue30@yahoo.com about your system, including any | ||
271 | $0: error possibly output before this message. Then install | ||
272 | $0: a modern shell, or manually run the script under such a | ||
273 | $0: shell if you do have one." | ||
274 | fi | ||
275 | exit 1 | ||
276 | fi | ||
277 | fi | ||
278 | fi | ||
279 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
280 | export SHELL | ||
281 | # Unset more variables known to interfere with behavior of common tools. | ||
282 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
283 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
284 | |||
285 | ## --------------------- ## | ||
286 | ## M4sh Shell Functions. ## | ||
287 | ## --------------------- ## | ||
288 | # as_fn_unset VAR | ||
289 | # --------------- | ||
290 | # Portably unset VAR. | ||
291 | as_fn_unset () | ||
292 | { | ||
293 | { eval $1=; unset $1;} | ||
294 | } | ||
295 | as_unset=as_fn_unset | ||
296 | |||
297 | # as_fn_set_status STATUS | ||
298 | # ----------------------- | ||
299 | # Set $? to STATUS, without forking. | ||
300 | as_fn_set_status () | ||
301 | { | ||
302 | return $1 | ||
303 | } # as_fn_set_status | ||
304 | |||
305 | # as_fn_exit STATUS | ||
306 | # ----------------- | ||
307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
308 | as_fn_exit () | ||
309 | { | ||
310 | set +e | ||
311 | as_fn_set_status $1 | ||
312 | exit $1 | ||
313 | } # as_fn_exit | ||
314 | |||
315 | # as_fn_mkdir_p | ||
316 | # ------------- | ||
317 | # Create "$as_dir" as a directory, including parents if necessary. | ||
318 | as_fn_mkdir_p () | ||
319 | { | ||
320 | |||
321 | case $as_dir in #( | ||
322 | -*) as_dir=./$as_dir;; | ||
323 | esac | ||
324 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
325 | as_dirs= | ||
326 | while :; do | ||
327 | case $as_dir in #( | ||
328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
329 | *) as_qdir=$as_dir;; | ||
330 | esac | ||
331 | as_dirs="'$as_qdir' $as_dirs" | ||
332 | as_dir=`$as_dirname -- "$as_dir" || | ||
333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
334 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
335 | X"$as_dir" : 'X\(//\)$' \| \ | ||
336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
337 | $as_echo X"$as_dir" | | ||
338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
339 | s//\1/ | ||
340 | q | ||
341 | } | ||
342 | /^X\(\/\/\)[^/].*/{ | ||
343 | s//\1/ | ||
344 | q | ||
345 | } | ||
346 | /^X\(\/\/\)$/{ | ||
347 | s//\1/ | ||
348 | q | ||
349 | } | ||
350 | /^X\(\/\).*/{ | ||
351 | s//\1/ | ||
352 | q | ||
353 | } | ||
354 | s/.*/./; q'` | ||
355 | test -d "$as_dir" && break | ||
356 | done | ||
357 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
359 | |||
360 | |||
361 | } # as_fn_mkdir_p | ||
362 | |||
363 | # as_fn_executable_p FILE | ||
364 | # ----------------------- | ||
365 | # Test if FILE is an executable regular file. | ||
366 | as_fn_executable_p () | ||
367 | { | ||
368 | test -f "$1" && test -x "$1" | ||
369 | } # as_fn_executable_p | ||
370 | # as_fn_append VAR VALUE | ||
371 | # ---------------------- | ||
372 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
373 | # advantage of any shell optimizations that allow amortized linear growth over | ||
374 | # repeated appends, instead of the typical quadratic growth present in naive | ||
375 | # implementations. | ||
376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
377 | eval 'as_fn_append () | ||
378 | { | ||
379 | eval $1+=\$2 | ||
380 | }' | ||
381 | else | ||
382 | as_fn_append () | ||
383 | { | ||
384 | eval $1=\$$1\$2 | ||
385 | } | ||
386 | fi # as_fn_append | ||
387 | |||
388 | # as_fn_arith ARG... | ||
389 | # ------------------ | ||
390 | # 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 | ||
392 | # must be portable across $(()) and expr. | ||
393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
394 | eval 'as_fn_arith () | ||
395 | { | ||
396 | as_val=$(( $* )) | ||
397 | }' | ||
398 | else | ||
399 | as_fn_arith () | ||
400 | { | ||
401 | as_val=`expr "$@" || test $? -eq 1` | ||
402 | } | ||
403 | fi # as_fn_arith | ||
404 | |||
405 | |||
406 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
407 | # ---------------------------------------- | ||
408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
410 | # script with STATUS, using 1 if that was 0. | ||
411 | as_fn_error () | ||
412 | { | ||
413 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
414 | if test "$4"; then | ||
415 | 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 | ||
417 | fi | ||
418 | $as_echo "$as_me: error: $2" >&2 | ||
419 | as_fn_exit $as_status | ||
420 | } # as_fn_error | ||
421 | |||
422 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
424 | as_expr=expr | ||
425 | else | ||
426 | as_expr=false | ||
427 | fi | ||
428 | |||
429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
430 | as_basename=basename | ||
431 | else | ||
432 | as_basename=false | ||
433 | fi | ||
434 | |||
435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
436 | as_dirname=dirname | ||
437 | else | ||
438 | as_dirname=false | ||
439 | fi | ||
440 | |||
441 | as_me=`$as_basename -- "$0" || | ||
442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
443 | X"$0" : 'X\(//\)$' \| \ | ||
444 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
445 | $as_echo X/"$0" | | ||
446 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
447 | s//\1/ | ||
448 | q | ||
449 | } | ||
450 | /^X\/\(\/\/\)$/{ | ||
451 | s//\1/ | ||
452 | q | ||
453 | } | ||
454 | /^X\/\(\/\).*/{ | ||
455 | s//\1/ | ||
456 | q | ||
457 | } | ||
458 | s/.*/./; q'` | ||
459 | |||
460 | # Avoid depending upon Character Ranges. | ||
461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
464 | as_cr_digits='0123456789' | ||
465 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
466 | |||
467 | |||
468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
473 | sed -n ' | ||
474 | p | ||
475 | /[$]LINENO/= | ||
476 | ' <$as_myself | | ||
477 | sed ' | ||
478 | s/[$]LINENO.*/&-/ | ||
479 | t lineno | ||
480 | b | ||
481 | :lineno | ||
482 | N | ||
483 | :loop | ||
484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
485 | t loop | ||
486 | s/-\n.*// | ||
487 | ' >$as_me.lineno && | ||
488 | 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; } | ||
490 | |||
491 | # 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 | ||
493 | # in an infinite loop. This has already happened in practice. | ||
494 | _as_can_reexec=no; export _as_can_reexec | ||
495 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
496 | # (the dirname of $[0] is not the place where we might find the | ||
497 | # original and so on. Autoconf is especially sensitive to this). | ||
498 | . "./$as_me.lineno" | ||
499 | # Exit status is that of the last command. | ||
500 | exit | ||
501 | } | ||
502 | |||
503 | ECHO_C= ECHO_N= ECHO_T= | ||
504 | case `echo -n x` in #((((( | ||
505 | -n*) | ||
506 | case `echo 'xy\c'` in | ||
507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
508 | xy) ECHO_C='\c';; | ||
509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
510 | ECHO_T=' ';; | ||
511 | esac;; | ||
512 | *) | ||
513 | ECHO_N='-n';; | ||
514 | esac | ||
515 | |||
516 | rm -f conf$$ conf$$.exe conf$$.file | ||
517 | if test -d conf$$.dir; then | ||
518 | rm -f conf$$.dir/conf$$.file | ||
519 | else | ||
520 | rm -f conf$$.dir | ||
521 | mkdir conf$$.dir 2>/dev/null | ||
522 | fi | ||
523 | if (echo >conf$$.file) 2>/dev/null; then | ||
524 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
525 | as_ln_s='ln -s' | ||
526 | # ... but there are two gotchas: | ||
527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
529 | # In both cases, we have to default to `cp -pR'. | ||
530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
531 | as_ln_s='cp -pR' | ||
532 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
533 | as_ln_s=ln | ||
534 | else | ||
535 | as_ln_s='cp -pR' | ||
536 | fi | ||
537 | else | ||
538 | as_ln_s='cp -pR' | ||
539 | fi | ||
540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
541 | rmdir conf$$.dir 2>/dev/null | ||
542 | |||
543 | if mkdir -p . 2>/dev/null; then | ||
544 | as_mkdir_p='mkdir -p "$as_dir"' | ||
545 | else | ||
546 | test -d ./-p && rmdir ./-p | ||
547 | as_mkdir_p=false | ||
548 | fi | ||
549 | |||
550 | as_test_x='test -x' | ||
551 | as_executable_p=as_fn_executable_p | ||
552 | |||
553 | # Sed expression to map a string onto a valid CPP name. | ||
554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
555 | |||
556 | # Sed expression to map a string onto a valid variable name. | ||
557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
558 | |||
559 | |||
560 | test -n "$DJDIR" || exec 7<&0 </dev/null | ||
561 | exec 6>&1 | ||
562 | |||
563 | # Name of the host. | ||
564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | ||
565 | # so uname gets run too. | ||
566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
567 | |||
568 | # | ||
569 | # Initializations. | ||
570 | # | ||
571 | ac_default_prefix=/usr/local | ||
572 | ac_clean_files= | ||
573 | ac_config_libobj_dir=. | ||
574 | LIBOBJS= | ||
575 | cross_compiling=no | ||
576 | subdirs= | ||
577 | MFLAGS= | ||
578 | MAKEFLAGS= | ||
579 | |||
580 | # Identity of this package. | ||
581 | PACKAGE_NAME='firejail' | ||
582 | PACKAGE_TARNAME='firejail' | ||
583 | PACKAGE_VERSION='0.9.28' | ||
584 | PACKAGE_STRING='firejail 0.9.28' | ||
585 | PACKAGE_BUGREPORT='netblue30@yahoo.com' | ||
586 | PACKAGE_URL='http://firejail.sourceforge.net' | ||
587 | |||
588 | ac_unique_file="src/firejail/main.c" | ||
589 | # Factoring default headers for most tests. | ||
590 | ac_includes_default="\ | ||
591 | #include <stdio.h> | ||
592 | #ifdef HAVE_SYS_TYPES_H | ||
593 | # include <sys/types.h> | ||
594 | #endif | ||
595 | #ifdef HAVE_SYS_STAT_H | ||
596 | # include <sys/stat.h> | ||
597 | #endif | ||
598 | #ifdef STDC_HEADERS | ||
599 | # include <stdlib.h> | ||
600 | # include <stddef.h> | ||
601 | #else | ||
602 | # ifdef HAVE_STDLIB_H | ||
603 | # include <stdlib.h> | ||
604 | # endif | ||
605 | #endif | ||
606 | #ifdef HAVE_STRING_H | ||
607 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | ||
608 | # include <memory.h> | ||
609 | # endif | ||
610 | # include <string.h> | ||
611 | #endif | ||
612 | #ifdef HAVE_STRINGS_H | ||
613 | # include <strings.h> | ||
614 | #endif | ||
615 | #ifdef HAVE_INTTYPES_H | ||
616 | # include <inttypes.h> | ||
617 | #endif | ||
618 | #ifdef HAVE_STDINT_H | ||
619 | # include <stdint.h> | ||
620 | #endif | ||
621 | #ifdef HAVE_UNISTD_H | ||
622 | # include <unistd.h> | ||
623 | #endif" | ||
624 | |||
625 | ac_subst_vars='LTLIBOBJS | ||
626 | LIBOBJS | ||
627 | HAVE_SECCOMP_H | ||
628 | EGREP | ||
629 | GREP | ||
630 | CPP | ||
631 | HAVE_BIND | ||
632 | HAVE_CHROOT | ||
633 | HAVE_SECCOMP | ||
634 | RANLIB | ||
635 | INSTALL_DATA | ||
636 | INSTALL_SCRIPT | ||
637 | INSTALL_PROGRAM | ||
638 | OBJEXT | ||
639 | EXEEXT | ||
640 | ac_ct_CC | ||
641 | CPPFLAGS | ||
642 | LDFLAGS | ||
643 | CFLAGS | ||
644 | CC | ||
645 | target_alias | ||
646 | host_alias | ||
647 | build_alias | ||
648 | LIBS | ||
649 | ECHO_T | ||
650 | ECHO_N | ||
651 | ECHO_C | ||
652 | DEFS | ||
653 | mandir | ||
654 | localedir | ||
655 | libdir | ||
656 | psdir | ||
657 | pdfdir | ||
658 | dvidir | ||
659 | htmldir | ||
660 | infodir | ||
661 | docdir | ||
662 | oldincludedir | ||
663 | includedir | ||
664 | localstatedir | ||
665 | sharedstatedir | ||
666 | sysconfdir | ||
667 | datadir | ||
668 | datarootdir | ||
669 | libexecdir | ||
670 | sbindir | ||
671 | bindir | ||
672 | program_transform_name | ||
673 | prefix | ||
674 | exec_prefix | ||
675 | PACKAGE_URL | ||
676 | PACKAGE_BUGREPORT | ||
677 | PACKAGE_STRING | ||
678 | PACKAGE_VERSION | ||
679 | PACKAGE_TARNAME | ||
680 | PACKAGE_NAME | ||
681 | PATH_SEPARATOR | ||
682 | SHELL' | ||
683 | ac_subst_files='' | ||
684 | ac_user_opts=' | ||
685 | enable_option_checking | ||
686 | enable_seccomp | ||
687 | enable_chroot | ||
688 | enable_bind | ||
689 | ' | ||
690 | ac_precious_vars='build_alias | ||
691 | host_alias | ||
692 | target_alias | ||
693 | CC | ||
694 | CFLAGS | ||
695 | LDFLAGS | ||
696 | LIBS | ||
697 | CPPFLAGS | ||
698 | CPP' | ||
699 | |||
700 | |||
701 | # Initialize some variables set by options. | ||
702 | ac_init_help= | ||
703 | ac_init_version=false | ||
704 | ac_unrecognized_opts= | ||
705 | ac_unrecognized_sep= | ||
706 | # The variables have the same names as the options, with | ||
707 | # dashes changed to underlines. | ||
708 | cache_file=/dev/null | ||
709 | exec_prefix=NONE | ||
710 | no_create= | ||
711 | no_recursion= | ||
712 | prefix=NONE | ||
713 | program_prefix=NONE | ||
714 | program_suffix=NONE | ||
715 | program_transform_name=s,x,x, | ||
716 | silent= | ||
717 | site= | ||
718 | srcdir= | ||
719 | verbose= | ||
720 | x_includes=NONE | ||
721 | x_libraries=NONE | ||
722 | |||
723 | # Installation directory options. | ||
724 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
725 | # and all the variables that are supposed to be based on exec_prefix | ||
726 | # by default will actually change. | ||
727 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
728 | # (The list follows the same order as the GNU Coding Standards.) | ||
729 | bindir='${exec_prefix}/bin' | ||
730 | sbindir='${exec_prefix}/sbin' | ||
731 | libexecdir='${exec_prefix}/libexec' | ||
732 | datarootdir='${prefix}/share' | ||
733 | datadir='${datarootdir}' | ||
734 | sysconfdir='${prefix}/etc' | ||
735 | sharedstatedir='${prefix}/com' | ||
736 | localstatedir='${prefix}/var' | ||
737 | includedir='${prefix}/include' | ||
738 | oldincludedir='/usr/include' | ||
739 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
740 | infodir='${datarootdir}/info' | ||
741 | htmldir='${docdir}' | ||
742 | dvidir='${docdir}' | ||
743 | pdfdir='${docdir}' | ||
744 | psdir='${docdir}' | ||
745 | libdir='${exec_prefix}/lib' | ||
746 | localedir='${datarootdir}/locale' | ||
747 | mandir='${datarootdir}/man' | ||
748 | |||
749 | ac_prev= | ||
750 | ac_dashdash= | ||
751 | for ac_option | ||
752 | do | ||
753 | # If the previous option needs an argument, assign it. | ||
754 | if test -n "$ac_prev"; then | ||
755 | eval $ac_prev=\$ac_option | ||
756 | ac_prev= | ||
757 | continue | ||
758 | fi | ||
759 | |||
760 | case $ac_option in | ||
761 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
762 | *=) ac_optarg= ;; | ||
763 | *) ac_optarg=yes ;; | ||
764 | esac | ||
765 | |||
766 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
767 | |||
768 | case $ac_dashdash$ac_option in | ||
769 | --) | ||
770 | ac_dashdash=yes ;; | ||
771 | |||
772 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
773 | ac_prev=bindir ;; | ||
774 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
775 | bindir=$ac_optarg ;; | ||
776 | |||
777 | -build | --build | --buil | --bui | --bu) | ||
778 | ac_prev=build_alias ;; | ||
779 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
780 | build_alias=$ac_optarg ;; | ||
781 | |||
782 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
783 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
784 | ac_prev=cache_file ;; | ||
785 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
786 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
787 | cache_file=$ac_optarg ;; | ||
788 | |||
789 | --config-cache | -C) | ||
790 | cache_file=config.cache ;; | ||
791 | |||
792 | -datadir | --datadir | --datadi | --datad) | ||
793 | ac_prev=datadir ;; | ||
794 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | ||
795 | datadir=$ac_optarg ;; | ||
796 | |||
797 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
798 | | --dataroo | --dataro | --datar) | ||
799 | ac_prev=datarootdir ;; | ||
800 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
801 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
802 | datarootdir=$ac_optarg ;; | ||
803 | |||
804 | -disable-* | --disable-*) | ||
805 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
806 | # Reject names that are not valid shell variable names. | ||
807 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
808 | as_fn_error $? "invalid feature name: $ac_useropt" | ||
809 | ac_useropt_orig=$ac_useropt | ||
810 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
811 | case $ac_user_opts in | ||
812 | *" | ||
813 | "enable_$ac_useropt" | ||
814 | "*) ;; | ||
815 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
816 | ac_unrecognized_sep=', ';; | ||
817 | esac | ||
818 | eval enable_$ac_useropt=no ;; | ||
819 | |||
820 | -docdir | --docdir | --docdi | --doc | --do) | ||
821 | ac_prev=docdir ;; | ||
822 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
823 | docdir=$ac_optarg ;; | ||
824 | |||
825 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
826 | ac_prev=dvidir ;; | ||
827 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
828 | dvidir=$ac_optarg ;; | ||
829 | |||
830 | -enable-* | --enable-*) | ||
831 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
832 | # Reject names that are not valid shell variable names. | ||
833 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
834 | as_fn_error $? "invalid feature name: $ac_useropt" | ||
835 | ac_useropt_orig=$ac_useropt | ||
836 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
837 | case $ac_user_opts in | ||
838 | *" | ||
839 | "enable_$ac_useropt" | ||
840 | "*) ;; | ||
841 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
842 | ac_unrecognized_sep=', ';; | ||
843 | esac | ||
844 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
845 | |||
846 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
847 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
848 | | --exec | --exe | --ex) | ||
849 | ac_prev=exec_prefix ;; | ||
850 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
851 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
852 | | --exec=* | --exe=* | --ex=*) | ||
853 | exec_prefix=$ac_optarg ;; | ||
854 | |||
855 | -gas | --gas | --ga | --g) | ||
856 | # Obsolete; use --with-gas. | ||
857 | with_gas=yes ;; | ||
858 | |||
859 | -help | --help | --hel | --he | -h) | ||
860 | ac_init_help=long ;; | ||
861 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
862 | ac_init_help=recursive ;; | ||
863 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
864 | ac_init_help=short ;; | ||
865 | |||
866 | -host | --host | --hos | --ho) | ||
867 | ac_prev=host_alias ;; | ||
868 | -host=* | --host=* | --hos=* | --ho=*) | ||
869 | host_alias=$ac_optarg ;; | ||
870 | |||
871 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
872 | ac_prev=htmldir ;; | ||
873 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
874 | | --ht=*) | ||
875 | htmldir=$ac_optarg ;; | ||
876 | |||
877 | -includedir | --includedir | --includedi | --included | --include \ | ||
878 | | --includ | --inclu | --incl | --inc) | ||
879 | ac_prev=includedir ;; | ||
880 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
881 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
882 | includedir=$ac_optarg ;; | ||
883 | |||
884 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
885 | ac_prev=infodir ;; | ||
886 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
887 | infodir=$ac_optarg ;; | ||
888 | |||
889 | -libdir | --libdir | --libdi | --libd) | ||
890 | ac_prev=libdir ;; | ||
891 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
892 | libdir=$ac_optarg ;; | ||
893 | |||
894 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
895 | | --libexe | --libex | --libe) | ||
896 | ac_prev=libexecdir ;; | ||
897 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
898 | | --libexe=* | --libex=* | --libe=*) | ||
899 | libexecdir=$ac_optarg ;; | ||
900 | |||
901 | -localedir | --localedir | --localedi | --localed | --locale) | ||
902 | ac_prev=localedir ;; | ||
903 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
904 | localedir=$ac_optarg ;; | ||
905 | |||
906 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
907 | | --localstate | --localstat | --localsta | --localst | --locals) | ||
908 | ac_prev=localstatedir ;; | ||
909 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
910 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | ||
911 | localstatedir=$ac_optarg ;; | ||
912 | |||
913 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
914 | ac_prev=mandir ;; | ||
915 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
916 | mandir=$ac_optarg ;; | ||
917 | |||
918 | -nfp | --nfp | --nf) | ||
919 | # Obsolete; use --without-fp. | ||
920 | with_fp=no ;; | ||
921 | |||
922 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
923 | | --no-cr | --no-c | -n) | ||
924 | no_create=yes ;; | ||
925 | |||
926 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
927 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
928 | no_recursion=yes ;; | ||
929 | |||
930 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
931 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
932 | | --oldin | --oldi | --old | --ol | --o) | ||
933 | ac_prev=oldincludedir ;; | ||
934 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
935 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
936 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
937 | oldincludedir=$ac_optarg ;; | ||
938 | |||
939 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
940 | ac_prev=prefix ;; | ||
941 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
942 | prefix=$ac_optarg ;; | ||
943 | |||
944 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
945 | | --program-pre | --program-pr | --program-p) | ||
946 | ac_prev=program_prefix ;; | ||
947 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
948 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
949 | program_prefix=$ac_optarg ;; | ||
950 | |||
951 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
952 | | --program-suf | --program-su | --program-s) | ||
953 | ac_prev=program_suffix ;; | ||
954 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
955 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
956 | program_suffix=$ac_optarg ;; | ||
957 | |||
958 | -program-transform-name | --program-transform-name \ | ||
959 | | --program-transform-nam | --program-transform-na \ | ||
960 | | --program-transform-n | --program-transform- \ | ||
961 | | --program-transform | --program-transfor \ | ||
962 | | --program-transfo | --program-transf \ | ||
963 | | --program-trans | --program-tran \ | ||
964 | | --progr-tra | --program-tr | --program-t) | ||
965 | ac_prev=program_transform_name ;; | ||
966 | -program-transform-name=* | --program-transform-name=* \ | ||
967 | | --program-transform-nam=* | --program-transform-na=* \ | ||
968 | | --program-transform-n=* | --program-transform-=* \ | ||
969 | | --program-transform=* | --program-transfor=* \ | ||
970 | | --program-transfo=* | --program-transf=* \ | ||
971 | | --program-trans=* | --program-tran=* \ | ||
972 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
973 | program_transform_name=$ac_optarg ;; | ||
974 | |||
975 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
976 | ac_prev=pdfdir ;; | ||
977 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
978 | pdfdir=$ac_optarg ;; | ||
979 | |||
980 | -psdir | --psdir | --psdi | --psd | --ps) | ||
981 | ac_prev=psdir ;; | ||
982 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
983 | psdir=$ac_optarg ;; | ||
984 | |||
985 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
986 | | -silent | --silent | --silen | --sile | --sil) | ||
987 | silent=yes ;; | ||
988 | |||
989 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
990 | ac_prev=sbindir ;; | ||
991 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
992 | | --sbi=* | --sb=*) | ||
993 | sbindir=$ac_optarg ;; | ||
994 | |||
995 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
996 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
997 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
998 | | --sha | --sh) | ||
999 | ac_prev=sharedstatedir ;; | ||
1000 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
1001 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
1002 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
1003 | | --sha=* | --sh=*) | ||
1004 | sharedstatedir=$ac_optarg ;; | ||
1005 | |||
1006 | -site | --site | --sit) | ||
1007 | ac_prev=site ;; | ||
1008 | -site=* | --site=* | --sit=*) | ||
1009 | site=$ac_optarg ;; | ||
1010 | |||
1011 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
1012 | ac_prev=srcdir ;; | ||
1013 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
1014 | srcdir=$ac_optarg ;; | ||
1015 | |||
1016 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
1017 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
1018 | ac_prev=sysconfdir ;; | ||
1019 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
1020 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
1021 | sysconfdir=$ac_optarg ;; | ||
1022 | |||
1023 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
1024 | ac_prev=target_alias ;; | ||
1025 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
1026 | target_alias=$ac_optarg ;; | ||
1027 | |||
1028 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
1029 | verbose=yes ;; | ||
1030 | |||
1031 | -version | --version | --versio | --versi | --vers | -V) | ||
1032 | ac_init_version=: ;; | ||
1033 | |||
1034 | -with-* | --with-*) | ||
1035 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
1036 | # Reject names that are not valid shell variable names. | ||
1037 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1038 | as_fn_error $? "invalid package name: $ac_useropt" | ||
1039 | ac_useropt_orig=$ac_useropt | ||
1040 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1041 | case $ac_user_opts in | ||
1042 | *" | ||
1043 | "with_$ac_useropt" | ||
1044 | "*) ;; | ||
1045 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
1046 | ac_unrecognized_sep=', ';; | ||
1047 | esac | ||
1048 | eval with_$ac_useropt=\$ac_optarg ;; | ||
1049 | |||
1050 | -without-* | --without-*) | ||
1051 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
1052 | # Reject names that are not valid shell variable names. | ||
1053 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1054 | as_fn_error $? "invalid package name: $ac_useropt" | ||
1055 | ac_useropt_orig=$ac_useropt | ||
1056 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1057 | case $ac_user_opts in | ||
1058 | *" | ||
1059 | "with_$ac_useropt" | ||
1060 | "*) ;; | ||
1061 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
1062 | ac_unrecognized_sep=', ';; | ||
1063 | esac | ||
1064 | eval with_$ac_useropt=no ;; | ||
1065 | |||
1066 | --x) | ||
1067 | # Obsolete; use --with-x. | ||
1068 | with_x=yes ;; | ||
1069 | |||
1070 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
1071 | | --x-incl | --x-inc | --x-in | --x-i) | ||
1072 | ac_prev=x_includes ;; | ||
1073 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
1074 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
1075 | x_includes=$ac_optarg ;; | ||
1076 | |||
1077 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
1078 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
1079 | ac_prev=x_libraries ;; | ||
1080 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
1081 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
1082 | x_libraries=$ac_optarg ;; | ||
1083 | |||
1084 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | ||
1085 | Try \`$0 --help' for more information" | ||
1086 | ;; | ||
1087 | |||
1088 | *=*) | ||
1089 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
1090 | # Reject names that are not valid shell variable names. | ||
1091 | case $ac_envvar in #( | ||
1092 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | ||
1093 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | ||
1094 | esac | ||
1095 | eval $ac_envvar=\$ac_optarg | ||
1096 | export $ac_envvar ;; | ||
1097 | |||
1098 | *) | ||
1099 | # FIXME: should be removed in autoconf 3.0. | ||
1100 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
1101 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
1102 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
1103 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | ||
1104 | ;; | ||
1105 | |||
1106 | esac | ||
1107 | done | ||
1108 | |||
1109 | if test -n "$ac_prev"; then | ||
1110 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
1111 | as_fn_error $? "missing argument to $ac_option" | ||
1112 | fi | ||
1113 | |||
1114 | if test -n "$ac_unrecognized_opts"; then | ||
1115 | case $enable_option_checking in | ||
1116 | no) ;; | ||
1117 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | ||
1118 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
1119 | esac | ||
1120 | fi | ||
1121 | |||
1122 | # Check all directory arguments for consistency. | ||
1123 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
1124 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
1125 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
1126 | libdir localedir mandir | ||
1127 | do | ||
1128 | eval ac_val=\$$ac_var | ||
1129 | # Remove trailing slashes. | ||
1130 | case $ac_val in | ||
1131 | */ ) | ||
1132 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
1133 | eval $ac_var=\$ac_val;; | ||
1134 | esac | ||
1135 | # Be sure to have absolute directory names. | ||
1136 | case $ac_val in | ||
1137 | [\\/$]* | ?:[\\/]* ) continue;; | ||
1138 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
1139 | esac | ||
1140 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | ||
1141 | done | ||
1142 | |||
1143 | # There might be people who depend on the old broken behavior: `$host' | ||
1144 | # used to hold the argument of --host etc. | ||
1145 | # FIXME: To remove some day. | ||
1146 | build=$build_alias | ||
1147 | host=$host_alias | ||
1148 | target=$target_alias | ||
1149 | |||
1150 | # FIXME: To remove some day. | ||
1151 | if test "x$host_alias" != x; then | ||
1152 | if test "x$build_alias" = x; then | ||
1153 | cross_compiling=maybe | ||
1154 | elif test "x$build_alias" != "x$host_alias"; then | ||
1155 | cross_compiling=yes | ||
1156 | fi | ||
1157 | fi | ||
1158 | |||
1159 | ac_tool_prefix= | ||
1160 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
1161 | |||
1162 | test "$silent" = yes && exec 6>/dev/null | ||
1163 | |||
1164 | |||
1165 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1166 | ac_ls_di=`ls -di .` && | ||
1167 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
1168 | as_fn_error $? "working directory cannot be determined" | ||
1169 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
1170 | as_fn_error $? "pwd does not report name of working directory" | ||
1171 | |||
1172 | |||
1173 | # Find the source files, if location was not specified. | ||
1174 | if test -z "$srcdir"; then | ||
1175 | ac_srcdir_defaulted=yes | ||
1176 | # Try the directory containing this script, then the parent directory. | ||
1177 | ac_confdir=`$as_dirname -- "$as_myself" || | ||
1178 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
1179 | X"$as_myself" : 'X\(//\)[^/]' \| \ | ||
1180 | X"$as_myself" : 'X\(//\)$' \| \ | ||
1181 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | ||
1182 | $as_echo X"$as_myself" | | ||
1183 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
1184 | s//\1/ | ||
1185 | q | ||
1186 | } | ||
1187 | /^X\(\/\/\)[^/].*/{ | ||
1188 | s//\1/ | ||
1189 | q | ||
1190 | } | ||
1191 | /^X\(\/\/\)$/{ | ||
1192 | s//\1/ | ||
1193 | q | ||
1194 | } | ||
1195 | /^X\(\/\).*/{ | ||
1196 | s//\1/ | ||
1197 | q | ||
1198 | } | ||
1199 | s/.*/./; q'` | ||
1200 | srcdir=$ac_confdir | ||
1201 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1202 | srcdir=.. | ||
1203 | fi | ||
1204 | else | ||
1205 | ac_srcdir_defaulted=no | ||
1206 | fi | ||
1207 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1208 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
1209 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | ||
1210 | fi | ||
1211 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1212 | ac_abs_confdir=`( | ||
1213 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | ||
1214 | pwd)` | ||
1215 | # When building in place, set srcdir=. | ||
1216 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1217 | srcdir=. | ||
1218 | fi | ||
1219 | # Remove unnecessary trailing slashes from srcdir. | ||
1220 | # Double slashes in file names in object file debugging info | ||
1221 | # mess up M-x gdb in Emacs. | ||
1222 | case $srcdir in | ||
1223 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
1224 | esac | ||
1225 | for ac_var in $ac_precious_vars; do | ||
1226 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
1227 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
1228 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
1229 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
1230 | done | ||
1231 | |||
1232 | # | ||
1233 | # Report the --help message. | ||
1234 | # | ||
1235 | if test "$ac_init_help" = "long"; then | ||
1236 | # Omit some internal or obsolete options to make the list less imposing. | ||
1237 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
1238 | cat <<_ACEOF | ||
1239 | \`configure' configures firejail 0.9.28 to adapt to many kinds of systems. | ||
1240 | |||
1241 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
1242 | |||
1243 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
1244 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
1245 | |||
1246 | Defaults for the options are specified in brackets. | ||
1247 | |||
1248 | Configuration: | ||
1249 | -h, --help display this help and exit | ||
1250 | --help=short display options specific to this package | ||
1251 | --help=recursive display the short help of all the included packages | ||
1252 | -V, --version display version information and exit | ||
1253 | -q, --quiet, --silent do not print \`checking ...' messages | ||
1254 | --cache-file=FILE cache test results in FILE [disabled] | ||
1255 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
1256 | -n, --no-create do not create output files | ||
1257 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
1258 | |||
1259 | Installation directories: | ||
1260 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
1261 | [$ac_default_prefix] | ||
1262 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
1263 | [PREFIX] | ||
1264 | |||
1265 | By default, \`make install' will install all the files in | ||
1266 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
1267 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
1268 | for instance \`--prefix=\$HOME'. | ||
1269 | |||
1270 | For better control, use the options below. | ||
1271 | |||
1272 | Fine tuning of the installation directories: | ||
1273 | --bindir=DIR user executables [EPREFIX/bin] | ||
1274 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
1275 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
1276 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
1277 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
1278 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
1279 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
1280 | --includedir=DIR C header files [PREFIX/include] | ||
1281 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
1282 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | ||
1283 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
1284 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
1285 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
1286 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
1287 | --docdir=DIR documentation root [DATAROOTDIR/doc/firejail] | ||
1288 | --htmldir=DIR html documentation [DOCDIR] | ||
1289 | --dvidir=DIR dvi documentation [DOCDIR] | ||
1290 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
1291 | --psdir=DIR ps documentation [DOCDIR] | ||
1292 | _ACEOF | ||
1293 | |||
1294 | cat <<\_ACEOF | ||
1295 | _ACEOF | ||
1296 | fi | ||
1297 | |||
1298 | if test -n "$ac_init_help"; then | ||
1299 | case $ac_init_help in | ||
1300 | short | recursive ) echo "Configuration of firejail 0.9.28:";; | ||
1301 | esac | ||
1302 | cat <<\_ACEOF | ||
1303 | |||
1304 | Optional Features: | ||
1305 | --disable-option-checking ignore unrecognized --enable/--with options | ||
1306 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
1307 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
1308 | --disable-seccomp Disable seccomp | ||
1309 | --disable-chroot Disable chroot | ||
1310 | --disable-bind Disable bind | ||
1311 | |||
1312 | Some influential environment variables: | ||
1313 | CC C compiler command | ||
1314 | CFLAGS C compiler flags | ||
1315 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
1316 | nonstandard directory <lib dir> | ||
1317 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
1318 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | ||
1319 | you have headers in a nonstandard directory <include dir> | ||
1320 | CPP C preprocessor | ||
1321 | |||
1322 | Use these variables to override the choices made by `configure' or to help | ||
1323 | it to find libraries and programs with nonstandard names/locations. | ||
1324 | |||
1325 | Report bugs to <netblue30@yahoo.com>. | ||
1326 | firejail home page: <http://firejail.sourceforge.net>. | ||
1327 | _ACEOF | ||
1328 | ac_status=$? | ||
1329 | fi | ||
1330 | |||
1331 | if test "$ac_init_help" = "recursive"; then | ||
1332 | # If there are subdirs, report their specific --help. | ||
1333 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
1334 | test -d "$ac_dir" || | ||
1335 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
1336 | continue | ||
1337 | ac_builddir=. | ||
1338 | |||
1339 | case "$ac_dir" in | ||
1340 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1341 | *) | ||
1342 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
1343 | # A ".." for each directory in $ac_dir_suffix. | ||
1344 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
1345 | case $ac_top_builddir_sub in | ||
1346 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1347 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
1348 | esac ;; | ||
1349 | esac | ||
1350 | ac_abs_top_builddir=$ac_pwd | ||
1351 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1352 | # for backward compatibility: | ||
1353 | ac_top_builddir=$ac_top_build_prefix | ||
1354 | |||
1355 | case $srcdir in | ||
1356 | .) # We are building in place. | ||
1357 | ac_srcdir=. | ||
1358 | ac_top_srcdir=$ac_top_builddir_sub | ||
1359 | ac_abs_top_srcdir=$ac_pwd ;; | ||
1360 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
1361 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
1362 | ac_top_srcdir=$srcdir | ||
1363 | ac_abs_top_srcdir=$srcdir ;; | ||
1364 | *) # Relative name. | ||
1365 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
1366 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
1367 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
1368 | esac | ||
1369 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
1370 | |||
1371 | cd "$ac_dir" || { ac_status=$?; continue; } | ||
1372 | # Check for guested configure. | ||
1373 | if test -f "$ac_srcdir/configure.gnu"; then | ||
1374 | echo && | ||
1375 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
1376 | elif test -f "$ac_srcdir/configure"; then | ||
1377 | echo && | ||
1378 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
1379 | else | ||
1380 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
1381 | fi || ac_status=$? | ||
1382 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
1383 | done | ||
1384 | fi | ||
1385 | |||
1386 | test -n "$ac_init_help" && exit $ac_status | ||
1387 | if $ac_init_version; then | ||
1388 | cat <<\_ACEOF | ||
1389 | firejail configure 0.9.28 | ||
1390 | generated by GNU Autoconf 2.69 | ||
1391 | |||
1392 | Copyright (C) 2012 Free Software Foundation, Inc. | ||
1393 | This configure script is free software; the Free Software Foundation | ||
1394 | gives unlimited permission to copy, distribute and modify it. | ||
1395 | _ACEOF | ||
1396 | exit | ||
1397 | fi | ||
1398 | |||
1399 | ## ------------------------ ## | ||
1400 | ## Autoconf initialization. ## | ||
1401 | ## ------------------------ ## | ||
1402 | |||
1403 | # ac_fn_c_try_compile LINENO | ||
1404 | # -------------------------- | ||
1405 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
1406 | ac_fn_c_try_compile () | ||
1407 | { | ||
1408 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1409 | rm -f conftest.$ac_objext | ||
1410 | if { { ac_try="$ac_compile" | ||
1411 | case "(($ac_try" in | ||
1412 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1413 | *) ac_try_echo=$ac_try;; | ||
1414 | esac | ||
1415 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1416 | $as_echo "$ac_try_echo"; } >&5 | ||
1417 | (eval "$ac_compile") 2>conftest.err | ||
1418 | ac_status=$? | ||
1419 | if test -s conftest.err; then | ||
1420 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1421 | cat conftest.er1 >&5 | ||
1422 | mv -f conftest.er1 conftest.err | ||
1423 | fi | ||
1424 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1425 | test $ac_status = 0; } && { | ||
1426 | test -z "$ac_c_werror_flag" || | ||
1427 | test ! -s conftest.err | ||
1428 | } && test -s conftest.$ac_objext; then : | ||
1429 | ac_retval=0 | ||
1430 | else | ||
1431 | $as_echo "$as_me: failed program was:" >&5 | ||
1432 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1433 | |||
1434 | ac_retval=1 | ||
1435 | fi | ||
1436 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1437 | as_fn_set_status $ac_retval | ||
1438 | |||
1439 | } # ac_fn_c_try_compile | ||
1440 | |||
1441 | # ac_fn_c_try_link LINENO | ||
1442 | # ----------------------- | ||
1443 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
1444 | ac_fn_c_try_link () | ||
1445 | { | ||
1446 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1447 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
1448 | if { { ac_try="$ac_link" | ||
1449 | case "(($ac_try" in | ||
1450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1451 | *) ac_try_echo=$ac_try;; | ||
1452 | esac | ||
1453 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1454 | $as_echo "$ac_try_echo"; } >&5 | ||
1455 | (eval "$ac_link") 2>conftest.err | ||
1456 | ac_status=$? | ||
1457 | if test -s conftest.err; then | ||
1458 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1459 | cat conftest.er1 >&5 | ||
1460 | mv -f conftest.er1 conftest.err | ||
1461 | fi | ||
1462 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1463 | test $ac_status = 0; } && { | ||
1464 | test -z "$ac_c_werror_flag" || | ||
1465 | test ! -s conftest.err | ||
1466 | } && test -s conftest$ac_exeext && { | ||
1467 | test "$cross_compiling" = yes || | ||
1468 | test -x conftest$ac_exeext | ||
1469 | }; then : | ||
1470 | ac_retval=0 | ||
1471 | else | ||
1472 | $as_echo "$as_me: failed program was:" >&5 | ||
1473 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1474 | |||
1475 | ac_retval=1 | ||
1476 | fi | ||
1477 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
1478 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
1479 | # interfere with the next link command; also delete a directory that is | ||
1480 | # left behind by Apple's compiler. We do this before executing the actions. | ||
1481 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1482 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1483 | as_fn_set_status $ac_retval | ||
1484 | |||
1485 | } # ac_fn_c_try_link | ||
1486 | |||
1487 | # ac_fn_c_try_cpp LINENO | ||
1488 | # ---------------------- | ||
1489 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
1490 | ac_fn_c_try_cpp () | ||
1491 | { | ||
1492 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1493 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
1494 | case "(($ac_try" in | ||
1495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1496 | *) ac_try_echo=$ac_try;; | ||
1497 | esac | ||
1498 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1499 | $as_echo "$ac_try_echo"; } >&5 | ||
1500 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
1501 | ac_status=$? | ||
1502 | if test -s conftest.err; then | ||
1503 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1504 | cat conftest.er1 >&5 | ||
1505 | mv -f conftest.er1 conftest.err | ||
1506 | fi | ||
1507 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1508 | test $ac_status = 0; } > conftest.i && { | ||
1509 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
1510 | test ! -s conftest.err | ||
1511 | }; then : | ||
1512 | ac_retval=0 | ||
1513 | else | ||
1514 | $as_echo "$as_me: failed program was:" >&5 | ||
1515 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1516 | |||
1517 | ac_retval=1 | ||
1518 | fi | ||
1519 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1520 | as_fn_set_status $ac_retval | ||
1521 | |||
1522 | } # ac_fn_c_try_cpp | ||
1523 | |||
1524 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
1525 | # ------------------------------------------------------- | ||
1526 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
1527 | # the include files in INCLUDES and setting the cache variable VAR | ||
1528 | # accordingly. | ||
1529 | ac_fn_c_check_header_mongrel () | ||
1530 | { | ||
1531 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1532 | if eval \${$3+:} false; then : | ||
1533 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1534 | $as_echo_n "checking for $2... " >&6; } | ||
1535 | if eval \${$3+:} false; then : | ||
1536 | $as_echo_n "(cached) " >&6 | ||
1537 | fi | ||
1538 | eval ac_res=\$$3 | ||
1539 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1540 | $as_echo "$ac_res" >&6; } | ||
1541 | else | ||
1542 | # Is the header compilable? | ||
1543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
1544 | $as_echo_n "checking $2 usability... " >&6; } | ||
1545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1546 | /* end confdefs.h. */ | ||
1547 | $4 | ||
1548 | #include <$2> | ||
1549 | _ACEOF | ||
1550 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1551 | ac_header_compiler=yes | ||
1552 | else | ||
1553 | ac_header_compiler=no | ||
1554 | fi | ||
1555 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
1557 | $as_echo "$ac_header_compiler" >&6; } | ||
1558 | |||
1559 | # Is the header present? | ||
1560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
1561 | $as_echo_n "checking $2 presence... " >&6; } | ||
1562 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1563 | /* end confdefs.h. */ | ||
1564 | #include <$2> | ||
1565 | _ACEOF | ||
1566 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
1567 | ac_header_preproc=yes | ||
1568 | else | ||
1569 | ac_header_preproc=no | ||
1570 | fi | ||
1571 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
1572 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
1573 | $as_echo "$ac_header_preproc" >&6; } | ||
1574 | |||
1575 | # So? What about this header? | ||
1576 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
1577 | yes:no: ) | ||
1578 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
1579 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
1580 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1581 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1582 | ;; | ||
1583 | no:yes:* ) | ||
1584 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
1585 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
1586 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
1587 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
1588 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
1589 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
1590 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
1591 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
1592 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1593 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1594 | ( $as_echo "## ---------------------------------- ## | ||
1595 | ## Report this to netblue30@yahoo.com ## | ||
1596 | ## ---------------------------------- ##" | ||
1597 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
1598 | ;; | ||
1599 | esac | ||
1600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1601 | $as_echo_n "checking for $2... " >&6; } | ||
1602 | if eval \${$3+:} false; then : | ||
1603 | $as_echo_n "(cached) " >&6 | ||
1604 | else | ||
1605 | eval "$3=\$ac_header_compiler" | ||
1606 | fi | ||
1607 | eval ac_res=\$$3 | ||
1608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1609 | $as_echo "$ac_res" >&6; } | ||
1610 | fi | ||
1611 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1612 | |||
1613 | } # ac_fn_c_check_header_mongrel | ||
1614 | |||
1615 | # ac_fn_c_try_run LINENO | ||
1616 | # ---------------------- | ||
1617 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
1618 | # that executables *can* be run. | ||
1619 | ac_fn_c_try_run () | ||
1620 | { | ||
1621 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1622 | if { { ac_try="$ac_link" | ||
1623 | case "(($ac_try" in | ||
1624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1625 | *) ac_try_echo=$ac_try;; | ||
1626 | esac | ||
1627 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1628 | $as_echo "$ac_try_echo"; } >&5 | ||
1629 | (eval "$ac_link") 2>&5 | ||
1630 | ac_status=$? | ||
1631 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1632 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
1633 | { { case "(($ac_try" in | ||
1634 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1635 | *) ac_try_echo=$ac_try;; | ||
1636 | esac | ||
1637 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1638 | $as_echo "$ac_try_echo"; } >&5 | ||
1639 | (eval "$ac_try") 2>&5 | ||
1640 | ac_status=$? | ||
1641 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1642 | test $ac_status = 0; }; }; then : | ||
1643 | ac_retval=0 | ||
1644 | else | ||
1645 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
1646 | $as_echo "$as_me: failed program was:" >&5 | ||
1647 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1648 | |||
1649 | ac_retval=$ac_status | ||
1650 | fi | ||
1651 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1652 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1653 | as_fn_set_status $ac_retval | ||
1654 | |||
1655 | } # ac_fn_c_try_run | ||
1656 | |||
1657 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
1658 | # ------------------------------------------------------- | ||
1659 | # Tests whether HEADER exists and can be compiled using the include files in | ||
1660 | # INCLUDES, setting the cache variable VAR accordingly. | ||
1661 | ac_fn_c_check_header_compile () | ||
1662 | { | ||
1663 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1665 | $as_echo_n "checking for $2... " >&6; } | ||
1666 | if eval \${$3+:} false; then : | ||
1667 | $as_echo_n "(cached) " >&6 | ||
1668 | else | ||
1669 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1670 | /* end confdefs.h. */ | ||
1671 | $4 | ||
1672 | #include <$2> | ||
1673 | _ACEOF | ||
1674 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1675 | eval "$3=yes" | ||
1676 | else | ||
1677 | eval "$3=no" | ||
1678 | fi | ||
1679 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1680 | fi | ||
1681 | eval ac_res=\$$3 | ||
1682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1683 | $as_echo "$ac_res" >&6; } | ||
1684 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1685 | |||
1686 | } # ac_fn_c_check_header_compile | ||
1687 | cat >config.log <<_ACEOF | ||
1688 | This file contains any messages produced by compilers while | ||
1689 | running configure, to aid debugging if configure makes a mistake. | ||
1690 | |||
1691 | It was created by firejail $as_me 0.9.28, which was | ||
1692 | generated by GNU Autoconf 2.69. Invocation command line was | ||
1693 | |||
1694 | $ $0 $@ | ||
1695 | |||
1696 | _ACEOF | ||
1697 | exec 5>>config.log | ||
1698 | { | ||
1699 | cat <<_ASUNAME | ||
1700 | ## --------- ## | ||
1701 | ## Platform. ## | ||
1702 | ## --------- ## | ||
1703 | |||
1704 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1705 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1706 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1707 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1708 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1709 | |||
1710 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1711 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1712 | |||
1713 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1714 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1715 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1716 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
1717 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1718 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1719 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1720 | |||
1721 | _ASUNAME | ||
1722 | |||
1723 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1724 | for as_dir in $PATH | ||
1725 | do | ||
1726 | IFS=$as_save_IFS | ||
1727 | test -z "$as_dir" && as_dir=. | ||
1728 | $as_echo "PATH: $as_dir" | ||
1729 | done | ||
1730 | IFS=$as_save_IFS | ||
1731 | |||
1732 | } >&5 | ||
1733 | |||
1734 | cat >&5 <<_ACEOF | ||
1735 | |||
1736 | |||
1737 | ## ----------- ## | ||
1738 | ## Core tests. ## | ||
1739 | ## ----------- ## | ||
1740 | |||
1741 | _ACEOF | ||
1742 | |||
1743 | |||
1744 | # Keep a trace of the command line. | ||
1745 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
1746 | # Strip out --silent because we don't want to record it for future runs. | ||
1747 | # Also quote any args containing shell meta-characters. | ||
1748 | # Make two passes to allow for proper duplicate-argument suppression. | ||
1749 | ac_configure_args= | ||
1750 | ac_configure_args0= | ||
1751 | ac_configure_args1= | ||
1752 | ac_must_keep_next=false | ||
1753 | for ac_pass in 1 2 | ||
1754 | do | ||
1755 | for ac_arg | ||
1756 | do | ||
1757 | case $ac_arg in | ||
1758 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1759 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1760 | | -silent | --silent | --silen | --sile | --sil) | ||
1761 | continue ;; | ||
1762 | *\'*) | ||
1763 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1764 | esac | ||
1765 | case $ac_pass in | ||
1766 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | ||
1767 | 2) | ||
1768 | as_fn_append ac_configure_args1 " '$ac_arg'" | ||
1769 | if test $ac_must_keep_next = true; then | ||
1770 | ac_must_keep_next=false # Got value, back to normal. | ||
1771 | else | ||
1772 | case $ac_arg in | ||
1773 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1774 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1775 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1776 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
1777 | case "$ac_configure_args0 " in | ||
1778 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1779 | esac | ||
1780 | ;; | ||
1781 | -* ) ac_must_keep_next=true ;; | ||
1782 | esac | ||
1783 | fi | ||
1784 | as_fn_append ac_configure_args " '$ac_arg'" | ||
1785 | ;; | ||
1786 | esac | ||
1787 | done | ||
1788 | done | ||
1789 | { ac_configure_args0=; unset ac_configure_args0;} | ||
1790 | { ac_configure_args1=; unset ac_configure_args1;} | ||
1791 | |||
1792 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
1793 | # config.log. We remove comments because anyway the quotes in there | ||
1794 | # would cause problems or look ugly. | ||
1795 | # WARNING: Use '\'' to represent an apostrophe within the trap. | ||
1796 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
1797 | trap 'exit_status=$? | ||
1798 | # Save into config.log some information that might help in debugging. | ||
1799 | { | ||
1800 | echo | ||
1801 | |||
1802 | $as_echo "## ---------------- ## | ||
1803 | ## Cache variables. ## | ||
1804 | ## ---------------- ##" | ||
1805 | echo | ||
1806 | # The following way of writing the cache mishandles newlines in values, | ||
1807 | ( | ||
1808 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
1809 | eval ac_val=\$$ac_var | ||
1810 | case $ac_val in #( | ||
1811 | *${as_nl}*) | ||
1812 | case $ac_var in #( | ||
1813 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
1814 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
1815 | esac | ||
1816 | case $ac_var in #( | ||
1817 | _ | IFS | as_nl) ;; #( | ||
1818 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
1819 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
1820 | esac ;; | ||
1821 | esac | ||
1822 | done | ||
1823 | (set) 2>&1 | | ||
1824 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
1825 | *${as_nl}ac_space=\ *) | ||
1826 | sed -n \ | ||
1827 | "s/'\''/'\''\\\\'\'''\''/g; | ||
1828 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
1829 | ;; #( | ||
1830 | *) | ||
1831 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
1832 | ;; | ||
1833 | esac | | ||
1834 | sort | ||
1835 | ) | ||
1836 | echo | ||
1837 | |||
1838 | $as_echo "## ----------------- ## | ||
1839 | ## Output variables. ## | ||
1840 | ## ----------------- ##" | ||
1841 | echo | ||
1842 | for ac_var in $ac_subst_vars | ||
1843 | do | ||
1844 | eval ac_val=\$$ac_var | ||
1845 | case $ac_val in | ||
1846 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1847 | esac | ||
1848 | $as_echo "$ac_var='\''$ac_val'\''" | ||
1849 | done | sort | ||
1850 | echo | ||
1851 | |||
1852 | if test -n "$ac_subst_files"; then | ||
1853 | $as_echo "## ------------------- ## | ||
1854 | ## File substitutions. ## | ||
1855 | ## ------------------- ##" | ||
1856 | echo | ||
1857 | for ac_var in $ac_subst_files | ||
1858 | do | ||
1859 | eval ac_val=\$$ac_var | ||
1860 | case $ac_val in | ||
1861 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1862 | esac | ||
1863 | $as_echo "$ac_var='\''$ac_val'\''" | ||
1864 | done | sort | ||
1865 | echo | ||
1866 | fi | ||
1867 | |||
1868 | if test -s confdefs.h; then | ||
1869 | $as_echo "## ----------- ## | ||
1870 | ## confdefs.h. ## | ||
1871 | ## ----------- ##" | ||
1872 | echo | ||
1873 | cat confdefs.h | ||
1874 | echo | ||
1875 | fi | ||
1876 | test "$ac_signal" != 0 && | ||
1877 | $as_echo "$as_me: caught signal $ac_signal" | ||
1878 | $as_echo "$as_me: exit $exit_status" | ||
1879 | } >&5 | ||
1880 | rm -f core *.core core.conftest.* && | ||
1881 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
1882 | exit $exit_status | ||
1883 | ' 0 | ||
1884 | for ac_signal in 1 2 13 15; do | ||
1885 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | ||
1886 | done | ||
1887 | ac_signal=0 | ||
1888 | |||
1889 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1890 | rm -f -r conftest* confdefs.h | ||
1891 | |||
1892 | $as_echo "/* confdefs.h */" > confdefs.h | ||
1893 | |||
1894 | # Predefined preprocessor variables. | ||
1895 | |||
1896 | cat >>confdefs.h <<_ACEOF | ||
1897 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
1898 | _ACEOF | ||
1899 | |||
1900 | cat >>confdefs.h <<_ACEOF | ||
1901 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1902 | _ACEOF | ||
1903 | |||
1904 | cat >>confdefs.h <<_ACEOF | ||
1905 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1906 | _ACEOF | ||
1907 | |||
1908 | cat >>confdefs.h <<_ACEOF | ||
1909 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
1910 | _ACEOF | ||
1911 | |||
1912 | cat >>confdefs.h <<_ACEOF | ||
1913 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1914 | _ACEOF | ||
1915 | |||
1916 | cat >>confdefs.h <<_ACEOF | ||
1917 | #define PACKAGE_URL "$PACKAGE_URL" | ||
1918 | _ACEOF | ||
1919 | |||
1920 | |||
1921 | # Let the site file select an alternate cache file if it wants to. | ||
1922 | # Prefer an explicitly selected file to automatically selected ones. | ||
1923 | ac_site_file1=NONE | ||
1924 | ac_site_file2=NONE | ||
1925 | if test -n "$CONFIG_SITE"; then | ||
1926 | # We do not want a PATH search for config.site. | ||
1927 | case $CONFIG_SITE in #(( | ||
1928 | -*) ac_site_file1=./$CONFIG_SITE;; | ||
1929 | */*) ac_site_file1=$CONFIG_SITE;; | ||
1930 | *) ac_site_file1=./$CONFIG_SITE;; | ||
1931 | esac | ||
1932 | elif test "x$prefix" != xNONE; then | ||
1933 | ac_site_file1=$prefix/share/config.site | ||
1934 | ac_site_file2=$prefix/etc/config.site | ||
1935 | else | ||
1936 | ac_site_file1=$ac_default_prefix/share/config.site | ||
1937 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
1938 | fi | ||
1939 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
1940 | do | ||
1941 | test "x$ac_site_file" = xNONE && continue | ||
1942 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | ||
1943 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | ||
1944 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1945 | sed 's/^/| /' "$ac_site_file" >&5 | ||
1946 | . "$ac_site_file" \ | ||
1947 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
1948 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
1949 | as_fn_error $? "failed to load site script $ac_site_file | ||
1950 | See \`config.log' for more details" "$LINENO" 5; } | ||
1951 | fi | ||
1952 | done | ||
1953 | |||
1954 | if test -r "$cache_file"; then | ||
1955 | # Some versions of bash will fail to source /dev/null (special files | ||
1956 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | ||
1957 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | ||
1958 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | ||
1959 | $as_echo "$as_me: loading cache $cache_file" >&6;} | ||
1960 | case $cache_file in | ||
1961 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
1962 | *) . "./$cache_file";; | ||
1963 | esac | ||
1964 | fi | ||
1965 | else | ||
1966 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | ||
1967 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
1968 | >$cache_file | ||
1969 | fi | ||
1970 | |||
1971 | # Check that the precious variables saved in the cache have kept the same | ||
1972 | # value. | ||
1973 | ac_cache_corrupted=false | ||
1974 | for ac_var in $ac_precious_vars; do | ||
1975 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
1976 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
1977 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
1978 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
1979 | case $ac_old_set,$ac_new_set in | ||
1980 | set,) | ||
1981 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1982 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1983 | ac_cache_corrupted=: ;; | ||
1984 | ,set) | ||
1985 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | ||
1986 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1987 | ac_cache_corrupted=: ;; | ||
1988 | ,);; | ||
1989 | *) | ||
1990 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1991 | # differences in whitespace do not lead to failure. | ||
1992 | ac_old_val_w=`echo x $ac_old_val` | ||
1993 | ac_new_val_w=`echo x $ac_new_val` | ||
1994 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
1995 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | ||
1996 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
1997 | ac_cache_corrupted=: | ||
1998 | else | ||
1999 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
2000 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
2001 | eval $ac_var=\$ac_old_val | ||
2002 | fi | ||
2003 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
2004 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
2005 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
2006 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
2007 | fi;; | ||
2008 | esac | ||
2009 | # Pass precious variables to config.status. | ||
2010 | if test "$ac_new_set" = set; then | ||
2011 | case $ac_new_val in | ||
2012 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
2013 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
2014 | esac | ||
2015 | case " $ac_configure_args " in | ||
2016 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
2017 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | ||
2018 | esac | ||
2019 | fi | ||
2020 | done | ||
2021 | if $ac_cache_corrupted; then | ||
2022 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2023 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2024 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
2025 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
2026 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | ||
2027 | fi | ||
2028 | ## -------------------- ## | ||
2029 | ## Main body of script. ## | ||
2030 | ## -------------------- ## | ||
2031 | |||
2032 | ac_ext=c | ||
2033 | ac_cpp='$CPP $CPPFLAGS' | ||
2034 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2035 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2036 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2037 | |||
2038 | |||
2039 | |||
2040 | #AC_CONFIG_HEADERS([config.h]) | ||
2041 | |||
2042 | |||
2043 | ac_ext=c | ||
2044 | ac_cpp='$CPP $CPPFLAGS' | ||
2045 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2046 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2047 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2048 | if test -n "$ac_tool_prefix"; then | ||
2049 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
2050 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
2051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2052 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2053 | if ${ac_cv_prog_CC+:} false; then : | ||
2054 | $as_echo_n "(cached) " >&6 | ||
2055 | else | ||
2056 | if test -n "$CC"; then | ||
2057 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2058 | else | ||
2059 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2060 | for as_dir in $PATH | ||
2061 | do | ||
2062 | IFS=$as_save_IFS | ||
2063 | test -z "$as_dir" && as_dir=. | ||
2064 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2065 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2066 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
2067 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2068 | break 2 | ||
2069 | fi | ||
2070 | done | ||
2071 | done | ||
2072 | IFS=$as_save_IFS | ||
2073 | |||
2074 | fi | ||
2075 | fi | ||
2076 | CC=$ac_cv_prog_CC | ||
2077 | if test -n "$CC"; then | ||
2078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2079 | $as_echo "$CC" >&6; } | ||
2080 | else | ||
2081 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2082 | $as_echo "no" >&6; } | ||
2083 | fi | ||
2084 | |||
2085 | |||
2086 | fi | ||
2087 | if test -z "$ac_cv_prog_CC"; then | ||
2088 | ac_ct_CC=$CC | ||
2089 | # Extract the first word of "gcc", so it can be a program name with args. | ||
2090 | set dummy gcc; ac_word=$2 | ||
2091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2092 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2093 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
2094 | $as_echo_n "(cached) " >&6 | ||
2095 | else | ||
2096 | if test -n "$ac_ct_CC"; then | ||
2097 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
2098 | else | ||
2099 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2100 | for as_dir in $PATH | ||
2101 | do | ||
2102 | IFS=$as_save_IFS | ||
2103 | test -z "$as_dir" && as_dir=. | ||
2104 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2105 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2106 | ac_cv_prog_ac_ct_CC="gcc" | ||
2107 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2108 | break 2 | ||
2109 | fi | ||
2110 | done | ||
2111 | done | ||
2112 | IFS=$as_save_IFS | ||
2113 | |||
2114 | fi | ||
2115 | fi | ||
2116 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
2117 | if test -n "$ac_ct_CC"; then | ||
2118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
2119 | $as_echo "$ac_ct_CC" >&6; } | ||
2120 | else | ||
2121 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2122 | $as_echo "no" >&6; } | ||
2123 | fi | ||
2124 | |||
2125 | if test "x$ac_ct_CC" = x; then | ||
2126 | CC="" | ||
2127 | else | ||
2128 | case $cross_compiling:$ac_tool_warned in | ||
2129 | yes:) | ||
2130 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2131 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2132 | ac_tool_warned=yes ;; | ||
2133 | esac | ||
2134 | CC=$ac_ct_CC | ||
2135 | fi | ||
2136 | else | ||
2137 | CC="$ac_cv_prog_CC" | ||
2138 | fi | ||
2139 | |||
2140 | if test -z "$CC"; then | ||
2141 | if test -n "$ac_tool_prefix"; then | ||
2142 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
2143 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
2144 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2145 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2146 | if ${ac_cv_prog_CC+:} false; then : | ||
2147 | $as_echo_n "(cached) " >&6 | ||
2148 | else | ||
2149 | if test -n "$CC"; then | ||
2150 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2151 | else | ||
2152 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2153 | for as_dir in $PATH | ||
2154 | do | ||
2155 | IFS=$as_save_IFS | ||
2156 | test -z "$as_dir" && as_dir=. | ||
2157 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2158 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2159 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
2160 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2161 | break 2 | ||
2162 | fi | ||
2163 | done | ||
2164 | done | ||
2165 | IFS=$as_save_IFS | ||
2166 | |||
2167 | fi | ||
2168 | fi | ||
2169 | CC=$ac_cv_prog_CC | ||
2170 | if test -n "$CC"; then | ||
2171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2172 | $as_echo "$CC" >&6; } | ||
2173 | else | ||
2174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2175 | $as_echo "no" >&6; } | ||
2176 | fi | ||
2177 | |||
2178 | |||
2179 | fi | ||
2180 | fi | ||
2181 | if test -z "$CC"; then | ||
2182 | # Extract the first word of "cc", so it can be a program name with args. | ||
2183 | set dummy cc; ac_word=$2 | ||
2184 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2185 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2186 | if ${ac_cv_prog_CC+:} false; then : | ||
2187 | $as_echo_n "(cached) " >&6 | ||
2188 | else | ||
2189 | if test -n "$CC"; then | ||
2190 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2191 | else | ||
2192 | ac_prog_rejected=no | ||
2193 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2194 | for as_dir in $PATH | ||
2195 | do | ||
2196 | IFS=$as_save_IFS | ||
2197 | test -z "$as_dir" && as_dir=. | ||
2198 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2199 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2200 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
2201 | ac_prog_rejected=yes | ||
2202 | continue | ||
2203 | fi | ||
2204 | ac_cv_prog_CC="cc" | ||
2205 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2206 | break 2 | ||
2207 | fi | ||
2208 | done | ||
2209 | done | ||
2210 | IFS=$as_save_IFS | ||
2211 | |||
2212 | if test $ac_prog_rejected = yes; then | ||
2213 | # We found a bogon in the path, so make sure we never use it. | ||
2214 | set dummy $ac_cv_prog_CC | ||
2215 | shift | ||
2216 | if test $# != 0; then | ||
2217 | # We chose a different compiler from the bogus one. | ||
2218 | # However, it has the same basename, so the bogon will be chosen | ||
2219 | # first if we set CC to just the basename; use the full file name. | ||
2220 | shift | ||
2221 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
2222 | fi | ||
2223 | fi | ||
2224 | fi | ||
2225 | fi | ||
2226 | CC=$ac_cv_prog_CC | ||
2227 | if test -n "$CC"; then | ||
2228 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2229 | $as_echo "$CC" >&6; } | ||
2230 | else | ||
2231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2232 | $as_echo "no" >&6; } | ||
2233 | fi | ||
2234 | |||
2235 | |||
2236 | fi | ||
2237 | if test -z "$CC"; then | ||
2238 | if test -n "$ac_tool_prefix"; then | ||
2239 | for ac_prog in cl.exe | ||
2240 | do | ||
2241 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
2242 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
2243 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2244 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2245 | if ${ac_cv_prog_CC+:} false; then : | ||
2246 | $as_echo_n "(cached) " >&6 | ||
2247 | else | ||
2248 | if test -n "$CC"; then | ||
2249 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2250 | else | ||
2251 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2252 | for as_dir in $PATH | ||
2253 | do | ||
2254 | IFS=$as_save_IFS | ||
2255 | test -z "$as_dir" && as_dir=. | ||
2256 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2257 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2258 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
2259 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2260 | break 2 | ||
2261 | fi | ||
2262 | done | ||
2263 | done | ||
2264 | IFS=$as_save_IFS | ||
2265 | |||
2266 | fi | ||
2267 | fi | ||
2268 | CC=$ac_cv_prog_CC | ||
2269 | if test -n "$CC"; then | ||
2270 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2271 | $as_echo "$CC" >&6; } | ||
2272 | else | ||
2273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2274 | $as_echo "no" >&6; } | ||
2275 | fi | ||
2276 | |||
2277 | |||
2278 | test -n "$CC" && break | ||
2279 | done | ||
2280 | fi | ||
2281 | if test -z "$CC"; then | ||
2282 | ac_ct_CC=$CC | ||
2283 | for ac_prog in cl.exe | ||
2284 | do | ||
2285 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2286 | set dummy $ac_prog; ac_word=$2 | ||
2287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2288 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2289 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
2290 | $as_echo_n "(cached) " >&6 | ||
2291 | else | ||
2292 | if test -n "$ac_ct_CC"; then | ||
2293 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
2294 | else | ||
2295 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2296 | for as_dir in $PATH | ||
2297 | do | ||
2298 | IFS=$as_save_IFS | ||
2299 | test -z "$as_dir" && as_dir=. | ||
2300 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2301 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2302 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
2303 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2304 | break 2 | ||
2305 | fi | ||
2306 | done | ||
2307 | done | ||
2308 | IFS=$as_save_IFS | ||
2309 | |||
2310 | fi | ||
2311 | fi | ||
2312 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
2313 | if test -n "$ac_ct_CC"; then | ||
2314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
2315 | $as_echo "$ac_ct_CC" >&6; } | ||
2316 | else | ||
2317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2318 | $as_echo "no" >&6; } | ||
2319 | fi | ||
2320 | |||
2321 | |||
2322 | test -n "$ac_ct_CC" && break | ||
2323 | done | ||
2324 | |||
2325 | if test "x$ac_ct_CC" = x; then | ||
2326 | CC="" | ||
2327 | else | ||
2328 | case $cross_compiling:$ac_tool_warned in | ||
2329 | yes:) | ||
2330 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2331 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2332 | ac_tool_warned=yes ;; | ||
2333 | esac | ||
2334 | CC=$ac_ct_CC | ||
2335 | fi | ||
2336 | fi | ||
2337 | |||
2338 | fi | ||
2339 | |||
2340 | |||
2341 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2342 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2343 | as_fn_error $? "no acceptable C compiler found in \$PATH | ||
2344 | See \`config.log' for more details" "$LINENO" 5; } | ||
2345 | |||
2346 | # Provide some information about the compiler. | ||
2347 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | ||
2348 | set X $ac_compile | ||
2349 | ac_compiler=$2 | ||
2350 | for ac_option in --version -v -V -qversion; do | ||
2351 | { { ac_try="$ac_compiler $ac_option >&5" | ||
2352 | case "(($ac_try" in | ||
2353 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2354 | *) ac_try_echo=$ac_try;; | ||
2355 | esac | ||
2356 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2357 | $as_echo "$ac_try_echo"; } >&5 | ||
2358 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||
2359 | ac_status=$? | ||
2360 | if test -s conftest.err; then | ||
2361 | sed '10a\ | ||
2362 | ... rest of stderr output deleted ... | ||
2363 | 10q' conftest.err >conftest.er1 | ||
2364 | cat conftest.er1 >&5 | ||
2365 | fi | ||
2366 | rm -f conftest.er1 conftest.err | ||
2367 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2368 | test $ac_status = 0; } | ||
2369 | done | ||
2370 | |||
2371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2372 | /* end confdefs.h. */ | ||
2373 | |||
2374 | int | ||
2375 | main () | ||
2376 | { | ||
2377 | |||
2378 | ; | ||
2379 | return 0; | ||
2380 | } | ||
2381 | _ACEOF | ||
2382 | ac_clean_files_save=$ac_clean_files | ||
2383 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | ||
2384 | # Try to create an executable without -o first, disregard a.out. | ||
2385 | # It will help us diagnose broken compilers, and finding out an intuition | ||
2386 | # of exeext. | ||
2387 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | ||
2388 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
2389 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
2390 | |||
2391 | # The possible output files: | ||
2392 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
2393 | |||
2394 | ac_rmfiles= | ||
2395 | for ac_file in $ac_files | ||
2396 | do | ||
2397 | case $ac_file in | ||
2398 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
2399 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
2400 | esac | ||
2401 | done | ||
2402 | rm -f $ac_rmfiles | ||
2403 | |||
2404 | if { { ac_try="$ac_link_default" | ||
2405 | case "(($ac_try" in | ||
2406 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2407 | *) ac_try_echo=$ac_try;; | ||
2408 | esac | ||
2409 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2410 | $as_echo "$ac_try_echo"; } >&5 | ||
2411 | (eval "$ac_link_default") 2>&5 | ||
2412 | ac_status=$? | ||
2413 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2414 | test $ac_status = 0; }; then : | ||
2415 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | ||
2416 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
2417 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
2418 | # so that the user can short-circuit this test for compilers unknown to | ||
2419 | # Autoconf. | ||
2420 | for ac_file in $ac_files '' | ||
2421 | do | ||
2422 | test -f "$ac_file" || continue | ||
2423 | case $ac_file in | ||
2424 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | ||
2425 | ;; | ||
2426 | [ab].out ) | ||
2427 | # We found the default executable, but exeext='' is most | ||
2428 | # certainly right. | ||
2429 | break;; | ||
2430 | *.* ) | ||
2431 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | ||
2432 | then :; else | ||
2433 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
2434 | fi | ||
2435 | # We set ac_cv_exeext here because the later test for it is not | ||
2436 | # safe: cross compilers may not add the suffix if given an `-o' | ||
2437 | # argument, so we may need to know it at that point already. | ||
2438 | # Even if this section looks crufty: it has the advantage of | ||
2439 | # actually working. | ||
2440 | break;; | ||
2441 | * ) | ||
2442 | break;; | ||
2443 | esac | ||
2444 | done | ||
2445 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2446 | |||
2447 | else | ||
2448 | ac_file='' | ||
2449 | fi | ||
2450 | if test -z "$ac_file"; then : | ||
2451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2452 | $as_echo "no" >&6; } | ||
2453 | $as_echo "$as_me: failed program was:" >&5 | ||
2454 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2455 | |||
2456 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2457 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2458 | as_fn_error 77 "C compiler cannot create executables | ||
2459 | See \`config.log' for more details" "$LINENO" 5; } | ||
2460 | else | ||
2461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
2462 | $as_echo "yes" >&6; } | ||
2463 | fi | ||
2464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | ||
2465 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
2466 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
2467 | $as_echo "$ac_file" >&6; } | ||
2468 | ac_exeext=$ac_cv_exeext | ||
2469 | |||
2470 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
2471 | ac_clean_files=$ac_clean_files_save | ||
2472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | ||
2473 | $as_echo_n "checking for suffix of executables... " >&6; } | ||
2474 | if { { ac_try="$ac_link" | ||
2475 | case "(($ac_try" in | ||
2476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2477 | *) ac_try_echo=$ac_try;; | ||
2478 | esac | ||
2479 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2480 | $as_echo "$ac_try_echo"; } >&5 | ||
2481 | (eval "$ac_link") 2>&5 | ||
2482 | ac_status=$? | ||
2483 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2484 | test $ac_status = 0; }; then : | ||
2485 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
2486 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
2487 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
2488 | # `rm'. | ||
2489 | for ac_file in conftest.exe conftest conftest.*; do | ||
2490 | test -f "$ac_file" || continue | ||
2491 | case $ac_file in | ||
2492 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
2493 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
2494 | break;; | ||
2495 | * ) break;; | ||
2496 | esac | ||
2497 | done | ||
2498 | else | ||
2499 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2500 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2501 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | ||
2502 | See \`config.log' for more details" "$LINENO" 5; } | ||
2503 | fi | ||
2504 | rm -f conftest conftest$ac_cv_exeext | ||
2505 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | ||
2506 | $as_echo "$ac_cv_exeext" >&6; } | ||
2507 | |||
2508 | rm -f conftest.$ac_ext | ||
2509 | EXEEXT=$ac_cv_exeext | ||
2510 | ac_exeext=$EXEEXT | ||
2511 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2512 | /* end confdefs.h. */ | ||
2513 | #include <stdio.h> | ||
2514 | int | ||
2515 | main () | ||
2516 | { | ||
2517 | FILE *f = fopen ("conftest.out", "w"); | ||
2518 | return ferror (f) || fclose (f) != 0; | ||
2519 | |||
2520 | ; | ||
2521 | return 0; | ||
2522 | } | ||
2523 | _ACEOF | ||
2524 | ac_clean_files="$ac_clean_files conftest.out" | ||
2525 | # Check that the compiler produces executables we can run. If not, either | ||
2526 | # the compiler is broken, or we cross compile. | ||
2527 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
2528 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
2529 | if test "$cross_compiling" != yes; then | ||
2530 | { { ac_try="$ac_link" | ||
2531 | case "(($ac_try" in | ||
2532 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2533 | *) ac_try_echo=$ac_try;; | ||
2534 | esac | ||
2535 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2536 | $as_echo "$ac_try_echo"; } >&5 | ||
2537 | (eval "$ac_link") 2>&5 | ||
2538 | ac_status=$? | ||
2539 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2540 | test $ac_status = 0; } | ||
2541 | if { ac_try='./conftest$ac_cv_exeext' | ||
2542 | { { case "(($ac_try" in | ||
2543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2544 | *) ac_try_echo=$ac_try;; | ||
2545 | esac | ||
2546 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2547 | $as_echo "$ac_try_echo"; } >&5 | ||
2548 | (eval "$ac_try") 2>&5 | ||
2549 | ac_status=$? | ||
2550 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2551 | test $ac_status = 0; }; }; then | ||
2552 | cross_compiling=no | ||
2553 | else | ||
2554 | if test "$cross_compiling" = maybe; then | ||
2555 | cross_compiling=yes | ||
2556 | else | ||
2557 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2558 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2559 | as_fn_error $? "cannot run C compiled programs. | ||
2560 | If you meant to cross compile, use \`--host'. | ||
2561 | See \`config.log' for more details" "$LINENO" 5; } | ||
2562 | fi | ||
2563 | fi | ||
2564 | fi | ||
2565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
2566 | $as_echo "$cross_compiling" >&6; } | ||
2567 | |||
2568 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
2569 | ac_clean_files=$ac_clean_files_save | ||
2570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
2571 | $as_echo_n "checking for suffix of object files... " >&6; } | ||
2572 | if ${ac_cv_objext+:} false; then : | ||
2573 | $as_echo_n "(cached) " >&6 | ||
2574 | else | ||
2575 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2576 | /* end confdefs.h. */ | ||
2577 | |||
2578 | int | ||
2579 | main () | ||
2580 | { | ||
2581 | |||
2582 | ; | ||
2583 | return 0; | ||
2584 | } | ||
2585 | _ACEOF | ||
2586 | rm -f conftest.o conftest.obj | ||
2587 | if { { ac_try="$ac_compile" | ||
2588 | case "(($ac_try" in | ||
2589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2590 | *) ac_try_echo=$ac_try;; | ||
2591 | esac | ||
2592 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2593 | $as_echo "$ac_try_echo"; } >&5 | ||
2594 | (eval "$ac_compile") 2>&5 | ||
2595 | ac_status=$? | ||
2596 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2597 | test $ac_status = 0; }; then : | ||
2598 | for ac_file in conftest.o conftest.obj conftest.*; do | ||
2599 | test -f "$ac_file" || continue; | ||
2600 | case $ac_file in | ||
2601 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | ||
2602 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
2603 | break;; | ||
2604 | esac | ||
2605 | done | ||
2606 | else | ||
2607 | $as_echo "$as_me: failed program was:" >&5 | ||
2608 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2609 | |||
2610 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2611 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2612 | as_fn_error $? "cannot compute suffix of object files: cannot compile | ||
2613 | See \`config.log' for more details" "$LINENO" 5; } | ||
2614 | fi | ||
2615 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
2616 | fi | ||
2617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | ||
2618 | $as_echo "$ac_cv_objext" >&6; } | ||
2619 | OBJEXT=$ac_cv_objext | ||
2620 | ac_objext=$OBJEXT | ||
2621 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | ||
2622 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | ||
2623 | if ${ac_cv_c_compiler_gnu+:} false; then : | ||
2624 | $as_echo_n "(cached) " >&6 | ||
2625 | else | ||
2626 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2627 | /* end confdefs.h. */ | ||
2628 | |||
2629 | int | ||
2630 | main () | ||
2631 | { | ||
2632 | #ifndef __GNUC__ | ||
2633 | choke me | ||
2634 | #endif | ||
2635 | |||
2636 | ; | ||
2637 | return 0; | ||
2638 | } | ||
2639 | _ACEOF | ||
2640 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2641 | ac_compiler_gnu=yes | ||
2642 | else | ||
2643 | ac_compiler_gnu=no | ||
2644 | fi | ||
2645 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2646 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
2647 | |||
2648 | fi | ||
2649 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | ||
2650 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
2651 | if test $ac_compiler_gnu = yes; then | ||
2652 | GCC=yes | ||
2653 | else | ||
2654 | GCC= | ||
2655 | fi | ||
2656 | ac_test_CFLAGS=${CFLAGS+set} | ||
2657 | ac_save_CFLAGS=$CFLAGS | ||
2658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | ||
2659 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | ||
2660 | if ${ac_cv_prog_cc_g+:} false; then : | ||
2661 | $as_echo_n "(cached) " >&6 | ||
2662 | else | ||
2663 | ac_save_c_werror_flag=$ac_c_werror_flag | ||
2664 | ac_c_werror_flag=yes | ||
2665 | ac_cv_prog_cc_g=no | ||
2666 | CFLAGS="-g" | ||
2667 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2668 | /* end confdefs.h. */ | ||
2669 | |||
2670 | int | ||
2671 | main () | ||
2672 | { | ||
2673 | |||
2674 | ; | ||
2675 | return 0; | ||
2676 | } | ||
2677 | _ACEOF | ||
2678 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2679 | ac_cv_prog_cc_g=yes | ||
2680 | else | ||
2681 | CFLAGS="" | ||
2682 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2683 | /* end confdefs.h. */ | ||
2684 | |||
2685 | int | ||
2686 | main () | ||
2687 | { | ||
2688 | |||
2689 | ; | ||
2690 | return 0; | ||
2691 | } | ||
2692 | _ACEOF | ||
2693 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2694 | |||
2695 | else | ||
2696 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
2697 | CFLAGS="-g" | ||
2698 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2699 | /* end confdefs.h. */ | ||
2700 | |||
2701 | int | ||
2702 | main () | ||
2703 | { | ||
2704 | |||
2705 | ; | ||
2706 | return 0; | ||
2707 | } | ||
2708 | _ACEOF | ||
2709 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2710 | ac_cv_prog_cc_g=yes | ||
2711 | fi | ||
2712 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2713 | fi | ||
2714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2715 | fi | ||
2716 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2717 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
2718 | fi | ||
2719 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | ||
2720 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
2721 | if test "$ac_test_CFLAGS" = set; then | ||
2722 | CFLAGS=$ac_save_CFLAGS | ||
2723 | elif test $ac_cv_prog_cc_g = yes; then | ||
2724 | if test "$GCC" = yes; then | ||
2725 | CFLAGS="-g -O2" | ||
2726 | else | ||
2727 | CFLAGS="-g" | ||
2728 | fi | ||
2729 | else | ||
2730 | if test "$GCC" = yes; then | ||
2731 | CFLAGS="-O2" | ||
2732 | else | ||
2733 | CFLAGS= | ||
2734 | fi | ||
2735 | fi | ||
2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | ||
2737 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | ||
2738 | if ${ac_cv_prog_cc_c89+:} false; then : | ||
2739 | $as_echo_n "(cached) " >&6 | ||
2740 | else | ||
2741 | ac_cv_prog_cc_c89=no | ||
2742 | ac_save_CC=$CC | ||
2743 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2744 | /* end confdefs.h. */ | ||
2745 | #include <stdarg.h> | ||
2746 | #include <stdio.h> | ||
2747 | struct stat; | ||
2748 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
2749 | struct buf { int x; }; | ||
2750 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
2751 | static char *e (p, i) | ||
2752 | char **p; | ||
2753 | int i; | ||
2754 | { | ||
2755 | return p[i]; | ||
2756 | } | ||
2757 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
2758 | { | ||
2759 | char *s; | ||
2760 | va_list v; | ||
2761 | va_start (v,p); | ||
2762 | s = g (p, va_arg (v,int)); | ||
2763 | va_end (v); | ||
2764 | return s; | ||
2765 | } | ||
2766 | |||
2767 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
2768 | function prototypes and stuff, but not '\xHH' hex character constants. | ||
2769 | These don't provoke an error unfortunately, instead are silently treated | ||
2770 | as 'x'. The following induces an error, until -std is added to get | ||
2771 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
2772 | array size at least. It's necessary to write '\x00'==0 to get something | ||
2773 | that's true only with -std. */ | ||
2774 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
2775 | |||
2776 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
2777 | inside strings and character constants. */ | ||
2778 | #define FOO(x) 'x' | ||
2779 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
2780 | |||
2781 | int test (int i, double x); | ||
2782 | struct s1 {int (*f) (int a);}; | ||
2783 | struct s2 {int (*f) (double a);}; | ||
2784 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
2785 | int argc; | ||
2786 | char **argv; | ||
2787 | int | ||
2788 | main () | ||
2789 | { | ||
2790 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
2791 | ; | ||
2792 | return 0; | ||
2793 | } | ||
2794 | _ACEOF | ||
2795 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
2796 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2797 | do | ||
2798 | CC="$ac_save_CC $ac_arg" | ||
2799 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2800 | ac_cv_prog_cc_c89=$ac_arg | ||
2801 | fi | ||
2802 | rm -f core conftest.err conftest.$ac_objext | ||
2803 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
2804 | done | ||
2805 | rm -f conftest.$ac_ext | ||
2806 | CC=$ac_save_CC | ||
2807 | |||
2808 | fi | ||
2809 | # AC_CACHE_VAL | ||
2810 | case "x$ac_cv_prog_cc_c89" in | ||
2811 | x) | ||
2812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
2813 | $as_echo "none needed" >&6; } ;; | ||
2814 | xno) | ||
2815 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
2816 | $as_echo "unsupported" >&6; } ;; | ||
2817 | *) | ||
2818 | CC="$CC $ac_cv_prog_cc_c89" | ||
2819 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | ||
2820 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | ||
2821 | esac | ||
2822 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
2823 | |||
2824 | fi | ||
2825 | |||
2826 | ac_ext=c | ||
2827 | ac_cpp='$CPP $CPPFLAGS' | ||
2828 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2829 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2830 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2831 | |||
2832 | #AC_PROG_CXX | ||
2833 | ac_aux_dir= | ||
2834 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
2835 | if test -f "$ac_dir/install-sh"; then | ||
2836 | ac_aux_dir=$ac_dir | ||
2837 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
2838 | break | ||
2839 | elif test -f "$ac_dir/install.sh"; then | ||
2840 | ac_aux_dir=$ac_dir | ||
2841 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
2842 | break | ||
2843 | elif test -f "$ac_dir/shtool"; then | ||
2844 | ac_aux_dir=$ac_dir | ||
2845 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
2846 | break | ||
2847 | fi | ||
2848 | done | ||
2849 | if test -z "$ac_aux_dir"; then | ||
2850 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | ||
2851 | fi | ||
2852 | |||
2853 | # These three variables are undocumented and unsupported, | ||
2854 | # and are intended to be withdrawn in a future Autoconf release. | ||
2855 | # They can cause serious problems if a builder's source tree is in a directory | ||
2856 | # whose full name contains unusual characters. | ||
2857 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
2858 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
2859 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
2860 | |||
2861 | |||
2862 | # Find a good install program. We prefer a C program (faster), | ||
2863 | # so one script is as good as another. But avoid the broken or | ||
2864 | # incompatible versions: | ||
2865 | # SysV /etc/install, /usr/sbin/install | ||
2866 | # SunOS /usr/etc/install | ||
2867 | # IRIX /sbin/install | ||
2868 | # AIX /bin/install | ||
2869 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
2870 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
2871 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
2872 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
2873 | # OS/2's system install, which has a completely different semantic | ||
2874 | # ./install, which can be erroneously created by make from ./install.sh. | ||
2875 | # Reject install programs that cannot install multiple files. | ||
2876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | ||
2877 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
2878 | if test -z "$INSTALL"; then | ||
2879 | if ${ac_cv_path_install+:} false; then : | ||
2880 | $as_echo_n "(cached) " >&6 | ||
2881 | else | ||
2882 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2883 | for as_dir in $PATH | ||
2884 | do | ||
2885 | IFS=$as_save_IFS | ||
2886 | test -z "$as_dir" && as_dir=. | ||
2887 | # Account for people who put trailing slashes in PATH elements. | ||
2888 | case $as_dir/ in #(( | ||
2889 | ./ | .// | /[cC]/* | \ | ||
2890 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
2891 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | ||
2892 | /usr/ucb/* ) ;; | ||
2893 | *) | ||
2894 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
2895 | # Don't use installbsd from OSF since it installs stuff as root | ||
2896 | # by default. | ||
2897 | for ac_prog in ginstall scoinst install; do | ||
2898 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2899 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
2900 | if test $ac_prog = install && | ||
2901 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2902 | # AIX install. It has an incompatible calling convention. | ||
2903 | : | ||
2904 | elif test $ac_prog = install && | ||
2905 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2906 | # program-specific install script used by HP pwplus--don't use. | ||
2907 | : | ||
2908 | else | ||
2909 | rm -rf conftest.one conftest.two conftest.dir | ||
2910 | echo one > conftest.one | ||
2911 | echo two > conftest.two | ||
2912 | mkdir conftest.dir | ||
2913 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
2914 | test -s conftest.one && test -s conftest.two && | ||
2915 | test -s conftest.dir/conftest.one && | ||
2916 | test -s conftest.dir/conftest.two | ||
2917 | then | ||
2918 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
2919 | break 3 | ||
2920 | fi | ||
2921 | fi | ||
2922 | fi | ||
2923 | done | ||
2924 | done | ||
2925 | ;; | ||
2926 | esac | ||
2927 | |||
2928 | done | ||
2929 | IFS=$as_save_IFS | ||
2930 | |||
2931 | rm -rf conftest.one conftest.two conftest.dir | ||
2932 | |||
2933 | fi | ||
2934 | if test "${ac_cv_path_install+set}" = set; then | ||
2935 | INSTALL=$ac_cv_path_install | ||
2936 | else | ||
2937 | # As a last resort, use the slow shell script. Don't cache a | ||
2938 | # value for INSTALL within a source directory, because that will | ||
2939 | # break other packages using the cache if that directory is | ||
2940 | # removed, or if the value is a relative name. | ||
2941 | INSTALL=$ac_install_sh | ||
2942 | fi | ||
2943 | fi | ||
2944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | ||
2945 | $as_echo "$INSTALL" >&6; } | ||
2946 | |||
2947 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
2948 | # It thinks the first close brace ends the variable substitution. | ||
2949 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
2950 | |||
2951 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
2952 | |||
2953 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
2954 | |||
2955 | if test -n "$ac_tool_prefix"; then | ||
2956 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||
2957 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||
2958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2959 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2960 | if ${ac_cv_prog_RANLIB+:} false; then : | ||
2961 | $as_echo_n "(cached) " >&6 | ||
2962 | else | ||
2963 | if test -n "$RANLIB"; then | ||
2964 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ||
2965 | else | ||
2966 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2967 | for as_dir in $PATH | ||
2968 | do | ||
2969 | IFS=$as_save_IFS | ||
2970 | test -z "$as_dir" && as_dir=. | ||
2971 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2972 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2973 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | ||
2974 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2975 | break 2 | ||
2976 | fi | ||
2977 | done | ||
2978 | done | ||
2979 | IFS=$as_save_IFS | ||
2980 | |||
2981 | fi | ||
2982 | fi | ||
2983 | RANLIB=$ac_cv_prog_RANLIB | ||
2984 | if test -n "$RANLIB"; then | ||
2985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | ||
2986 | $as_echo "$RANLIB" >&6; } | ||
2987 | else | ||
2988 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2989 | $as_echo "no" >&6; } | ||
2990 | fi | ||
2991 | |||
2992 | |||
2993 | fi | ||
2994 | if test -z "$ac_cv_prog_RANLIB"; then | ||
2995 | ac_ct_RANLIB=$RANLIB | ||
2996 | # Extract the first word of "ranlib", so it can be a program name with args. | ||
2997 | set dummy ranlib; ac_word=$2 | ||
2998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2999 | $as_echo_n "checking for $ac_word... " >&6; } | ||
3000 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | ||
3001 | $as_echo_n "(cached) " >&6 | ||
3002 | else | ||
3003 | if test -n "$ac_ct_RANLIB"; then | ||
3004 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | ||
3005 | else | ||
3006 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3007 | for as_dir in $PATH | ||
3008 | do | ||
3009 | IFS=$as_save_IFS | ||
3010 | test -z "$as_dir" && as_dir=. | ||
3011 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3012 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3013 | ac_cv_prog_ac_ct_RANLIB="ranlib" | ||
3014 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3015 | break 2 | ||
3016 | fi | ||
3017 | done | ||
3018 | done | ||
3019 | IFS=$as_save_IFS | ||
3020 | |||
3021 | fi | ||
3022 | fi | ||
3023 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | ||
3024 | if test -n "$ac_ct_RANLIB"; then | ||
3025 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | ||
3026 | $as_echo "$ac_ct_RANLIB" >&6; } | ||
3027 | else | ||
3028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
3029 | $as_echo "no" >&6; } | ||
3030 | fi | ||
3031 | |||
3032 | if test "x$ac_ct_RANLIB" = x; then | ||
3033 | RANLIB=":" | ||
3034 | else | ||
3035 | case $cross_compiling:$ac_tool_warned in | ||
3036 | yes:) | ||
3037 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
3038 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
3039 | ac_tool_warned=yes ;; | ||
3040 | esac | ||
3041 | RANLIB=$ac_ct_RANLIB | ||
3042 | fi | ||
3043 | else | ||
3044 | RANLIB="$ac_cv_prog_RANLIB" | ||
3045 | fi | ||
3046 | |||
3047 | |||
3048 | HAVE_SECCOMP="" | ||
3049 | # Check whether --enable-seccomp was given. | ||
3050 | if test "${enable_seccomp+set}" = set; then : | ||
3051 | enableval=$enable_seccomp; | ||
3052 | fi | ||
3053 | |||
3054 | if test "x$enable_seccomp" != "xno"; then : | ||
3055 | |||
3056 | HAVE_SECCOMP="-DHAVE_SECCOMP" | ||
3057 | |||
3058 | |||
3059 | fi | ||
3060 | |||
3061 | HAVE_CHROOT="" | ||
3062 | # Check whether --enable-chroot was given. | ||
3063 | if test "${enable_chroot+set}" = set; then : | ||
3064 | enableval=$enable_chroot; | ||
3065 | fi | ||
3066 | |||
3067 | if test "x$enable_chroot" != "xno"; then : | ||
3068 | |||
3069 | HAVE_CHROOT="-DHAVE_CHROOT" | ||
3070 | |||
3071 | |||
3072 | fi | ||
3073 | |||
3074 | HAVE_BIND="" | ||
3075 | # Check whether --enable-bind was given. | ||
3076 | if test "${enable_bind+set}" = set; then : | ||
3077 | enableval=$enable_bind; | ||
3078 | fi | ||
3079 | |||
3080 | if test "x$enable_bind" != "xno"; then : | ||
3081 | |||
3082 | HAVE_BIND="-DHAVE_BIND" | ||
3083 | |||
3084 | |||
3085 | fi | ||
3086 | |||
3087 | |||
3088 | # checking pthread library | ||
3089 | |||
3090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 | ||
3091 | $as_echo_n "checking for main in -lpthread... " >&6; } | ||
3092 | if ${ac_cv_lib_pthread_main+:} false; then : | ||
3093 | $as_echo_n "(cached) " >&6 | ||
3094 | else | ||
3095 | ac_check_lib_save_LIBS=$LIBS | ||
3096 | LIBS="-lpthread $LIBS" | ||
3097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3098 | /* end confdefs.h. */ | ||
3099 | |||
3100 | |||
3101 | int | ||
3102 | main () | ||
3103 | { | ||
3104 | return main (); | ||
3105 | ; | ||
3106 | return 0; | ||
3107 | } | ||
3108 | _ACEOF | ||
3109 | if ac_fn_c_try_link "$LINENO"; then : | ||
3110 | ac_cv_lib_pthread_main=yes | ||
3111 | else | ||
3112 | ac_cv_lib_pthread_main=no | ||
3113 | fi | ||
3114 | rm -f core conftest.err conftest.$ac_objext \ | ||
3115 | conftest$ac_exeext conftest.$ac_ext | ||
3116 | LIBS=$ac_check_lib_save_LIBS | ||
3117 | fi | ||
3118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5 | ||
3119 | $as_echo "$ac_cv_lib_pthread_main" >&6; } | ||
3120 | if test "x$ac_cv_lib_pthread_main" = xyes; then : | ||
3121 | cat >>confdefs.h <<_ACEOF | ||
3122 | #define HAVE_LIBPTHREAD 1 | ||
3123 | _ACEOF | ||
3124 | |||
3125 | LIBS="-lpthread $LIBS" | ||
3126 | |||
3127 | else | ||
3128 | as_fn_error $? "*** POSIX thread support not installed ***" "$LINENO" 5 | ||
3129 | fi | ||
3130 | |||
3131 | ac_ext=c | ||
3132 | ac_cpp='$CPP $CPPFLAGS' | ||
3133 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3134 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3135 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3136 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | ||
3137 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | ||
3138 | # On Suns, sometimes $CPP names a directory. | ||
3139 | if test -n "$CPP" && test -d "$CPP"; then | ||
3140 | CPP= | ||
3141 | fi | ||
3142 | if test -z "$CPP"; then | ||
3143 | if ${ac_cv_prog_CPP+:} false; then : | ||
3144 | $as_echo_n "(cached) " >&6 | ||
3145 | else | ||
3146 | # Double quotes because CPP needs to be expanded | ||
3147 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
3148 | do | ||
3149 | ac_preproc_ok=false | ||
3150 | for ac_c_preproc_warn_flag in '' yes | ||
3151 | do | ||
3152 | # Use a header file that comes with gcc, so configuring glibc | ||
3153 | # with a fresh cross-compiler works. | ||
3154 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3155 | # <limits.h> exists even on freestanding compilers. | ||
3156 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
3157 | # not just through cpp. "Syntax error" is here to catch this case. | ||
3158 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3159 | /* end confdefs.h. */ | ||
3160 | #ifdef __STDC__ | ||
3161 | # include <limits.h> | ||
3162 | #else | ||
3163 | # include <assert.h> | ||
3164 | #endif | ||
3165 | Syntax error | ||
3166 | _ACEOF | ||
3167 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3168 | |||
3169 | else | ||
3170 | # Broken: fails on valid input. | ||
3171 | continue | ||
3172 | fi | ||
3173 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
3174 | |||
3175 | # OK, works on sane cases. Now check whether nonexistent headers | ||
3176 | # can be detected and how. | ||
3177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3178 | /* end confdefs.h. */ | ||
3179 | #include <ac_nonexistent.h> | ||
3180 | _ACEOF | ||
3181 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3182 | # Broken: success on invalid input. | ||
3183 | continue | ||
3184 | else | ||
3185 | # Passes both tests. | ||
3186 | ac_preproc_ok=: | ||
3187 | break | ||
3188 | fi | ||
3189 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
3190 | |||
3191 | done | ||
3192 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
3193 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
3194 | if $ac_preproc_ok; then : | ||
3195 | break | ||
3196 | fi | ||
3197 | |||
3198 | done | ||
3199 | ac_cv_prog_CPP=$CPP | ||
3200 | |||
3201 | fi | ||
3202 | CPP=$ac_cv_prog_CPP | ||
3203 | else | ||
3204 | ac_cv_prog_CPP=$CPP | ||
3205 | fi | ||
3206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | ||
3207 | $as_echo "$CPP" >&6; } | ||
3208 | ac_preproc_ok=false | ||
3209 | for ac_c_preproc_warn_flag in '' yes | ||
3210 | do | ||
3211 | # Use a header file that comes with gcc, so configuring glibc | ||
3212 | # with a fresh cross-compiler works. | ||
3213 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3214 | # <limits.h> exists even on freestanding compilers. | ||
3215 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
3216 | # not just through cpp. "Syntax error" is here to catch this case. | ||
3217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3218 | /* end confdefs.h. */ | ||
3219 | #ifdef __STDC__ | ||
3220 | # include <limits.h> | ||
3221 | #else | ||
3222 | # include <assert.h> | ||
3223 | #endif | ||
3224 | Syntax error | ||
3225 | _ACEOF | ||
3226 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3227 | |||
3228 | else | ||
3229 | # Broken: fails on valid input. | ||
3230 | continue | ||
3231 | fi | ||
3232 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
3233 | |||
3234 | # OK, works on sane cases. Now check whether nonexistent headers | ||
3235 | # can be detected and how. | ||
3236 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3237 | /* end confdefs.h. */ | ||
3238 | #include <ac_nonexistent.h> | ||
3239 | _ACEOF | ||
3240 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
3241 | # Broken: success on invalid input. | ||
3242 | continue | ||
3243 | else | ||
3244 | # Passes both tests. | ||
3245 | ac_preproc_ok=: | ||
3246 | break | ||
3247 | fi | ||
3248 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
3249 | |||
3250 | done | ||
3251 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
3252 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
3253 | if $ac_preproc_ok; then : | ||
3254 | |||
3255 | else | ||
3256 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
3257 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3258 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | ||
3259 | See \`config.log' for more details" "$LINENO" 5; } | ||
3260 | fi | ||
3261 | |||
3262 | ac_ext=c | ||
3263 | ac_cpp='$CPP $CPPFLAGS' | ||
3264 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3265 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3266 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3267 | |||
3268 | |||
3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | ||
3270 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||
3271 | if ${ac_cv_path_GREP+:} false; then : | ||
3272 | $as_echo_n "(cached) " >&6 | ||
3273 | else | ||
3274 | if test -z "$GREP"; then | ||
3275 | ac_path_GREP_found=false | ||
3276 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
3277 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3278 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
3279 | do | ||
3280 | IFS=$as_save_IFS | ||
3281 | test -z "$as_dir" && as_dir=. | ||
3282 | for ac_prog in grep ggrep; do | ||
3283 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3284 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
3285 | as_fn_executable_p "$ac_path_GREP" || continue | ||
3286 | # Check for GNU ac_path_GREP and select it if it is found. | ||
3287 | # Check for GNU $ac_path_GREP | ||
3288 | case `"$ac_path_GREP" --version 2>&1` in | ||
3289 | *GNU*) | ||
3290 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
3291 | *) | ||
3292 | ac_count=0 | ||
3293 | $as_echo_n 0123456789 >"conftest.in" | ||
3294 | while : | ||
3295 | do | ||
3296 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
3297 | mv "conftest.tmp" "conftest.in" | ||
3298 | cp "conftest.in" "conftest.nl" | ||
3299 | $as_echo 'GREP' >> "conftest.nl" | ||
3300 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
3301 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
3302 | as_fn_arith $ac_count + 1 && ac_count=$as_val | ||
3303 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
3304 | # Best one so far, save it but keep looking for a better one | ||
3305 | ac_cv_path_GREP="$ac_path_GREP" | ||
3306 | ac_path_GREP_max=$ac_count | ||
3307 | fi | ||
3308 | # 10*(2^10) chars as input seems more than enough | ||
3309 | test $ac_count -gt 10 && break | ||
3310 | done | ||
3311 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
3312 | esac | ||
3313 | |||
3314 | $ac_path_GREP_found && break 3 | ||
3315 | done | ||
3316 | done | ||
3317 | done | ||
3318 | IFS=$as_save_IFS | ||
3319 | if test -z "$ac_cv_path_GREP"; then | ||
3320 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | ||
3321 | fi | ||
3322 | else | ||
3323 | ac_cv_path_GREP=$GREP | ||
3324 | fi | ||
3325 | |||
3326 | fi | ||
3327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | ||
3328 | $as_echo "$ac_cv_path_GREP" >&6; } | ||
3329 | GREP="$ac_cv_path_GREP" | ||
3330 | |||
3331 | |||
3332 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | ||
3333 | $as_echo_n "checking for egrep... " >&6; } | ||
3334 | if ${ac_cv_path_EGREP+:} false; then : | ||
3335 | $as_echo_n "(cached) " >&6 | ||
3336 | else | ||
3337 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
3338 | then ac_cv_path_EGREP="$GREP -E" | ||
3339 | else | ||
3340 | if test -z "$EGREP"; then | ||
3341 | ac_path_EGREP_found=false | ||
3342 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
3343 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3344 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
3345 | do | ||
3346 | IFS=$as_save_IFS | ||
3347 | test -z "$as_dir" && as_dir=. | ||
3348 | for ac_prog in egrep; do | ||
3349 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3350 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
3351 | as_fn_executable_p "$ac_path_EGREP" || continue | ||
3352 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
3353 | # Check for GNU $ac_path_EGREP | ||
3354 | case `"$ac_path_EGREP" --version 2>&1` in | ||
3355 | *GNU*) | ||
3356 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
3357 | *) | ||
3358 | ac_count=0 | ||
3359 | $as_echo_n 0123456789 >"conftest.in" | ||
3360 | while : | ||
3361 | do | ||
3362 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
3363 | mv "conftest.tmp" "conftest.in" | ||
3364 | cp "conftest.in" "conftest.nl" | ||
3365 | $as_echo 'EGREP' >> "conftest.nl" | ||
3366 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
3367 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
3368 | as_fn_arith $ac_count + 1 && ac_count=$as_val | ||
3369 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
3370 | # Best one so far, save it but keep looking for a better one | ||
3371 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
3372 | ac_path_EGREP_max=$ac_count | ||
3373 | fi | ||
3374 | # 10*(2^10) chars as input seems more than enough | ||
3375 | test $ac_count -gt 10 && break | ||
3376 | done | ||
3377 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
3378 | esac | ||
3379 | |||
3380 | $ac_path_EGREP_found && break 3 | ||
3381 | done | ||
3382 | done | ||
3383 | done | ||
3384 | IFS=$as_save_IFS | ||
3385 | if test -z "$ac_cv_path_EGREP"; then | ||
3386 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | ||
3387 | fi | ||
3388 | else | ||
3389 | ac_cv_path_EGREP=$EGREP | ||
3390 | fi | ||
3391 | |||
3392 | fi | ||
3393 | fi | ||
3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | ||
3395 | $as_echo "$ac_cv_path_EGREP" >&6; } | ||
3396 | EGREP="$ac_cv_path_EGREP" | ||
3397 | |||
3398 | |||
3399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | ||
3400 | $as_echo_n "checking for ANSI C header files... " >&6; } | ||
3401 | if ${ac_cv_header_stdc+:} false; then : | ||
3402 | $as_echo_n "(cached) " >&6 | ||
3403 | else | ||
3404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3405 | /* end confdefs.h. */ | ||
3406 | #include <stdlib.h> | ||
3407 | #include <stdarg.h> | ||
3408 | #include <string.h> | ||
3409 | #include <float.h> | ||
3410 | |||
3411 | int | ||
3412 | main () | ||
3413 | { | ||
3414 | |||
3415 | ; | ||
3416 | return 0; | ||
3417 | } | ||
3418 | _ACEOF | ||
3419 | if ac_fn_c_try_compile "$LINENO"; then : | ||
3420 | ac_cv_header_stdc=yes | ||
3421 | else | ||
3422 | ac_cv_header_stdc=no | ||
3423 | fi | ||
3424 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3425 | |||
3426 | if test $ac_cv_header_stdc = yes; then | ||
3427 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
3428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3429 | /* end confdefs.h. */ | ||
3430 | #include <string.h> | ||
3431 | |||
3432 | _ACEOF | ||
3433 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
3434 | $EGREP "memchr" >/dev/null 2>&1; then : | ||
3435 | |||
3436 | else | ||
3437 | ac_cv_header_stdc=no | ||
3438 | fi | ||
3439 | rm -f conftest* | ||
3440 | |||
3441 | fi | ||
3442 | |||
3443 | if test $ac_cv_header_stdc = yes; then | ||
3444 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
3445 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3446 | /* end confdefs.h. */ | ||
3447 | #include <stdlib.h> | ||
3448 | |||
3449 | _ACEOF | ||
3450 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
3451 | $EGREP "free" >/dev/null 2>&1; then : | ||
3452 | |||
3453 | else | ||
3454 | ac_cv_header_stdc=no | ||
3455 | fi | ||
3456 | rm -f conftest* | ||
3457 | |||
3458 | fi | ||
3459 | |||
3460 | if test $ac_cv_header_stdc = yes; then | ||
3461 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
3462 | if test "$cross_compiling" = yes; then : | ||
3463 | : | ||
3464 | else | ||
3465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3466 | /* end confdefs.h. */ | ||
3467 | #include <ctype.h> | ||
3468 | #include <stdlib.h> | ||
3469 | #if ((' ' & 0x0FF) == 0x020) | ||
3470 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
3471 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
3472 | #else | ||
3473 | # define ISLOWER(c) \ | ||
3474 | (('a' <= (c) && (c) <= 'i') \ | ||
3475 | || ('j' <= (c) && (c) <= 'r') \ | ||
3476 | || ('s' <= (c) && (c) <= 'z')) | ||
3477 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
3478 | #endif | ||
3479 | |||
3480 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
3481 | int | ||
3482 | main () | ||
3483 | { | ||
3484 | int i; | ||
3485 | for (i = 0; i < 256; i++) | ||
3486 | if (XOR (islower (i), ISLOWER (i)) | ||
3487 | || toupper (i) != TOUPPER (i)) | ||
3488 | return 2; | ||
3489 | return 0; | ||
3490 | } | ||
3491 | _ACEOF | ||
3492 | if ac_fn_c_try_run "$LINENO"; then : | ||
3493 | |||
3494 | else | ||
3495 | ac_cv_header_stdc=no | ||
3496 | fi | ||
3497 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
3498 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
3499 | fi | ||
3500 | |||
3501 | fi | ||
3502 | fi | ||
3503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | ||
3504 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
3505 | if test $ac_cv_header_stdc = yes; then | ||
3506 | |||
3507 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | ||
3508 | |||
3509 | fi | ||
3510 | |||
3511 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
3512 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
3513 | inttypes.h stdint.h unistd.h | ||
3514 | do : | ||
3515 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
3516 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | ||
3517 | " | ||
3518 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | ||
3519 | cat >>confdefs.h <<_ACEOF | ||
3520 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
3521 | _ACEOF | ||
3522 | |||
3523 | fi | ||
3524 | |||
3525 | done | ||
3526 | |||
3527 | |||
3528 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | ||
3529 | if test "x$ac_cv_header_pthread_h" = xyes; then : | ||
3530 | |||
3531 | else | ||
3532 | as_fn_error $? "*** POSIX thread support not installed ***" "$LINENO" 5 | ||
3533 | fi | ||
3534 | |||
3535 | |||
3536 | ac_fn_c_check_header_mongrel "$LINENO" "linux/seccomp.h" "ac_cv_header_linux_seccomp_h" "$ac_includes_default" | ||
3537 | if test "x$ac_cv_header_linux_seccomp_h" = xyes; then : | ||
3538 | HAVE_SECCOMP_H="-DHAVE_SECCOMP_H" | ||
3539 | else | ||
3540 | HAVE_SECCOMP_H="" | ||
3541 | fi | ||
3542 | |||
3543 | |||
3544 | |||
3545 | |||
3546 | ac_config_files="$ac_config_files Makefile src/lib/Makefile src/firejail/Makefile src/firemon/Makefile src/libtrace/Makefile src/ftee/Makefile" | ||
3547 | |||
3548 | cat >confcache <<\_ACEOF | ||
3549 | # This file is a shell script that caches the results of configure | ||
3550 | # tests run on this system so they can be shared between configure | ||
3551 | # scripts and configure runs, see configure's option --config-cache. | ||
3552 | # It is not useful on other systems. If it contains results you don't | ||
3553 | # want to keep, you may remove or edit it. | ||
3554 | # | ||
3555 | # config.status only pays attention to the cache file if you give it | ||
3556 | # the --recheck option to rerun configure. | ||
3557 | # | ||
3558 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
3559 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
3560 | # following values. | ||
3561 | |||
3562 | _ACEOF | ||
3563 | |||
3564 | # The following way of writing the cache mishandles newlines in values, | ||
3565 | # but we know of no workaround that is simple, portable, and efficient. | ||
3566 | # So, we kill variables containing newlines. | ||
3567 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
3568 | # and sets the high bit in the cache file unless we assign to the vars. | ||
3569 | ( | ||
3570 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
3571 | eval ac_val=\$$ac_var | ||
3572 | case $ac_val in #( | ||
3573 | *${as_nl}*) | ||
3574 | case $ac_var in #( | ||
3575 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
3576 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
3577 | esac | ||
3578 | case $ac_var in #( | ||
3579 | _ | IFS | as_nl) ;; #( | ||
3580 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
3581 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
3582 | esac ;; | ||
3583 | esac | ||
3584 | done | ||
3585 | |||
3586 | (set) 2>&1 | | ||
3587 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | ||
3588 | *${as_nl}ac_space=\ *) | ||
3589 | # `set' does not quote correctly, so add quotes: double-quote | ||
3590 | # substitution turns \\\\ into \\, and sed turns \\ into \. | ||
3591 | sed -n \ | ||
3592 | "s/'/'\\\\''/g; | ||
3593 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
3594 | ;; #( | ||
3595 | *) | ||
3596 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
3597 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
3598 | ;; | ||
3599 | esac | | ||
3600 | sort | ||
3601 | ) | | ||
3602 | sed ' | ||
3603 | /^ac_cv_env_/b end | ||
3604 | t clear | ||
3605 | :clear | ||
3606 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
3607 | t end | ||
3608 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
3609 | :end' >>confcache | ||
3610 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | ||
3611 | if test -w "$cache_file"; then | ||
3612 | if test "x$cache_file" != "x/dev/null"; then | ||
3613 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | ||
3614 | $as_echo "$as_me: updating cache $cache_file" >&6;} | ||
3615 | if test ! -f "$cache_file" || test -h "$cache_file"; then | ||
3616 | cat confcache >"$cache_file" | ||
3617 | else | ||
3618 | case $cache_file in #( | ||
3619 | */* | ?:*) | ||
3620 | mv -f confcache "$cache_file"$$ && | ||
3621 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
3622 | *) | ||
3623 | mv -f confcache "$cache_file" ;; | ||
3624 | esac | ||
3625 | fi | ||
3626 | fi | ||
3627 | else | ||
3628 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | ||
3629 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
3630 | fi | ||
3631 | fi | ||
3632 | rm -f confcache | ||
3633 | |||
3634 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
3635 | # Let make expand exec_prefix. | ||
3636 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
3637 | |||
3638 | # Transform confdefs.h into DEFS. | ||
3639 | # Protect against shell expansion while executing Makefile rules. | ||
3640 | # Protect against Makefile macro expansion. | ||
3641 | # | ||
3642 | # If the first sed substitution is executed (which looks for macros that | ||
3643 | # take arguments), then branch to the quote section. Otherwise, | ||
3644 | # look for a macro that doesn't take arguments. | ||
3645 | ac_script=' | ||
3646 | :mline | ||
3647 | /\\$/{ | ||
3648 | N | ||
3649 | s,\\\n,, | ||
3650 | b mline | ||
3651 | } | ||
3652 | t clear | ||
3653 | :clear | ||
3654 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | ||
3655 | t quote | ||
3656 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | ||
3657 | t quote | ||
3658 | b any | ||
3659 | :quote | ||
3660 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | ||
3661 | s/\[/\\&/g | ||
3662 | s/\]/\\&/g | ||
3663 | s/\$/$$/g | ||
3664 | H | ||
3665 | :any | ||
3666 | ${ | ||
3667 | g | ||
3668 | s/^\n// | ||
3669 | s/\n/ /g | ||
3670 | p | ||
3671 | } | ||
3672 | ' | ||
3673 | DEFS=`sed -n "$ac_script" confdefs.h` | ||
3674 | |||
3675 | |||
3676 | ac_libobjs= | ||
3677 | ac_ltlibobjs= | ||
3678 | U= | ||
3679 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
3680 | # 1. Remove the extension, and $U if already installed. | ||
3681 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | ||
3682 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | ||
3683 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | ||
3684 | # will be set to the directory where LIBOBJS objects are built. | ||
3685 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | ||
3686 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | ||
3687 | done | ||
3688 | LIBOBJS=$ac_libobjs | ||
3689 | |||
3690 | LTLIBOBJS=$ac_ltlibobjs | ||
3691 | |||
3692 | |||
3693 | |||
3694 | : "${CONFIG_STATUS=./config.status}" | ||
3695 | ac_write_fail=0 | ||
3696 | ac_clean_files_save=$ac_clean_files | ||
3697 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
3698 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | ||
3699 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
3700 | as_write_fail=0 | ||
3701 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
3702 | #! $SHELL | ||
3703 | # Generated by $as_me. | ||
3704 | # Run this file to recreate the current configuration. | ||
3705 | # Compiler output produced by configure, useful for debugging | ||
3706 | # configure, is in config.log if it exists. | ||
3707 | |||
3708 | debug=false | ||
3709 | ac_cs_recheck=false | ||
3710 | ac_cs_silent=false | ||
3711 | |||
3712 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
3713 | export SHELL | ||
3714 | _ASEOF | ||
3715 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | ||
3716 | ## -------------------- ## | ||
3717 | ## M4sh Initialization. ## | ||
3718 | ## -------------------- ## | ||
3719 | |||
3720 | # Be more Bourne compatible | ||
3721 | DUALCASE=1; export DUALCASE # for MKS sh | ||
3722 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
3723 | emulate sh | ||
3724 | NULLCMD=: | ||
3725 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
3726 | # is contrary to our usage. Disable this feature. | ||
3727 | alias -g '${1+"$@"}'='"$@"' | ||
3728 | setopt NO_GLOB_SUBST | ||
3729 | else | ||
3730 | case `(set -o) 2>/dev/null` in #( | ||
3731 | *posix*) : | ||
3732 | set -o posix ;; #( | ||
3733 | *) : | ||
3734 | ;; | ||
3735 | esac | ||
3736 | fi | ||
3737 | |||
3738 | |||
3739 | as_nl=' | ||
3740 | ' | ||
3741 | export as_nl | ||
3742 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
3743 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
3744 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
3745 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
3746 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
3747 | # but without wasting forks for bash or zsh. | ||
3748 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
3749 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
3750 | as_echo='print -r --' | ||
3751 | as_echo_n='print -rn --' | ||
3752 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
3753 | as_echo='printf %s\n' | ||
3754 | as_echo_n='printf %s' | ||
3755 | else | ||
3756 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
3757 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
3758 | as_echo_n='/usr/ucb/echo -n' | ||
3759 | else | ||
3760 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
3761 | as_echo_n_body='eval | ||
3762 | arg=$1; | ||
3763 | case $arg in #( | ||
3764 | *"$as_nl"*) | ||
3765 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
3766 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
3767 | esac; | ||
3768 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
3769 | ' | ||
3770 | export as_echo_n_body | ||
3771 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
3772 | fi | ||
3773 | export as_echo_body | ||
3774 | as_echo='sh -c $as_echo_body as_echo' | ||
3775 | fi | ||
3776 | |||
3777 | # The user is always right. | ||
3778 | if test "${PATH_SEPARATOR+set}" != set; then | ||
3779 | PATH_SEPARATOR=: | ||
3780 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
3781 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
3782 | PATH_SEPARATOR=';' | ||
3783 | } | ||
3784 | fi | ||
3785 | |||
3786 | |||
3787 | # IFS | ||
3788 | # We need space, tab and new line, in precisely that order. Quoting is | ||
3789 | # there to prevent editors from complaining about space-tab. | ||
3790 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
3791 | # splitting by setting IFS to empty value.) | ||
3792 | IFS=" "" $as_nl" | ||
3793 | |||
3794 | # Find who we are. Look in the path if we contain no directory separator. | ||
3795 | as_myself= | ||
3796 | case $0 in #(( | ||
3797 | *[\\/]* ) as_myself=$0 ;; | ||
3798 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3799 | for as_dir in $PATH | ||
3800 | do | ||
3801 | IFS=$as_save_IFS | ||
3802 | test -z "$as_dir" && as_dir=. | ||
3803 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
3804 | done | ||
3805 | IFS=$as_save_IFS | ||
3806 | |||
3807 | ;; | ||
3808 | esac | ||
3809 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
3810 | # in which case we are not to be found in the path. | ||
3811 | if test "x$as_myself" = x; then | ||
3812 | as_myself=$0 | ||
3813 | fi | ||
3814 | if test ! -f "$as_myself"; then | ||
3815 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
3816 | exit 1 | ||
3817 | fi | ||
3818 | |||
3819 | # Unset variables that we do not need and which cause bugs (e.g. in | ||
3820 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
3821 | # suppresses any "Segmentation fault" message there. '((' could | ||
3822 | # trigger a bug in pdksh 5.2.14. | ||
3823 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
3824 | do eval test x\${$as_var+set} = xset \ | ||
3825 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
3826 | done | ||
3827 | PS1='$ ' | ||
3828 | PS2='> ' | ||
3829 | PS4='+ ' | ||
3830 | |||
3831 | # NLS nuisances. | ||
3832 | LC_ALL=C | ||
3833 | export LC_ALL | ||
3834 | LANGUAGE=C | ||
3835 | export LANGUAGE | ||
3836 | |||
3837 | # CDPATH. | ||
3838 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
3839 | |||
3840 | |||
3841 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
3842 | # ---------------------------------------- | ||
3843 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
3844 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
3845 | # script with STATUS, using 1 if that was 0. | ||
3846 | as_fn_error () | ||
3847 | { | ||
3848 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
3849 | if test "$4"; then | ||
3850 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
3851 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
3852 | fi | ||
3853 | $as_echo "$as_me: error: $2" >&2 | ||
3854 | as_fn_exit $as_status | ||
3855 | } # as_fn_error | ||
3856 | |||
3857 | |||
3858 | # as_fn_set_status STATUS | ||
3859 | # ----------------------- | ||
3860 | # Set $? to STATUS, without forking. | ||
3861 | as_fn_set_status () | ||
3862 | { | ||
3863 | return $1 | ||
3864 | } # as_fn_set_status | ||
3865 | |||
3866 | # as_fn_exit STATUS | ||
3867 | # ----------------- | ||
3868 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
3869 | as_fn_exit () | ||
3870 | { | ||
3871 | set +e | ||
3872 | as_fn_set_status $1 | ||
3873 | exit $1 | ||
3874 | } # as_fn_exit | ||
3875 | |||
3876 | # as_fn_unset VAR | ||
3877 | # --------------- | ||
3878 | # Portably unset VAR. | ||
3879 | as_fn_unset () | ||
3880 | { | ||
3881 | { eval $1=; unset $1;} | ||
3882 | } | ||
3883 | as_unset=as_fn_unset | ||
3884 | # as_fn_append VAR VALUE | ||
3885 | # ---------------------- | ||
3886 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
3887 | # advantage of any shell optimizations that allow amortized linear growth over | ||
3888 | # repeated appends, instead of the typical quadratic growth present in naive | ||
3889 | # implementations. | ||
3890 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
3891 | eval 'as_fn_append () | ||
3892 | { | ||
3893 | eval $1+=\$2 | ||
3894 | }' | ||
3895 | else | ||
3896 | as_fn_append () | ||
3897 | { | ||
3898 | eval $1=\$$1\$2 | ||
3899 | } | ||
3900 | fi # as_fn_append | ||
3901 | |||
3902 | # as_fn_arith ARG... | ||
3903 | # ------------------ | ||
3904 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
3905 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
3906 | # must be portable across $(()) and expr. | ||
3907 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
3908 | eval 'as_fn_arith () | ||
3909 | { | ||
3910 | as_val=$(( $* )) | ||
3911 | }' | ||
3912 | else | ||
3913 | as_fn_arith () | ||
3914 | { | ||
3915 | as_val=`expr "$@" || test $? -eq 1` | ||
3916 | } | ||
3917 | fi # as_fn_arith | ||
3918 | |||
3919 | |||
3920 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
3921 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
3922 | as_expr=expr | ||
3923 | else | ||
3924 | as_expr=false | ||
3925 | fi | ||
3926 | |||
3927 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
3928 | as_basename=basename | ||
3929 | else | ||
3930 | as_basename=false | ||
3931 | fi | ||
3932 | |||
3933 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
3934 | as_dirname=dirname | ||
3935 | else | ||
3936 | as_dirname=false | ||
3937 | fi | ||
3938 | |||
3939 | as_me=`$as_basename -- "$0" || | ||
3940 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
3941 | X"$0" : 'X\(//\)$' \| \ | ||
3942 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
3943 | $as_echo X/"$0" | | ||
3944 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
3945 | s//\1/ | ||
3946 | q | ||
3947 | } | ||
3948 | /^X\/\(\/\/\)$/{ | ||
3949 | s//\1/ | ||
3950 | q | ||
3951 | } | ||
3952 | /^X\/\(\/\).*/{ | ||
3953 | s//\1/ | ||
3954 | q | ||
3955 | } | ||
3956 | s/.*/./; q'` | ||
3957 | |||
3958 | # Avoid depending upon Character Ranges. | ||
3959 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
3960 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
3961 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
3962 | as_cr_digits='0123456789' | ||
3963 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
3964 | |||
3965 | ECHO_C= ECHO_N= ECHO_T= | ||
3966 | case `echo -n x` in #((((( | ||
3967 | -n*) | ||
3968 | case `echo 'xy\c'` in | ||
3969 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
3970 | xy) ECHO_C='\c';; | ||
3971 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
3972 | ECHO_T=' ';; | ||
3973 | esac;; | ||
3974 | *) | ||
3975 | ECHO_N='-n';; | ||
3976 | esac | ||
3977 | |||
3978 | rm -f conf$$ conf$$.exe conf$$.file | ||
3979 | if test -d conf$$.dir; then | ||
3980 | rm -f conf$$.dir/conf$$.file | ||
3981 | else | ||
3982 | rm -f conf$$.dir | ||
3983 | mkdir conf$$.dir 2>/dev/null | ||
3984 | fi | ||
3985 | if (echo >conf$$.file) 2>/dev/null; then | ||
3986 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
3987 | as_ln_s='ln -s' | ||
3988 | # ... but there are two gotchas: | ||
3989 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
3990 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
3991 | # In both cases, we have to default to `cp -pR'. | ||
3992 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
3993 | as_ln_s='cp -pR' | ||
3994 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
3995 | as_ln_s=ln | ||
3996 | else | ||
3997 | as_ln_s='cp -pR' | ||
3998 | fi | ||
3999 | else | ||
4000 | as_ln_s='cp -pR' | ||
4001 | fi | ||
4002 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
4003 | rmdir conf$$.dir 2>/dev/null | ||
4004 | |||
4005 | |||
4006 | # as_fn_mkdir_p | ||
4007 | # ------------- | ||
4008 | # Create "$as_dir" as a directory, including parents if necessary. | ||
4009 | as_fn_mkdir_p () | ||
4010 | { | ||
4011 | |||
4012 | case $as_dir in #( | ||
4013 | -*) as_dir=./$as_dir;; | ||
4014 | esac | ||
4015 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
4016 | as_dirs= | ||
4017 | while :; do | ||
4018 | case $as_dir in #( | ||
4019 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
4020 | *) as_qdir=$as_dir;; | ||
4021 | esac | ||
4022 | as_dirs="'$as_qdir' $as_dirs" | ||
4023 | as_dir=`$as_dirname -- "$as_dir" || | ||
4024 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
4025 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
4026 | X"$as_dir" : 'X\(//\)$' \| \ | ||
4027 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
4028 | $as_echo X"$as_dir" | | ||
4029 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
4030 | s//\1/ | ||
4031 | q | ||
4032 | } | ||
4033 | /^X\(\/\/\)[^/].*/{ | ||
4034 | s//\1/ | ||
4035 | q | ||
4036 | } | ||
4037 | /^X\(\/\/\)$/{ | ||
4038 | s//\1/ | ||
4039 | q | ||
4040 | } | ||
4041 | /^X\(\/\).*/{ | ||
4042 | s//\1/ | ||
4043 | q | ||
4044 | } | ||
4045 | s/.*/./; q'` | ||
4046 | test -d "$as_dir" && break | ||
4047 | done | ||
4048 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
4049 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
4050 | |||
4051 | |||
4052 | } # as_fn_mkdir_p | ||
4053 | if mkdir -p . 2>/dev/null; then | ||
4054 | as_mkdir_p='mkdir -p "$as_dir"' | ||
4055 | else | ||
4056 | test -d ./-p && rmdir ./-p | ||
4057 | as_mkdir_p=false | ||
4058 | fi | ||
4059 | |||
4060 | |||
4061 | # as_fn_executable_p FILE | ||
4062 | # ----------------------- | ||
4063 | # Test if FILE is an executable regular file. | ||
4064 | as_fn_executable_p () | ||
4065 | { | ||
4066 | test -f "$1" && test -x "$1" | ||
4067 | } # as_fn_executable_p | ||
4068 | as_test_x='test -x' | ||
4069 | as_executable_p=as_fn_executable_p | ||
4070 | |||
4071 | # Sed expression to map a string onto a valid CPP name. | ||
4072 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
4073 | |||
4074 | # Sed expression to map a string onto a valid variable name. | ||
4075 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
4076 | |||
4077 | |||
4078 | exec 6>&1 | ||
4079 | ## ----------------------------------- ## | ||
4080 | ## Main body of $CONFIG_STATUS script. ## | ||
4081 | ## ----------------------------------- ## | ||
4082 | _ASEOF | ||
4083 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
4084 | |||
4085 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4086 | # Save the log message, to keep $0 and so on meaningful, and to | ||
4087 | # report actual input values of CONFIG_FILES etc. instead of their | ||
4088 | # values after options handling. | ||
4089 | ac_log=" | ||
4090 | This file was extended by firejail $as_me 0.9.28, which was | ||
4091 | generated by GNU Autoconf 2.69. Invocation command line was | ||
4092 | |||
4093 | CONFIG_FILES = $CONFIG_FILES | ||
4094 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
4095 | CONFIG_LINKS = $CONFIG_LINKS | ||
4096 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
4097 | $ $0 $@ | ||
4098 | |||
4099 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
4100 | " | ||
4101 | |||
4102 | _ACEOF | ||
4103 | |||
4104 | case $ac_config_files in *" | ||
4105 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
4106 | esac | ||
4107 | |||
4108 | |||
4109 | |||
4110 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4111 | # Files that config.status was made for. | ||
4112 | config_files="$ac_config_files" | ||
4113 | |||
4114 | _ACEOF | ||
4115 | |||
4116 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4117 | ac_cs_usage="\ | ||
4118 | \`$as_me' instantiates files and other configuration actions | ||
4119 | from templates according to the current configuration. Unless the files | ||
4120 | and actions are specified as TAGs, all are instantiated by default. | ||
4121 | |||
4122 | Usage: $0 [OPTION]... [TAG]... | ||
4123 | |||
4124 | -h, --help print this help, then exit | ||
4125 | -V, --version print version number and configuration settings, then exit | ||
4126 | --config print configuration, then exit | ||
4127 | -q, --quiet, --silent | ||
4128 | do not print progress messages | ||
4129 | -d, --debug don't remove temporary files | ||
4130 | --recheck update $as_me by reconfiguring in the same conditions | ||
4131 | --file=FILE[:TEMPLATE] | ||
4132 | instantiate the configuration file FILE | ||
4133 | |||
4134 | Configuration files: | ||
4135 | $config_files | ||
4136 | |||
4137 | Report bugs to <netblue30@yahoo.com>. | ||
4138 | firejail home page: <http://firejail.sourceforge.net>." | ||
4139 | |||
4140 | _ACEOF | ||
4141 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4142 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
4143 | ac_cs_version="\\ | ||
4144 | firejail config.status 0.9.28 | ||
4145 | configured by $0, generated by GNU Autoconf 2.69, | ||
4146 | with options \\"\$ac_cs_config\\" | ||
4147 | |||
4148 | Copyright (C) 2012 Free Software Foundation, Inc. | ||
4149 | This config.status script is free software; the Free Software Foundation | ||
4150 | gives unlimited permission to copy, distribute and modify it." | ||
4151 | |||
4152 | ac_pwd='$ac_pwd' | ||
4153 | srcdir='$srcdir' | ||
4154 | INSTALL='$INSTALL' | ||
4155 | test -n "\$AWK" || AWK=awk | ||
4156 | _ACEOF | ||
4157 | |||
4158 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4159 | # The default lists apply if the user does not specify any file. | ||
4160 | ac_need_defaults=: | ||
4161 | while test $# != 0 | ||
4162 | do | ||
4163 | case $1 in | ||
4164 | --*=?*) | ||
4165 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
4166 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | ||
4167 | ac_shift=: | ||
4168 | ;; | ||
4169 | --*=) | ||
4170 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
4171 | ac_optarg= | ||
4172 | ac_shift=: | ||
4173 | ;; | ||
4174 | *) | ||
4175 | ac_option=$1 | ||
4176 | ac_optarg=$2 | ||
4177 | ac_shift=shift | ||
4178 | ;; | ||
4179 | esac | ||
4180 | |||
4181 | case $ac_option in | ||
4182 | # Handling of the options. | ||
4183 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
4184 | ac_cs_recheck=: ;; | ||
4185 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | ||
4186 | $as_echo "$ac_cs_version"; exit ;; | ||
4187 | --config | --confi | --conf | --con | --co | --c ) | ||
4188 | $as_echo "$ac_cs_config"; exit ;; | ||
4189 | --debug | --debu | --deb | --de | --d | -d ) | ||
4190 | debug=: ;; | ||
4191 | --file | --fil | --fi | --f ) | ||
4192 | $ac_shift | ||
4193 | case $ac_optarg in | ||
4194 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
4195 | '') as_fn_error $? "missing file argument" ;; | ||
4196 | esac | ||
4197 | as_fn_append CONFIG_FILES " '$ac_optarg'" | ||
4198 | ac_need_defaults=false;; | ||
4199 | --he | --h | --help | --hel | -h ) | ||
4200 | $as_echo "$ac_cs_usage"; exit ;; | ||
4201 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
4202 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
4203 | ac_cs_silent=: ;; | ||
4204 | |||
4205 | # This is an error. | ||
4206 | -*) as_fn_error $? "unrecognized option: \`$1' | ||
4207 | Try \`$0 --help' for more information." ;; | ||
4208 | |||
4209 | *) as_fn_append ac_config_targets " $1" | ||
4210 | ac_need_defaults=false ;; | ||
4211 | |||
4212 | esac | ||
4213 | shift | ||
4214 | done | ||
4215 | |||
4216 | ac_configure_extra_args= | ||
4217 | |||
4218 | if $ac_cs_silent; then | ||
4219 | exec 6>/dev/null | ||
4220 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
4221 | fi | ||
4222 | |||
4223 | _ACEOF | ||
4224 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4225 | if \$ac_cs_recheck; then | ||
4226 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
4227 | shift | ||
4228 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
4229 | CONFIG_SHELL='$SHELL' | ||
4230 | export CONFIG_SHELL | ||
4231 | exec "\$@" | ||
4232 | fi | ||
4233 | |||
4234 | _ACEOF | ||
4235 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4236 | exec 5>>config.log | ||
4237 | { | ||
4238 | echo | ||
4239 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
4240 | ## Running $as_me. ## | ||
4241 | _ASBOX | ||
4242 | $as_echo "$ac_log" | ||
4243 | } >&5 | ||
4244 | |||
4245 | _ACEOF | ||
4246 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4247 | _ACEOF | ||
4248 | |||
4249 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4250 | |||
4251 | # Handling of arguments. | ||
4252 | for ac_config_target in $ac_config_targets | ||
4253 | do | ||
4254 | case $ac_config_target in | ||
4255 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
4256 | "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | ||
4257 | "src/firejail/Makefile") CONFIG_FILES="$CONFIG_FILES src/firejail/Makefile" ;; | ||
4258 | "src/firemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/firemon/Makefile" ;; | ||
4259 | "src/libtrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtrace/Makefile" ;; | ||
4260 | "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;; | ||
4261 | |||
4262 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | ||
4263 | esac | ||
4264 | done | ||
4265 | |||
4266 | |||
4267 | # If the user did not use the arguments to specify the items to instantiate, | ||
4268 | # then the envvar interface is used. Set only those that are not. | ||
4269 | # We use the long form for the default assignment because of an extremely | ||
4270 | # bizarre bug on SunOS 4.1.3. | ||
4271 | if $ac_need_defaults; then | ||
4272 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
4273 | fi | ||
4274 | |||
4275 | # Have a temporary directory for convenience. Make it in the build tree | ||
4276 | # simply because there is no reason against having it here, and in addition, | ||
4277 | # creating and moving files from /tmp can sometimes cause problems. | ||
4278 | # Hook for its removal unless debugging. | ||
4279 | # Note that there is a small window in which the directory will not be cleaned: | ||
4280 | # after its creation but before its name has been assigned to `$tmp'. | ||
4281 | $debug || | ||
4282 | { | ||
4283 | tmp= ac_tmp= | ||
4284 | trap 'exit_status=$? | ||
4285 | : "${ac_tmp:=$tmp}" | ||
4286 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
4287 | ' 0 | ||
4288 | trap 'as_fn_exit 1' 1 2 13 15 | ||
4289 | } | ||
4290 | # Create a (secure) tmp directory for tmp files. | ||
4291 | |||
4292 | { | ||
4293 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | ||
4294 | test -d "$tmp" | ||
4295 | } || | ||
4296 | { | ||
4297 | tmp=./conf$$-$RANDOM | ||
4298 | (umask 077 && mkdir "$tmp") | ||
4299 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | ||
4300 | ac_tmp=$tmp | ||
4301 | |||
4302 | # Set up the scripts for CONFIG_FILES section. | ||
4303 | # No need to generate them if there are no CONFIG_FILES. | ||
4304 | # This happens for instance with `./config.status config.h'. | ||
4305 | if test -n "$CONFIG_FILES"; then | ||
4306 | |||
4307 | |||
4308 | ac_cr=`echo X | tr X '\015'` | ||
4309 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
4310 | # But we know of no other shell where ac_cr would be empty at this | ||
4311 | # point, so we can use a bashism as a fallback. | ||
4312 | if test "x$ac_cr" = x; then | ||
4313 | eval ac_cr=\$\'\\r\' | ||
4314 | fi | ||
4315 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
4316 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
4317 | ac_cs_awk_cr='\\r' | ||
4318 | else | ||
4319 | ac_cs_awk_cr=$ac_cr | ||
4320 | fi | ||
4321 | |||
4322 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | ||
4323 | _ACEOF | ||
4324 | |||
4325 | |||
4326 | { | ||
4327 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
4328 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
4329 | echo "_ACEOF" | ||
4330 | } >conf$$subs.sh || | ||
4331 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
4332 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | ||
4333 | ac_delim='%!_!# ' | ||
4334 | for ac_last_try in false false false false false :; do | ||
4335 | . ./conf$$subs.sh || | ||
4336 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
4337 | |||
4338 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | ||
4339 | if test $ac_delim_n = $ac_delim_num; then | ||
4340 | break | ||
4341 | elif $ac_last_try; then | ||
4342 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
4343 | else | ||
4344 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
4345 | fi | ||
4346 | done | ||
4347 | rm -f conf$$subs.sh | ||
4348 | |||
4349 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4350 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | ||
4351 | _ACEOF | ||
4352 | sed -n ' | ||
4353 | h | ||
4354 | s/^/S["/; s/!.*/"]=/ | ||
4355 | p | ||
4356 | g | ||
4357 | s/^[^!]*!// | ||
4358 | :repl | ||
4359 | t repl | ||
4360 | s/'"$ac_delim"'$// | ||
4361 | t delim | ||
4362 | :nl | ||
4363 | h | ||
4364 | s/\(.\{148\}\)..*/\1/ | ||
4365 | t more1 | ||
4366 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
4367 | p | ||
4368 | n | ||
4369 | b repl | ||
4370 | :more1 | ||
4371 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
4372 | p | ||
4373 | g | ||
4374 | s/.\{148\}// | ||
4375 | t nl | ||
4376 | :delim | ||
4377 | h | ||
4378 | s/\(.\{148\}\)..*/\1/ | ||
4379 | t more2 | ||
4380 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
4381 | p | ||
4382 | b | ||
4383 | :more2 | ||
4384 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
4385 | p | ||
4386 | g | ||
4387 | s/.\{148\}// | ||
4388 | t delim | ||
4389 | ' <conf$$subs.awk | sed ' | ||
4390 | /^[^""]/{ | ||
4391 | N | ||
4392 | s/\n// | ||
4393 | } | ||
4394 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
4395 | rm -f conf$$subs.awk | ||
4396 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4397 | _ACAWK | ||
4398 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | ||
4399 | for (key in S) S_is_set[key] = 1 | ||
4400 | FS = "" | ||
4401 | |||
4402 | } | ||
4403 | { | ||
4404 | line = $ 0 | ||
4405 | nfields = split(line, field, "@") | ||
4406 | substed = 0 | ||
4407 | len = length(field[1]) | ||
4408 | for (i = 2; i < nfields; i++) { | ||
4409 | key = field[i] | ||
4410 | keylen = length(key) | ||
4411 | if (S_is_set[key]) { | ||
4412 | value = S[key] | ||
4413 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
4414 | len += length(value) + length(field[++i]) | ||
4415 | substed = 1 | ||
4416 | } else | ||
4417 | len += 1 + keylen | ||
4418 | } | ||
4419 | |||
4420 | print line | ||
4421 | } | ||
4422 | |||
4423 | _ACAWK | ||
4424 | _ACEOF | ||
4425 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4426 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
4427 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
4428 | else | ||
4429 | cat | ||
4430 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | ||
4431 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | ||
4432 | _ACEOF | ||
4433 | |||
4434 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | ||
4435 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | ||
4436 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
4437 | # (actually we leave an empty line to preserve line numbers). | ||
4438 | if test "x$srcdir" = x.; then | ||
4439 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | ||
4440 | h | ||
4441 | s/// | ||
4442 | s/^/:/ | ||
4443 | s/[ ]*$/:/ | ||
4444 | s/:\$(srcdir):/:/g | ||
4445 | s/:\${srcdir}:/:/g | ||
4446 | s/:@srcdir@:/:/g | ||
4447 | s/^:*// | ||
4448 | s/:*$// | ||
4449 | x | ||
4450 | s/\(=[ ]*\).*/\1/ | ||
4451 | G | ||
4452 | s/\n// | ||
4453 | s/^[^=]*=[ ]*$// | ||
4454 | }' | ||
4455 | fi | ||
4456 | |||
4457 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4458 | fi # test -n "$CONFIG_FILES" | ||
4459 | |||
4460 | |||
4461 | eval set X " :F $CONFIG_FILES " | ||
4462 | shift | ||
4463 | for ac_tag | ||
4464 | do | ||
4465 | case $ac_tag in | ||
4466 | :[FHLC]) ac_mode=$ac_tag; continue;; | ||
4467 | esac | ||
4468 | case $ac_mode$ac_tag in | ||
4469 | :[FHL]*:*);; | ||
4470 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | ||
4471 | :[FH]-) ac_tag=-:-;; | ||
4472 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
4473 | esac | ||
4474 | ac_save_IFS=$IFS | ||
4475 | IFS=: | ||
4476 | set x $ac_tag | ||
4477 | IFS=$ac_save_IFS | ||
4478 | shift | ||
4479 | ac_file=$1 | ||
4480 | shift | ||
4481 | |||
4482 | case $ac_mode in | ||
4483 | :L) ac_source=$1;; | ||
4484 | :[FH]) | ||
4485 | ac_file_inputs= | ||
4486 | for ac_f | ||
4487 | do | ||
4488 | case $ac_f in | ||
4489 | -) ac_f="$ac_tmp/stdin";; | ||
4490 | *) # Look for the file first in the build tree, then in the source tree | ||
4491 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
4492 | # because $ac_f cannot contain `:'. | ||
4493 | test -f "$ac_f" || | ||
4494 | case $ac_f in | ||
4495 | [\\/$]*) false;; | ||
4496 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
4497 | esac || | ||
4498 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | ||
4499 | esac | ||
4500 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | ||
4501 | as_fn_append ac_file_inputs " '$ac_f'" | ||
4502 | done | ||
4503 | |||
4504 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
4505 | # use $as_me), people would be surprised to read: | ||
4506 | # /* config.h. Generated by config.status. */ | ||
4507 | configure_input='Generated from '` | ||
4508 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | ||
4509 | `' by configure.' | ||
4510 | if test x"$ac_file" != x-; then | ||
4511 | configure_input="$ac_file. $configure_input" | ||
4512 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | ||
4513 | $as_echo "$as_me: creating $ac_file" >&6;} | ||
4514 | fi | ||
4515 | # Neutralize special characters interpreted by sed in replacement strings. | ||
4516 | case $configure_input in #( | ||
4517 | *\&* | *\|* | *\\* ) | ||
4518 | ac_sed_conf_input=`$as_echo "$configure_input" | | ||
4519 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
4520 | *) ac_sed_conf_input=$configure_input;; | ||
4521 | esac | ||
4522 | |||
4523 | case $ac_tag in | ||
4524 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | ||
4525 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | ||
4526 | esac | ||
4527 | ;; | ||
4528 | esac | ||
4529 | |||
4530 | ac_dir=`$as_dirname -- "$ac_file" || | ||
4531 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
4532 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
4533 | X"$ac_file" : 'X\(//\)$' \| \ | ||
4534 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | ||
4535 | $as_echo X"$ac_file" | | ||
4536 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
4537 | s//\1/ | ||
4538 | q | ||
4539 | } | ||
4540 | /^X\(\/\/\)[^/].*/{ | ||
4541 | s//\1/ | ||
4542 | q | ||
4543 | } | ||
4544 | /^X\(\/\/\)$/{ | ||
4545 | s//\1/ | ||
4546 | q | ||
4547 | } | ||
4548 | /^X\(\/\).*/{ | ||
4549 | s//\1/ | ||
4550 | q | ||
4551 | } | ||
4552 | s/.*/./; q'` | ||
4553 | as_dir="$ac_dir"; as_fn_mkdir_p | ||
4554 | ac_builddir=. | ||
4555 | |||
4556 | case "$ac_dir" in | ||
4557 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
4558 | *) | ||
4559 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
4560 | # A ".." for each directory in $ac_dir_suffix. | ||
4561 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
4562 | case $ac_top_builddir_sub in | ||
4563 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
4564 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
4565 | esac ;; | ||
4566 | esac | ||
4567 | ac_abs_top_builddir=$ac_pwd | ||
4568 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
4569 | # for backward compatibility: | ||
4570 | ac_top_builddir=$ac_top_build_prefix | ||
4571 | |||
4572 | case $srcdir in | ||
4573 | .) # We are building in place. | ||
4574 | ac_srcdir=. | ||
4575 | ac_top_srcdir=$ac_top_builddir_sub | ||
4576 | ac_abs_top_srcdir=$ac_pwd ;; | ||
4577 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
4578 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
4579 | ac_top_srcdir=$srcdir | ||
4580 | ac_abs_top_srcdir=$srcdir ;; | ||
4581 | *) # Relative name. | ||
4582 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
4583 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
4584 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
4585 | esac | ||
4586 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
4587 | |||
4588 | |||
4589 | case $ac_mode in | ||
4590 | :F) | ||
4591 | # | ||
4592 | # CONFIG_FILE | ||
4593 | # | ||
4594 | |||
4595 | case $INSTALL in | ||
4596 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
4597 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | ||
4598 | esac | ||
4599 | _ACEOF | ||
4600 | |||
4601 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4602 | # If the template does not know about datarootdir, expand it. | ||
4603 | # FIXME: This hack should be removed a few years after 2.60. | ||
4604 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
4605 | ac_sed_dataroot=' | ||
4606 | /datarootdir/ { | ||
4607 | p | ||
4608 | q | ||
4609 | } | ||
4610 | /@datadir@/p | ||
4611 | /@docdir@/p | ||
4612 | /@infodir@/p | ||
4613 | /@localedir@/p | ||
4614 | /@mandir@/p' | ||
4615 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | ||
4616 | *datarootdir*) ac_datarootdir_seen=yes;; | ||
4617 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | ||
4618 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | ||
4619 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | ||
4620 | _ACEOF | ||
4621 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4622 | ac_datarootdir_hack=' | ||
4623 | s&@datadir@&$datadir&g | ||
4624 | s&@docdir@&$docdir&g | ||
4625 | s&@infodir@&$infodir&g | ||
4626 | s&@localedir@&$localedir&g | ||
4627 | s&@mandir@&$mandir&g | ||
4628 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
4629 | esac | ||
4630 | _ACEOF | ||
4631 | |||
4632 | # Neutralize VPATH when `$srcdir' = `.'. | ||
4633 | # Shell code in configure.ac might set extrasub. | ||
4634 | # FIXME: do we really want to maintain this feature? | ||
4635 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
4636 | ac_sed_extra="$ac_vpsub | ||
4637 | $extrasub | ||
4638 | _ACEOF | ||
4639 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
4640 | :t | ||
4641 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
4642 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
4643 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
4644 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
4645 | s&@srcdir@&$ac_srcdir&;t t | ||
4646 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
4647 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
4648 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
4649 | s&@builddir@&$ac_builddir&;t t | ||
4650 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
4651 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
4652 | s&@INSTALL@&$ac_INSTALL&;t t | ||
4653 | $ac_datarootdir_hack | ||
4654 | " | ||
4655 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | ||
4656 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
4657 | |||
4658 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | ||
4659 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | ||
4660 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | ||
4661 | "$ac_tmp/out"`; test -z "$ac_out"; } && | ||
4662 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
4663 | which seems to be undefined. Please make sure it is defined" >&5 | ||
4664 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
4665 | which seems to be undefined. Please make sure it is defined" >&2;} | ||
4666 | |||
4667 | rm -f "$ac_tmp/stdin" | ||
4668 | case $ac_file in | ||
4669 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | ||
4670 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | ||
4671 | esac \ | ||
4672 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
4673 | ;; | ||
4674 | |||
4675 | |||
4676 | |||
4677 | esac | ||
4678 | |||
4679 | done # for ac_tag | ||
4680 | |||
4681 | |||
4682 | as_fn_exit 0 | ||
4683 | _ACEOF | ||
4684 | ac_clean_files=$ac_clean_files_save | ||
4685 | |||
4686 | test $ac_write_fail = 0 || | ||
4687 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | ||
4688 | |||
4689 | |||
4690 | # configure is writing to config.log, and then calls config.status. | ||
4691 | # config.status does its own redirection, appending to config.log. | ||
4692 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
4693 | # by configure, so config.status won't be able to write to it; its | ||
4694 | # output is simply discarded. So we exec the FD to /dev/null, | ||
4695 | # effectively closing config.log, so it can be properly (re)opened and | ||
4696 | # appended to by config.status. When coming back to configure, we | ||
4697 | # need to make the FD available again. | ||
4698 | if test "$no_create" != yes; then | ||
4699 | ac_cs_success=: | ||
4700 | ac_config_status_args= | ||
4701 | test "$silent" = yes && | ||
4702 | ac_config_status_args="$ac_config_status_args --quiet" | ||
4703 | exec 5>/dev/null | ||
4704 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
4705 | exec 5>>config.log | ||
4706 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
4707 | # would make configure fail if this is the last instruction. | ||
4708 | $ac_cs_success || as_fn_exit 1 | ||
4709 | fi | ||
4710 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
4711 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
4712 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
4713 | fi | ||
4714 | |||
4715 | |||
4716 | echo | ||
4717 | echo "Configuration options:" | ||
4718 | echo " prefix: $prefix" | ||
4719 | echo " seccomp: $HAVE_SECCOMP" | ||
4720 | echo " <linux/seccomp.h>: $HAVE_SECCOMP_H" | ||
4721 | echo " chroot: $HAVE_CHROOT" | ||
4722 | echo " bind: $HAVE_BIND" | ||
4723 | echo | ||