Debian Codegraph @

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