Debian Codegraph @

src/plugins/variadic/configure~

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