Debian Codegraph @

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