Debian Codegraph @

src/plugins/markdown-report/configure~

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