Debian Codegraph @

configure

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