Debian Codegraph @

src/plugins/security_slicing/configure~

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/null
185 then :
186 as_have_required=yes
187 else $as_nop
188 as_have_required=no
189 fi
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191 then :
192
193 else $as_nop
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
204 as_found=:
205 case $as_dir in #(
206 /*)
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212 then :
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215 then :
216 break 2
217 fi
218 fi
219 done;;
220 esac
221 as_found=false
222 done
223 IFS=$as_save_IFS
224 if $as_found
225 then :
226
227 else $as_nop
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230 then :
231 CONFIG_SHELL=$SHELL as_have_required=yes
232 fi
233 fi
234
235
236 if test "x$CONFIG_SHELL" != x
237 then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno
260 then :
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 printf "%s\n" "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } # as_fn_set_status
302
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nop ()
316 {
317 return $?
318 }
319 as_nop=as_fn_nop
320
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
325 {
326
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\).*/{
357 s//\1/
358 q
359 }
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
366
367 } # as_fn_mkdir_p
368
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
373 {
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else $as_nop
389 as_fn_append ()
390 {
391 eval $1=\$$1\$2
392 }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else $as_nop
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nop ()
417 {
418 return $?
419 }
420 as_nop=as_fn_nop
421
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
427 as_fn_error ()
428 {
429 as_status=$1; test $as_status -eq 0 && as_status=1
430 if test "$4"; then
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433 fi
434 printf "%s\n" "$as_me: error: $2" >&2
435 as_fn_exit $as_status
436 } # as_fn_error
437
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
440 as_expr=expr
441 else
442 as_expr=false
443 fi
444
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446 as_basename=basename
447 else
448 as_basename=false
449 fi
450
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452 as_dirname=dirname
453 else
454 as_dirname=false
455 fi
456
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461 printf "%s\n" X/"$0" |
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
463 s//\1/
464 q
465 }
466 /^X\/\(\/\/\)$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\).*/{
471 s//\1/
472 q
473 }
474 s/.*/./; q'`
475
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
482
483
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 sed -n '
490 p
491 /[$]LINENO/=
492 ' <$as_myself |
493 sed '
494 s/[$]LINENO.*/&-/
495 t lineno
496 b
497 :lineno
498 N
499 :loop
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 t loop
502 s/-\n.*//
503 ' >$as_me.lineno &&
504 chmod +x "$as_me.lineno" ||
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
506
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
514 . "./$as_me.lineno"
515 # Exit status is that of the last command.
516 exit
517 }
518
519
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echo -n x` in #(((((
525 -n*)
526 case `echo 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528 xy) ECHO_C='\c';;
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
530 ECHO_T=' ';;
531 esac;;
532 *)
533 ECHO_N='-n';;
534 esac
535
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
541
542
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
546 else
547 rm -f conf$$.dir
548 mkdir conf$$.dir 2>/dev/null
549 fi
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s='ln -s'
553 # ... but there are two gotchas:
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556 # In both cases, we have to default to `cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558 as_ln_s='cp -pR'
559 elif ln conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s=ln
561 else
562 as_ln_s='cp -pR'
563 fi
564 else
565 as_ln_s='cp -pR'
566 fi
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
569
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
572 else
573 test -d ./-p && rmdir ./-p
574 as_mkdir_p=false
575 fi
576
577 as_test_x='test -x'
578 as_executable_p=as_fn_executable_p
579
580 # Sed expression to map a string onto a valid CPP name.
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
586
587 test -n "$DJDIR" || exec 7<&0 </dev/null
588 exec 6>&1
589
590 # Name of the host.
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
594
595 #
596 # Initializations.
597 #
598 ac_default_prefix=/usr/local
599 ac_clean_files=
600 ac_config_libobj_dir=.
601 LIBOBJS=
602 cross_compiling=no
603 subdirs=
604 MFLAGS=
605 MAKEFLAGS=
606
607 # Identity of this package.
608 PACKAGE_NAME=''
609 PACKAGE_TARNAME=''
610 PACKAGE_VERSION=''
611 PACKAGE_STRING=''
612 PACKAGE_BUGREPORT=''
613 PACKAGE_URL=''
614
615 ac_unique_file="Makefile.in"
616 ac_subst_vars='LTLIBOBJS
617 LIBOBJS
618 ENABLE_SECURITY_SLICING
619 ENABLE_GUI
620 FRAMAC_VERSION
621 target_alias
622 host_alias
623 build_alias
624 LIBS
625 ECHO_T
626 ECHO_N
627 ECHO_C
628 DEFS
629 mandir
630 localedir
631 libdir
632 psdir
633 pdfdir
634 dvidir
635 htmldir
636 infodir
637 docdir
638 oldincludedir
639 includedir
640 runstatedir
641 localstatedir
642 sharedstatedir
643 sysconfdir
644 datadir
645 datarootdir
646 libexecdir
647 sbindir
648 bindir
649 program_transform_name
650 prefix
651 exec_prefix
652 PACKAGE_URL
653 PACKAGE_BUGREPORT
654 PACKAGE_STRING
655 PACKAGE_VERSION
656 PACKAGE_TARNAME
657 PACKAGE_NAME
658 PATH_SEPARATOR
659 SHELL'
660 ac_subst_files=''
661 ac_user_opts='
662 enable_option_checking
663 enable_security_slicing
664 '
665 ac_precious_vars='build_alias
666 host_alias
667 target_alias'
668
669
670 # Initialize some variables set by options.
671 ac_init_help=
672 ac_init_version=false
673 ac_unrecognized_opts=
674 ac_unrecognized_sep=
675 # The variables have the same names as the options, with
676 # dashes changed to underlines.
677 cache_file=/dev/null
678 exec_prefix=NONE
679 no_create=
680 no_recursion=
681 prefix=NONE
682 program_prefix=NONE
683 program_suffix=NONE
684 program_transform_name=s,x,x,
685 silent=
686 site=
687 srcdir=
688 verbose=
689 x_includes=NONE
690 x_libraries=NONE
691
692 # Installation directory options.
693 # These are left unexpanded so users can "make install exec_prefix=/foo"
694 # and all the variables that are supposed to be based on exec_prefix
695 # by default will actually change.
696 # Use braces instead of parens because sh, perl, etc. also accept them.
697 # (The list follows the same order as the GNU Coding Standards.)
698 bindir='${exec_prefix}/bin'
699 sbindir='${exec_prefix}/sbin'
700 libexecdir='${exec_prefix}/libexec'
701 datarootdir='${prefix}/share'
702 datadir='${datarootdir}'
703 sysconfdir='${prefix}/etc'
704 sharedstatedir='${prefix}/com'
705 localstatedir='${prefix}/var'
706 runstatedir='${localstatedir}/run'
707 includedir='${prefix}/include'
708 oldincludedir='/usr/include'
709 docdir='${datarootdir}/doc/${PACKAGE}'
710 infodir='${datarootdir}/info'
711 htmldir='${docdir}'
712 dvidir='${docdir}'
713 pdfdir='${docdir}'
714 psdir='${docdir}'
715 libdir='${exec_prefix}/lib'
716 localedir='${datarootdir}/locale'
717 mandir='${datarootdir}/man'
718
719 ac_prev=
720 ac_dashdash=
721 for ac_option
722 do
723 # If the previous option needs an argument, assign it.
724 if test -n "$ac_prev"; then
725 eval $ac_prev=\$ac_option
726 ac_prev=
727 continue
728 fi
729
730 case $ac_option in
731 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
732 *=) ac_optarg= ;;
733 *) ac_optarg=yes ;;
734 esac
735
736 case $ac_dashdash$ac_option in
737 --)
738 ac_dashdash=yes ;;
739
740 -bindir | --bindir | --bindi | --bind | --bin | --bi)
741 ac_prev=bindir ;;
742 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
743 bindir=$ac_optarg ;;
744
745 -build | --build | --buil | --bui | --bu)
746 ac_prev=build_alias ;;
747 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
748 build_alias=$ac_optarg ;;
749
750 -cache-file | --cache-file | --cache-fil | --cache-fi \
751 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
752 ac_prev=cache_file ;;
753 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
754 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
755 cache_file=$ac_optarg ;;
756
757 --config-cache | -C)
758 cache_file=config.cache ;;
759
760 -datadir | --datadir | --datadi | --datad)
761 ac_prev=datadir ;;
762 -datadir=* | --datadir=* | --datadi=* | --datad=*)
763 datadir=$ac_optarg ;;
764
765 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
766 | --dataroo | --dataro | --datar)
767 ac_prev=datarootdir ;;
768 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
769 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
770 datarootdir=$ac_optarg ;;
771
772 -disable-* | --disable-*)
773 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
776 as_fn_error $? "invalid feature name: \`$ac_useropt'"
777 ac_useropt_orig=$ac_useropt
778 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
779 case $ac_user_opts in
780 *"
781 "enable_$ac_useropt"
782 "*) ;;
783 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
784 ac_unrecognized_sep=', ';;
785 esac
786 eval enable_$ac_useropt=no ;;
787
788 -docdir | --docdir | --docdi | --doc | --do)
789 ac_prev=docdir ;;
790 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
791 docdir=$ac_optarg ;;
792
793 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
794 ac_prev=dvidir ;;
795 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
796 dvidir=$ac_optarg ;;
797
798 -enable-* | --enable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: \`$ac_useropt'"
803 ac_useropt_orig=$ac_useropt
804 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in
806 *"
807 "enable_$ac_useropt"
808 "*) ;;
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
810 ac_unrecognized_sep=', ';;
811 esac
812 eval enable_$ac_useropt=\$ac_optarg ;;
813
814 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
815 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
816 | --exec | --exe | --ex)
817 ac_prev=exec_prefix ;;
818 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
819 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
820 | --exec=* | --exe=* | --ex=*)
821 exec_prefix=$ac_optarg ;;
822
823 -gas | --gas | --ga | --g)
824 # Obsolete; use --with-gas.
825 with_gas=yes ;;
826
827 -help | --help | --hel | --he | -h)
828 ac_init_help=long ;;
829 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
830 ac_init_help=recursive ;;
831 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
832 ac_init_help=short ;;
833
834 -host | --host | --hos | --ho)
835 ac_prev=host_alias ;;
836 -host=* | --host=* | --hos=* | --ho=*)
837 host_alias=$ac_optarg ;;
838
839 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
840 ac_prev=htmldir ;;
841 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
842 | --ht=*)
843 htmldir=$ac_optarg ;;
844
845 -includedir | --includedir | --includedi | --included | --include \
846 | --includ | --inclu | --incl | --inc)
847 ac_prev=includedir ;;
848 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
849 | --includ=* | --inclu=* | --incl=* | --inc=*)
850 includedir=$ac_optarg ;;
851
852 -infodir | --infodir | --infodi | --infod | --info | --inf)
853 ac_prev=infodir ;;
854 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
855 infodir=$ac_optarg ;;
856
857 -libdir | --libdir | --libdi | --libd)
858 ac_prev=libdir ;;
859 -libdir=* | --libdir=* | --libdi=* | --libd=*)
860 libdir=$ac_optarg ;;
861
862 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
863 | --libexe | --libex | --libe)
864 ac_prev=libexecdir ;;
865 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
866 | --libexe=* | --libex=* | --libe=*)
867 libexecdir=$ac_optarg ;;
868
869 -localedir | --localedir | --localedi | --localed | --locale)
870 ac_prev=localedir ;;
871 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
872 localedir=$ac_optarg ;;
873
874 -localstatedir | --localstatedir | --localstatedi | --localstated \
875 | --localstate | --localstat | --localsta | --localst | --locals)
876 ac_prev=localstatedir ;;
877 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
878 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
879 localstatedir=$ac_optarg ;;
880
881 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
882 ac_prev=mandir ;;
883 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
884 mandir=$ac_optarg ;;
885
886 -nfp | --nfp | --nf)
887 # Obsolete; use --without-fp.
888 with_fp=no ;;
889
890 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
891 | --no-cr | --no-c | -n)
892 no_create=yes ;;
893
894 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
895 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
896 no_recursion=yes ;;
897
898 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
899 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
900 | --oldin | --oldi | --old | --ol | --o)
901 ac_prev=oldincludedir ;;
902 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
903 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
904 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
905 oldincludedir=$ac_optarg ;;
906
907 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
908 ac_prev=prefix ;;
909 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
910 prefix=$ac_optarg ;;
911
912 -program-prefix | --program-prefix | --program-prefi | --program-pref \
913 | --program-pre | --program-pr | --program-p)
914 ac_prev=program_prefix ;;
915 -program-prefix=* | --program-prefix=* | --program-prefi=* \
916 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
917 program_prefix=$ac_optarg ;;
918
919 -program-suffix | --program-suffix | --program-suffi | --program-suff \
920 | --program-suf | --program-su | --program-s)
921 ac_prev=program_suffix ;;
922 -program-suffix=* | --program-suffix=* | --program-suffi=* \
923 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
924 program_suffix=$ac_optarg ;;
925
926 -program-transform-name | --program-transform-name \
927 | --program-transform-nam | --program-transform-na \
928 | --program-transform-n | --program-transform- \
929 | --program-transform | --program-transfor \
930 | --program-transfo | --program-transf \
931 | --program-trans | --program-tran \
932 | --progr-tra | --program-tr | --program-t)
933 ac_prev=program_transform_name ;;
934 -program-transform-name=* | --program-transform-name=* \
935 | --program-transform-nam=* | --program-transform-na=* \
936 | --program-transform-n=* | --program-transform-=* \
937 | --program-transform=* | --program-transfor=* \
938 | --program-transfo=* | --program-transf=* \
939 | --program-trans=* | --program-tran=* \
940 | --progr-tra=* | --program-tr=* | --program-t=*)
941 program_transform_name=$ac_optarg ;;
942
943 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
944 ac_prev=pdfdir ;;
945 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
946 pdfdir=$ac_optarg ;;
947
948 -psdir | --psdir | --psdi | --psd | --ps)
949 ac_prev=psdir ;;
950 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
951 psdir=$ac_optarg ;;
952
953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
954 | -silent | --silent | --silen | --sile | --sil)
955 silent=yes ;;
956
957 -runstatedir | --runstatedir | --runstatedi | --runstated \
958 | --runstate | --runstat | --runsta | --runst | --runs \
959 | --run | --ru | --r)
960 ac_prev=runstatedir ;;
961 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
962 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
963 | --run=* | --ru=* | --r=*)
964 runstatedir=$ac_optarg ;;
965
966 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
967 ac_prev=sbindir ;;
968 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
969 | --sbi=* | --sb=*)
970 sbindir=$ac_optarg ;;
971
972 -sharedstatedir | --sharedstatedir | --sharedstatedi \
973 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
974 | --sharedst | --shareds | --shared | --share | --shar \
975 | --sha | --sh)
976 ac_prev=sharedstatedir ;;
977 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
978 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
979 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
980 | --sha=* | --sh=*)
981 sharedstatedir=$ac_optarg ;;
982
983 -site | --site | --sit)
984 ac_prev=site ;;
985 -site=* | --site=* | --sit=*)
986 site=$ac_optarg ;;
987
988 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
989 ac_prev=srcdir ;;
990 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
991 srcdir=$ac_optarg ;;
992
993 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
994 | --syscon | --sysco | --sysc | --sys | --sy)
995 ac_prev=sysconfdir ;;
996 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
997 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
998 sysconfdir=$ac_optarg ;;
999
1000 -target | --target | --targe | --targ | --tar | --ta | --t)
1001 ac_prev=target_alias ;;
1002 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1003 target_alias=$ac_optarg ;;
1004
1005 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1006 verbose=yes ;;
1007
1008 -version | --version | --versio | --versi | --vers | -V)
1009 ac_init_version=: ;;
1010
1011 -with-* | --with-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid package name: \`$ac_useropt'"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1019 *"
1020 "with_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval with_$ac_useropt=\$ac_optarg ;;
1026
1027 -without-* | --without-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error $? "invalid package name: \`$ac_useropt'"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1035 *"
1036 "with_$ac_useropt"
1037 "*) ;;
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1040 esac
1041 eval with_$ac_useropt=no ;;
1042
1043 --x)
1044 # Obsolete; use --with-x.
1045 with_x=yes ;;
1046
1047 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1048 | --x-incl | --x-inc | --x-in | --x-i)
1049 ac_prev=x_includes ;;
1050 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1051 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1052 x_includes=$ac_optarg ;;
1053
1054 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1055 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1056 ac_prev=x_libraries ;;
1057 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1058 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059 x_libraries=$ac_optarg ;;
1060
1061 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1062 Try \`$0 --help' for more information"
1063 ;;
1064
1065 *=*)
1066 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 case $ac_envvar in #(
1069 '' | [0-9]* | *[!_$as_cr_alnum]* )
1070 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1071 esac
1072 eval $ac_envvar=\$ac_optarg
1073 export $ac_envvar ;;
1074
1075 *)
1076 # FIXME: should be removed in autoconf 3.0.
1077 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1078 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1080 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1081 ;;
1082
1083 esac
1084 done
1085
1086 if test -n "$ac_prev"; then
1087 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088 as_fn_error $? "missing argument to $ac_option"
1089 fi
1090
1091 if test -n "$ac_unrecognized_opts"; then
1092 case $enable_option_checking in
1093 no) ;;
1094 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1095 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1096 esac
1097 fi
1098
1099 # Check all directory arguments for consistency.
1100 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1101 datadir sysconfdir sharedstatedir localstatedir includedir \
1102 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1103 libdir localedir mandir runstatedir
1104 do
1105 eval ac_val=\$$ac_var
1106 # Remove trailing slashes.
1107 case $ac_val in
1108 */ )
1109 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1110 eval $ac_var=\$ac_val;;
1111 esac
1112 # Be sure to have absolute directory names.
1113 case $ac_val in
1114 [\\/$]* | ?:[\\/]* ) continue;;
1115 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1116 esac
1117 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1118 done
1119
1120 # There might be people who depend on the old broken behavior: `$host'
1121 # used to hold the argument of --host etc.
1122 # FIXME: To remove some day.
1123 build=$build_alias
1124 host=$host_alias
1125 target=$target_alias
1126
1127 # FIXME: To remove some day.
1128 if test "x$host_alias" != x; then
1129 if test "x$build_alias" = x; then
1130 cross_compiling=maybe
1131 elif test "x$build_alias" != "x$host_alias"; then
1132 cross_compiling=yes
1133 fi
1134 fi
1135
1136 ac_tool_prefix=
1137 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1138
1139 test "$silent" = yes && exec 6>/dev/null
1140
1141
1142 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1143 ac_ls_di=`ls -di .` &&
1144 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1145 as_fn_error $? "working directory cannot be determined"
1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147 as_fn_error $? "pwd does not report name of working directory"
1148
1149
1150 # Find the source files, if location was not specified.
1151 if test -z "$srcdir"; then
1152 ac_srcdir_defaulted=yes
1153 # Try the directory containing this script, then the parent directory.
1154 ac_confdir=`$as_dirname -- "$as_myself" ||
1155 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1156 X"$as_myself" : 'X\(//\)[^/]' \| \
1157 X"$as_myself" : 'X\(//\)$' \| \
1158 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1159 printf "%s\n" X"$as_myself" |
1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1161 s//\1/
1162 q
1163 }
1164 /^X\(\/\/\)[^/].*/{
1165 s//\1/
1166 q
1167 }
1168 /^X\(\/\/\)$/{
1169 s//\1/
1170 q
1171 }
1172 /^X\(\/\).*/{
1173 s//\1/
1174 q
1175 }
1176 s/.*/./; q'`
1177 srcdir=$ac_confdir
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 srcdir=..
1180 fi
1181 else
1182 ac_srcdir_defaulted=no
1183 fi
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1186 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1187 fi
1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1189 ac_abs_confdir=`(
1190 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1191 pwd)`
1192 # When building in place, set srcdir=.
1193 if test "$ac_abs_confdir" = "$ac_pwd"; then
1194 srcdir=.
1195 fi
1196 # Remove unnecessary trailing slashes from srcdir.
1197 # Double slashes in file names in object file debugging info
1198 # mess up M-x gdb in Emacs.
1199 case $srcdir in
1200 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1201 esac
1202 for ac_var in $ac_precious_vars; do
1203 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1204 eval ac_env_${ac_var}_value=\$${ac_var}
1205 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1206 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1207 done
1208
1209 #
1210 # Report the --help message.
1211 #
1212 if test "$ac_init_help" = "long"; then
1213 # Omit some internal or obsolete options to make the list less imposing.
1214 # This message is too long to be a string in the A/UX 3.1 sh.
1215 cat <<_ACEOF
1216 \`configure' configures this package to adapt to many kinds of systems.
1217
1218 Usage: $0 [OPTION]... [VAR=VALUE]...
1219
1220 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1221 VAR=VALUE. See below for descriptions of some of the useful variables.
1222
1223 Defaults for the options are specified in brackets.
1224
1225 Configuration:
1226 -h, --help display this help and exit
1227 --help=short display options specific to this package
1228 --help=recursive display the short help of all the included packages
1229 -V, --version display version information and exit
1230 -q, --quiet, --silent do not print \`checking ...' messages
1231 --cache-file=FILE cache test results in FILE [disabled]
1232 -C, --config-cache alias for \`--cache-file=config.cache'
1233 -n, --no-create do not create output files
1234 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1235
1236 Installation directories:
1237 --prefix=PREFIX install architecture-independent files in PREFIX
1238 [$ac_default_prefix]
1239 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1240 [PREFIX]
1241
1242 By default, \`make install' will install all the files in
1243 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1244 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1245 for instance \`--prefix=\$HOME'.
1246
1247 For better control, use the options below.
1248
1249 Fine tuning of the installation directories:
1250 --bindir=DIR user executables [EPREFIX/bin]
1251 --sbindir=DIR system admin executables [EPREFIX/sbin]
1252 --libexecdir=DIR program executables [EPREFIX/libexec]
1253 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1254 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1255 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1256 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1257 --libdir=DIR object code libraries [EPREFIX/lib]
1258 --includedir=DIR C header files [PREFIX/include]
1259 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1262 --infodir=DIR info documentation [DATAROOTDIR/info]
1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1264 --mandir=DIR man documentation [DATAROOTDIR/man]
1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1266 --htmldir=DIR html documentation [DOCDIR]
1267 --dvidir=DIR dvi documentation [DOCDIR]
1268 --pdfdir=DIR pdf documentation [DOCDIR]
1269 --psdir=DIR ps documentation [DOCDIR]
1270 _ACEOF
1271
1272 cat <<\_ACEOF
1273 _ACEOF
1274 fi
1275
1276 if test -n "$ac_init_help"; then
1277
1278 cat <<\_ACEOF
1279
1280 Optional Features:
1281 --disable-option-checking ignore unrecognized --enable/--with options
1282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1284 --enable-security_slicing
1285 support for Security_slicing plug-in (default: yes)
1286
1287 Report bugs to the package provider.
1288 _ACEOF
1289 ac_status=$?
1290 fi
1291
1292 if test "$ac_init_help" = "recursive"; then
1293 # If there are subdirs, report their specific --help.
1294 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1295 test -d "$ac_dir" ||
1296 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1297 continue
1298 ac_builddir=.
1299
1300 case "$ac_dir" in
1301 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *)
1303 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1304 # A ".." for each directory in $ac_dir_suffix.
1305 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1306 case $ac_top_builddir_sub in
1307 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1309 esac ;;
1310 esac
1311 ac_abs_top_builddir=$ac_pwd
1312 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1313 # for backward compatibility:
1314 ac_top_builddir=$ac_top_build_prefix
1315
1316 case $srcdir in
1317 .) # We are building in place.
1318 ac_srcdir=.
1319 ac_top_srcdir=$ac_top_builddir_sub
1320 ac_abs_top_srcdir=$ac_pwd ;;
1321 [\\/]* | ?:[\\/]* ) # Absolute name.
1322 ac_srcdir=$srcdir$ac_dir_suffix;
1323 ac_top_srcdir=$srcdir
1324 ac_abs_top_srcdir=$srcdir ;;
1325 *) # Relative name.
1326 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1327 ac_top_srcdir=$ac_top_build_prefix$srcdir
1328 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1329 esac
1330 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1331
1332 cd "$ac_dir" || { ac_status=$?; continue; }
1333 # Check for configure.gnu first; this name is used for a wrapper for
1334 # Metaconfig's "Configure" on case-insensitive file systems.
1335 if test -f "$ac_srcdir/configure.gnu"; then
1336 echo &&
1337 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1338 elif test -f "$ac_srcdir/configure"; then
1339 echo &&
1340 $SHELL "$ac_srcdir/configure" --help=recursive
1341 else
1342 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343 fi || ac_status=$?
1344 cd "$ac_pwd" || { ac_status=$?; break; }
1345 done
1346 fi
1347
1348 test -n "$ac_init_help" && exit $ac_status
1349 if $ac_init_version; then
1350 cat <<\_ACEOF
1351 configure
1352 generated by GNU Autoconf 2.71
1353
1354 Copyright (C) 2021 Free Software Foundation, Inc.
1355 This configure script is free software; the Free Software Foundation
1356 gives unlimited permission to copy, distribute and modify it.
1357 _ACEOF
1358 exit
1359 fi
1360
1361 ## ------------------------ ##
1362 ## Autoconf initialization. ##
1363 ## ------------------------ ##
1364 ac_configure_args_raw=
1365 for ac_arg
1366 do
1367 case $ac_arg in
1368 *\'*)
1369 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1370 esac
1371 as_fn_append ac_configure_args_raw " '$ac_arg'"
1372 done
1373
1374 case $ac_configure_args_raw in
1375 *$as_nl*)
1376 ac_safe_unquote= ;;
1377 *)
1378 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1379 ac_unsafe_a="$ac_unsafe_z#~"
1380 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1381 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1382 esac
1383
1384 cat >config.log <<_ACEOF
1385 This file contains any messages produced by compilers while
1386 running configure, to aid debugging if configure makes a mistake.
1387
1388 It was created by $as_me, which was
1389 generated by GNU Autoconf 2.71. Invocation command line was
1390
1391 $ $0$ac_configure_args_raw
1392
1393 _ACEOF
1394 exec 5>>config.log
1395 {
1396 cat <<_ASUNAME
1397 ## --------- ##
1398 ## Platform. ##
1399 ## --------- ##
1400
1401 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1402 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1403 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1404 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1405 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1406
1407 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1408 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1409
1410 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1411 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1412 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1413 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1414 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1415 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1416 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1417
1418 _ASUNAME
1419
1420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421 for as_dir in $PATH
1422 do
1423 IFS=$as_save_IFS
1424 case $as_dir in #(((
1425 '') as_dir=./ ;;
1426 */) ;;
1427 *) as_dir=$as_dir/ ;;
1428 esac
1429 printf "%s\n" "PATH: $as_dir"
1430 done
1431 IFS=$as_save_IFS
1432
1433 } >&5
1434
1435 cat >&5 <<_ACEOF
1436
1437
1438 ## ----------- ##
1439 ## Core tests. ##
1440 ## ----------- ##
1441
1442 _ACEOF
1443
1444
1445 # Keep a trace of the command line.
1446 # Strip out --no-create and --no-recursion so they do not pile up.
1447 # Strip out --silent because we don't want to record it for future runs.
1448 # Also quote any args containing shell meta-characters.
1449 # Make two passes to allow for proper duplicate-argument suppression.
1450 ac_configure_args=
1451 ac_configure_args0=
1452 ac_configure_args1=
1453 ac_must_keep_next=false
1454 for ac_pass in 1 2
1455 do
1456 for ac_arg
1457 do
1458 case $ac_arg in
1459 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1460 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1461 | -silent | --silent | --silen | --sile | --sil)
1462 continue ;;
1463 *\'*)
1464 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1465 esac
1466 case $ac_pass in
1467 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1468 2)
1469 as_fn_append ac_configure_args1 " '$ac_arg'"
1470 if test $ac_must_keep_next = true; then
1471 ac_must_keep_next=false # Got value, back to normal.
1472 else
1473 case $ac_arg in
1474 *=* | --config-cache | -C | -disable-* | --disable-* \
1475 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1476 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1477 | -with-* | --with-* | -without-* | --without-* | --x)
1478 case "$ac_configure_args0 " in
1479 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1480 esac
1481 ;;
1482 -* ) ac_must_keep_next=true ;;
1483 esac
1484 fi
1485 as_fn_append ac_configure_args " '$ac_arg'"
1486 ;;
1487 esac
1488 done
1489 done
1490 { ac_configure_args0=; unset ac_configure_args0;}
1491 { ac_configure_args1=; unset ac_configure_args1;}
1492
1493 # When interrupted or exit'd, cleanup temporary files, and complete
1494 # config.log. We remove comments because anyway the quotes in there
1495 # would cause problems or look ugly.
1496 # WARNING: Use '\'' to represent an apostrophe within the trap.
1497 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1498 trap 'exit_status=$?
1499 # Sanitize IFS.
1500 IFS=" "" $as_nl"
1501 # Save into config.log some information that might help in debugging.
1502 {
1503 echo
1504
1505 printf "%s\n" "## ---------------- ##
1506 ## Cache variables. ##
1507 ## ---------------- ##"
1508 echo
1509 # The following way of writing the cache mishandles newlines in values,
1510 (
1511 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1512 eval ac_val=\$$ac_var
1513 case $ac_val in #(
1514 *${as_nl}*)
1515 case $ac_var in #(
1516 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1517 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1518 esac
1519 case $ac_var in #(
1520 _ | IFS | as_nl) ;; #(
1521 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1522 *) { eval $ac_var=; unset $ac_var;} ;;
1523 esac ;;
1524 esac
1525 done
1526 (set) 2>&1 |
1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1528 *${as_nl}ac_space=\ *)
1529 sed -n \
1530 "s/'\''/'\''\\\\'\'''\''/g;
1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1532 ;; #(
1533 *)
1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 ;;
1536 esac |
1537 sort
1538 )
1539 echo
1540
1541 printf "%s\n" "## ----------------- ##
1542 ## Output variables. ##
1543 ## ----------------- ##"
1544 echo
1545 for ac_var in $ac_subst_vars
1546 do
1547 eval ac_val=\$$ac_var
1548 case $ac_val in
1549 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550 esac
1551 printf "%s\n" "$ac_var='\''$ac_val'\''"
1552 done | sort
1553 echo
1554
1555 if test -n "$ac_subst_files"; then
1556 printf "%s\n" "## ------------------- ##
1557 ## File substitutions. ##
1558 ## ------------------- ##"
1559 echo
1560 for ac_var in $ac_subst_files
1561 do
1562 eval ac_val=\$$ac_var
1563 case $ac_val in
1564 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565 esac
1566 printf "%s\n" "$ac_var='\''$ac_val'\''"
1567 done | sort
1568 echo
1569 fi
1570
1571 if test -s confdefs.h; then
1572 printf "%s\n" "## ----------- ##
1573 ## confdefs.h. ##
1574 ## ----------- ##"
1575 echo
1576 cat confdefs.h
1577 echo
1578 fi
1579 test "$ac_signal" != 0 &&
1580 printf "%s\n" "$as_me: caught signal $ac_signal"
1581 printf "%s\n" "$as_me: exit $exit_status"
1582 } >&5
1583 rm -f core *.core core.conftest.* &&
1584 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1585 exit $exit_status
1586 ' 0
1587 for ac_signal in 1 2 13 15; do
1588 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1589 done
1590 ac_signal=0
1591
1592 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1593 rm -f -r conftest* confdefs.h
1594
1595 printf "%s\n" "/* confdefs.h */" > confdefs.h
1596
1597 # Predefined preprocessor variables.
1598
1599 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1600
1601 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1602
1603 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1604
1605 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1606
1607 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1608
1609 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1610
1611
1612 # Let the site file select an alternate cache file if it wants to.
1613 # Prefer an explicitly selected file to automatically selected ones.
1614 if test -n "$CONFIG_SITE"; then
1615 ac_site_files="$CONFIG_SITE"
1616 elif test "x$prefix" != xNONE; then
1617 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1618 else
1619 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1620 fi
1621
1622 for ac_site_file in $ac_site_files
1623 do
1624 case $ac_site_file in #(
1625 */*) :
1626 ;; #(
1627 *) :
1628 ac_site_file=./$ac_site_file ;;
1629 esac
1630 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1632 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1633 sed 's/^/| /' "$ac_site_file" >&5
1634 . "$ac_site_file" \
1635 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1636 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1637 as_fn_error $? "failed to load site script $ac_site_file
1638 See \`config.log' for more details" "$LINENO" 5; }
1639 fi
1640 done
1641
1642 if test -r "$cache_file"; then
1643 # Some versions of bash will fail to source /dev/null (special files
1644 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1645 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1647 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1648 case $cache_file in
1649 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650 *) . "./$cache_file";;
1651 esac
1652 fi
1653 else
1654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1655 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1656 >$cache_file
1657 fi
1658
1659 # Check that the precious variables saved in the cache have kept the same
1660 # value.
1661 ac_cache_corrupted=false
1662 for ac_var in $ac_precious_vars; do
1663 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1664 eval ac_new_set=\$ac_env_${ac_var}_set
1665 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1666 eval ac_new_val=\$ac_env_${ac_var}_value
1667 case $ac_old_set,$ac_new_set in
1668 set,)
1669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1670 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1671 ac_cache_corrupted=: ;;
1672 ,set)
1673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1674 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1675 ac_cache_corrupted=: ;;
1676 ,);;
1677 *)
1678 if test "x$ac_old_val" != "x$ac_new_val"; then
1679 # differences in whitespace do not lead to failure.
1680 ac_old_val_w=`echo x $ac_old_val`
1681 ac_new_val_w=`echo x $ac_new_val`
1682 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1684 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1685 ac_cache_corrupted=:
1686 else
1687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1688 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1689 eval $ac_var=\$ac_old_val
1690 fi
1691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1692 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1694 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1695 fi;;
1696 esac
1697 # Pass precious variables to config.status.
1698 if test "$ac_new_set" = set; then
1699 case $ac_new_val in
1700 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1701 *) ac_arg=$ac_var=$ac_new_val ;;
1702 esac
1703 case " $ac_configure_args " in
1704 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1705 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1706 esac
1707 fi
1708 done
1709 if $ac_cache_corrupted; then
1710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1711 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1713 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1714 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1715 and start over" "$LINENO" 5
1716 fi
1717 ## -------------------- ##
1718 ## Main body of script. ##
1719 ## -------------------- ##
1720
1721 ac_ext=c
1722 ac_cpp='$CPP $CPPFLAGS'
1723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1726
1727
1728 KNOWN_PLUGINS=$(frama-c -plugins | \
1729 sed -e '/\[kernel\]/d' -e 's/\([^ ][^ ]*\( [^ ][^ ]*\)*\) .*/\1/' \
1730 -e '/^ /d' -e '/^$/d' | \
1731 tr "a-z- " "A-Z__")
1732 for plugin in ${KNOWN_PLUGINS}; do
1733 export $(echo ENABLE_$plugin)=yes
1734 done
1735
1736 FRAMAC_VERSION=`frama-c -version`
1737
1738 # Extract the first word of "frama-c-gui", so it can be a program name with args.
1739 set dummy frama-c-gui; ac_word=$2
1740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1741 printf %s "checking for $ac_word... " >&6; }
1742 if test ${ac_cv_prog_ENABLE_GUI+y}
1743 then :
1744 printf %s "(cached) " >&6
1745 else $as_nop
1746 if test -n "$ENABLE_GUI"; then
1747 ac_cv_prog_ENABLE_GUI="$ENABLE_GUI" # Let the user override the test.
1748 else
1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 for as_dir in $PATH
1751 do
1752 IFS=$as_save_IFS
1753 case $as_dir in #(((
1754 '') as_dir=./ ;;
1755 */) ;;
1756 *) as_dir=$as_dir/ ;;
1757 esac
1758 for ac_exec_ext in '' $ac_executable_extensions; do
1759 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1760 ac_cv_prog_ENABLE_GUI="yes"
1761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1762 break 2
1763 fi
1764 done
1765 done
1766 IFS=$as_save_IFS
1767
1768 test -z "$ac_cv_prog_ENABLE_GUI" && ac_cv_prog_ENABLE_GUI="no"
1769 fi
1770 fi
1771 ENABLE_GUI=$ac_cv_prog_ENABLE_GUI
1772 if test -n "$ENABLE_GUI"; then
1773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_GUI" >&5
1774 printf "%s\n" "$ENABLE_GUI" >&6; }
1775 else
1776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1777 printf "%s\n" "no" >&6; }
1778 fi
1779
1780
1781
1782
1783
1784
1785 upper() {
1786 echo "$1" | tr "a-z-" "A-Z_"
1787 }
1788
1789 lower() {
1790 echo "$1" | tr "A-Z" "a-z"
1791 }
1792
1793
1794
1795 new_section() {
1796 banner=`echo "* $1 *" | sed -e 's/./*/g'`
1797 title=`echo "* $1 *" | tr "a-z" "A-Z"`
1798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $banner" >&5
1799 printf "%s\n" "$as_me: $banner" >&6;}
1800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $title" >&5
1801 printf "%s\n" "$as_me: $title" >&6;}
1802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $banner" >&5
1803 printf "%s\n" "$as_me: $banner" >&6;}
1804 }
1805
1806
1807
1808 # sadly, there's no way to define a new diversion beside the internal ones.
1809 # hoping for the best here...
1810
1811
1812
1813
1814 # to distinguish internal plugins, known by the main configure, from
1815 # purely external plugins living in src/ and compiled together with the main
1816 # frama-c
1817
1818
1819
1820 # end of check_plugin
1821
1822 # 1st param: uppercase name of the library
1823 # 2nd param: file which must exist. This parameter can be a list of files.
1824 # In this case, they will be tried in turn until one of them exists. The
1825 # name of the file found will be put in the variable SELECTED_$1
1826 # 3d param: warning to display if problem
1827 # 4th param: yes iff checking the library must always to be done
1828 # (even if there is no plug-in using it)
1829
1830
1831 # 1st param: actual name of the ocamlfind package (often lowercase)
1832 # 2nd param: warning to display if problem
1833
1834
1835 # 1st param: uppercase name of the program
1836 # 2nd param: program which must exist. See comment on configure_library()
1837 # on how to deal with multiple choices for a given program.
1838 # 3d param: warning to display if problem
1839 # 4th param: yes iff checking the tool must always to be done
1840 # (even if there is no plug-in using it)
1841
1842
1843
1844 EXTERNAL_PLUGINS=
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858 # Usage: plugin_disable([plugin],[reason])
1859
1860
1861
1862
1863
1864 # Implementation of an ordering $1 < $2: "" < yes < partial < no
1865 lt_mark () {
1866 first=`echo "$1" | sed -e 's/ .*//' `
1867 second=`echo "$2" | sed -e 's/ .*//' `
1868 case $first in
1869 "") echo "true";;
1870 "yes"*)
1871 case $second in
1872 "yes") echo "";;
1873 "partial" | "no") echo "true";;
1874 esac;;
1875 "partial"*)
1876 case $second in
1877 "yes" | "partial") echo "";;
1878 "no") echo "true";;
1879 esac;;
1880 "no"*) echo "";;
1881 esac
1882 }
1883
1884 # Check and propagate marks to requires and users.
1885 # $1: parent plugin
1886 # $2: mark to propagate to requires
1887 # $3: mark to propagate to users
1888 check_and_propagate () {
1889 # for each requires
1890 r=REQUIRE_$1
1891 eval require="\$$r"
1892 for p in $require; do
1893 up=`upper "$p"`
1894 m=MARK_"$up"
1895 eval mark="\$$m"
1896 if test -z "$mark"; then
1897 m=ENABLE_"$up"
1898 eval mark="\$$m"
1899 fi
1900 if test `lt_mark "$mark" "$2" `; then
1901 # update marks
1902 eval MARK_$up=\"$2\";
1903 TODOLIST=$TODOLIST" "$p
1904 # display a warning or an error if required
1905 short_mark=`echo $2 | sed -e 's/ .*//'`
1906 lp=`lower $p`
1907 reason=`echo $2 | sed -e 's/no (\(.*\))/\1/' `
1908 if test "$short_mark" = "no"; then
1909 fp=FORCE_"$up"
1910 if eval test "\$$fp" = "yes"; then
1911 as_fn_error $? "$lp requested but $reason." "$LINENO" 5
1912 else
1913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $lp disabled because $reason." >&5
1914 printf "%s\n" "$as_me: WARNING: $lp disabled because $reason." >&2;}
1915 fi
1916 else
1917 if test "$short_mark" = "partial"; then
1918 reason=`echo $2 | sed -e 's/partial (\(.*\))/\1/' `
1919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $lp only partially enable because $reason." >&5
1920 printf "%s\n" "$as_me: WARNING: $lp only partially enable because $reason." >&2;}
1921 fi
1922 fi
1923 eval INFO_$up=\", $reason\"
1924 fi
1925 done
1926 # for each users
1927 u=USE_$1
1928 eval use="\$$u"
1929 for p in $use; do
1930 up=`upper "$p"`
1931 m=MARK_$up
1932 eval mark="\$$m"
1933 if test -z "$mark"; then
1934 m=ENABLE_"$up"
1935 eval mark="\$$m"
1936 fi
1937 if test `lt_mark "$mark" "$3" `; then
1938 # update marks
1939 eval MARK_$up=\"$3\";
1940 TODOLIST=$TODOLIST" "$p
1941 # display a warning if required
1942 lp=`lower $p`
1943 reason=`echo $3 | sed -e 's/partial (\(.*\))/\1/' `
1944 if test "$reason" != "$3"; then
1945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $lp only partially enabled because $reason." >&5
1946 printf "%s\n" "$as_me: WARNING: $lp only partially enabled because $reason." >&2;}
1947 fi
1948 eval INFO_$up=\", $reason\"
1949 fi
1950 done
1951 }
1952
1953 # checks direct dependencies of a plugin. Useful for dynamic plugins which
1954 # have a dependency toward already installed (or not) plug-ins, since the old
1955 # plugins are not in the TODO list from the beginning (and need not their
1956 # mutual dependencies be rechecked anyway
1957 check_required_used () {
1958 ep=ENABLE_$1
1959 eval enabled=\$$ep
1960
1961 if test "$enabled" != "no"; then
1962
1963 r=REQUIRED_$1
1964 u=USED_$1
1965 m=MARK_$1
1966 eval required=\$$r
1967 eval used=\$$u
1968 eval $m=yes
1969
1970 reason=
1971
1972 for p in $required; do
1973 up=`upper $p`
1974 ec=ENABLE_$up
1975 eval enabled=\$$ec
1976 case `echo "$enabled" | sed -e 's/ .*//'` in
1977 "") reason="$p unknown";;
1978 "yes" | "partial");;
1979 "no") reason="$p not enabled";;
1980 esac
1981 done
1982 if test -n "$reason"; then
1983 eval $m=\"no\ \($reason\)\"
1984 p_name=`lower $1`
1985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $p_name disabled because $reason." >&5
1986 printf "%s\n" "$as_me: WARNING: $p_name disabled because $reason." >&2;}
1987 eval INFO_$1=\", $reason\"
1988 else
1989 for p in $used; do
1990 up=`upper $p`
1991 ec=ENABLE_$up
1992 eval enabled=\$$ec
1993 case `echo "$enabled" | sed -e 's/ .*//'` in
1994 "") reason="$p unknown";;
1995 "yes" | "partial");;
1996 "no") reason="$p not enabled";;
1997 esac
1998 done
1999 if test -n "$reason"; then
2000 eval $m=\"partial\ \($reason\)\"
2001 p_name=`lower $1`
2002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $p_name partially enabled because $reason." >&5
2003 printf "%s\n" "$as_me: WARNING: $p_name partially enabled because $reason." >&2;}
2004 eval INFO_$1=\", $reason\"
2005 fi
2006 fi
2007
2008 else # $enabled = "no"
2009 eval $m=\"no\"
2010 fi
2011 }
2012
2013 # Recursively check the plug-in dependencies using the plug-in dependency graph
2014 compute_dependency () {
2015 plugin=`echo $TODOLIST | sed -e 's/ .*//' `
2016 TODOLIST=`echo $TODOLIST | sed -e 's/[^ ]* *\(.*\)/\1/' `
2017
2018 lplugin=`lower "$plugin"`
2019 uplugin=`upper "$plugin"`
2020 # new mark to consider
2021 m=MARK_$uplugin
2022 eval mark="\$$m"
2023 # old mark to consider
2024 r=REMEMBER_$uplugin
2025 eval remember="\$$r"
2026 # the exact mark (final result),
2027 # also the old mark if plugin already visited
2028 e=ENABLE_$uplugin
2029 eval enable="\$$e"
2030 #first visit. Performs additional checks over requirements.
2031 if test -z "$mark"; then
2032 check_required_used "$uplugin";
2033 eval mark=\$$m
2034 fi
2035
2036 # echo "plug-in $lplugin (mark=$mark, remember=$remember, enable=$enable)"
2037 if test `lt_mark "$remember" "$mark"`; then
2038 # visit the current plugin:
2039 # mark <- max(mark, enable)
2040 case `echo "$mark" | sed -e 's/ .*//' ` in
2041 "") echo "problem?"; exit 3;;
2042 "yes")
2043 if test -n "$enable"; then mark="$enable"; else mark="yes"; fi;;
2044 "partial") if test "$enable" = "no"; then mark="no"; fi;;
2045 "no") ;;
2046 esac
2047 # update plug-in attributes with the new mark
2048 # echo "update attributes with $mark"
2049 eval $m=\"$mark\"
2050 eval $e=\"`echo "$mark" | sed -e 's/ .*//' `\"
2051 enable="$mark"
2052 eval $r=\"$mark\"
2053 # compute and propagate a new mark to requires and users
2054 case `echo "$enable" | sed -e 's/ .*//' ` in
2055 "") echo "problem?"; exit 3;;
2056 "yes") check_and_propagate $uplugin "yes" "yes";;
2057 "partial")
2058 # if a plug-in is partial, does not consider its dependencies as partial
2059 # so the second argument is "yes" and not "partial"
2060 check_and_propagate \
2061 "$uplugin" \
2062 "yes" \
2063 "yes";;
2064 "no")
2065 check_and_propagate \
2066 "$uplugin" \
2067 "no ($lplugin not enabled)" \
2068 "partial ($lplugin not enabled)";;
2069 esac
2070 fi
2071 # recursively consider the next plugins
2072 if test -n "$TODOLIST"; then
2073 compute_dependency;
2074 fi
2075 }
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Makefile.in" >&5
2095 printf %s "checking for Makefile.in... " >&6; }
2096 if test ${ac_cv_file_Makefile_in+y}
2097 then :
2098 printf %s "(cached) " >&6
2099 else $as_nop
2100 test "$cross_compiling" = yes &&
2101 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2102 if test -r "Makefile.in"; then
2103 ac_cv_file_Makefile_in=yes
2104 else
2105 ac_cv_file_Makefile_in=no
2106 fi
2107 fi
2108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_Makefile_in" >&5
2109 printf "%s\n" "$ac_cv_file_Makefile_in" >&6; }
2110 if test "x$ac_cv_file_Makefile_in" = xyes
2111 then :
2112 default=yes;plugin_present=yes
2113 else $as_nop
2114 plugin_present=no;default=no
2115 fi
2116
2117
2118 FORCE=no
2119
2120 # Check whether --enable-security_slicing was given.
2121 if test ${enable_security_slicing+y}
2122 then :
2123 enableval=$enable_security_slicing; ENABLE=$enableval;FORCE=$enableval
2124 else $as_nop
2125 ENABLE=$default
2126
2127 fi
2128
2129
2130 if test "$ONLY_KERNEL" = "yes" -a "$FORCE" = "no"; then
2131 ENABLE=no
2132 fi
2133
2134
2135
2136 if test "$plugin_present" = "no" -a "$FORCE" = "yes"; then
2137 as_fn_error $? "security_slicing is not available" "$LINENO" 5
2138 fi
2139
2140 FORCE_SECURITY_SLICING=$FORCE
2141 PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_SECURITY_SLICING
2142
2143 ENABLE_SECURITY_SLICING=$ENABLE
2144 NAME_SECURITY_SLICING=security_slicing
2145 if test "$default" = "no" -a "$FORCE" = "no"; then
2146 INFO_SECURITY_SLICING=" (not available by default)"
2147 fi
2148
2149
2150 echo "security_slicing... $ENABLE"
2151 # kept defined for write_plugin_config. A bit ugly, but not more than
2152 # usual autoconf stuff.
2153 # m4_undefine([PLUGIN_NAME])
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165 REQUIRE_SLICING=$REQUIRE_SLICING" "security_slicing
2166 REQUIRED_SECURITY_SLICING=$REQUIRED_SECURITY_SLICING" "slicing
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176 REQUIRE_EVA=$REQUIRE_EVA" "security_slicing
2177 REQUIRED_SECURITY_SLICING=$REQUIRED_SECURITY_SLICING" "eva
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187 REQUIRE_PDG=$REQUIRE_PDG" "security_slicing
2188 REQUIRED_SECURITY_SLICING=$REQUIRED_SECURITY_SLICING" "pdg
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198 REQUIRE_GUI=$REQUIRE_GUI" "security_slicing
2199 REQUIRED_SECURITY_SLICING=$REQUIRED_SECURITY_SLICING" "gui
2200
2201
2202
2203
2204
2205
2206
2207 # First, initialize some variables
2208 for fp in ${PLUGINS_FORCE_LIST}; do
2209 if test "$fp" != "FORCE_GTKSOURCEVIEW"; then
2210 plugin=`echo $fp | sed -e "s/FORCE_\(.*\)/\1/" `
2211 TODOLIST=$TODOLIST" "$plugin
2212 eval MARK_$plugin=
2213 eval REMEMBER_$plugin=
2214 fi
2215 done
2216 # main call
2217 compute_dependency
2218
2219
2220
2221
2222
2223 ac_config_files="$ac_config_files ./Makefile"
2224
2225
2226
2227
2228 # Compute INFO_* and exported ENABLE_* from previously computed ENABLE_*
2229 for fp in ${PLUGINS_FORCE_LIST}; do
2230 if test "$fp" != "FORCE_GTKSOURCEVIEW"; then
2231 plugin=`echo $fp | sed -e "s/FORCE_\(.*\)/\1/" `
2232 ep=ENABLE_$plugin
2233 eval v=\$$ep
2234 eval ep_v=`echo $v | sed -e 's/ .*//' `
2235 eval ENABLE_$plugin=$ep_v
2236 reason=`echo $v | sed -e 's/[a-z]*\( .*\)/\1/' `
2237 n=NAME_$plugin
2238 eval name=\$$n
2239 info=
2240 if test "$reason" != "$ep_v"; then
2241 info=$reason
2242 fi
2243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $name: $ep_v$info" >&5
2244 printf "%s\n" "$as_me: $name: $ep_v$info" >&6;}
2245 fi
2246 done
2247 cat >confcache <<\_ACEOF
2248 # This file is a shell script that caches the results of configure
2249 # tests run on this system so they can be shared between configure
2250 # scripts and configure runs, see configure's option --config-cache.
2251 # It is not useful on other systems. If it contains results you don't
2252 # want to keep, you may remove or edit it.
2253 #
2254 # config.status only pays attention to the cache file if you give it
2255 # the --recheck option to rerun configure.
2256 #
2257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2259 # following values.
2260
2261 _ACEOF
2262
2263 # The following way of writing the cache mishandles newlines in values,
2264 # but we know of no workaround that is simple, portable, and efficient.
2265 # So, we kill variables containing newlines.
2266 # Ultrix sh set writes to stderr and can't be redirected directly,
2267 # and sets the high bit in the cache file unless we assign to the vars.
2268 (
2269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2270 eval ac_val=\$$ac_var
2271 case $ac_val in #(
2272 *${as_nl}*)
2273 case $ac_var in #(
2274 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2275 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2276 esac
2277 case $ac_var in #(
2278 _ | IFS | as_nl) ;; #(
2279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2280 *) { eval $ac_var=; unset $ac_var;} ;;
2281 esac ;;
2282 esac
2283 done
2284
2285 (set) 2>&1 |
2286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2287 *${as_nl}ac_space=\ *)
2288 # `set' does not quote correctly, so add quotes: double-quote
2289 # substitution turns \\\\ into \\, and sed turns \\ into \.
2290 sed -n \
2291 "s/'/'\\\\''/g;
2292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2293 ;; #(
2294 *)
2295 # `set' quotes correctly as required by POSIX, so do not add quotes.
2296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2297 ;;
2298 esac |
2299 sort
2300 ) |
2301 sed '
2302 /^ac_cv_env_/b end
2303 t clear
2304 :clear
2305 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2306 t end
2307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2308 :end' >>confcache
2309 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2310 if test -w "$cache_file"; then
2311 if test "x$cache_file" != "x/dev/null"; then
2312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2313 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2314 if test ! -f "$cache_file" || test -h "$cache_file"; then
2315 cat confcache >"$cache_file"
2316 else
2317 case $cache_file in #(
2318 */* | ?:*)
2319 mv -f confcache "$cache_file"$$ &&
2320 mv -f "$cache_file"$$ "$cache_file" ;; #(
2321 *)
2322 mv -f confcache "$cache_file" ;;
2323 esac
2324 fi
2325 fi
2326 else
2327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2328 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2329 fi
2330 fi
2331 rm -f confcache
2332
2333 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2334 # Let make expand exec_prefix.
2335 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2336
2337 # Transform confdefs.h into DEFS.
2338 # Protect against shell expansion while executing Makefile rules.
2339 # Protect against Makefile macro expansion.
2340 #
2341 # If the first sed substitution is executed (which looks for macros that
2342 # take arguments), then branch to the quote section. Otherwise,
2343 # look for a macro that doesn't take arguments.
2344 ac_script='
2345 :mline
2346 /\\$/{
2347 N
2348 s,\\\n,,
2349 b mline
2350 }
2351 t clear
2352 :clear
2353 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2354 t quote
2355 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2356 t quote
2357 b any
2358 :quote
2359 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2360 s/\[/\\&/g
2361 s/\]/\\&/g
2362 s/\$/$$/g
2363 H
2364 :any
2365 ${
2366 g
2367 s/^\n//
2368 s/\n/ /g
2369 p
2370 }
2371 '
2372 DEFS=`sed -n "$ac_script" confdefs.h`
2373
2374
2375 ac_libobjs=
2376 ac_ltlibobjs=
2377 U=
2378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2379 # 1. Remove the extension, and $U if already installed.
2380 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2381 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2382 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2383 # will be set to the directory where LIBOBJS objects are built.
2384 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2385 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2386 done
2387 LIBOBJS=$ac_libobjs
2388
2389 LTLIBOBJS=$ac_ltlibobjs
2390
2391
2392
2393 : "${CONFIG_STATUS=./config.status}"
2394 ac_write_fail=0
2395 ac_clean_files_save=$ac_clean_files
2396 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2398 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2399 as_write_fail=0
2400 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2401 #! $SHELL
2402 # Generated by $as_me.
2403 # Run this file to recreate the current configuration.
2404 # Compiler output produced by configure, useful for debugging
2405 # configure, is in config.log if it exists.
2406
2407 debug=false
2408 ac_cs_recheck=false
2409 ac_cs_silent=false
2410
2411 SHELL=\${CONFIG_SHELL-$SHELL}
2412 export SHELL
2413 _ASEOF
2414 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2415 ## -------------------- ##
2416 ## M4sh Initialization. ##
2417 ## -------------------- ##
2418
2419 # Be more Bourne compatible
2420 DUALCASE=1; export DUALCASE # for MKS sh
2421 as_nop=:
2422 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2423 then :
2424 emulate sh
2425 NULLCMD=:
2426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2427 # is contrary to our usage. Disable this feature.
2428 alias -g '${1+"$@"}'='"$@"'
2429 setopt NO_GLOB_SUBST
2430 else $as_nop
2431 case `(set -o) 2>/dev/null` in #(
2432 *posix*) :
2433 set -o posix ;; #(
2434 *) :
2435 ;;
2436 esac
2437 fi
2438
2439
2440
2441 # Reset variables that may have inherited troublesome values from
2442 # the environment.
2443
2444 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2445 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2446 # side effect of setting IFS to empty, thus disabling word splitting.)
2447 # Quoting is to prevent editors from complaining about space-tab.
2448 as_nl='
2449 '
2450 export as_nl
2451 IFS=" "" $as_nl"
2452
2453 PS1='$ '
2454 PS2='> '
2455 PS4='+ '
2456
2457 # Ensure predictable behavior from utilities with locale-dependent output.
2458 LC_ALL=C
2459 export LC_ALL
2460 LANGUAGE=C
2461 export LANGUAGE
2462
2463 # We cannot yet rely on "unset" to work, but we need these variables
2464 # to be unset--not just set to an empty or harmless value--now, to
2465 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2466 # also avoids known problems related to "unset" and subshell syntax
2467 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2468 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2469 do eval test \${$as_var+y} \
2470 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2471 done
2472
2473 # Ensure that fds 0, 1, and 2 are open.
2474 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2475 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2476 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2477
2478 # The user is always right.
2479 if ${PATH_SEPARATOR+false} :; then
2480 PATH_SEPARATOR=:
2481 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2482 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2483 PATH_SEPARATOR=';'
2484 }
2485 fi
2486
2487
2488 # Find who we are. Look in the path if we contain no directory separator.
2489 as_myself=
2490 case $0 in #((
2491 *[\\/]* ) as_myself=$0 ;;
2492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2494 do
2495 IFS=$as_save_IFS
2496 case $as_dir in #(((
2497 '') as_dir=./ ;;
2498 */) ;;
2499 *) as_dir=$as_dir/ ;;
2500 esac
2501 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2502 done
2503 IFS=$as_save_IFS
2504
2505 ;;
2506 esac
2507 # We did not find ourselves, most probably we were run as `sh COMMAND'
2508 # in which case we are not to be found in the path.
2509 if test "x$as_myself" = x; then
2510 as_myself=$0
2511 fi
2512 if test ! -f "$as_myself"; then
2513 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2514 exit 1
2515 fi
2516
2517
2518
2519 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2520 # ----------------------------------------
2521 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2522 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2523 # script with STATUS, using 1 if that was 0.
2524 as_fn_error ()
2525 {
2526 as_status=$1; test $as_status -eq 0 && as_status=1
2527 if test "$4"; then
2528 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2530 fi
2531 printf "%s\n" "$as_me: error: $2" >&2
2532 as_fn_exit $as_status
2533 } # as_fn_error
2534
2535
2536
2537 # as_fn_set_status STATUS
2538 # -----------------------
2539 # Set $? to STATUS, without forking.
2540 as_fn_set_status ()
2541 {
2542 return $1
2543 } # as_fn_set_status
2544
2545 # as_fn_exit STATUS
2546 # -----------------
2547 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2548 as_fn_exit ()
2549 {
2550 set +e
2551 as_fn_set_status $1
2552 exit $1
2553 } # as_fn_exit
2554
2555 # as_fn_unset VAR
2556 # ---------------
2557 # Portably unset VAR.
2558 as_fn_unset ()
2559 {
2560 { eval $1=; unset $1;}
2561 }
2562 as_unset=as_fn_unset
2563
2564 # as_fn_append VAR VALUE
2565 # ----------------------
2566 # Append the text in VALUE to the end of the definition contained in VAR. Take
2567 # advantage of any shell optimizations that allow amortized linear growth over
2568 # repeated appends, instead of the typical quadratic growth present in naive
2569 # implementations.
2570 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2571 then :
2572 eval 'as_fn_append ()
2573 {
2574 eval $1+=\$2
2575 }'
2576 else $as_nop
2577 as_fn_append ()
2578 {
2579 eval $1=\$$1\$2
2580 }
2581 fi # as_fn_append
2582
2583 # as_fn_arith ARG...
2584 # ------------------
2585 # Perform arithmetic evaluation on the ARGs, and store the result in the
2586 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2587 # must be portable across $(()) and expr.
2588 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2589 then :
2590 eval 'as_fn_arith ()
2591 {
2592 as_val=$(( $* ))
2593 }'
2594 else $as_nop
2595 as_fn_arith ()
2596 {
2597 as_val=`expr "$@" || test $? -eq 1`
2598 }
2599 fi # as_fn_arith
2600
2601
2602 if expr a : '\(a\)' >/dev/null 2>&1 &&
2603 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2604 as_expr=expr
2605 else
2606 as_expr=false
2607 fi
2608
2609 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2610 as_basename=basename
2611 else
2612 as_basename=false
2613 fi
2614
2615 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2616 as_dirname=dirname
2617 else
2618 as_dirname=false
2619 fi
2620
2621 as_me=`$as_basename -- "$0" ||
2622 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2623 X"$0" : 'X\(//\)$' \| \
2624 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2625 printf "%s\n" X/"$0" |
2626 sed '/^.*\/\([^/][^/]*\)\/*$/{
2627 s//\1/
2628 q
2629 }
2630 /^X\/\(\/\/\)$/{
2631 s//\1/
2632 q
2633 }
2634 /^X\/\(\/\).*/{
2635 s//\1/
2636 q
2637 }
2638 s/.*/./; q'`
2639
2640 # Avoid depending upon Character Ranges.
2641 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2642 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2643 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2644 as_cr_digits='0123456789'
2645 as_cr_alnum=$as_cr_Letters$as_cr_digits
2646
2647
2648 # Determine whether it's possible to make 'echo' print without a newline.
2649 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2650 # for compatibility with existing Makefiles.
2651 ECHO_C= ECHO_N= ECHO_T=
2652 case `echo -n x` in #(((((
2653 -n*)
2654 case `echo 'xy\c'` in
2655 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2656 xy) ECHO_C='\c';;
2657 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2658 ECHO_T=' ';;
2659 esac;;
2660 *)
2661 ECHO_N='-n';;
2662 esac
2663
2664 # For backward compatibility with old third-party macros, we provide
2665 # the shell variables $as_echo and $as_echo_n. New code should use
2666 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2667 as_echo='printf %s\n'
2668 as_echo_n='printf %s'
2669
2670 rm -f conf$$ conf$$.exe conf$$.file
2671 if test -d conf$$.dir; then
2672 rm -f conf$$.dir/conf$$.file
2673 else
2674 rm -f conf$$.dir
2675 mkdir conf$$.dir 2>/dev/null
2676 fi
2677 if (echo >conf$$.file) 2>/dev/null; then
2678 if ln -s conf$$.file conf$$ 2>/dev/null; then
2679 as_ln_s='ln -s'
2680 # ... but there are two gotchas:
2681 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2682 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2683 # In both cases, we have to default to `cp -pR'.
2684 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2685 as_ln_s='cp -pR'
2686 elif ln conf$$.file conf$$ 2>/dev/null; then
2687 as_ln_s=ln
2688 else
2689 as_ln_s='cp -pR'
2690 fi
2691 else
2692 as_ln_s='cp -pR'
2693 fi
2694 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2695 rmdir conf$$.dir 2>/dev/null
2696
2697
2698 # as_fn_mkdir_p
2699 # -------------
2700 # Create "$as_dir" as a directory, including parents if necessary.
2701 as_fn_mkdir_p ()
2702 {
2703
2704 case $as_dir in #(
2705 -*) as_dir=./$as_dir;;
2706 esac
2707 test -d "$as_dir" || eval $as_mkdir_p || {
2708 as_dirs=
2709 while :; do
2710 case $as_dir in #(
2711 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2712 *) as_qdir=$as_dir;;
2713 esac
2714 as_dirs="'$as_qdir' $as_dirs"
2715 as_dir=`$as_dirname -- "$as_dir" ||
2716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2717 X"$as_dir" : 'X\(//\)[^/]' \| \
2718 X"$as_dir" : 'X\(//\)$' \| \
2719 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2720 printf "%s\n" X"$as_dir" |
2721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2722 s//\1/
2723 q
2724 }
2725 /^X\(\/\/\)[^/].*/{
2726 s//\1/
2727 q
2728 }
2729 /^X\(\/\/\)$/{
2730 s//\1/
2731 q
2732 }
2733 /^X\(\/\).*/{
2734 s//\1/
2735 q
2736 }
2737 s/.*/./; q'`
2738 test -d "$as_dir" && break
2739 done
2740 test -z "$as_dirs" || eval "mkdir $as_dirs"
2741 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2742
2743
2744 } # as_fn_mkdir_p
2745 if mkdir -p . 2>/dev/null; then
2746 as_mkdir_p='mkdir -p "$as_dir"'
2747 else
2748 test -d ./-p && rmdir ./-p
2749 as_mkdir_p=false
2750 fi
2751
2752
2753 # as_fn_executable_p FILE
2754 # -----------------------
2755 # Test if FILE is an executable regular file.
2756 as_fn_executable_p ()
2757 {
2758 test -f "$1" && test -x "$1"
2759 } # as_fn_executable_p
2760 as_test_x='test -x'
2761 as_executable_p=as_fn_executable_p
2762
2763 # Sed expression to map a string onto a valid CPP name.
2764 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2765
2766 # Sed expression to map a string onto a valid variable name.
2767 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2768
2769
2770 exec 6>&1
2771 ## ----------------------------------- ##
2772 ## Main body of $CONFIG_STATUS script. ##
2773 ## ----------------------------------- ##
2774 _ASEOF
2775 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2776
2777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2778 # Save the log message, to keep $0 and so on meaningful, and to
2779 # report actual input values of CONFIG_FILES etc. instead of their
2780 # values after options handling.
2781 ac_log="
2782 This file was extended by $as_me, which was
2783 generated by GNU Autoconf 2.71. Invocation command line was
2784
2785 CONFIG_FILES = $CONFIG_FILES
2786 CONFIG_HEADERS = $CONFIG_HEADERS
2787 CONFIG_LINKS = $CONFIG_LINKS
2788 CONFIG_COMMANDS = $CONFIG_COMMANDS
2789 $ $0 $@
2790
2791 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2792 "
2793
2794 _ACEOF
2795
2796 case $ac_config_files in *"
2797 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2798 esac
2799
2800
2801
2802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2803 # Files that config.status was made for.
2804 config_files="$ac_config_files"
2805
2806 _ACEOF
2807
2808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2809 ac_cs_usage="\
2810 \`$as_me' instantiates files and other configuration actions
2811 from templates according to the current configuration. Unless the files
2812 and actions are specified as TAGs, all are instantiated by default.
2813
2814 Usage: $0 [OPTION]... [TAG]...
2815
2816 -h, --help print this help, then exit
2817 -V, --version print version number and configuration settings, then exit
2818 --config print configuration, then exit
2819 -q, --quiet, --silent
2820 do not print progress messages
2821 -d, --debug don't remove temporary files
2822 --recheck update $as_me by reconfiguring in the same conditions
2823 --file=FILE[:TEMPLATE]
2824 instantiate the configuration file FILE
2825
2826 Configuration files:
2827 $config_files
2828
2829 Report bugs to the package provider."
2830
2831 _ACEOF
2832 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
2833 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
2834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2835 ac_cs_config='$ac_cs_config_escaped'
2836 ac_cs_version="\\
2837 config.status
2838 configured by $0, generated by GNU Autoconf 2.71,
2839 with options \\"\$ac_cs_config\\"
2840
2841 Copyright (C) 2021 Free Software Foundation, Inc.
2842 This config.status script is free software; the Free Software Foundation
2843 gives unlimited permission to copy, distribute and modify it."
2844
2845 ac_pwd='$ac_pwd'
2846 srcdir='$srcdir'
2847 test -n "\$AWK" || AWK=awk
2848 _ACEOF
2849
2850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2851 # The default lists apply if the user does not specify any file.
2852 ac_need_defaults=:
2853 while test $# != 0
2854 do
2855 case $1 in
2856 --*=?*)
2857 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2858 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2859 ac_shift=:
2860 ;;
2861 --*=)
2862 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2863 ac_optarg=
2864 ac_shift=:
2865 ;;
2866 *)
2867 ac_option=$1
2868 ac_optarg=$2
2869 ac_shift=shift
2870 ;;
2871 esac
2872
2873 case $ac_option in
2874 # Handling of the options.
2875 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2876 ac_cs_recheck=: ;;
2877 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2878 printf "%s\n" "$ac_cs_version"; exit ;;
2879 --config | --confi | --conf | --con | --co | --c )
2880 printf "%s\n" "$ac_cs_config"; exit ;;
2881 --debug | --debu | --deb | --de | --d | -d )
2882 debug=: ;;
2883 --file | --fil | --fi | --f )
2884 $ac_shift
2885 case $ac_optarg in
2886 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2887 '') as_fn_error $? "missing file argument" ;;
2888 esac
2889 as_fn_append CONFIG_FILES " '$ac_optarg'"
2890 ac_need_defaults=false;;
2891 --he | --h | --help | --hel | -h )
2892 printf "%s\n" "$ac_cs_usage"; exit ;;
2893 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2894 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2895 ac_cs_silent=: ;;
2896
2897 # This is an error.
2898 -*) as_fn_error $? "unrecognized option: \`$1'
2899 Try \`$0 --help' for more information." ;;
2900
2901 *) as_fn_append ac_config_targets " $1"
2902 ac_need_defaults=false ;;
2903
2904 esac
2905 shift
2906 done
2907
2908 ac_configure_extra_args=
2909
2910 if $ac_cs_silent; then
2911 exec 6>/dev/null
2912 ac_configure_extra_args="$ac_configure_extra_args --silent"
2913 fi
2914
2915 _ACEOF
2916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2917 if \$ac_cs_recheck; then
2918 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2919 shift
2920 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
2921 CONFIG_SHELL='$SHELL'
2922 export CONFIG_SHELL
2923 exec "\$@"
2924 fi
2925
2926 _ACEOF
2927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2928 exec 5>>config.log
2929 {
2930 echo
2931 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2932 ## Running $as_me. ##
2933 _ASBOX
2934 printf "%s\n" "$ac_log"
2935 } >&5
2936
2937 _ACEOF
2938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2939 _ACEOF
2940
2941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2942
2943 # Handling of arguments.
2944 for ac_config_target in $ac_config_targets
2945 do
2946 case $ac_config_target in
2947 "./Makefile") CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
2948
2949 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2950 esac
2951 done
2952
2953
2954 # If the user did not use the arguments to specify the items to instantiate,
2955 # then the envvar interface is used. Set only those that are not.
2956 # We use the long form for the default assignment because of an extremely
2957 # bizarre bug on SunOS 4.1.3.
2958 if $ac_need_defaults; then
2959 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
2960 fi
2961
2962 # Have a temporary directory for convenience. Make it in the build tree
2963 # simply because there is no reason against having it here, and in addition,
2964 # creating and moving files from /tmp can sometimes cause problems.
2965 # Hook for its removal unless debugging.
2966 # Note that there is a small window in which the directory will not be cleaned:
2967 # after its creation but before its name has been assigned to `$tmp'.
2968 $debug ||
2969 {
2970 tmp= ac_tmp=
2971 trap 'exit_status=$?
2972 : "${ac_tmp:=$tmp}"
2973 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2974 ' 0
2975 trap 'as_fn_exit 1' 1 2 13 15
2976 }
2977 # Create a (secure) tmp directory for tmp files.
2978
2979 {
2980 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2981 test -d "$tmp"
2982 } ||
2983 {
2984 tmp=./conf$$-$RANDOM
2985 (umask 077 && mkdir "$tmp")
2986 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2987 ac_tmp=$tmp
2988
2989 # Set up the scripts for CONFIG_FILES section.
2990 # No need to generate them if there are no CONFIG_FILES.
2991 # This happens for instance with `./config.status config.h'.
2992 if test -n "$CONFIG_FILES"; then
2993
2994
2995 ac_cr=`echo X | tr X '\015'`
2996 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2997 # But we know of no other shell where ac_cr would be empty at this
2998 # point, so we can use a bashism as a fallback.
2999 if test "x$ac_cr" = x; then
3000 eval ac_cr=\$\'\\r\'
3001 fi
3002 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3003 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3004 ac_cs_awk_cr='\\r'
3005 else
3006 ac_cs_awk_cr=$ac_cr
3007 fi
3008
3009 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3010 _ACEOF
3011
3012
3013 {
3014 echo "cat >conf$$subs.awk <<_ACEOF" &&
3015 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3016 echo "_ACEOF"
3017 } >conf$$subs.sh ||
3018 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3019 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3020 ac_delim='%!_!# '
3021 for ac_last_try in false false false false false :; do
3022 . ./conf$$subs.sh ||
3023 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3024
3025 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3026 if test $ac_delim_n = $ac_delim_num; then
3027 break
3028 elif $ac_last_try; then
3029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3030 else
3031 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3032 fi
3033 done
3034 rm -f conf$$subs.sh
3035
3036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3037 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3038 _ACEOF
3039 sed -n '
3040 h
3041 s/^/S["/; s/!.*/"]=/
3042 p
3043 g
3044 s/^[^!]*!//
3045 :repl
3046 t repl
3047 s/'"$ac_delim"'$//
3048 t delim
3049 :nl
3050 h
3051 s/\(.\{148\}\)..*/\1/
3052 t more1
3053 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3054 p
3055 n
3056 b repl
3057 :more1
3058 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3059 p
3060 g
3061 s/.\{148\}//
3062 t nl
3063 :delim
3064 h
3065 s/\(.\{148\}\)..*/\1/
3066 t more2
3067 s/["\\]/\\&/g; s/^/"/; s/$/"/
3068 p
3069 b
3070 :more2
3071 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3072 p
3073 g
3074 s/.\{148\}//
3075 t delim
3076 ' <conf$$subs.awk | sed '
3077 /^[^""]/{
3078 N
3079 s/\n//
3080 }
3081 ' >>$CONFIG_STATUS || ac_write_fail=1
3082 rm -f conf$$subs.awk
3083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3084 _ACAWK
3085 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3086 for (key in S) S_is_set[key] = 1
3087 FS = ""
3088
3089 }
3090 {
3091 line = $ 0
3092 nfields = split(line, field, "@")
3093 substed = 0
3094 len = length(field[1])
3095 for (i = 2; i < nfields; i++) {
3096 key = field[i]
3097 keylen = length(key)
3098 if (S_is_set[key]) {
3099 value = S[key]
3100 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3101 len += length(value) + length(field[++i])
3102 substed = 1
3103 } else
3104 len += 1 + keylen
3105 }
3106
3107 print line
3108 }
3109
3110 _ACAWK
3111 _ACEOF
3112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3113 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3114 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3115 else
3116 cat
3117 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3118 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3119 _ACEOF
3120
3121 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3122 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3123 # trailing colons and then remove the whole line if VPATH becomes empty
3124 # (actually we leave an empty line to preserve line numbers).
3125 if test "x$srcdir" = x.; then
3126 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3127 h
3128 s///
3129 s/^/:/
3130 s/[ ]*$/:/
3131 s/:\$(srcdir):/:/g
3132 s/:\${srcdir}:/:/g
3133 s/:@srcdir@:/:/g
3134 s/^:*//
3135 s/:*$//
3136 x
3137 s/\(=[ ]*\).*/\1/
3138 G
3139 s/\n//
3140 s/^[^=]*=[ ]*$//
3141 }'
3142 fi
3143
3144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3145 fi # test -n "$CONFIG_FILES"
3146
3147
3148 eval set X " :F $CONFIG_FILES "
3149 shift
3150 for ac_tag
3151 do
3152 case $ac_tag in
3153 :[FHLC]) ac_mode=$ac_tag; continue;;
3154 esac
3155 case $ac_mode$ac_tag in
3156 :[FHL]*:*);;
3157 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3158 :[FH]-) ac_tag=-:-;;
3159 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3160 esac
3161 ac_save_IFS=$IFS
3162 IFS=:
3163 set x $ac_tag
3164 IFS=$ac_save_IFS
3165 shift
3166 ac_file=$1
3167 shift
3168
3169 case $ac_mode in
3170 :L) ac_source=$1;;
3171 :[FH])
3172 ac_file_inputs=
3173 for ac_f
3174 do
3175 case $ac_f in
3176 -) ac_f="$ac_tmp/stdin";;
3177 *) # Look for the file first in the build tree, then in the source tree
3178 # (if the path is not absolute). The absolute path cannot be DOS-style,
3179 # because $ac_f cannot contain `:'.
3180 test -f "$ac_f" ||
3181 case $ac_f in
3182 [\\/$]*) false;;
3183 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3184 esac ||
3185 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3186 esac
3187 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3188 as_fn_append ac_file_inputs " '$ac_f'"
3189 done
3190
3191 # Let's still pretend it is `configure' which instantiates (i.e., don't
3192 # use $as_me), people would be surprised to read:
3193 # /* config.h. Generated by config.status. */
3194 configure_input='Generated from '`
3195 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3196 `' by configure.'
3197 if test x"$ac_file" != x-; then
3198 configure_input="$ac_file. $configure_input"
3199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3200 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3201 fi
3202 # Neutralize special characters interpreted by sed in replacement strings.
3203 case $configure_input in #(
3204 *\&* | *\|* | *\\* )
3205 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3206 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3207 *) ac_sed_conf_input=$configure_input;;
3208 esac
3209
3210 case $ac_tag in
3211 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3212 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3213 esac
3214 ;;
3215 esac
3216
3217 ac_dir=`$as_dirname -- "$ac_file" ||
3218 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3219 X"$ac_file" : 'X\(//\)[^/]' \| \
3220 X"$ac_file" : 'X\(//\)$' \| \
3221 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3222 printf "%s\n" X"$ac_file" |
3223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3224 s//\1/
3225 q
3226 }
3227 /^X\(\/\/\)[^/].*/{
3228 s//\1/
3229 q
3230 }
3231 /^X\(\/\/\)$/{
3232 s//\1/
3233 q
3234 }
3235 /^X\(\/\).*/{
3236 s//\1/
3237 q
3238 }
3239 s/.*/./; q'`
3240 as_dir="$ac_dir"; as_fn_mkdir_p
3241 ac_builddir=.
3242
3243 case "$ac_dir" in
3244 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3245 *)
3246 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3247 # A ".." for each directory in $ac_dir_suffix.
3248 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3249 case $ac_top_builddir_sub in
3250 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3251 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3252 esac ;;
3253 esac
3254 ac_abs_top_builddir=$ac_pwd
3255 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3256 # for backward compatibility:
3257 ac_top_builddir=$ac_top_build_prefix
3258
3259 case $srcdir in
3260 .) # We are building in place.
3261 ac_srcdir=.
3262 ac_top_srcdir=$ac_top_builddir_sub
3263 ac_abs_top_srcdir=$ac_pwd ;;
3264 [\\/]* | ?:[\\/]* ) # Absolute name.
3265 ac_srcdir=$srcdir$ac_dir_suffix;
3266 ac_top_srcdir=$srcdir
3267 ac_abs_top_srcdir=$srcdir ;;
3268 *) # Relative name.
3269 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3270 ac_top_srcdir=$ac_top_build_prefix$srcdir
3271 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3272 esac
3273 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3274
3275
3276 case $ac_mode in
3277 :F)
3278 #
3279 # CONFIG_FILE
3280 #
3281
3282 _ACEOF
3283
3284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3285 # If the template does not know about datarootdir, expand it.
3286 # FIXME: This hack should be removed a few years after 2.60.
3287 ac_datarootdir_hack=; ac_datarootdir_seen=
3288 ac_sed_dataroot='
3289 /datarootdir/ {
3290 p
3291 q
3292 }
3293 /@datadir@/p
3294 /@docdir@/p
3295 /@infodir@/p
3296 /@localedir@/p
3297 /@mandir@/p'
3298 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3299 *datarootdir*) ac_datarootdir_seen=yes;;
3300 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3302 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3303 _ACEOF
3304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3305 ac_datarootdir_hack='
3306 s&@datadir@&$datadir&g
3307 s&@docdir@&$docdir&g
3308 s&@infodir@&$infodir&g
3309 s&@localedir@&$localedir&g
3310 s&@mandir@&$mandir&g
3311 s&\\\${datarootdir}&$datarootdir&g' ;;
3312 esac
3313 _ACEOF
3314
3315 # Neutralize VPATH when `$srcdir' = `.'.
3316 # Shell code in configure.ac might set extrasub.
3317 # FIXME: do we really want to maintain this feature?
3318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3319 ac_sed_extra="$ac_vpsub
3320 $extrasub
3321 _ACEOF
3322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3323 :t
3324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3325 s|@configure_input@|$ac_sed_conf_input|;t t
3326 s&@top_builddir@&$ac_top_builddir_sub&;t t
3327 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3328 s&@srcdir@&$ac_srcdir&;t t
3329 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3330 s&@top_srcdir@&$ac_top_srcdir&;t t
3331 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3332 s&@builddir@&$ac_builddir&;t t
3333 s&@abs_builddir@&$ac_abs_builddir&;t t
3334 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3335 $ac_datarootdir_hack
3336 "
3337 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3338 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3339
3340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3341 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3343 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3345 which seems to be undefined. Please make sure it is defined" >&5
3346 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3347 which seems to be undefined. Please make sure it is defined" >&2;}
3348
3349 rm -f "$ac_tmp/stdin"
3350 case $ac_file in
3351 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3352 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3353 esac \
3354 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3355 ;;
3356
3357
3358
3359 esac
3360
3361
3362 case $ac_file$ac_mode in
3363 "./Makefile":F) chmod -w ./Makefile ;;
3364
3365 esac
3366 done # for ac_tag
3367
3368
3369 as_fn_exit 0
3370 _ACEOF
3371 ac_clean_files=$ac_clean_files_save
3372
3373 test $ac_write_fail = 0 ||
3374 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3375
3376
3377 # configure is writing to config.log, and then calls config.status.
3378 # config.status does its own redirection, appending to config.log.
3379 # Unfortunately, on DOS this fails, as config.log is still kept open
3380 # by configure, so config.status won't be able to write to it; its
3381 # output is simply discarded. So we exec the FD to /dev/null,
3382 # effectively closing config.log, so it can be properly (re)opened and
3383 # appended to by config.status. When coming back to configure, we
3384 # need to make the FD available again.
3385 if test "$no_create" != yes; then
3386 ac_cs_success=:
3387 ac_config_status_args=
3388 test "$silent" = yes &&
3389 ac_config_status_args="$ac_config_status_args --quiet"
3390 exec 5>/dev/null
3391 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3392 exec 5>>config.log
3393 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3394 # would make configure fail if this is the last instruction.
3395 $ac_cs_success || as_fn_exit 1
3396 fi
3397 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3399 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3400 fi
3401
3402
3403
3404