Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.73 for GNU Autoconf 2.73.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # contradicts POSIX and common usage. Disable this.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 case $# in # ((
135 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
136 *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
137 esac
138 # Admittedly, this is quite paranoid, since all the known shells bail
139 # out after a failed 'exec'.
140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
141 exit 255
142 fi
143 # We don't want this to propagate to other subprocesses.
144 { _as_can_reexec=; unset _as_can_reexec;}
145 if test "x$CONFIG_SHELL" = x; then
146 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
147 then :
148 emulate sh
149 NULLCMD=:
150 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
151 # contradicts POSIX and common usage. Disable this.
152 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 setopt NO_GLOB_SUBST
154 else case e in #(
155 e) case \`(set -o) 2>/dev/null\` in #(
156 *posix*) :
157 set -o posix ;; #(
158 *) :
159 ;;
160 esac ;;
161 esac
162 fi
163 "
164 as_required="as_fn_return () { (exit \$1); }
165 as_fn_success () { as_fn_return 0; }
166 as_fn_failure () { as_fn_return 1; }
167 as_fn_ret_success () { return 0; }
168 as_fn_ret_failure () { return 1; }
169
170 exitcode=0
171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 then :
177
178 else case e in #(
179 e) exitcode=1; echo positional parameters were not saved. ;;
180 esac
181 fi
182 test x\$exitcode = x0 || exit 1
183 blah=\$(echo \$(echo blah))
184 test x\"\$blah\" = xblah || exit 1
185 test -x / || exit 1"
186 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
187 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
188 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
189 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
190 test \$(( 1 + 1 )) = 2 || exit 1"
191 if (eval "$as_required") 2>/dev/null
192 then :
193 as_have_required=yes
194 else case e in #(
195 e) as_have_required=no ;;
196 esac
197 fi
198 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
199 then :
200
201 else case e in #(
202 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
203 as_found=false
204 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
205 do
206 IFS=$as_save_IFS
207 case $as_dir in #(((
208 '') as_dir=./ ;;
209 */) ;;
210 *) as_dir=$as_dir/ ;;
211 esac
212 as_found=:
213 case $as_dir in #(
214 /*)
215 for as_base in sh bash ksh sh5; do
216 # Try only shells that exist, to save several forks.
217 as_shell=$as_dir$as_base
218 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
219 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
220 then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
223 then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 IFS=$as_save_IFS
232 if $as_found
233 then :
234
235 else case e in #(
236 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
237 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
238 then :
239 CONFIG_SHELL=$SHELL as_have_required=yes
240 fi ;;
241 esac
242 fi
243
244
245 if test "x$CONFIG_SHELL" != x
246 then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 case $# in # ((
262 0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
263 *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
264 esac
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed 'exec'.
267 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
268 exit 255
269 fi
270
271 if test x$as_have_required = xno
272 then :
273 printf '%s\n' "$0: This script requires a shell more modern than all"
274 printf '%s\n' "$0: the shells that I found on your system."
275 if test ${ZSH_VERSION+y} ; then
276 printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
278 else
279 printf '%s\n' "$0: Please tell [email protected] about your system,
280 $0: including any error possibly output before this
281 $0: message. Then install a modern shell, or manually run
282 $0: the script under such a shell if you do have one."
283 fi
284 exit 1
285 fi ;;
286 esac
287 fi
288 fi
289 SHELL=${CONFIG_SHELL-/bin/sh}
290 export SHELL
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE= GREP_OPTIONS=
293 unset CLICOLOR_FORCE GREP_OPTIONS
294
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
298 # as_fn_unset VAR
299 # ---------------
300 # Portably unset VAR.
301 as_fn_unset ()
302 {
303 { eval $1=; unset $1;}
304 }
305 as_unset=as_fn_unset
306
307
308 # as_fn_set_status STATUS
309 # -----------------------
310 # Set $? to STATUS, without forking.
311 as_fn_set_status ()
312 {
313 return $1
314 } # as_fn_set_status
315
316 # as_fn_exit STATUS
317 # -----------------
318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
319 as_fn_exit ()
320 {
321 set +e
322 as_fn_set_status $1
323 exit $1
324 } # as_fn_exit
325
326 # as_fn_mkdir_p
327 # -------------
328 # Create "$as_dir" as a directory, including parents if necessary.
329 as_fn_mkdir_p ()
330 {
331
332 case $as_dir in #(
333 -*) as_dir=./$as_dir;;
334 esac
335 test -d "$as_dir" || eval $as_mkdir_p || {
336 as_dirs=
337 while :; do
338 case $as_dir in #(
339 *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 *) as_qdir=$as_dir;;
341 esac
342 as_dirs="'$as_qdir' $as_dirs"
343 as_dir=`$as_dirname -- "$as_dir" ||
344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345 X"$as_dir" : 'X\(//\)[^/]' \| \
346 X"$as_dir" : 'X\(//\)$' \| \
347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348 printf '%s\n' X"$as_dir" |
349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)[^/].*/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)$/{
358 s//\1/
359 q
360 }
361 /^X\(\/\).*/{
362 s//\1/
363 q
364 }
365 s/.*/./; q'`
366 test -d "$as_dir" && break
367 done
368 test -z "$as_dirs" || eval "mkdir $as_dirs"
369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370
371
372 } # as_fn_mkdir_p
373
374 # as_fn_executable_p FILE
375 # -----------------------
376 # Test if FILE is an executable regular file.
377 as_fn_executable_p ()
378 {
379 test -f "$1" && test -x "$1"
380 } # as_fn_executable_p
381 # as_fn_append VAR VALUE
382 # ----------------------
383 # Append the text in VALUE to the end of the definition contained in VAR. Take
384 # advantage of any shell optimizations that allow amortized linear growth over
385 # repeated appends, instead of the typical quadratic growth present in naive
386 # implementations.
387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388 then :
389 eval 'as_fn_append ()
390 {
391 eval $1+=\$2
392 }'
393 else case e in #(
394 e) as_fn_append ()
395 {
396 eval $1=\$$1\$2
397 } ;;
398 esac
399 fi # as_fn_append
400
401 # as_fn_arith ARG...
402 # ------------------
403 # Perform arithmetic evaluation on the ARGs, and store the result in the
404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
405 # must be portable across $(()) and expr.
406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
407 then :
408 eval 'as_fn_arith ()
409 {
410 as_val=$(( $* ))
411 }'
412 else case e in #(
413 e) as_fn_arith ()
414 {
415 as_val=`expr "$@" || test $? -eq 1`
416 } ;;
417 esac
418 fi # as_fn_arith
419
420
421 # as_fn_error STATUS ERROR [LINENO LOG_FD]
422 # ----------------------------------------
423 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
424 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
425 # script with STATUS, using 1 if that was 0.
426 as_fn_error ()
427 {
428 as_status=$1; test $as_status -eq 0 && as_status=1
429 if test "$4"; then
430 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
431 printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
432 fi
433 printf '%s\n' "$as_me: error: $2" >&2
434 as_fn_exit $as_status
435 } # as_fn_error
436
437 if expr a : '\(a\)' >/dev/null 2>&1 &&
438 test "X`expr 00001 : '.*\(...\)'`" = X001; then
439 as_expr=expr
440 else
441 as_expr=false
442 fi
443
444 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 as_basename=basename
446 else
447 as_basename=false
448 fi
449
450 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
451 as_dirname=dirname
452 else
453 as_dirname=false
454 fi
455
456 as_me=`$as_basename -- "$0" ||
457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
458 X"$0" : 'X\(//\)$' \| \
459 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
460 printf '%s\n' X/"$0" |
461 sed '/^.*\/\([^/][^/]*\)\/*$/{
462 s//\1/
463 q
464 }
465 /^X\/\(\/\/\)$/{
466 s//\1/
467 q
468 }
469 /^X\/\(\/\).*/{
470 s//\1/
471 q
472 }
473 s/.*/./; q'`
474
475 # Avoid depending upon Character Ranges.
476 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
477 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
478 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
479 as_cr_digits='0123456789'
480 as_cr_alnum=$as_cr_Letters$as_cr_digits
481
482
483 as_lineno_1=$LINENO as_lineno_1a=$LINENO
484 as_lineno_2=$LINENO as_lineno_2a=$LINENO
485 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
486 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
487 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
488 sed -n '
489 p
490 /[$]LINENO/=
491 ' <$as_myself |
492 sed '
493 t clear
494 :clear
495 s/[$]LINENO.*/&-/
496 t lineno
497 b
498 :lineno
499 N
500 :loop
501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
502 t loop
503 s/-\n.*//
504 ' >$as_me.lineno &&
505 chmod +x "$as_me.lineno" ||
506 { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
507
508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
509 # already done that, so ensure we don't try to do so again and fall
510 # in an infinite loop. This has already happened in practice.
511 _as_can_reexec=no; export _as_can_reexec
512 # Don't try to exec as it changes $[0], causing all sort of problems
513 # (the dirname of $[0] is not the place where we might find the
514 # original and so on. Autoconf is especially sensitive to this).
515 . "./$as_me.lineno"
516 # Exit status is that of the last command.
517 exit
518 }
519
520 rm -f conf$$ conf$$.exe conf$$.file
521 if test -d conf$$.dir; then
522 rm -f conf$$.dir/conf$$.file
523 else
524 rm -f conf$$.dir
525 mkdir conf$$.dir 2>/dev/null
526 fi
527 if (echo >conf$$.file) 2>/dev/null; then
528 if ln -s conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s='ln -s'
530 # ... but there are two gotchas:
531 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
532 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
533 # In both cases, we have to default to 'cp -pR'.
534 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
535 as_ln_s='cp -pR'
536 elif ln conf$$.file conf$$ 2>/dev/null; then
537 as_ln_s=ln
538 else
539 as_ln_s='cp -pR'
540 fi
541 else
542 as_ln_s='cp -pR'
543 fi
544 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
545 rmdir conf$$.dir 2>/dev/null
546
547 if mkdir -p . 2>/dev/null; then
548 as_mkdir_p='mkdir -p "$as_dir"'
549 else
550 test -d ./-p && rmdir ./-p
551 as_mkdir_p=false
552 fi
553
554 as_test_x='test -x'
555 as_executable_p=as_fn_executable_p
556
557 # Sed expression to map a string onto a valid CPP name.
558 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
559 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
560
561 # Sed expression to map a string onto a valid variable name.
562 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
563 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
564
565
566 test -n "$DJDIR" || exec 7<&0 </dev/null
567 exec 6>&1
568
569 # Name of the host.
570 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
571 # so uname gets run too.
572 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
573
574 #
575 # Initializations.
576 #
577 ac_default_prefix=/usr/local
578 ac_clean_CONFIG_STATUS=
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='GNU Autoconf'
589 PACKAGE_TARNAME='autoconf'
590 PACKAGE_VERSION='2.73'
591 PACKAGE_STRING='GNU Autoconf 2.73'
592 PACKAGE_BUGREPORT='[email protected]'
593 PACKAGE_URL='https://www.gnu.org/software/autoconf/'
594
595 ac_unique_file="lib/autoconf/autoconf.m4"
596 ac_subst_vars='LTLIBOBJS
597 LIBOBJS
598 MAKE_CASE_SENSITIVE_FALSE
599 MAKE_CASE_SENSITIVE_TRUE
600 SED
601 EGREP
602 GREP
603 lispdir
604 EMACSLOADPATH
605 EMACS
606 TEST_EMACS
607 PERL_FLOCK
608 PERL
609 HELP2MAN
610 M4_DEBUGFILE
611 M4_GNU
612 M4
613 EXPR
614 ac_cv_dir_trailing_space
615 ac_cv_unsupported_fs_chars
616 SHELL_N
617 host_os
618 host_vendor
619 host_cpu
620 host
621 build_os
622 build_vendor
623 build_cpu
624 build
625 RELEASE_YEAR
626 am__xargs_n
627 am__rm_f_notfound
628 AM_BACKSLASH
629 AM_DEFAULT_VERBOSITY
630 AM_DEFAULT_V
631 AM_V
632 CSCOPE
633 ETAGS
634 CTAGS
635 am__untar
636 am__tar
637 AMTAR
638 am__leading_dot
639 SET_MAKE
640 AWK
641 mkdir_p
642 MKDIR_P
643 INSTALL_STRIP_PROGRAM
644 STRIP
645 install_sh
646 MAKEINFO
647 AUTOHEADER
648 AUTOMAKE
649 AUTOCONF
650 ACLOCAL
651 VERSION
652 PACKAGE
653 CYGPATH_W
654 am__isrc
655 INSTALL_DATA
656 INSTALL_SCRIPT
657 INSTALL_PROGRAM
658 ECHO_T
659 ECHO_N
660 ECHO_C
661 target_alias
662 host_alias
663 build_alias
664 LIBS
665 DEFS
666 mandir
667 localedir
668 libdir
669 psdir
670 pdfdir
671 dvidir
672 htmldir
673 infodir
674 docdir
675 oldincludedir
676 includedir
677 runstatedir
678 localstatedir
679 sharedstatedir
680 sysconfdir
681 datadir
682 datarootdir
683 libexecdir
684 sbindir
685 bindir
686 program_transform_name
687 prefix
688 exec_prefix
689 PACKAGE_URL
690 PACKAGE_BUGREPORT
691 PACKAGE_STRING
692 PACKAGE_VERSION
693 PACKAGE_TARNAME
694 PACKAGE_NAME
695 PATH_SEPARATOR
696 SHELL'
697 ac_subst_files=''
698 ac_user_opts='
699 enable_option_checking
700 enable_silent_rules
701 with_lispdir
702 '
703 ac_precious_vars='build_alias
704 host_alias
705 target_alias
706 M4
707 EMACS
708 EMACSLOADPATH'
709
710
711 # Initialize some variables set by options.
712 ac_init_help=
713 ac_init_version=false
714 ac_unrecognized_opts=
715 ac_unrecognized_sep=
716 # The variables have the same names as the options, with
717 # dashes changed to underlines.
718 cache_file=/dev/null
719 exec_prefix=NONE
720 no_create=
721 no_recursion=
722 prefix=NONE
723 program_prefix=NONE
724 program_suffix=NONE
725 program_transform_name=s,x,x,
726 silent=
727 site=
728 srcdir=
729 verbose=
730 x_includes=NONE
731 x_libraries=NONE
732
733 # Installation directory options.
734 # These are left unexpanded so users can "make install exec_prefix=/foo"
735 # and all the variables that are supposed to be based on exec_prefix
736 # by default will actually change.
737 # Use braces instead of parens because sh, perl, etc. also accept them.
738 # (The list follows the same order as the GNU Coding Standards.)
739 bindir='${exec_prefix}/bin'
740 sbindir='${exec_prefix}/sbin'
741 libexecdir='${exec_prefix}/libexec'
742 datarootdir='${prefix}/share'
743 datadir='${datarootdir}'
744 sysconfdir='${prefix}/etc'
745 sharedstatedir='${prefix}/com'
746 localstatedir='${prefix}/var'
747 runstatedir='${localstatedir}/run'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
759
760 ac_prev=
761 ac_dashdash=
762 for ac_option
763 do
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
767 ac_prev=
768 continue
769 fi
770
771 case $ac_option in
772 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 *=) ac_optarg= ;;
774 *) ac_optarg=yes ;;
775 esac
776
777 case $ac_dashdash$ac_option in
778 --)
779 ac_dashdash=yes ;;
780
781 -bindir | --bindir | --bindi | --bind | --bin | --bi)
782 ac_prev=bindir ;;
783 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
784 bindir=$ac_optarg ;;
785
786 -build | --build | --buil | --bui | --bu)
787 ac_prev=build_alias ;;
788 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
789 build_alias=$ac_optarg ;;
790
791 -cache-file | --cache-file | --cache-fil | --cache-fi \
792 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
793 ac_prev=cache_file ;;
794 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
795 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
796 cache_file=$ac_optarg ;;
797
798 --config-cache | -C)
799 cache_file=config.cache ;;
800
801 -datadir | --datadir | --datadi | --datad)
802 ac_prev=datadir ;;
803 -datadir=* | --datadir=* | --datadi=* | --datad=*)
804 datadir=$ac_optarg ;;
805
806 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
807 | --dataroo | --dataro | --datar)
808 ac_prev=datarootdir ;;
809 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
810 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
811 datarootdir=$ac_optarg ;;
812
813 -disable-* | --disable-*)
814 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817 as_fn_error $? "invalid feature name: '$ac_useropt'"
818 ac_useropt_orig=$ac_useropt
819 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
820 case $ac_user_opts in
821 *"
822 "enable_$ac_useropt"
823 "*) ;;
824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
825 ac_unrecognized_sep=', ';;
826 esac
827 eval enable_$ac_useropt=no ;;
828
829 -docdir | --docdir | --docdi | --doc | --do)
830 ac_prev=docdir ;;
831 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832 docdir=$ac_optarg ;;
833
834 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
835 ac_prev=dvidir ;;
836 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837 dvidir=$ac_optarg ;;
838
839 -enable-* | --enable-*)
840 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843 as_fn_error $? "invalid feature name: '$ac_useropt'"
844 ac_useropt_orig=$ac_useropt
845 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
847 *"
848 "enable_$ac_useropt"
849 "*) ;;
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
851 ac_unrecognized_sep=', ';;
852 esac
853 eval enable_$ac_useropt=\$ac_optarg ;;
854
855 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
856 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
857 | --exec | --exe | --ex)
858 ac_prev=exec_prefix ;;
859 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
860 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
861 | --exec=* | --exe=* | --ex=*)
862 exec_prefix=$ac_optarg ;;
863
864 -gas | --gas | --ga | --g)
865 # Obsolete; use --with-gas.
866 with_gas=yes ;;
867
868 -help | --help | --hel | --he | -h)
869 ac_init_help=long ;;
870 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
871 ac_init_help=recursive ;;
872 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
873 ac_init_help=short ;;
874
875 -host | --host | --hos | --ho)
876 ac_prev=host_alias ;;
877 -host=* | --host=* | --hos=* | --ho=*)
878 host_alias=$ac_optarg ;;
879
880 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
881 ac_prev=htmldir ;;
882 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
883 | --ht=*)
884 htmldir=$ac_optarg ;;
885
886 -includedir | --includedir | --includedi | --included | --include \
887 | --includ | --inclu | --incl | --inc)
888 ac_prev=includedir ;;
889 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
890 | --includ=* | --inclu=* | --incl=* | --inc=*)
891 includedir=$ac_optarg ;;
892
893 -infodir | --infodir | --infodi | --infod | --info | --inf)
894 ac_prev=infodir ;;
895 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
896 infodir=$ac_optarg ;;
897
898 -libdir | --libdir | --libdi | --libd)
899 ac_prev=libdir ;;
900 -libdir=* | --libdir=* | --libdi=* | --libd=*)
901 libdir=$ac_optarg ;;
902
903 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
904 | --libexe | --libex | --libe)
905 ac_prev=libexecdir ;;
906 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
907 | --libexe=* | --libex=* | --libe=*)
908 libexecdir=$ac_optarg ;;
909
910 -localedir | --localedir | --localedi | --localed | --locale)
911 ac_prev=localedir ;;
912 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
913 localedir=$ac_optarg ;;
914
915 -localstatedir | --localstatedir | --localstatedi | --localstated \
916 | --localstate | --localstat | --localsta | --localst | --locals)
917 ac_prev=localstatedir ;;
918 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
919 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
920 localstatedir=$ac_optarg ;;
921
922 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
923 ac_prev=mandir ;;
924 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
925 mandir=$ac_optarg ;;
926
927 -nfp | --nfp | --nf)
928 # Obsolete; use --without-fp.
929 with_fp=no ;;
930
931 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
932 | --no-cr | --no-c | -n)
933 no_create=yes ;;
934
935 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
936 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
937 no_recursion=yes ;;
938
939 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
940 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
941 | --oldin | --oldi | --old | --ol | --o)
942 ac_prev=oldincludedir ;;
943 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
944 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
945 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
946 oldincludedir=$ac_optarg ;;
947
948 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
949 ac_prev=prefix ;;
950 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
951 prefix=$ac_optarg ;;
952
953 -program-prefix | --program-prefix | --program-prefi | --program-pref \
954 | --program-pre | --program-pr | --program-p)
955 ac_prev=program_prefix ;;
956 -program-prefix=* | --program-prefix=* | --program-prefi=* \
957 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
958 program_prefix=$ac_optarg ;;
959
960 -program-suffix | --program-suffix | --program-suffi | --program-suff \
961 | --program-suf | --program-su | --program-s)
962 ac_prev=program_suffix ;;
963 -program-suffix=* | --program-suffix=* | --program-suffi=* \
964 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
965 program_suffix=$ac_optarg ;;
966
967 -program-transform-name | --program-transform-name \
968 | --program-transform-nam | --program-transform-na \
969 | --program-transform-n | --program-transform- \
970 | --program-transform | --program-transfor \
971 | --program-transfo | --program-transf \
972 | --program-trans | --program-tran \
973 | --progr-tra | --program-tr | --program-t)
974 ac_prev=program_transform_name ;;
975 -program-transform-name=* | --program-transform-name=* \
976 | --program-transform-nam=* | --program-transform-na=* \
977 | --program-transform-n=* | --program-transform-=* \
978 | --program-transform=* | --program-transfor=* \
979 | --program-transfo=* | --program-transf=* \
980 | --program-trans=* | --program-tran=* \
981 | --progr-tra=* | --program-tr=* | --program-t=*)
982 program_transform_name=$ac_optarg ;;
983
984 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
985 ac_prev=pdfdir ;;
986 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
987 pdfdir=$ac_optarg ;;
988
989 -psdir | --psdir | --psdi | --psd | --ps)
990 ac_prev=psdir ;;
991 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
992 psdir=$ac_optarg ;;
993
994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
995 | -silent | --silent | --silen | --sile | --sil)
996 silent=yes ;;
997
998 -runstatedir | --runstatedir | --runstatedi | --runstated \
999 | --runstate | --runstat | --runsta | --runst | --runs \
1000 | --run | --ru | --r)
1001 ac_prev=runstatedir ;;
1002 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1003 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1004 | --run=* | --ru=* | --r=*)
1005 runstatedir=$ac_optarg ;;
1006
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008 ac_prev=sbindir ;;
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010 | --sbi=* | --sb=*)
1011 sbindir=$ac_optarg ;;
1012
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1016 | --sha | --sh)
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021 | --sha=* | --sh=*)
1022 sharedstatedir=$ac_optarg ;;
1023
1024 -site | --site | --sit)
1025 ac_prev=site ;;
1026 -site=* | --site=* | --sit=*)
1027 site=$ac_optarg ;;
1028
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030 ac_prev=srcdir ;;
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1033
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1040
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1045
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 verbose=yes ;;
1048
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1051
1052 -with-* | --with-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: '$ac_useropt'"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1060 *"
1061 "with_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=\$ac_optarg ;;
1067
1068 -without-* | --without-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid package name: '$ac_useropt'"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1076 *"
1077 "with_$ac_useropt"
1078 "*) ;;
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1081 esac
1082 eval with_$ac_useropt=no ;;
1083
1084 --x)
1085 # Obsolete; use --with-x.
1086 with_x=yes ;;
1087
1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089 | --x-incl | --x-inc | --x-in | --x-i)
1090 ac_prev=x_includes ;;
1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093 x_includes=$ac_optarg ;;
1094
1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097 ac_prev=x_libraries ;;
1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100 x_libraries=$ac_optarg ;;
1101
1102 -*) as_fn_error $? "unrecognized option: '$ac_option'
1103 Try '$0 --help' for more information"
1104 ;;
1105
1106 *=*)
1107 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' | [0-9]* | *[!_$as_cr_alnum]* )
1111 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1112 esac
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
1115
1116 *)
1117 # FIXME: should be removed in autoconf 3.0.
1118 printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1122 ;;
1123
1124 esac
1125 done
1126
1127 if test -n "$ac_prev"; then
1128 ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $? "missing argument to $ac_option"
1130 fi
1131
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1134 no) ;;
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 esac
1138 fi
1139
1140 # Check all directory arguments for consistency.
1141 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir runstatedir
1145 do
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1148 case $ac_val in
1149 */ )
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1152 esac
1153 # Be sure to have absolute directory names.
1154 case $ac_val in
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157 esac
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1159 done
1160
1161 # There might be people who depend on the old broken behavior: '$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1164 build=$build_alias
1165 host=$host_alias
1166 target=$target_alias
1167
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170 if test "x$build_alias" = x; then
1171 cross_compiling=maybe
1172 elif test "x$build_alias" != "x$host_alias"; then
1173 cross_compiling=yes
1174 fi
1175 fi
1176
1177 ac_tool_prefix=
1178 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1179
1180 test "$silent" = yes && exec 6>/dev/null
1181
1182
1183 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1184 ac_ls_di=`ls -di .` &&
1185 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1186 as_fn_error $? "working directory cannot be determined"
1187 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188 as_fn_error $? "pwd does not report name of working directory"
1189
1190
1191 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 printf '%s\n' X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 s//\1/
1203 q
1204 }
1205 /^X\(\/\/\)[^/].*/{
1206 s//\1/
1207 q
1208 }
1209 /^X\(\/\/\)$/{
1210 s//\1/
1211 q
1212 }
1213 /^X\(\/\).*/{
1214 s//\1/
1215 q
1216 }
1217 s/.*/./; q'`
1218 srcdir=$ac_confdir
1219 if test ! -r "$srcdir/$ac_unique_file"; then
1220 srcdir=..
1221 fi
1222 else
1223 ac_srcdir_defaulted=no
1224 fi
1225 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1228 fi
1229 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1230 ac_abs_confdir=`(
1231 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232 pwd)`
1233 # When building in place, set srcdir=.
1234 if test "$ac_abs_confdir" = "$ac_pwd"; then
1235 srcdir=.
1236 fi
1237 # Remove unnecessary trailing slashes from srcdir.
1238 # Double slashes in file names in object file debugging info
1239 # mess up M-x gdb in Emacs.
1240 case $srcdir in
1241 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 esac
1243 for ac_var in $ac_precious_vars; do
1244 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1245 eval ac_env_${ac_var}_value=\$${ac_var}
1246 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1247 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1248 done
1249
1250 #
1251 # Report the --help message.
1252 #
1253 if test "$ac_init_help" = "long"; then
1254 # Omit some internal or obsolete options to make the list less imposing.
1255 # This message is too long to be a string in the A/UX 3.1 sh.
1256 cat <<_ACEOF
1257 'configure' configures GNU Autoconf 2.73 to adapt to many kinds of systems.
1258
1259 Usage: $0 [OPTION]... [VAR=VALUE]...
1260
1261 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1262 VAR=VALUE. See below for descriptions of some of the useful variables.
1263
1264 Defaults for the options are specified in brackets.
1265
1266 Configuration:
1267 -h, --help display this help and exit
1268 --help=short display options specific to this package
1269 --help=recursive display the short help of all the included packages
1270 -V, --version display version information and exit
1271 -q, --quiet, --silent do not print 'checking ...' messages
1272 --cache-file=FILE cache test results in FILE [disabled]
1273 -C, --config-cache alias for '--cache-file=config.cache'
1274 -n, --no-create do not create output files
1275 --srcdir=DIR find the sources in DIR [configure dir or '..']
1276
1277 Installation directories:
1278 --prefix=PREFIX install architecture-independent files in PREFIX
1279 [$ac_default_prefix]
1280 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1281 [PREFIX]
1282
1283 By default, 'make install' will install all the files in
1284 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1285 an installation prefix other than '$ac_default_prefix' using '--prefix',
1286 for instance '--prefix=\$HOME'.
1287
1288 For better control, use the options below.
1289
1290 Fine tuning of the installation directories:
1291 --bindir=DIR user executables [EPREFIX/bin]
1292 --sbindir=DIR system admin executables [EPREFIX/sbin]
1293 --libexecdir=DIR program executables [EPREFIX/libexec]
1294 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1295 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1296 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1297 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1298 --libdir=DIR object code libraries [EPREFIX/lib]
1299 --includedir=DIR C header files [PREFIX/include]
1300 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1303 --infodir=DIR info documentation [DATAROOTDIR/info]
1304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1305 --mandir=DIR man documentation [DATAROOTDIR/man]
1306 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1307 --htmldir=DIR html documentation [DOCDIR]
1308 --dvidir=DIR dvi documentation [DOCDIR]
1309 --pdfdir=DIR pdf documentation [DOCDIR]
1310 --psdir=DIR ps documentation [DOCDIR]
1311 _ACEOF
1312
1313 cat <<\_ACEOF
1314
1315 Program names:
1316 --program-prefix=PREFIX prepend PREFIX to installed program names
1317 --program-suffix=SUFFIX append SUFFIX to installed program names
1318 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1319
1320 System types:
1321 --build=BUILD configure for building on BUILD [guessed]
1322 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1323 _ACEOF
1324 fi
1325
1326 if test -n "$ac_init_help"; then
1327 case $ac_init_help in
1328 short | recursive ) echo "Configuration of GNU Autoconf 2.73:";;
1329 esac
1330 cat <<\_ACEOF
1331
1332 Optional Features:
1333 --disable-option-checking ignore unrecognized --enable/--with options
1334 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1335 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1336 --enable-silent-rules less verbose build output (undo: "make V=1")
1337 --disable-silent-rules verbose build output (undo: "make V=0")
1338
1339 Optional Packages:
1340 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1341 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1342 --with-lispdir override the default lisp directory
1343
1344 Some influential environment variables:
1345 M4 Location of GNU M4 1.4.8 or later. Defaults to the first program
1346 of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs.
1347 EMACS the Emacs editor command
1348 EMACSLOADPATH
1349 the Emacs library search path
1350
1351 Use these variables to override the choices made by 'configure' or to help
1352 it to find libraries and programs with nonstandard names/locations.
1353
1354 Report bugs to <[email protected]>.
1355 GNU Autoconf home page: <https://www.gnu.org/software/autoconf/>.
1356 General help using GNU software: <https://www.gnu.org/gethelp/>.
1357 _ACEOF
1358 ac_status=$?
1359 fi
1360
1361 if test "$ac_init_help" = "recursive"; then
1362 # If there are subdirs, report their specific --help.
1363 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1364 test -d "$ac_dir" ||
1365 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1366 continue
1367 ac_builddir=.
1368
1369 case "$ac_dir" in
1370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *)
1372 ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
1373 # A ".." for each directory in $ac_dir_suffix.
1374 ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1375 case $ac_top_builddir_sub in
1376 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1378 esac ;;
1379 esac
1380 ac_abs_top_builddir=$ac_pwd
1381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1382 # for backward compatibility:
1383 ac_top_builddir=$ac_top_build_prefix
1384
1385 case $srcdir in
1386 .) # We are building in place.
1387 ac_srcdir=.
1388 ac_top_srcdir=$ac_top_builddir_sub
1389 ac_abs_top_srcdir=$ac_pwd ;;
1390 [\\/]* | ?:[\\/]* ) # Absolute name.
1391 ac_srcdir=$srcdir$ac_dir_suffix;
1392 ac_top_srcdir=$srcdir
1393 ac_abs_top_srcdir=$srcdir ;;
1394 *) # Relative name.
1395 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1396 ac_top_srcdir=$ac_top_build_prefix$srcdir
1397 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 esac
1399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400
1401 cd "$ac_dir" || { ac_status=$?; continue; }
1402 # Check for configure.gnu first; this name is used for a wrapper for
1403 # Metaconfig's "Configure" on case-insensitive file systems.
1404 if test -f "$ac_srcdir/configure.gnu"; then
1405 echo &&
1406 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1407 elif test -f "$ac_srcdir/configure"; then
1408 echo &&
1409 $SHELL "$ac_srcdir/configure" --help=recursive
1410 else
1411 printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1412 fi || ac_status=$?
1413 cd "$ac_pwd" || { ac_status=$?; break; }
1414 done
1415 fi
1416
1417 test -n "$ac_init_help" && exit $ac_status
1418 if $ac_init_version; then
1419 cat <<\_ACEOF
1420 GNU Autoconf configure 2.73
1421 generated by GNU Autoconf 2.73
1422
1423 Copyright (C) 2026 Free Software Foundation, Inc.
1424 This configure script is free software; the Free Software Foundation
1425 gives unlimited permission to copy, distribute and modify it.
1426 _ACEOF
1427 exit
1428 fi
1429
1430 ## ------------------------ ##
1431 ## Autoconf initialization. ##
1432 ## ------------------------ ##
1433 ac_configure_args_raw=
1434 for ac_arg
1435 do
1436 case $ac_arg in
1437 *\'*)
1438 ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 esac
1440 as_fn_append ac_configure_args_raw " '$ac_arg'"
1441 done
1442
1443 case $ac_configure_args_raw in
1444 *$as_nl*)
1445 ac_safe_unquote= ;;
1446 *)
1447 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1448 ac_unsafe_a="$ac_unsafe_z#~"
1449 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1450 ac_configure_args_raw=` printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1451 esac
1452
1453 cat >config.log <<_ACEOF
1454 This file contains any messages produced by compilers while
1455 running configure, to aid debugging if configure makes a mistake.
1456
1457 It was created by GNU Autoconf $as_me 2.73, which was
1458 generated by GNU Autoconf 2.73. Invocation command line was
1459
1460 $ $0$ac_configure_args_raw
1461
1462 _ACEOF
1463 exec 5>>config.log
1464 {
1465 cat <<_ASUNAME
1466 ## --------- ##
1467 ## Platform. ##
1468 ## --------- ##
1469
1470 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1471 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1472 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1473 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1474 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1475
1476 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1477 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1478
1479 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1480 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1481 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1482 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1483 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1484 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1485 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1486
1487 _ASUNAME
1488
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 for as_dir in $PATH
1491 do
1492 IFS=$as_save_IFS
1493 case $as_dir in #(((
1494 '') as_dir=./ ;;
1495 */) ;;
1496 *) as_dir=$as_dir/ ;;
1497 esac
1498 printf '%s\n' "PATH: $as_dir"
1499 done
1500 IFS=$as_save_IFS
1501
1502 } >&5
1503
1504 cat >&5 <<_ACEOF
1505
1506
1507 ## ----------- ##
1508 ## Core tests. ##
1509 ## ----------- ##
1510
1511 _ACEOF
1512
1513
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_configure_args=
1520 ac_configure_args0=
1521 ac_configure_args1=
1522 ac_must_keep_next=false
1523 for ac_pass in 1 2
1524 do
1525 for ac_arg
1526 do
1527 case $ac_arg in
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1531 continue ;;
1532 *\'*)
1533 ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 esac
1535 case $ac_pass in
1536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1537 2)
1538 as_fn_append ac_configure_args1 " '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1541 else
1542 case $ac_arg in
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 esac
1550 ;;
1551 -* ) ac_must_keep_next=true ;;
1552 esac
1553 fi
1554 as_fn_append ac_configure_args " '$ac_arg'"
1555 ;;
1556 esac
1557 done
1558 done
1559 { ac_configure_args0=; unset ac_configure_args0;}
1560 { ac_configure_args1=; unset ac_configure_args1;}
1561
1562 # Dump the cache to stdout. It can be in a pipe (this is a requirement).
1563 ac_cache_dump ()
1564 {
1565 # The following way of writing the cache mishandles newlines in values,
1566 # but we know of no workaround that is simple, portable, and efficient.
1567 # So, we kill variables containing newlines.
1568 # Ultrix sh set writes to stderr and can't be redirected directly,
1569 # and sets the high bit in the cache file unless we assign to the vars.
1570 (
1571 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1572 eval ac_val=\$$ac_var
1573 case $ac_val in #(
1574 *${as_nl}*)
1575 case $ac_var in #(
1576 *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1577 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1578 esac
1579 case $ac_var in #(
1580 _ | IFS | as_nl) ;; #(
1581 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1582 *) { eval $ac_var=; unset $ac_var;} ;;
1583 esac ;;
1584 esac
1585 done
1586
1587 (set) 2>&1 |
1588 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1589 *${as_nl}ac_space=\ *)
1590 # 'set' does not quote correctly, so add quotes: double-quote
1591 # substitution turns \\\\ into \\, and sed turns \\ into \.
1592 sed -n \
1593 "s/'/'\\\\''/g;
1594 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1595 ;; #(
1596 *)
1597 # 'set' quotes correctly as required by POSIX, so do not add quotes.
1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1599 ;;
1600 esac |
1601 sort
1602 )
1603 }
1604
1605 # Print debugging info to stdout.
1606 ac_dump_debugging_info ()
1607 {
1608 echo
1609
1610 printf '%s\n' "## ---------------- ##
1611 ## Cache variables. ##
1612 ## ---------------- ##"
1613 echo
1614 ac_cache_dump
1615 echo
1616
1617 printf '%s\n' "## ----------------- ##
1618 ## Output variables. ##
1619 ## ----------------- ##"
1620 echo
1621 for ac_var in $ac_subst_vars
1622 do
1623 eval ac_val=\$$ac_var
1624 case $ac_val in
1625 *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
1626 esac
1627 printf '%s\n' "$ac_var='$ac_val'"
1628 done | sort
1629 echo
1630
1631 if test -n "$ac_subst_files"; then
1632 printf '%s\n' "## ------------------- ##
1633 ## File substitutions. ##
1634 ## ------------------- ##"
1635 echo
1636 for ac_var in $ac_subst_files
1637 do
1638 eval ac_val=\$$ac_var
1639 case $ac_val in
1640 *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
1641 esac
1642 printf '%s\n' "$ac_var='$ac_val'"
1643 done | sort
1644 echo
1645 fi
1646
1647 if test -s confdefs.h; then
1648 printf '%s\n' "## ----------- ##
1649 ## confdefs.h. ##
1650 ## ----------- ##"
1651 echo
1652 cat confdefs.h
1653 echo
1654 fi
1655 test "$ac_signal" != 0 &&
1656 printf '%s\n' "$as_me: caught signal $ac_signal"
1657 printf '%s\n' "$as_me: exit $exit_status"
1658 }
1659
1660 # When interrupted or exit'd, cleanup temporary files, and complete
1661 # config.log.
1662 ac_exit_trap ()
1663 {
1664 exit_status=
1665 # Sanitize IFS.
1666 IFS=" "" $as_nl"
1667 # Save into config.log some information that might help in debugging.
1668 ac_dump_debugging_info >&5
1669 eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 exit $exit_status
1672 }
1673
1674 trap 'ac_exit_trap $?' 0
1675 for ac_signal in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1677 done
1678 ac_signal=0
1679
1680 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1681 rm -f -r conftest* confdefs.h
1682
1683 printf '%s\n' "/* confdefs.h */" > confdefs.h
1684
1685 # Predefined preprocessor variables.
1686
1687 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1688
1689 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1690
1691 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1692
1693 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1694
1695 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1696
1697 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1698
1699
1700 # Let the site file select an alternate cache file if it wants to.
1701 # Prefer an explicitly selected file to automatically selected ones.
1702 if test -n "$CONFIG_SITE"; then
1703 ac_site_files="$CONFIG_SITE"
1704 elif test "x$prefix" != xNONE; then
1705 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1706 else
1707 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1708 fi
1709
1710 for ac_site_file in $ac_site_files
1711 do
1712 case $ac_site_file in #(
1713 */*) :
1714 ;; #(
1715 *) :
1716 ac_site_file=./$ac_site_file ;;
1717 esac
1718 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1720 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file" \
1723 || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1724 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
1725 as_fn_error $? "failed to load site script $ac_site_file
1726 See 'config.log' for more details" "$LINENO" 5; }
1727 fi
1728 done
1729
1730 if test -r "$cache_file"; then
1731 # Some versions of bash will fail to source /dev/null (special files
1732 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1733 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1735 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
1736 case $cache_file in
1737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1738 *) . "./$cache_file";;
1739 esac
1740 fi
1741 else
1742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1743 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
1744 >$cache_file
1745 fi
1746
1747
1748 # Auxiliary files required by this configure script.
1749 ac_aux_files="config.guess config.sub missing install-sh"
1750
1751 # Locations in which to look for auxiliary files.
1752 ac_aux_dir_candidates="${srcdir}/build-aux"
1753
1754 # Search for a directory containing all of the required auxiliary files,
1755 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1756 # If we don't find one directory that contains all the files we need,
1757 # we report the set of missing files from the *first* directory in
1758 # $ac_aux_dir_candidates and give up.
1759 ac_missing_aux_files=""
1760 ac_first_candidate=:
1761 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 as_found=false
1764 for as_dir in $ac_aux_dir_candidates
1765 do
1766 IFS=$as_save_IFS
1767 case $as_dir in #(((
1768 '') as_dir=./ ;;
1769 */) ;;
1770 *) as_dir=$as_dir/ ;;
1771 esac
1772 as_found=:
1773
1774 printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1775 ac_aux_dir_found=yes
1776 ac_install_sh=
1777 for ac_aux in $ac_aux_files
1778 do
1779 # As a special case, if "install-sh" is required, that requirement
1780 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1781 # and $ac_install_sh is set appropriately for whichever one is found.
1782 if test x"$ac_aux" = x"install-sh"
1783 then
1784 if test -f "${as_dir}install-sh"; then
1785 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1786 ac_install_sh="${as_dir}install-sh -c"
1787 elif test -f "${as_dir}install.sh"; then
1788 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1789 ac_install_sh="${as_dir}install.sh -c"
1790 elif test -f "${as_dir}shtool"; then
1791 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1792 ac_install_sh="${as_dir}shtool install -c"
1793 else
1794 ac_aux_dir_found=no
1795 if $ac_first_candidate; then
1796 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1797 else
1798 break
1799 fi
1800 fi
1801 else
1802 if test -f "${as_dir}${ac_aux}"; then
1803 printf '%s\n' "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1804 else
1805 ac_aux_dir_found=no
1806 if $ac_first_candidate; then
1807 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1808 else
1809 break
1810 fi
1811 fi
1812 fi
1813 done
1814 if test "$ac_aux_dir_found" = yes; then
1815 ac_aux_dir="$as_dir"
1816 break
1817 fi
1818 ac_first_candidate=false
1819
1820 as_found=false
1821 done
1822 IFS=$as_save_IFS
1823 if $as_found
1824 then :
1825
1826 else case e in #(
1827 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
1828 esac
1829 fi
1830
1831
1832 # These three variables are undocumented and unsupported,
1833 # and are intended to be withdrawn in a future Autoconf release.
1834 # They can cause serious problems if a builder's source tree is in a directory
1835 # whose full name contains unusual characters.
1836 if test -f "${ac_aux_dir}config.guess"; then
1837 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1838 fi
1839 if test -f "${ac_aux_dir}config.sub"; then
1840 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1841 fi
1842 if test -f "$ac_aux_dir/configure"; then
1843 ac_configure="$SHELL ${ac_aux_dir}configure"
1844 fi
1845
1846 # Check that the precious variables saved in the cache have kept the same
1847 # value.
1848 ac_cache_corrupted=false
1849 for ac_var in $ac_precious_vars; do
1850 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1851 eval ac_new_set=\$ac_env_${ac_var}_set
1852 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1853 eval ac_new_val=\$ac_env_${ac_var}_value
1854 case $ac_old_set,$ac_new_set in
1855 set,)
1856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
1857 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1859 ,set)
1860 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
1861 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1862 ac_cache_corrupted=: ;;
1863 ,);;
1864 *)
1865 if test "x$ac_old_val" != "x$ac_new_val"; then
1866 # differences in whitespace do not lead to failure.
1867 ac_old_val_w=
1868 for ac_val in x $ac_old_val; do
1869 ac_old_val_w="$ac_old_val_w $ac_val"
1870 done
1871 ac_new_val_w=
1872 for ac_val in x $ac_new_val; do
1873 ac_new_val_w="$ac_new_val_w $ac_val"
1874 done
1875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1876 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
1877 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1878 ac_cache_corrupted=:
1879 else
1880 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
1881 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1882 eval $ac_var=\$ac_old_val
1883 fi
1884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
1885 printf '%s\n' "$as_me: former value: '$ac_old_val'" >&2;}
1886 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
1887 printf '%s\n' "$as_me: current value: '$ac_new_val'" >&2;}
1888 fi;;
1889 esac
1890 # Pass precious variables to config.status.
1891 if test "$ac_new_set" = set; then
1892 case $ac_new_val in
1893 *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1894 *) ac_arg=$ac_var=$ac_new_val ;;
1895 esac
1896 case " $ac_configure_args " in
1897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1899 esac
1900 fi
1901 done
1902 if $ac_cache_corrupted; then
1903 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1904 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
1905 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1906 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
1907 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
1908 and start over" "$LINENO" 5
1909 fi
1910 ## -------------------- ##
1911 ## Main body of script. ##
1912 ## -------------------- ##
1913
1914
1915 # Determine whether it's possible to make 'echo' print without a newline.
1916 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
1917 # for compatibility with existing Makefiles.
1918 ECHO_C= ECHO_N= ECHO_T=
1919 case `echo -n x` in #(((((
1920 -n*)
1921 case `echo 'xy\c'` in
1922 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1923 xy) ECHO_C='\c';;
1924 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
1925 ECHO_T=' ';;
1926 esac;;
1927 *)
1928 ECHO_N='-n';;
1929 esac
1930
1931 ac_ext=c
1932 ac_cpp='$CPP $CPPFLAGS'
1933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1936
1937
1938
1939
1940
1941
1942 am__api_version='1.18'
1943
1944
1945
1946 # Find a good install program. We prefer a C program (faster),
1947 # so one script is as good as another. But avoid the broken or
1948 # incompatible versions:
1949 # SysV /etc/install, /usr/sbin/install
1950 # SunOS /usr/etc/install
1951 # IRIX /sbin/install
1952 # AIX /bin/install
1953 # AmigaOS /C/install, which installs bootblocks on floppy discs
1954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1957 # OS/2's system install, which has a completely different semantic
1958 # ./install, which can be erroneously created by make from ./install.sh.
1959 # Reject install programs that cannot install multiple files.
1960 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1961 printf %s "checking for a BSD-compatible install... " >&6; }
1962 if test -z "$INSTALL"; then
1963 if test ${ac_cv_path_install+y}
1964 then :
1965 printf %s "(cached) " >&6
1966 else case e in #(
1967 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1968 for as_dir in $PATH
1969 do
1970 IFS=$as_save_IFS
1971 case $as_dir in #(((
1972 '') as_dir=./ ;;
1973 */) ;;
1974 *) as_dir=$as_dir/ ;;
1975 esac
1976 # Account for fact that we put trailing slashes in our PATH walk.
1977 case $as_dir in #((
1978 ./ | /[cC]/* | \
1979 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1980 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1981 /usr/ucb/* ) ;;
1982 *)
1983 # OSF/1 and SCO ODT 3.0 have their own names for install.
1984 # Don't use installbsd from OSF/1 since it installs stuff as root
1985 # by default.
1986 for ac_prog in ginstall scoinst install; do
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1989 if test $ac_prog = install &&
1990 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1991 # AIX install. It has an incompatible calling convention.
1992 :
1993 elif test $ac_prog = install &&
1994 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1995 # program-specific install script used by HP pwplus--don't use.
1996 :
1997 else
1998 rm -rf conftest.one conftest.two conftest.dir
1999 echo one > conftest.one
2000 echo two > conftest.two
2001 mkdir conftest.dir
2002 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2003 test -s conftest.one && test -s conftest.two &&
2004 test -s conftest.dir/conftest.one &&
2005 test -s conftest.dir/conftest.two
2006 then
2007 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2008 break 3
2009 fi
2010 fi
2011 fi
2012 done
2013 done
2014 ;;
2015 esac
2016
2017 done
2018 IFS=$as_save_IFS
2019
2020 rm -rf conftest.one conftest.two conftest.dir
2021 ;;
2022 esac
2023 fi
2024 if test ${ac_cv_path_install+y}; then
2025 INSTALL=$ac_cv_path_install
2026 else
2027 # As a last resort, use the slow shell script. Don't cache a
2028 # value for INSTALL within a source directory, because that will
2029 # break other packages using the cache if that directory is
2030 # removed, or if the value is a relative name.
2031 INSTALL=$ac_install_sh
2032 fi
2033 fi
2034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2035 printf '%s\n' "$INSTALL" >&6; }
2036
2037 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2038 # It thinks the first close brace ends the variable substitution.
2039 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2040
2041 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2042
2043 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2044
2045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2046 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2047 if test ${am_cv_sleep_fractional_seconds+y}
2048 then :
2049 printf %s "(cached) " >&6
2050 else case e in #(
2051 e) if sleep 0.001 2>/dev/null
2052 then :
2053 am_cv_sleep_fractional_seconds=yes
2054 else case e in #(
2055 e) am_cv_sleep_fractional_seconds=no ;;
2056 esac
2057 fi
2058 ;;
2059 esac
2060 fi
2061 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
2062 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
2063
2064 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
2065 printf %s "checking filesystem timestamp resolution... " >&6; }
2066 if test ${am_cv_filesystem_timestamp_resolution+y}
2067 then :
2068 printf %s "(cached) " >&6
2069 else case e in #(
2070 e) # Default to the worst case.
2071 am_cv_filesystem_timestamp_resolution=2
2072
2073 # Only try to go finer than 1 sec if sleep can do it.
2074 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
2075 # - 1 sec is not much of a win compared to 2 sec, and
2076 # - it takes 2 seconds to perform the test whether 1 sec works.
2077 #
2078 # Instead, just use the default 2s on platforms that have 1s resolution,
2079 # accept the extra 1s delay when using $sleep in the Automake tests, in
2080 # exchange for not incurring the 2s delay for running the test for all
2081 # packages.
2082 #
2083 am_try_resolutions=
2084 if test "$am_cv_sleep_fractional_seconds" = yes; then
2085 # Even a millisecond often causes a bunch of false positives,
2086 # so just try a hundredth of a second. The time saved between .001 and
2087 # .01 is not terribly consequential.
2088 am_try_resolutions="0.01 0.1 $am_try_resolutions"
2089 fi
2090
2091 # In order to catch current-generation FAT out, we must *modify* files
2092 # that already exist; the *creation* timestamp is finer. Use names
2093 # that make ls -t sort them differently when they have equal
2094 # timestamps than when they have distinct timestamps, keeping
2095 # in mind that ls -t prints the *newest* file first.
2096 rm -f conftest.ts?
2097 : > conftest.ts1
2098 : > conftest.ts2
2099 : > conftest.ts3
2100
2101 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
2102 # clobber the current shell's arguments. (Outer-level square brackets
2103 # are removed by m4; they're present so that m4 does not expand
2104 # <dollar><star>; be careful, easy to get confused.)
2105 if (
2106 set X `ls -t conftest.ts[12]` &&
2107 {
2108 test "$*" != "X conftest.ts1 conftest.ts2" ||
2109 test "$*" != "X conftest.ts2 conftest.ts1";
2110 }
2111 ); then :; else
2112 # If neither matched, then we have a broken ls. This can happen
2113 # if, for instance, CONFIG_SHELL is bash and it inherits a
2114 # broken ls alias from the environment. This has actually
2115 # happened. Such a system could not be considered "sane".
2116 printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
2117 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2118 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
2119 as_fn_error $? "ls -t produces unexpected output.
2120 Make sure there is not a broken ls alias in your environment.
2121 See 'config.log' for more details" "$LINENO" 5; }
2122 fi
2123
2124 for am_try_res in $am_try_resolutions; do
2125 # Any one fine-grained sleep might happen to cross the boundary
2126 # between two values of a coarser actual resolution, but if we do
2127 # two fine-grained sleeps in a row, at least one of them will fall
2128 # entirely within a coarse interval.
2129 echo alpha > conftest.ts1
2130 sleep $am_try_res
2131 echo beta > conftest.ts2
2132 sleep $am_try_res
2133 echo gamma > conftest.ts3
2134
2135 # We assume that 'ls -t' will make use of high-resolution
2136 # timestamps if the operating system supports them at all.
2137 if (set X `ls -t conftest.ts?` &&
2138 test "$2" = conftest.ts3 &&
2139 test "$3" = conftest.ts2 &&
2140 test "$4" = conftest.ts1); then
2141 #
2142 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
2143 # because we don't need to test make.
2144 make_ok=true
2145 if test $am_try_res != 1; then
2146 # But if we've succeeded so far with a subsecond resolution, we
2147 # have one more thing to check: make. It can happen that
2148 # everything else supports the subsecond mtimes, but make doesn't;
2149 # notably on macOS, which ships make 3.81 from 2006 (the last one
2150 # released under GPLv2). https://bugs.gnu.org/68808
2151 #
2152 # We test $MAKE if it is defined in the environment, else "make".
2153 # It might get overridden later, but our hope is that in practice
2154 # it does not matter: it is the system "make" which is (by far)
2155 # the most likely to be broken, whereas if the user overrides it,
2156 # probably they did so with a better, or at least not worse, make.
2157 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
2158 #
2159 # Create a Makefile (real tab character here):
2160 rm -f conftest.mk
2161 echo 'conftest.ts1: conftest.ts2' >conftest.mk
2162 echo ' touch conftest.ts2' >>conftest.mk
2163 #
2164 # Now, running
2165 # touch conftest.ts1; touch conftest.ts2; make
2166 # should touch ts1 because ts2 is newer. This could happen by luck,
2167 # but most often, it will fail if make's support is insufficient. So
2168 # test for several consecutive successes.
2169 #
2170 # (We reuse conftest.ts[12] because we still want to modify existing
2171 # files, not create new ones, per above.)
2172 n=0
2173 make=${MAKE-make}
2174 until test $n -eq 3; do
2175 echo one > conftest.ts1
2176 sleep $am_try_res
2177 echo two > conftest.ts2 # ts2 should now be newer than ts1
2178 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
2179 make_ok=false
2180 break # out of $n loop
2181 fi
2182 n=`expr $n + 1`
2183 done
2184 fi
2185 #
2186 if $make_ok; then
2187 # Everything we know to check worked out, so call this resolution good.
2188 am_cv_filesystem_timestamp_resolution=$am_try_res
2189 break # out of $am_try_res loop
2190 fi
2191 # Otherwise, we'll go on to check the next resolution.
2192 fi
2193 done
2194 rm -f conftest.ts?
2195 # (end _am_filesystem_timestamp_resolution)
2196 ;;
2197 esac
2198 fi
2199 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
2200 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
2201
2202 # This check should not be cached, as it may vary across builds of
2203 # different projects.
2204 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2205 printf %s "checking whether build environment is sane... " >&6; }
2206 # Reject unsafe characters in $srcdir or the absolute working directory
2207 # name. Accept space and tab only in the latter.
2208 am_lf='
2209 '
2210 case `pwd` in
2211 *[\\\"\#\$\&\'\`$am_lf]*)
2212 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2213 printf '%s\n' "no" >&6; }
2214 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2215 esac
2216 case $srcdir in
2217 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2218 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 printf '%s\n' "no" >&6; }
2220 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2221 esac
2222
2223 # Do 'set' in a subshell so we don't clobber the current shell's
2224 # arguments. Must try -L first in case configure is actually a
2225 # symlink; some systems play weird games with the mod time of symlinks
2226 # (eg FreeBSD returns the mod time of the symlink's containing
2227 # directory).
2228 am_build_env_is_sane=no
2229 am_has_slept=no
2230 rm -f conftest.file
2231 for am_try in 1 2; do
2232 echo "timestamp, slept: $am_has_slept" > conftest.file
2233 if (
2234 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2235 if test "$*" = "X"; then
2236 # -L didn't work.
2237 set X `ls -t "$srcdir/configure" conftest.file`
2238 fi
2239 test "$2" = conftest.file
2240 ); then
2241 am_build_env_is_sane=yes
2242 break
2243 fi
2244 # Just in case.
2245 sleep "$am_cv_filesystem_timestamp_resolution"
2246 am_has_slept=yes
2247 done
2248
2249 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
2250 printf '%s\n' "$am_build_env_is_sane" >&6; }
2251 if test "$am_build_env_is_sane" = no; then
2252 as_fn_error $? "newly created file is older than distributed files!
2253 Check your system clock" "$LINENO" 5
2254 fi
2255
2256 # If we didn't sleep, we still need to ensure time stamps of config.status and
2257 # generated files are strictly newer.
2258 am_sleep_pid=
2259 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
2260 then :
2261
2262 else case e in #(
2263 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
2264 am_sleep_pid=$!
2265 ;;
2266 esac
2267 fi
2268
2269 rm -f conftest.file
2270
2271 test "$program_prefix" != NONE &&
2272 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2273 # Use a double $ so make ignores it.
2274 test "$program_suffix" != NONE &&
2275 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2276 # Double any \ or $.
2277 # By default was 's,x,x', remove it if useless.
2278 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2279 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
2280
2281
2282 # Expand $ac_aux_dir to an absolute path.
2283 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2284
2285
2286 if test x"${MISSING+set}" != xset; then
2287 MISSING="\${SHELL} '$am_aux_dir/missing'"
2288 fi
2289 # Use eval to expand $SHELL
2290 if eval "$MISSING --is-lightweight"; then
2291 am_missing_run="$MISSING "
2292 else
2293 am_missing_run=
2294 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2295 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2296 fi
2297
2298 if test x"${install_sh+set}" != xset; then
2299 case $am_aux_dir in
2300 *\ * | *\ *)
2301 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2302 *)
2303 install_sh="\${SHELL} $am_aux_dir/install-sh"
2304 esac
2305 fi
2306
2307 # Installed binaries are usually stripped using 'strip' when the user
2308 # run "make install-strip". However 'strip' might not be the right
2309 # tool to use in cross-compilation environments, therefore Automake
2310 # will honor the 'STRIP' environment variable to overrule this program.
2311 if test "$cross_compiling" != no; then
2312 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2314 set dummy ${ac_tool_prefix}strip; ac_word=$2
2315 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2316 printf %s "checking for $ac_word... " >&6; }
2317 if test ${ac_cv_prog_STRIP+y}
2318 then :
2319 printf %s "(cached) " >&6
2320 else case e in #(
2321 e) if test -n "$STRIP"; then
2322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2323 else
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 for as_dir in $PATH
2326 do
2327 IFS=$as_save_IFS
2328 case $as_dir in #(((
2329 '') as_dir=./ ;;
2330 */) ;;
2331 *) as_dir=$as_dir/ ;;
2332 esac
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2336 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2337 break 2
2338 fi
2339 done
2340 done
2341 IFS=$as_save_IFS
2342
2343 fi ;;
2344 esac
2345 fi
2346 STRIP=$ac_cv_prog_STRIP
2347 if test -n "$STRIP"; then
2348 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2349 printf '%s\n' "$STRIP" >&6; }
2350 else
2351 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2352 printf '%s\n' "no" >&6; }
2353 fi
2354
2355
2356 fi
2357 if test -z "$ac_cv_prog_STRIP"; then
2358 ac_ct_STRIP=$STRIP
2359 # Extract the first word of "strip", so it can be a program name with args.
2360 set dummy strip; ac_word=$2
2361 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362 printf %s "checking for $ac_word... " >&6; }
2363 if test ${ac_cv_prog_ac_ct_STRIP+y}
2364 then :
2365 printf %s "(cached) " >&6
2366 else case e in #(
2367 e) if test -n "$ac_ct_STRIP"; then
2368 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2372 do
2373 IFS=$as_save_IFS
2374 case $as_dir in #(((
2375 '') as_dir=./ ;;
2376 */) ;;
2377 *) as_dir=$as_dir/ ;;
2378 esac
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2381 ac_cv_prog_ac_ct_STRIP="strip"
2382 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2383 break 2
2384 fi
2385 done
2386 done
2387 IFS=$as_save_IFS
2388
2389 fi ;;
2390 esac
2391 fi
2392 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2393 if test -n "$ac_ct_STRIP"; then
2394 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2395 printf '%s\n' "$ac_ct_STRIP" >&6; }
2396 else
2397 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2398 printf '%s\n' "no" >&6; }
2399 fi
2400
2401 if test "x$ac_ct_STRIP" = x; then
2402 STRIP=":"
2403 else
2404 case $cross_compiling:$ac_tool_warned in
2405 yes:)
2406 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2407 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2408 ac_tool_warned=yes ;;
2409 esac
2410 STRIP=$ac_ct_STRIP
2411 fi
2412 else
2413 STRIP="$ac_cv_prog_STRIP"
2414 fi
2415
2416 fi
2417 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2418
2419
2420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2421 printf %s "checking for a race-free mkdir -p... " >&6; }
2422 if test -z "$MKDIR_P"; then
2423 if test ${ac_cv_path_mkdir+y}
2424 then :
2425 printf %s "(cached) " >&6
2426 else case e in #(
2427 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2429 do
2430 IFS=$as_save_IFS
2431 case $as_dir in #(((
2432 '') as_dir=./ ;;
2433 */) ;;
2434 *) as_dir=$as_dir/ ;;
2435 esac
2436 for ac_prog in mkdir gmkdir; do
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2439 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2440 'mkdir ('*'coreutils) '* | \
2441 *'BusyBox '* | \
2442 'mkdir (fileutils) '4.1*)
2443 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2444 break 3;;
2445 esac
2446 done
2447 done
2448 done
2449 IFS=$as_save_IFS
2450 ;;
2451 esac
2452 fi
2453
2454 test -d ./--version && rmdir ./--version
2455 if test ${ac_cv_path_mkdir+y}; then
2456 MKDIR_P="$ac_cv_path_mkdir -p"
2457 else
2458 # As a last resort, use plain mkdir -p,
2459 # in the hope it doesn't have the bugs of ancient mkdir.
2460 MKDIR_P='mkdir -p'
2461 fi
2462 fi
2463 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2464 printf '%s\n' "$MKDIR_P" >&6; }
2465
2466 for ac_prog in gawk mawk nawk awk 'busybox awk'
2467 do
2468 # Extract the first word of "$ac_prog", so it can be a program name with args.
2469 set dummy $ac_prog; ac_word=$2
2470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 printf %s "checking for $ac_word... " >&6; }
2472 if test ${ac_cv_prog_AWK+y}
2473 then :
2474 printf %s "(cached) " >&6
2475 else case e in #(
2476 e) if test -n "$AWK"; then
2477 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2478 else
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 for as_dir in $PATH
2481 do
2482 IFS=$as_save_IFS
2483 case $as_dir in #(((
2484 '') as_dir=./ ;;
2485 */) ;;
2486 *) as_dir=$as_dir/ ;;
2487 esac
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2490 ac_cv_prog_AWK="$ac_prog"
2491 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2492 break 2
2493 fi
2494 done
2495 done
2496 IFS=$as_save_IFS
2497
2498 fi ;;
2499 esac
2500 fi
2501 AWK=$ac_cv_prog_AWK
2502 if test -n "$AWK"; then
2503 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2504 printf '%s\n' "$AWK" >&6; }
2505 else
2506 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 printf '%s\n' "no" >&6; }
2508 fi
2509
2510
2511 test -n "$AWK" && break
2512 done
2513
2514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2515 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2516 set x ${MAKE-make}
2517 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2518 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2519 then :
2520 printf %s "(cached) " >&6
2521 else case e in #(
2522 e) cat >conftest.make <<\_ACEOF
2523 SHELL = /bin/sh
2524 all:
2525 @printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
2526 _ACEOF
2527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2528 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2529 *@@@%%%=?*=@@@%%%*)
2530 eval ac_cv_prog_make_${ac_make}_set=yes;;
2531 *)
2532 eval ac_cv_prog_make_${ac_make}_set=no;;
2533 esac
2534 rm -f conftest.make ;;
2535 esac
2536 fi
2537 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2538 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2539 printf '%s\n' "yes" >&6; }
2540 SET_MAKE=
2541 else
2542 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 printf '%s\n' "no" >&6; }
2544 SET_MAKE="MAKE=${MAKE-make}"
2545 fi
2546
2547 rm -rf .tst 2>/dev/null
2548 mkdir .tst 2>/dev/null
2549 if test -d .tst; then
2550 am__leading_dot=.
2551 else
2552 am__leading_dot=_
2553 fi
2554 rmdir .tst 2>/dev/null
2555
2556 AM_DEFAULT_VERBOSITY=1
2557 # Check whether --enable-silent-rules was given.
2558 if test ${enable_silent_rules+y}
2559 then :
2560 enableval=$enable_silent_rules;
2561 fi
2562
2563 am_make=${MAKE-make}
2564 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2565 printf %s "checking whether $am_make supports nested variables... " >&6; }
2566 if test ${am_cv_make_support_nested_variables+y}
2567 then :
2568 printf %s "(cached) " >&6
2569 else case e in #(
2570 e) if printf '%s\n' 'TRUE=$(BAR$(V))
2571 BAR0=false
2572 BAR1=true
2573 V=1
2574 am__doit:
2575 @$(TRUE)
2576 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2577 am_cv_make_support_nested_variables=yes
2578 else
2579 am_cv_make_support_nested_variables=no
2580 fi ;;
2581 esac
2582 fi
2583 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2584 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
2585 AM_BACKSLASH='\'
2586
2587 am__rm_f_notfound=
2588 if (rm -f && rm -fr && rm -rf) 2>/dev/null
2589 then :
2590
2591 else case e in #(
2592 e) am__rm_f_notfound='""' ;;
2593 esac
2594 fi
2595
2596
2597 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
2598 printf %s "checking xargs -n works... " >&6; }
2599 if test ${am_cv_xargs_n_works+y}
2600 then :
2601 printf %s "(cached) " >&6
2602 else case e in #(
2603 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
2604 3"
2605 then :
2606 am_cv_xargs_n_works=yes
2607 else case e in #(
2608 e) am_cv_xargs_n_works=no ;;
2609 esac
2610 fi ;;
2611 esac
2612 fi
2613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
2614 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
2615 if test "$am_cv_xargs_n_works" = yes
2616 then :
2617 am__xargs_n='xargs -n'
2618 else case e in #(
2619 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
2620 ;;
2621 esac
2622 fi
2623
2624 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2625 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2626 # is not polluted with repeated "-I."
2627 am__isrc=' -I$(srcdir)'
2628 # test to see if srcdir already configured
2629 if test -f $srcdir/config.status; then
2630 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2631 fi
2632 fi
2633
2634 # test whether we have cygpath
2635 if test -z "$CYGPATH_W"; then
2636 if (cygpath --version) >/dev/null 2>/dev/null; then
2637 CYGPATH_W='cygpath -w'
2638 else
2639 CYGPATH_W=echo
2640 fi
2641 fi
2642
2643
2644 # Define the identity of the package.
2645 PACKAGE='autoconf'
2646 VERSION='2.73'
2647
2648
2649 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2650
2651
2652 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
2653
2654 # Some tools Automake needs.
2655
2656 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2657
2658
2659 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2660
2661
2662 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2663
2664
2665 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2666
2667
2668 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2669
2670 # For better backward compatibility. To be removed once Automake 1.9.x
2671 # dies out for good. For more background, see:
2672 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2673 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2674 mkdir_p='$(MKDIR_P)'
2675
2676 # We need awk for the "check" target (and possibly the TAP driver). The
2677 # system "awk" is bad on some platforms.
2678 # Always define AMTAR for backward compatibility. Yes, it's still used
2679 # in the wild :-( We should find a proper way to deprecate it ...
2680 AMTAR='$${TAR-tar}'
2681
2682
2683 # We'll loop over all known methods to create a tar archive until one works.
2684 _am_tools='gnutar plaintar pax cpio none'
2685
2686 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2687 # There is notably a 21 bits limit for the UID and the GID. In fact,
2688 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2689 # and bug#13588).
2690 am_max_uid=2097151 # 2^21 - 1
2691 am_max_gid=$am_max_uid
2692 # The $UID and $GID variables are not portable, so we need to resort
2693 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2694 # below are definitely unexpected, so allow the users to see them
2695 # (that is, avoid stderr redirection).
2696 am_uid=`id -u || echo unknown`
2697 am_gid=`id -g || echo unknown`
2698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2699 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2700 if test x$am_uid = xunknown; then
2701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
2702 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
2703 elif test $am_uid -le $am_max_uid; then
2704 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2705 printf '%s\n' "yes" >&6; }
2706 else
2707 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 printf '%s\n' "no" >&6; }
2709 _am_tools=none
2710 fi
2711 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2712 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2713 if test x$gm_gid = xunknown; then
2714 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
2715 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
2716 elif test $am_gid -le $am_max_gid; then
2717 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2718 printf '%s\n' "yes" >&6; }
2719 else
2720 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 printf '%s\n' "no" >&6; }
2722 _am_tools=none
2723 fi
2724
2725 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2726 printf %s "checking how to create a ustar tar archive... " >&6; }
2727
2728 # Go ahead even if we have the value already cached. We do so because we
2729 # need to set the values for the 'am__tar' and 'am__untar' variables.
2730 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2731
2732 for _am_tool in $_am_tools; do
2733 case $_am_tool in
2734 gnutar)
2735 for _am_tar in tar gnutar gtar; do
2736 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2737 ($_am_tar --version) >&5 2>&5
2738 ac_status=$?
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); } && break
2741 done
2742 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2743 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2744 am__untar="$_am_tar -xf -"
2745 ;;
2746 plaintar)
2747 # Must skip GNU tar: if it does not support --format= it doesn't create
2748 # ustar tarball either.
2749 (tar --version) >/dev/null 2>&1 && continue
2750 am__tar='tar chf - "$$tardir"'
2751 am__tar_='tar chf - "$tardir"'
2752 am__untar='tar xf -'
2753 ;;
2754 pax)
2755 am__tar='pax -L -x ustar -w "$$tardir"'
2756 am__tar_='pax -L -x ustar -w "$tardir"'
2757 am__untar='pax -r'
2758 ;;
2759 cpio)
2760 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2761 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2762 am__untar='cpio -i -H ustar -d'
2763 ;;
2764 none)
2765 am__tar=false
2766 am__tar_=false
2767 am__untar=false
2768 ;;
2769 esac
2770
2771 # If the value was cached, stop now. We just wanted to have am__tar
2772 # and am__untar set.
2773 test -n "${am_cv_prog_tar_ustar}" && break
2774
2775 # tar/untar a dummy directory, and stop if the command works.
2776 rm -rf conftest.dir
2777 mkdir conftest.dir
2778 echo GrepMe > conftest.dir/file
2779 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2780 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }
2784 rm -rf conftest.dir
2785 if test -s conftest.tar; then
2786 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2787 ($am__untar <conftest.tar) >&5 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }
2791 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2792 (cat conftest.dir/file) >&5 2>&5
2793 ac_status=$?
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }
2796 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2797 fi
2798 done
2799 rm -rf conftest.dir
2800
2801 if test ${am_cv_prog_tar_ustar+y}
2802 then :
2803 printf %s "(cached) " >&6
2804 else case e in #(
2805 e) am_cv_prog_tar_ustar=$_am_tool ;;
2806 esac
2807 fi
2808
2809 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2810 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
2811
2812
2813
2814
2815
2816 # Variables for tags utilities; see am/tags.am
2817 if test -z "$CTAGS"; then
2818 CTAGS=ctags
2819 fi
2820
2821 if test -z "$ETAGS"; then
2822 ETAGS=etags
2823 fi
2824
2825 if test -z "$CSCOPE"; then
2826 CSCOPE=cscope
2827 fi
2828
2829
2830
2831
2832
2833
2834
2835
2836 # Keep this on a line of its own, since it must be found and processed
2837 # by the 'update-release-year' rule in our Makefile.
2838 RELEASE_YEAR=2026
2839
2840
2841
2842
2843 # Make sure we can run config.sub.
2844 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2845 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2846
2847 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2848 printf %s "checking build system type... " >&6; }
2849 if test ${ac_cv_build+y}
2850 then :
2851 printf %s "(cached) " >&6
2852 else case e in #(
2853 e) ac_build_alias=$build_alias
2854 test "x$ac_build_alias" = x &&
2855 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2856 test "x$ac_build_alias" = x &&
2857 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2858 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2859 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2860 ;;
2861 esac
2862 fi
2863 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2864 printf '%s\n' "$ac_cv_build" >&6; }
2865 case $ac_cv_build in
2866 *-*-*) ;;
2867 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2868 esac
2869 build=$ac_cv_build
2870 ac_save_IFS=$IFS; IFS='-'
2871 set x $ac_cv_build
2872 shift
2873 build_cpu=$1
2874 build_vendor=$2
2875 shift; shift
2876 # Remember, the first character of IFS is used to create $*,
2877 # except with old shells:
2878 build_os=$*
2879 IFS=$ac_save_IFS
2880 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
2881
2882
2883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2884 printf %s "checking host system type... " >&6; }
2885 if test ${ac_cv_host+y}
2886 then :
2887 printf %s "(cached) " >&6
2888 else case e in #(
2889 e) if test "x$host_alias" = x; then
2890 ac_cv_host=$ac_cv_build
2891 else
2892 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2893 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2894 fi
2895 ;;
2896 esac
2897 fi
2898 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2899 printf '%s\n' "$ac_cv_host" >&6; }
2900 case $ac_cv_host in
2901 *-*-*) ;;
2902 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2903 esac
2904 host=$ac_cv_host
2905 ac_save_IFS=$IFS; IFS='-'
2906 set x $ac_cv_host
2907 shift
2908 host_cpu=$1
2909 host_vendor=$2
2910 shift; shift
2911 # Remember, the first character of IFS is used to create $*,
2912 # except with old shells:
2913 host_os=$*
2914 IFS=$ac_save_IFS
2915 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
2916
2917
2918
2919
2920
2921
2922 if test -z "$AB_PACKAGE"; then
2923 AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
2924 fi
2925 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
2926 printf '%s\n' "$as_me: autobuild project... $AB_PACKAGE" >&6;}
2927
2928 if test -z "$AB_VERSION"; then
2929 AB_VERSION=${PACKAGE_VERSION:-$VERSION}
2930 fi
2931 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
2932 printf '%s\n' "$as_me: autobuild revision... $AB_VERSION" >&6;}
2933
2934 hostname=`hostname`
2935 if test "$hostname"; then
2936 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
2937 printf '%s\n' "$as_me: autobuild hostname... $hostname" >&6;}
2938 fi
2939
2940
2941
2942 date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
2943 if test "$?" != 0; then
2944 date=`date`
2945 fi
2946 if test "$date"; then
2947 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
2948 printf '%s\n' "$as_me: autobuild timestamp... $date" >&6;}
2949 fi
2950
2951
2952 # We use 'sh -n script' to check that there are no syntax errors
2953 # in the scripts. Although incredible, there are sh implementations
2954 # that go into endless loops with '-n', e.g., SunOS's:
2955 #
2956 # $ uname -a
2957 # SunOS ondine 4.1.3 2 sun4m unknown
2958 # $ cat endless.sh
2959 # while false
2960 # do
2961 # :
2962 # done
2963 # exit 0
2964 # $ time sh endless.sh
2965 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2966 # $ time sh -nx endless.sh
2967 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2968 #
2969 # Also, some implementations (e.g., Solaris 8) are soooo slow
2970 # that they are unusable on large scripts like our testsuite.
2971 #
2972 # So we must identify a shell whose -n can safely be used.
2973
2974 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a shell whose -n mode is known to work" >&5
2975 printf %s "checking for a shell whose -n mode is known to work... " >&6; }
2976 if test ${ac_cv_sh_working_n+y}
2977 then :
2978 printf %s "(cached) " >&6
2979 else case e in #(
2980 e) ac_cv_sh_working_n=none
2981 # Start by trying the shell that autoconf decided to use for this script,
2982 # follow with a hardwired list of shells that are known to work and can
2983 # be identified as such, starting with the ones with the fewest
2984 # syntactic extensions. Unfortunately, several shells that are also
2985 # known to work can't be easily identified (e.g. some BSD shells and dash).
2986 # Try ksh93, which is often buggy, and plain ksh and sh last.
2987 for cand_sh in "$SHELL" pdksh bash zsh ksh93 ksh sh
2988 do
2989 if (
2990 unset BASH_VERSION ZSH_VERSION
2991 "$cand_sh" -c '
2992 test ${BASH_VERSION+y} || # Bash
2993 test ${KSH_VERSION+y} || # pdksh
2994 test ${ZSH_VERSION+y} || # zsh
2995 test ${NETBSD_SHELL+y} || # NetBSD sh
2996 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2997 '
2998 ) 2>/dev/null
2999 then
3000 ac_cv_sh_working_n="$cand_sh"
3001 break
3002 fi
3003 done
3004 ;;
3005 esac
3006 fi
3007 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sh_working_n" >&5
3008 printf '%s\n' "$ac_cv_sh_working_n" >&6; }
3009 SHELL_N=$ac_cv_sh_working_n
3010
3011
3012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for characters that cannot appear in file names" >&5
3013 printf %s "checking for characters that cannot appear in file names... " >&6; }
3014 if test ${ac_cv_unsupported_fs_chars+y}
3015 then :
3016 printf %s "(cached) " >&6
3017 else case e in #(
3018 e) ac_cv_unsupported_fs_chars=
3019 for c in '\\' \" '<' '>' '*' '?' '|'
3020 do
3021 touch "conftest.t${c}t" 2>/dev/null
3022 test -f "conftest.t${c}t" && rm -f "conftest.t${c}t" && continue
3023 # $c cannot be used in a file name.
3024 ac_cv_unsupported_fs_chars=$ac_cv_unsupported_fs_chars$c
3025 done
3026 ;;
3027 esac
3028 fi
3029
3030 if test -n "$ac_cv_unsupported_fs_chars"; then
3031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_unsupported_fs_chars" >&5
3032 printf '%s\n' "$ac_cv_unsupported_fs_chars" >&6; }
3033 else
3034 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
3035 printf '%s\n' "none" >&6; }
3036 fi
3037
3038
3039
3040 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether directories can have trailing spaces" >&5
3041 printf %s "checking whether directories can have trailing spaces... " >&6; }
3042 if test ${ac_cv_dir_trailing_space+y}
3043 then :
3044 printf %s "(cached) " >&6
3045 else case e in #(
3046 e) rm -rf 'conftest.d ' && mkdir 'conftest.d ' && touch 'conftest.d /tfile' 2>/dev/null
3047 stat=$?
3048 rm -rf 'conftest.d '
3049 case $stat$? in #(
3050 00) ac_cv_dir_trailing_space=yes ;; #(
3051 *) ac_cv_dir_trailing_space=no ;;
3052 esac
3053 ;;
3054 esac
3055 fi
3056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dir_trailing_space" >&5
3057 printf '%s\n' "$ac_cv_dir_trailing_space" >&6; }
3058
3059
3060 # Initialize the test suite.
3061 ac_config_commands="$ac_config_commands tests/atconfig"
3062
3063 ac_config_files="$ac_config_files tests/atlocal"
3064
3065 # Extract the first word of "expr", so it can be a program name with args.
3066 set dummy expr; ac_word=$2
3067 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 printf %s "checking for $ac_word... " >&6; }
3069 if test ${ac_cv_path_EXPR+y}
3070 then :
3071 printf %s "(cached) " >&6
3072 else case e in #(
3073 e) case $EXPR in
3074 [\\/]* | ?:[\\/]*)
3075 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
3076 ;;
3077 *)
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3080 do
3081 IFS=$as_save_IFS
3082 case $as_dir in #(((
3083 '') as_dir=./ ;;
3084 */) ;;
3085 *) as_dir=$as_dir/ ;;
3086 esac
3087 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3089 ac_cv_path_EXPR="$as_dir$ac_word$ac_exec_ext"
3090 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3091 break 2
3092 fi
3093 done
3094 done
3095 IFS=$as_save_IFS
3096
3097 ;;
3098 esac ;;
3099 esac
3100 fi
3101 EXPR=$ac_cv_path_EXPR
3102 if test -n "$EXPR"; then
3103 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $EXPR" >&5
3104 printf '%s\n' "$EXPR" >&6; }
3105 else
3106 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 printf '%s\n' "no" >&6; }
3108 fi
3109
3110
3111
3112
3113 ## ---- ##
3114 ## M4. ##
3115 ## ---- ##
3116
3117 # We use an absolute name for GNU m4 so even if users have another m4 first in
3118 # their path, the installer can configure with a path that has GNU m4
3119 # on it and get that path embedded in the installed autoconf and
3120 # autoheader scripts.
3121
3122 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5
3123 printf %s "checking for GNU M4 that supports accurate traces... " >&6; }
3124 if test ${ac_cv_path_M4+y}
3125 then :
3126 printf %s "(cached) " >&6
3127 else case e in #(
3128 e) rm -f conftest.m4f
3129 ac_had_posixly_correct=${POSIXLY_CORRECT:+yes}
3130 { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}
3131 if test -z "$M4"; then
3132 ac_path_M4_found=false
3133 # Loop through the user's path and test for each of PROGNAME-LIST
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3136 do
3137 IFS=$as_save_IFS
3138 case $as_dir in #(((
3139 '') as_dir=./ ;;
3140 */) ;;
3141 *) as_dir=$as_dir/ ;;
3142 esac
3143 for ac_prog in m4 gm4 gnum4
3144 do
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 ac_path_M4="$as_dir$ac_prog$ac_exec_ext"
3147 as_fn_executable_p "$ac_path_M4" || continue
3148 # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F.
3149 # Root out GNU M4 1.4.15 with buggy false negative replacement strstr.
3150 # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy
3151 # false positive strstr.
3152 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
3153 ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
3154 ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
3155 ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)'
3156 # Root out M4 1.4.6 and 1.4.7, which do not implement --debug=aflq
3157 # correctly for macros invoked from m4wrap.
3158 ac_snip2=change'quote(<,>)def''ine(<T>,<>)d'nl
3159 ac_snip2=${ac_snip2}${as_nl}def'ine(<F>,<T(<traced>)>)d'nl
3160 ac_snip2=${ac_snip2}${as_nl}m4'wrap(<F>)d'nl
3161 printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying $ac_path_M4" \
3162 >&5
3163 test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
3164 && test -z "`printf '%s\n' "$ac_snippet" | $ac_path_M4 --trace=mac 2>&1`" \
3165 && test -f conftest.m4f \
3166 && test x"`printf '%s\n' "$ac_snip2" | \
3167 $ac_path_M4 --trace=T --debug=aflq 2>&1`" = \
3168 x'm4trace:stdin:3: -1- T(<traced>)' \
3169 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
3170 rm -f conftest.m4f
3171 $ac_path_M4_found && break 3
3172 done
3173 done
3174 done
3175 IFS=$as_save_IFS
3176 if test -z "$ac_cv_path_M4"; then
3177 as_fn_error $? "no acceptable m4 could be found in \$PATH.
3178 GNU M4 1.4.8 or later is required; 1.4.16 or newer is recommended.
3179 GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
3180 Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug." "$LINENO" 5
3181 fi
3182 else
3183 ac_cv_path_M4=$M4
3184 fi
3185 ;;
3186 esac
3187 fi
3188 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5
3189 printf '%s\n' "$ac_cv_path_M4" >&6; }
3190 M4=$ac_cv_path_M4
3191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_path_M4 accepts --gnu" >&5
3192 printf %s "checking whether $ac_cv_path_M4 accepts --gnu... " >&6; }
3193 if test ${ac_cv_prog_gnu_m4_gnu+y}
3194 then :
3195 printf %s "(cached) " >&6
3196 else case e in #(
3197 e) case `$M4 --help < /dev/null 2>&1` in
3198 *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;;
3199 *) ac_cv_prog_gnu_m4_gnu=no ;;
3200 esac ;;
3201 esac
3202 fi
3203 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_gnu" >&5
3204 printf '%s\n' "$ac_cv_prog_gnu_m4_gnu" >&6; }
3205 if test "$ac_cv_prog_gnu_m4_gnu" = yes; then
3206 M4_GNU=--gnu
3207 else
3208 M4_GNU=
3209 fi
3210
3211 if test x$ac_had_posixly_correct = xyes; then
3212 POSIXLY_CORRECT=:
3213 if test $ac_cv_prog_gnu_m4_gnu = no; then
3214 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5
3215 printf '%s\n' "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;}
3216 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&5
3217 printf '%s\n' "$as_me: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&2;}
3218 fi
3219 fi
3220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5
3221 printf %s "checking how m4 supports trace files... " >&6; }
3222 if test ${ac_cv_prog_gnu_m4_debugfile+y}
3223 then :
3224 printf %s "(cached) " >&6
3225 else case e in #(
3226 e) case `$M4 --help < /dev/null 2>&1` in
3227 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
3228 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
3229 esac ;;
3230 esac
3231 fi
3232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_debugfile" >&5
3233 printf '%s\n' "$ac_cv_prog_gnu_m4_debugfile" >&6; }
3234 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
3235
3236
3237
3238 ## ----------- ##
3239 ## Man pages. ##
3240 ## ----------- ##
3241
3242
3243 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
3244
3245
3246
3247 ## ------ ##
3248 ## Perl. ##
3249 ## ------ ##
3250
3251 # We use an absolute name for perl so the #! line in autoscan will work.
3252 # Extract the first word of "perl", so it can be a program name with args.
3253 set dummy perl; ac_word=$2
3254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 printf %s "checking for $ac_word... " >&6; }
3256 if test ${ac_cv_path_PERL+y}
3257 then :
3258 printf %s "(cached) " >&6
3259 else case e in #(
3260 e) case $PERL in
3261 [\\/]* | ?:[\\/]*)
3262 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
3263 ;;
3264 *)
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268 IFS=$as_save_IFS
3269 case $as_dir in #(((
3270 '') as_dir=./ ;;
3271 */) ;;
3272 *) as_dir=$as_dir/ ;;
3273 esac
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3276 ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
3277 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3278 break 2
3279 fi
3280 done
3281 done
3282 IFS=$as_save_IFS
3283
3284 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
3285 ;;
3286 esac ;;
3287 esac
3288 fi
3289 PERL=$ac_cv_path_PERL
3290 if test -n "$PERL"; then
3291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
3292 printf '%s\n' "$PERL" >&6; }
3293 else
3294 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 printf '%s\n' "no" >&6; }
3296 fi
3297
3298
3299 if test "$PERL" = no; then
3300 as_fn_error $? "perl is not found" "$LINENO" 5
3301 fi
3302 $PERL -e 'require 5.006;' || {
3303 as_fn_error $? "Perl 5.006 or better is required" "$LINENO" 5
3304 }
3305
3306 # Find out whether the system supports flock
3307 # Note this test does not try to find out whether it works with this
3308 # particular file system. It merely avoids us running flock on systems
3309 # where that bails out.
3310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $PERL Fcntl::flock is implemented" >&5
3311 printf %s "checking whether $PERL Fcntl::flock is implemented... " >&6; }
3312 if test ${ac_cv_perl_flock_implemented+y}
3313 then :
3314 printf %s "(cached) " >&6
3315 else case e in #(
3316 e) echo lock me > conftest.fil
3317 if $PERL -e 'use Fcntl ":flock"; flock("conftest.fil", LOCK_EX); 1;'; then
3318 ac_cv_perl_flock_implemented=yes
3319 else
3320 ac_cv_perl_flock_implemented=no
3321 fi
3322 rm -f conftest.fil
3323 ;;
3324 esac
3325 fi
3326 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_perl_flock_implemented" >&5
3327 printf '%s\n' "$ac_cv_perl_flock_implemented" >&6; }
3328 PERL_FLOCK=$ac_cv_perl_flock_implemented
3329
3330
3331
3332 ## ------- ##
3333 ## Emacs. ##
3334 ## ------- ##
3335
3336 TEST_EMACS=$EMACS
3337 test x"$TEST_EMACS" = xt && TEST_EMACS=
3338 for ac_prog in emacs xemacs
3339 do
3340 # Extract the first word of "$ac_prog", so it can be a program name with args.
3341 set dummy $ac_prog; ac_word=$2
3342 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 printf %s "checking for $ac_word... " >&6; }
3344 if test ${ac_cv_prog_TEST_EMACS+y}
3345 then :
3346 printf %s "(cached) " >&6
3347 else case e in #(
3348 e) if test -n "$TEST_EMACS"; then
3349 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354 IFS=$as_save_IFS
3355 case $as_dir in #(((
3356 '') as_dir=./ ;;
3357 */) ;;
3358 *) as_dir=$as_dir/ ;;
3359 esac
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3362 ac_cv_prog_TEST_EMACS="$ac_prog"
3363 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3364 break 2
3365 fi
3366 done
3367 done
3368 IFS=$as_save_IFS
3369
3370 fi ;;
3371 esac
3372 fi
3373 TEST_EMACS=$ac_cv_prog_TEST_EMACS
3374 if test -n "$TEST_EMACS"; then
3375 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $TEST_EMACS" >&5
3376 printf '%s\n' "$TEST_EMACS" >&6; }
3377 else
3378 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379 printf '%s\n' "no" >&6; }
3380 fi
3381
3382
3383 test -n "$TEST_EMACS" && break
3384 done
3385 test -n "$TEST_EMACS" || TEST_EMACS="no"
3386
3387
3388 # autoconf-mode.el and autotest-mode.el do not work with older version of
3389 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
3390 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
3391 # We detect this problem here.
3392 if test "$TEST_EMACS" != no
3393 then :
3394 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $TEST_EMACS is sufficiently recent" >&5
3395 printf %s "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
3396 if test ${ac_cv_prog_emacs_ok+y}
3397 then :
3398 printf %s "(cached) " >&6
3399 else case e in #(
3400 e) # Note: The quoted "EOF" is intentional. It protects the ` in the text.
3401 cat >conftest.el << "EOF"
3402 (defvar broken)
3403 (defun broken-mode () (setq broken-defaults `(broken nil)))
3404 EOF
3405 if { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2"; } >&5
3406 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
3407 ac_status=$?
3408 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }
3410 then :
3411 ac_cv_prog_emacs_ok=yes
3412 else case e in #(
3413 e) ac_cv_prog_emacs_ok=no ;;
3414 esac
3415 fi
3416 rm -f conftest.el conftest.elc ;;
3417 esac
3418 fi
3419 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_emacs_ok" >&5
3420 printf '%s\n' "$ac_cv_prog_emacs_ok" >&6; }
3421 if test $ac_cv_prog_emacs_ok = no
3422 then :
3423 TEST_EMACS=no
3424 fi
3425 fi
3426
3427 EMACS=$TEST_EMACS
3428
3429
3430 # If set to t, that means we are running in a shell under Emacs.
3431 # If you have an Emacs named "t", then use the full path.
3432 test x"$EMACS" = xt && EMACS=
3433 for ac_prog in emacs xemacs
3434 do
3435 # Extract the first word of "$ac_prog", so it can be a program name with args.
3436 set dummy $ac_prog; ac_word=$2
3437 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 printf %s "checking for $ac_word... " >&6; }
3439 if test ${ac_cv_prog_EMACS+y}
3440 then :
3441 printf %s "(cached) " >&6
3442 else case e in #(
3443 e) if test -n "$EMACS"; then
3444 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
3445 else
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 for as_dir in $PATH
3448 do
3449 IFS=$as_save_IFS
3450 case $as_dir in #(((
3451 '') as_dir=./ ;;
3452 */) ;;
3453 *) as_dir=$as_dir/ ;;
3454 esac
3455 for ac_exec_ext in '' $ac_executable_extensions; do
3456 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3457 ac_cv_prog_EMACS="$ac_prog"
3458 printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3459 break 2
3460 fi
3461 done
3462 done
3463 IFS=$as_save_IFS
3464
3465 fi ;;
3466 esac
3467 fi
3468 EMACS=$ac_cv_prog_EMACS
3469 if test -n "$EMACS"; then
3470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
3471 printf '%s\n' "$EMACS" >&6; }
3472 else
3473 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 printf '%s\n' "no" >&6; }
3475 fi
3476
3477
3478 test -n "$EMACS" && break
3479 done
3480 test -n "$EMACS" || EMACS="no"
3481
3482
3483
3484
3485 # Check whether --with-lispdir was given.
3486 if test ${with_lispdir+y}
3487 then :
3488 withval=$with_lispdir; lispdir="$withval"
3489 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
3490 printf %s "checking where .elc files should go... " >&6; }
3491 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
3492 printf '%s\n' "$lispdir" >&6; }
3493 else case e in #(
3494 e)
3495 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
3496 printf %s "checking where .elc files should go... " >&6; }
3497 if test ${am_cv_lispdir+y}
3498 then :
3499 printf %s "(cached) " >&6
3500 else case e in #(
3501 e)
3502 if test $EMACS != "no"; then
3503 if test x${lispdir+set} != xset; then
3504 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
3505 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
3506 # which is non-obvious for non-emacs users.
3507 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
3508 # emacsen earlier and avoid running this altogether.
3509 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -no-site-file -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
3510 ($EMACS -batch -no-site-file -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
3511 ac_status=$?
3512 printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513 test $ac_status = 0; }
3514 am_cv_lispdir=`sed -n \
3515 -e 's,/$,,' \
3516 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
3517 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
3518 conftest.out`
3519 rm conftest.out
3520 fi
3521 fi
3522 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
3523 ;;
3524 esac
3525 fi
3526 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
3527 printf '%s\n' "$am_cv_lispdir" >&6; }
3528 lispdir="$am_cv_lispdir"
3529 ;;
3530 esac
3531 fi
3532
3533
3534
3535
3536
3537 ## ---------------- ##
3538 ## Grep, sed, awk. ##
3539 ## ---------------- ##
3540 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3541 printf %s "checking for grep that handles long lines and -e... " >&6; }
3542 if test ${ac_cv_path_GREP+y}
3543 then :
3544 printf %s "(cached) " >&6
3545 else case e in #(
3546 e) if test -z "$GREP"; then
3547 ac_path_GREP_found=false
3548 # Loop through the user's path and test for each of PROGNAME-LIST
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3551 do
3552 IFS=$as_save_IFS
3553 case $as_dir in #(((
3554 '') as_dir=./ ;;
3555 */) ;;
3556 *) as_dir=$as_dir/ ;;
3557 esac
3558 for ac_prog in grep ggrep
3559 do
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
3562 as_fn_executable_p "$ac_path_GREP" || continue
3563 # Check for GNU ac_path_GREP and select it if it is found.
3564 # Check for GNU $ac_path_GREP
3565 case `"$ac_path_GREP" --version 2>&1` in #(
3566 *GNU*)
3567 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3568 #(
3569 *)
3570 ac_count=0
3571 printf %s 0123456789 >"conftest.in"
3572 while :
3573 do
3574 cat "conftest.in" "conftest.in" >"conftest.tmp"
3575 mv "conftest.tmp" "conftest.in"
3576 cp "conftest.in" "conftest.nl"
3577 printf '%s\n' 'GREP' >> "conftest.nl"
3578 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3579 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3580 as_fn_arith $ac_count + 1 && ac_count=$as_val
3581 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3582 # Best one so far, save it but keep looking for a better one
3583 ac_cv_path_GREP="$ac_path_GREP"
3584 ac_path_GREP_max=$ac_count
3585 fi
3586 # 10*(2^10) chars as input seems more than enough
3587 test $ac_count -gt 10 && break
3588 done
3589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3590 esac
3591
3592 $ac_path_GREP_found && break 3
3593 done
3594 done
3595 done
3596 IFS=$as_save_IFS
3597 if test -z "$ac_cv_path_GREP"; then
3598 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3599 fi
3600 else
3601 ac_cv_path_GREP=$GREP
3602 fi
3603 ;;
3604 esac
3605 fi
3606 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3607 printf '%s\n' "$ac_cv_path_GREP" >&6; }
3608 GREP="$ac_cv_path_GREP"
3609
3610
3611 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3612 printf %s "checking for egrep... " >&6; }
3613 if test ${ac_cv_path_EGREP+y}
3614 then :
3615 printf %s "(cached) " >&6
3616 else case e in #(
3617 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3618 then ac_cv_path_EGREP="$GREP -E"
3619 else
3620 if test -z "$EGREP"; then
3621 ac_path_EGREP_found=false
3622 # Loop through the user's path and test for each of PROGNAME-LIST
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3625 do
3626 IFS=$as_save_IFS
3627 case $as_dir in #(((
3628 '') as_dir=./ ;;
3629 */) ;;
3630 *) as_dir=$as_dir/ ;;
3631 esac
3632 for ac_prog in egrep
3633 do
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
3636 as_fn_executable_p "$ac_path_EGREP" || continue
3637 # Check for GNU ac_path_EGREP and select it if it is found.
3638 # Check for GNU $ac_path_EGREP
3639 case `"$ac_path_EGREP" --version 2>&1` in #(
3640 *GNU*)
3641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3642 #(
3643 *)
3644 ac_count=0
3645 printf %s 0123456789 >"conftest.in"
3646 while :
3647 do
3648 cat "conftest.in" "conftest.in" >"conftest.tmp"
3649 mv "conftest.tmp" "conftest.in"
3650 cp "conftest.in" "conftest.nl"
3651 printf '%s\n' 'EGREP' >> "conftest.nl"
3652 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3654 as_fn_arith $ac_count + 1 && ac_count=$as_val
3655 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3656 # Best one so far, save it but keep looking for a better one
3657 ac_cv_path_EGREP="$ac_path_EGREP"
3658 ac_path_EGREP_max=$ac_count
3659 fi
3660 # 10*(2^10) chars as input seems more than enough
3661 test $ac_count -gt 10 && break
3662 done
3663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3664 esac
3665
3666 $ac_path_EGREP_found && break 3
3667 done
3668 done
3669 done
3670 IFS=$as_save_IFS
3671 if test -z "$ac_cv_path_EGREP"; then
3672 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3673 fi
3674 else
3675 ac_cv_path_EGREP=$EGREP
3676 fi
3677
3678 fi ;;
3679 esac
3680 fi
3681 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3682 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
3683 EGREP="$ac_cv_path_EGREP"
3684
3685 EGREP_TRADITIONAL=$EGREP
3686 ac_cv_path_EGREP_TRADITIONAL=$EGREP
3687
3688 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3689 printf %s "checking for a sed that does not truncate output... " >&6; }
3690 if test ${ac_cv_path_SED+y}
3691 then :
3692 printf %s "(cached) " >&6
3693 else case e in #(
3694 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3695 for ac_i in 1 2 3 4 5 6 7; do
3696 ac_script="$ac_script$as_nl$ac_script"
3697 done
3698 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3699 { ac_script=; unset ac_script;}
3700 if test -z "$SED"; then
3701 ac_path_SED_found=false
3702 # Loop through the user's path and test for each of PROGNAME-LIST
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706 IFS=$as_save_IFS
3707 case $as_dir in #(((
3708 '') as_dir=./ ;;
3709 */) ;;
3710 *) as_dir=$as_dir/ ;;
3711 esac
3712 for ac_prog in sed gsed
3713 do
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
3716 as_fn_executable_p "$ac_path_SED" || continue
3717 # Check for GNU ac_path_SED and select it if it is found.
3718 # Check for GNU $ac_path_SED
3719 case `"$ac_path_SED" --version 2>&1` in #(
3720 *GNU*)
3721 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3722 #(
3723 *)
3724 ac_count=0
3725 printf %s 0123456789 >"conftest.in"
3726 while :
3727 do
3728 cat "conftest.in" "conftest.in" >"conftest.tmp"
3729 mv "conftest.tmp" "conftest.in"
3730 cp "conftest.in" "conftest.nl"
3731 printf '%s\n' '' >> "conftest.nl"
3732 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3733 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3734 as_fn_arith $ac_count + 1 && ac_count=$as_val
3735 if test $ac_count -gt ${ac_path_SED_max-0}; then
3736 # Best one so far, save it but keep looking for a better one
3737 ac_cv_path_SED="$ac_path_SED"
3738 ac_path_SED_max=$ac_count
3739 fi
3740 # 10*(2^10) chars as input seems more than enough
3741 test $ac_count -gt 10 && break
3742 done
3743 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3744 esac
3745
3746 $ac_path_SED_found && break 3
3747 done
3748 done
3749 done
3750 IFS=$as_save_IFS
3751 if test -z "$ac_cv_path_SED"; then
3752 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3753 fi
3754 else
3755 ac_cv_path_SED=$SED
3756 fi
3757 ;;
3758 esac
3759 fi
3760 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3761 printf '%s\n' "$ac_cv_path_SED" >&6; }
3762 SED="$ac_cv_path_SED"
3763 rm -f conftest.sed
3764
3765 # AC_PROG_AWK should have already been performed by AM_INIT_AUTOMAKE.
3766 # AC_REQUIRE([AC_PROG_AWK]) doesn't work outside of an AC_DEFUN.
3767
3768
3769
3770 ## ----- ##
3771 ## Make. ##
3772 ## ----- ##
3773 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} is case sensitive" >&5
3774 printf %s "checking whether ${MAKE-make} is case sensitive... " >&6; }
3775 if eval test \${ac_cv_prog_make_${ac_make}_case+y}
3776 then :
3777 printf %s "(cached) " >&6
3778 else case e in #(
3779 e) echo all: >conftest.make
3780 if ${MAKE-make} -f conftest.make ALL >/dev/null 2>&1; then
3781 ac_res=no
3782 else
3783 ac_res=yes
3784 fi
3785 eval ac_cv_prog_make_${ac_make}_case=$ac_res
3786 rm -f conftest.make ;;
3787 esac
3788 fi
3789 eval ac_res=\$ac_cv_prog_make_${ac_make}_case
3790 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3791 printf '%s\n' "$ac_res" >&6; }
3792 if eval test \$ac_cv_prog_make_${ac_make}_case = yes; then
3793 MAKE_CASE_SENSITIVE_TRUE=
3794 MAKE_CASE_SENSITIVE_FALSE='#'
3795 else
3796 MAKE_CASE_SENSITIVE_TRUE='#'
3797 MAKE_CASE_SENSITIVE_FALSE=
3798 fi
3799
3800
3801
3802
3803 ## ------------ ##
3804 ## Conclusion. ##
3805 ## ------------ ##
3806
3807 ac_config_links="$ac_config_links GNUmakefile:GNUmakefile"
3808
3809
3810 ac_config_files="$ac_config_files Makefile"
3811
3812 ac_config_files="$ac_config_files lib/autoconf_version.m4:lib/autoconf_version.in"
3813
3814
3815 cat >confcache <<\_ACEOF
3816 # This file is a shell script that caches the results of configure
3817 # tests run on this system so they can be shared between configure
3818 # scripts and configure runs, see configure's option --config-cache.
3819 # It is not useful on other systems. If it contains results you don't
3820 # want to keep, you may remove or edit it.
3821 #
3822 # config.status only pays attention to the cache file if you give it
3823 # the --recheck option to rerun configure.
3824 #
3825 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
3826 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
3827 # following values.
3828
3829 _ACEOF
3830
3831 ac_cache_dump |
3832 sed '
3833 /^ac_cv_env_/b end
3834 t clear
3835 :clear
3836 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3837 t end
3838 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3839 :end' >>confcache
3840 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3841 if test -w "$cache_file"; then
3842 if test "x$cache_file" != "x/dev/null"; then
3843 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3844 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
3845 if test ! -f "$cache_file" || test -h "$cache_file"; then
3846 cat confcache >"$cache_file"
3847 else
3848 case $cache_file in #(
3849 */* | ?:*)
3850 mv -f confcache "$cache_file"$$ &&
3851 mv -f "$cache_file"$$ "$cache_file" ;; #(
3852 *)
3853 mv -f confcache "$cache_file" ;;
3854 esac
3855 fi
3856 fi
3857 else
3858 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3859 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
3860 fi
3861 fi
3862 rm -f confcache
3863
3864 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3865 # Let make expand exec_prefix.
3866 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3867
3868 # Transform confdefs.h into DEFS.
3869 # Protect against shell expansion while executing Makefile rules.
3870 # Protect against Makefile macro expansion.
3871 #
3872 # If the first sed substitution is executed (which looks for macros that
3873 # take arguments), then branch to the quote section. Otherwise,
3874 # look for a macro that doesn't take arguments.
3875 ac_script='
3876 :mline
3877 /\\$/{
3878 N
3879 s,\\\n,,
3880 b mline
3881 }
3882 t clear
3883 :clear
3884 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3885 t quote
3886 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3887 t quote
3888 b any
3889 :quote
3890 s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3891 s/\$/$$/g
3892 H
3893 :any
3894 ${
3895 g
3896 s/^\n//
3897 s/\n/ /g
3898 p
3899 }
3900 '
3901 DEFS=`sed -n "$ac_script" confdefs.h`
3902
3903
3904 ac_libobjs=
3905 ac_ltlibobjs=
3906 U=
3907 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3908 # 1. Remove the extension, and $U if already installed.
3909 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3910 ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
3911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3912 # will be set to the directory where LIBOBJS objects are built.
3913 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3914 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3915 done
3916 LIBOBJS=$ac_libobjs
3917
3918 LTLIBOBJS=$ac_ltlibobjs
3919
3920
3921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3922 printf %s "checking that generated files are newer than configure... " >&6; }
3923 if test -n "$am_sleep_pid"; then
3924 # Hide warnings about reused PIDs.
3925 wait $am_sleep_pid 2>/dev/null
3926 fi
3927 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
3928 printf '%s\n' "done" >&6; }
3929 case $enable_silent_rules in # (((
3930 yes) AM_DEFAULT_VERBOSITY=0;;
3931 no) AM_DEFAULT_VERBOSITY=1;;
3932 esac
3933 if test $am_cv_make_support_nested_variables = yes; then
3934 AM_V='$(V)'
3935 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3936 else
3937 AM_V=$AM_DEFAULT_VERBOSITY
3938 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3939 fi
3940
3941
3942 if test -z "${MAKE_CASE_SENSITIVE_TRUE}" && test -z "${MAKE_CASE_SENSITIVE_FALSE}"; then
3943 as_fn_error $? "conditional \"MAKE_CASE_SENSITIVE\" was never defined.
3944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3945 fi
3946
3947 : "${CONFIG_STATUS=./config.status}"
3948 case $CONFIG_STATUS in #(
3949 -*) :
3950 CONFIG_STATUS=./$CONFIG_STATUS ;; #(
3951 */*) :
3952 ;; #(
3953 *) :
3954 CONFIG_STATUS=./$CONFIG_STATUS ;;
3955 esac
3956
3957 ac_write_fail=0
3958 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
3959 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3960 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
3961 as_write_fail=0
3962 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
3963 #! $SHELL
3964 # Generated by $as_me.
3965 # Run this file to recreate the current configuration.
3966 # Compiler output produced by configure, useful for debugging
3967 # configure, is in config.log if it exists.
3968
3969 debug=false
3970 ac_cs_recheck=false
3971 ac_cs_silent=false
3972
3973 SHELL=\${CONFIG_SHELL-$SHELL}
3974 export SHELL
3975 _ASEOF
3976 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
3977 ## -------------------- ##
3978 ## M4sh Initialization. ##
3979 ## -------------------- ##
3980
3981 # Be more Bourne compatible
3982 DUALCASE=1; export DUALCASE # for MKS sh
3983 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3984 then :
3985 emulate sh
3986 NULLCMD=:
3987 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3988 # contradicts POSIX and common usage. Disable this.
3989 alias -g '${1+"$@"}'='"$@"'
3990 setopt NO_GLOB_SUBST
3991 else case e in #(
3992 e) case `(set -o) 2>/dev/null` in #(
3993 *posix*) :
3994 set -o posix ;; #(
3995 *) :
3996 ;;
3997 esac ;;
3998 esac
3999 fi
4000
4001
4002
4003 # Reset variables that may have inherited troublesome values from
4004 # the environment.
4005
4006 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4007 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4008 # side effect of setting IFS to empty, thus disabling word splitting.)
4009 # Quoting is to prevent editors from complaining about space-tab.
4010 as_nl='
4011 '
4012 export as_nl
4013 IFS=" "" $as_nl"
4014
4015 PS1='$ '
4016 PS2='> '
4017 PS4='+ '
4018
4019 # Ensure predictable behavior from utilities with locale-dependent output.
4020 LC_ALL=C
4021 export LC_ALL
4022 LANGUAGE=C
4023 export LANGUAGE
4024
4025 # We cannot yet rely on "unset" to work, but we need these variables
4026 # to be unset--not just set to an empty or harmless value--now, to
4027 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4028 # also avoids known problems related to "unset" and subshell syntax
4029 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4030 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4031 do eval test \${$as_var+y} \
4032 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4033 done
4034
4035 # Ensure that fds 0, 1, and 2 are open.
4036 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4037 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4038 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4039
4040 # The user is always right.
4041 if ${PATH_SEPARATOR+false} :; then
4042 PATH_SEPARATOR=:
4043 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4044 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4045 PATH_SEPARATOR=';'
4046 }
4047 fi
4048
4049
4050 # Find who we are. Look in the path if we contain no directory separator.
4051 as_myself=
4052 case $0 in #((
4053 *[\\/]* ) as_myself=$0 ;;
4054 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055 for as_dir in $PATH
4056 do
4057 IFS=$as_save_IFS
4058 case $as_dir in #(((
4059 '') as_dir=./ ;;
4060 */) ;;
4061 *) as_dir=$as_dir/ ;;
4062 esac
4063 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4064 done
4065 IFS=$as_save_IFS
4066
4067 ;;
4068 esac
4069 # We did not find ourselves, most probably we were run as 'sh COMMAND'
4070 # in which case we are not to be found in the path.
4071 if test "x$as_myself" = x; then
4072 as_myself=$0
4073 fi
4074 if test ! -f "$as_myself"; then
4075 printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4076 exit 1
4077 fi
4078
4079
4080
4081 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4082 # ----------------------------------------
4083 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4084 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4085 # script with STATUS, using 1 if that was 0.
4086 as_fn_error ()
4087 {
4088 as_status=$1; test $as_status -eq 0 && as_status=1
4089 if test "$4"; then
4090 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4091 printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4092 fi
4093 printf '%s\n' "$as_me: error: $2" >&2
4094 as_fn_exit $as_status
4095 } # as_fn_error
4096
4097
4098 # as_fn_set_status STATUS
4099 # -----------------------
4100 # Set $? to STATUS, without forking.
4101 as_fn_set_status ()
4102 {
4103 return $1
4104 } # as_fn_set_status
4105
4106 # as_fn_exit STATUS
4107 # -----------------
4108 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4109 as_fn_exit ()
4110 {
4111 set +e
4112 as_fn_set_status $1
4113 exit $1
4114 } # as_fn_exit
4115
4116 # as_fn_unset VAR
4117 # ---------------
4118 # Portably unset VAR.
4119 as_fn_unset ()
4120 {
4121 { eval $1=; unset $1;}
4122 }
4123 as_unset=as_fn_unset
4124
4125 # as_fn_append VAR VALUE
4126 # ----------------------
4127 # Append the text in VALUE to the end of the definition contained in VAR. Take
4128 # advantage of any shell optimizations that allow amortized linear growth over
4129 # repeated appends, instead of the typical quadratic growth present in naive
4130 # implementations.
4131 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4132 then :
4133 eval 'as_fn_append ()
4134 {
4135 eval $1+=\$2
4136 }'
4137 else case e in #(
4138 e) as_fn_append ()
4139 {
4140 eval $1=\$$1\$2
4141 } ;;
4142 esac
4143 fi # as_fn_append
4144
4145 # as_fn_arith ARG...
4146 # ------------------
4147 # Perform arithmetic evaluation on the ARGs, and store the result in the
4148 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4149 # must be portable across $(()) and expr.
4150 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4151 then :
4152 eval 'as_fn_arith ()
4153 {
4154 as_val=$(( $* ))
4155 }'
4156 else case e in #(
4157 e) as_fn_arith ()
4158 {
4159 as_val=`expr "$@" || test $? -eq 1`
4160 } ;;
4161 esac
4162 fi # as_fn_arith
4163
4164
4165 if expr a : '\(a\)' >/dev/null 2>&1 &&
4166 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4167 as_expr=expr
4168 else
4169 as_expr=false
4170 fi
4171
4172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4173 as_basename=basename
4174 else
4175 as_basename=false
4176 fi
4177
4178 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4179 as_dirname=dirname
4180 else
4181 as_dirname=false
4182 fi
4183
4184 as_me=`$as_basename -- "$0" ||
4185 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4186 X"$0" : 'X\(//\)$' \| \
4187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4188 printf '%s\n' X/"$0" |
4189 sed '/^.*\/\([^/][^/]*\)\/*$/{
4190 s//\1/
4191 q
4192 }
4193 /^X\/\(\/\/\)$/{
4194 s//\1/
4195 q
4196 }
4197 /^X\/\(\/\).*/{
4198 s//\1/
4199 q
4200 }
4201 s/.*/./; q'`
4202
4203 # Avoid depending upon Character Ranges.
4204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4207 as_cr_digits='0123456789'
4208 as_cr_alnum=$as_cr_Letters$as_cr_digits
4209
4210 rm -f conf$$ conf$$.exe conf$$.file
4211 if test -d conf$$.dir; then
4212 rm -f conf$$.dir/conf$$.file
4213 else
4214 rm -f conf$$.dir
4215 mkdir conf$$.dir 2>/dev/null
4216 fi
4217 if (echo >conf$$.file) 2>/dev/null; then
4218 if ln -s conf$$.file conf$$ 2>/dev/null; then
4219 as_ln_s='ln -s'
4220 # ... but there are two gotchas:
4221 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
4222 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
4223 # In both cases, we have to default to 'cp -pR'.
4224 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4225 as_ln_s='cp -pR'
4226 elif ln conf$$.file conf$$ 2>/dev/null; then
4227 as_ln_s=ln
4228 else
4229 as_ln_s='cp -pR'
4230 fi
4231 else
4232 as_ln_s='cp -pR'
4233 fi
4234 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4235 rmdir conf$$.dir 2>/dev/null
4236
4237
4238 # as_fn_mkdir_p
4239 # -------------
4240 # Create "$as_dir" as a directory, including parents if necessary.
4241 as_fn_mkdir_p ()
4242 {
4243
4244 case $as_dir in #(
4245 -*) as_dir=./$as_dir;;
4246 esac
4247 test -d "$as_dir" || eval $as_mkdir_p || {
4248 as_dirs=
4249 while :; do
4250 case $as_dir in #(
4251 *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4252 *) as_qdir=$as_dir;;
4253 esac
4254 as_dirs="'$as_qdir' $as_dirs"
4255 as_dir=`$as_dirname -- "$as_dir" ||
4256 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4257 X"$as_dir" : 'X\(//\)[^/]' \| \
4258 X"$as_dir" : 'X\(//\)$' \| \
4259 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4260 printf '%s\n' X"$as_dir" |
4261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4262 s//\1/
4263 q
4264 }
4265 /^X\(\/\/\)[^/].*/{
4266 s//\1/
4267 q
4268 }
4269 /^X\(\/\/\)$/{
4270 s//\1/
4271 q
4272 }
4273 /^X\(\/\).*/{
4274 s//\1/
4275 q
4276 }
4277 s/.*/./; q'`
4278 test -d "$as_dir" && break
4279 done
4280 test -z "$as_dirs" || eval "mkdir $as_dirs"
4281 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4282
4283
4284 } # as_fn_mkdir_p
4285 if mkdir -p . 2>/dev/null; then
4286 as_mkdir_p='mkdir -p "$as_dir"'
4287 else
4288 test -d ./-p && rmdir ./-p
4289 as_mkdir_p=false
4290 fi
4291
4292
4293 # as_fn_executable_p FILE
4294 # -----------------------
4295 # Test if FILE is an executable regular file.
4296 as_fn_executable_p ()
4297 {
4298 test -f "$1" && test -x "$1"
4299 } # as_fn_executable_p
4300 as_test_x='test -x'
4301 as_executable_p=as_fn_executable_p
4302
4303 # Sed expression to map a string onto a valid CPP name.
4304 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4305 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
4306
4307 # Sed expression to map a string onto a valid variable name.
4308 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4309 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
4310
4311
4312 exec 6>&1
4313 ## ------------------------------------- ##
4314 ## Main body of "$CONFIG_STATUS" script. ##
4315 ## ------------------------------------- ##
4316 _ASEOF
4317 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
4318
4319 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4320 # Save the log message, to keep $0 and so on meaningful, and to
4321 # report actual input values of CONFIG_FILES etc. instead of their
4322 # values after options handling.
4323 ac_log="
4324 This file was extended by GNU Autoconf $as_me 2.73, which was
4325 generated by GNU Autoconf 2.73. Invocation command line was
4326
4327 CONFIG_FILES = $CONFIG_FILES
4328 CONFIG_HEADERS = $CONFIG_HEADERS
4329 CONFIG_LINKS = $CONFIG_LINKS
4330 CONFIG_COMMANDS = $CONFIG_COMMANDS
4331 $ $0 $@
4332
4333 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4334 "
4335
4336 _ACEOF
4337
4338 case $ac_config_files in *"
4339 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4340 esac
4341
4342
4343
4344 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4345 # Files that config.status was made for.
4346 config_files="$ac_config_files"
4347 config_links="$ac_config_links"
4348 config_commands="$ac_config_commands"
4349
4350 _ACEOF
4351
4352 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4353 ac_cs_usage="\
4354 '$as_me' instantiates files and other configuration actions
4355 from templates according to the current configuration. Unless the files
4356 and actions are specified as TAGs, all are instantiated by default.
4357
4358 Usage: $0 [OPTION]... [TAG]...
4359
4360 -h, --help print this help, then exit
4361 -V, --version print version number and configuration settings, then exit
4362 --config print configuration, then exit
4363 -q, --quiet, --silent
4364 do not print progress messages
4365 -d, --debug don't remove temporary files
4366 --recheck update $as_me by reconfiguring in the same conditions
4367 --file=FILE[:TEMPLATE]
4368 instantiate the configuration file FILE
4369
4370 Configuration files:
4371 $config_files
4372
4373 Configuration links:
4374 $config_links
4375
4376 Configuration commands:
4377 $config_commands
4378
4379 Report bugs to <[email protected]>.
4380 GNU Autoconf home page: <https://www.gnu.org/software/autoconf/>.
4381 General help using GNU software: <https://www.gnu.org/gethelp/>."
4382
4383 _ACEOF
4384 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
4385 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4386 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4387 ac_cs_config='$ac_cs_config_escaped'
4388 ac_cs_version="\\
4389 GNU Autoconf config.status 2.73
4390 configured by $0, generated by GNU Autoconf 2.73,
4391 with options \\"\$ac_cs_config\\"
4392
4393 Copyright (C) 2026 Free Software Foundation, Inc.
4394 This config.status script is free software; the Free Software Foundation
4395 gives unlimited permission to copy, distribute and modify it."
4396
4397 ac_pwd='$ac_pwd'
4398 srcdir='$srcdir'
4399 INSTALL='$INSTALL'
4400 MKDIR_P='$MKDIR_P'
4401 AWK='$AWK'
4402 test -n "\$AWK" || {
4403 awk '' </dev/null ||
4404 as_fn_error \$? "try installing gawk"
4405 AWK=awk
4406 }
4407 _ACEOF
4408
4409 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4410 # The default lists apply if the user does not specify any file.
4411 ac_need_defaults=:
4412 while test $# != 0
4413 do
4414 case $1 in
4415 --*=?*)
4416 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4417 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4418 ac_shift=:
4419 ;;
4420 --*=)
4421 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4422 ac_optarg=
4423 ac_shift=:
4424 ;;
4425 *)
4426 ac_option=$1
4427 ac_optarg=$2
4428 ac_shift=shift
4429 ;;
4430 esac
4431
4432 case $ac_option in
4433 # Handling of the options.
4434 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4435 ac_cs_recheck=: ;;
4436 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4437 printf '%s\n' "$ac_cs_version"; exit ;;
4438 --config | --confi | --conf | --con | --co | --c )
4439 printf '%s\n' "$ac_cs_config"; exit ;;
4440 --debug | --debu | --deb | --de | --d | -d )
4441 debug=: ;;
4442 --file | --fil | --fi | --f )
4443 $ac_shift
4444 case $ac_optarg in
4445 *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4446 '') as_fn_error $? "missing file argument" ;;
4447 esac
4448 as_fn_append CONFIG_FILES " '$ac_optarg'"
4449 ac_need_defaults=false;;
4450 --he | --h | --help | --hel | -h )
4451 printf '%s\n' "$ac_cs_usage"; exit ;;
4452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4453 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4454 ac_cs_silent=: ;;
4455
4456 # This is an error.
4457 -*) as_fn_error $? "unrecognized option: '$1'
4458 Try '$0 --help' for more information." ;;
4459
4460 *) as_fn_append ac_config_targets " $1"
4461 ac_need_defaults=false ;;
4462
4463 esac
4464 shift
4465 done
4466
4467 ac_configure_extra_args=
4468
4469 if $ac_cs_silent; then
4470 exec 6>/dev/null
4471 ac_configure_extra_args="$ac_configure_extra_args --silent"
4472 fi
4473
4474 _ACEOF
4475 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4476 if \$ac_cs_recheck; then
4477 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4478 shift
4479 \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
4480 CONFIG_SHELL='$SHELL'
4481 export CONFIG_SHELL
4482 exec "\$@"
4483 fi
4484
4485 _ACEOF
4486 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4487 exec 5>>config.log
4488 {
4489 echo
4490 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4491 ## Running $as_me. ##
4492 _ASBOX
4493 printf '%s\n' "$ac_log"
4494 } >&5
4495
4496 _ACEOF
4497 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4498 #
4499 # INIT-COMMANDS
4500 #
4501
4502
4503 _ACEOF
4504
4505 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4506
4507 # Handling of arguments.
4508 for ac_config_target in $ac_config_targets
4509 do
4510 case $ac_config_target in
4511 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
4512 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
4513 "GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS GNUmakefile:GNUmakefile" ;;
4514 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4515 "lib/autoconf_version.m4") CONFIG_FILES="$CONFIG_FILES lib/autoconf_version.m4:lib/autoconf_version.in" ;;
4516
4517 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
4518 esac
4519 done
4520
4521
4522 # If the user did not use the arguments to specify the items to instantiate,
4523 # then the envvar interface is used. Set only those that are not.
4524 # We use the long form for the default assignment because of an extremely
4525 # bizarre bug on SunOS 4.1.3.
4526 if $ac_need_defaults; then
4527 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4528 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
4529 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
4530 fi
4531
4532 # Have a temporary directory for convenience. Make it in the build tree
4533 # simply because there is no reason against having it here, and in addition,
4534 # creating and moving files from /tmp can sometimes cause problems.
4535 # Hook for its removal unless debugging.
4536 # Note that there is a small window in which the directory will not be cleaned:
4537 # after its creation but before its name has been assigned to '$tmp'.
4538 $debug ||
4539 {
4540 tmp= ac_tmp=
4541 trap 'exit_status=$?
4542 : "${ac_tmp:=$tmp}"
4543 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4544 ' 0
4545 trap 'as_fn_exit 1' 1 2 13 15
4546 }
4547 # Create a (secure) tmp directory for tmp files.
4548
4549 {
4550 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4551 test -d "$tmp"
4552 } ||
4553 {
4554 tmp=./conf$$-$RANDOM
4555 (umask 077 && mkdir "$tmp")
4556 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4557 ac_tmp=$tmp
4558
4559 # Set up the scripts for CONFIG_FILES section.
4560 # No need to generate them if there are no CONFIG_FILES.
4561 # This happens for instance with './config.status config.h'.
4562 if test -n "$CONFIG_FILES"; then
4563
4564
4565 ac_cr=`echo X | tr X '\015'`
4566 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4567 # But we know of no other shell where ac_cr would be empty at this
4568 # point, so we can use a bashism as a fallback.
4569 if test "x$ac_cr" = x; then
4570 eval ac_cr=\$\'\\r\'
4571 fi
4572 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4573 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4574 ac_cs_awk_cr='\\r'
4575 else
4576 ac_cs_awk_cr=$ac_cr
4577 fi
4578
4579 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4580 _ACEOF
4581
4582
4583 {
4584 echo "cat >conf$$subs.awk <<_ACEOF" &&
4585 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4586 echo "_ACEOF"
4587 } >conf$$subs.sh ||
4588 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4589 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
4590 ac_delim='%!_!# '
4591 for ac_last_try in false false false false false :; do
4592 . ./conf$$subs.sh ||
4593 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4594
4595 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
4596 if test $ac_delim_n = $ac_delim_num; then
4597 break
4598 elif $ac_last_try; then
4599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4600 else
4601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4602 fi
4603 done
4604 rm -f conf$$subs.sh
4605
4606 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4607 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4608 _ACEOF
4609 sed -n '
4610 h
4611 s/^/S["/; s/!.*/"]=/
4612 p
4613 g
4614 s/^[^!]*!//
4615 :repl
4616 t repl
4617 s/'"$ac_delim"'$//
4618 t delim
4619 :nl
4620 h
4621 s/\(.\{148\}\)..*/\1/
4622 t more1
4623 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4624 p
4625 n
4626 b repl
4627 :more1
4628 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4629 p
4630 g
4631 s/.\{148\}//
4632 t nl
4633 :delim
4634 h
4635 s/\(.\{148\}\)..*/\1/
4636 t more2
4637 s/["\\]/\\&/g; s/^/"/; s/$/"/
4638 p
4639 b
4640 :more2
4641 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4642 p
4643 g
4644 s/.\{148\}//
4645 t delim
4646 ' <conf$$subs.awk | sed '
4647 /^[^""]/{
4648 N
4649 s/\n//
4650 }
4651 ' >>"$CONFIG_STATUS" || ac_write_fail=1
4652 rm -f conf$$subs.awk
4653 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4654 _ACAWK
4655 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4656 for (key in S) S_is_set[key] = 1
4657 FS = ""
4658
4659 }
4660 {
4661 line = $ 0
4662 nfields = split(line, field, "@")
4663 substed = 0
4664 len = length(field[1])
4665 for (i = 2; i < nfields; i++) {
4666 key = field[i]
4667 keylen = length(key)
4668 if (S_is_set[key]) {
4669 value = S[key]
4670 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4671 len += length(value) + length(field[++i])
4672 substed = 1
4673 } else
4674 len += 1 + keylen
4675 }
4676
4677 print line
4678 }
4679
4680 _ACAWK
4681 _ACEOF
4682 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4683 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4684 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4685 else
4686 cat
4687 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4688 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4689 _ACEOF
4690
4691 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4692 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4693 # trailing colons and then remove the whole line if VPATH becomes empty
4694 # (actually we leave an empty line to preserve line numbers).
4695 if test "x$srcdir" = x.; then
4696 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4697 h
4698 s///
4699 s/^/:/
4700 s/[ ]*$/:/
4701 s/:\$(srcdir):/:/g
4702 s/:\${srcdir}:/:/g
4703 s/:@srcdir@:/:/g
4704 s/^:*//
4705 s/:*$//
4706 x
4707 s/\(=[ ]*\).*/\1/
4708 G
4709 s/\n//
4710 s/^[^=]*=[ ]*$//
4711 }'
4712 fi
4713
4714 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4715 fi # test -n "$CONFIG_FILES"
4716
4717
4718 eval set X " :F $CONFIG_FILES :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
4719 shift
4720 for ac_tag
4721 do
4722 case $ac_tag in
4723 :[FHLC]) ac_mode=$ac_tag; continue;;
4724 esac
4725 case $ac_mode$ac_tag in
4726 :[FHL]*:*);;
4727 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
4728 :[FH]-) ac_tag=-:-;;
4729 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4730 esac
4731 ac_save_IFS=$IFS
4732 IFS=:
4733 set x $ac_tag
4734 IFS=$ac_save_IFS
4735 shift
4736 ac_file=$1
4737 shift
4738
4739 case $ac_mode in
4740 :L) ac_source=$1;;
4741 :[FH])
4742 ac_file_inputs=
4743 for ac_f
4744 do
4745 case $ac_f in
4746 -) ac_f="$ac_tmp/stdin";;
4747 *) # Look for the file first in the build tree, then in the source tree
4748 # (if the path is not absolute). The absolute path cannot be DOS-style,
4749 # because $ac_f cannot contain ':'.
4750 test -f "$ac_f" ||
4751 case $ac_f in
4752 [\\/$]*) false;;
4753 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4754 esac ||
4755 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
4756 esac
4757 case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4758 as_fn_append ac_file_inputs " '$ac_f'"
4759 done
4760
4761 # Let's still pretend it is 'configure' which instantiates (i.e., don't
4762 # use $as_me), people would be surprised to read:
4763 # /* config.h. Generated by config.status. */
4764 configure_input='Generated from '`
4765 printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4766 `' by configure.'
4767 if test x"$ac_file" != x-; then
4768 configure_input="$ac_file. $configure_input"
4769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4770 printf '%s\n' "$as_me: creating $ac_file" >&6;}
4771 fi
4772 # Neutralize special characters interpreted by sed in replacement strings.
4773 case $configure_input in #(
4774 *\&* | *\|* | *\\* )
4775 ac_sed_conf_input=`printf '%s\n' "$configure_input" |
4776 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4777 *) ac_sed_conf_input=$configure_input;;
4778 esac
4779
4780 case $ac_tag in
4781 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4783 esac
4784 ;;
4785 esac
4786
4787 ac_dir=`$as_dirname -- "$ac_file" ||
4788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4789 X"$ac_file" : 'X\(//\)[^/]' \| \
4790 X"$ac_file" : 'X\(//\)$' \| \
4791 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4792 printf '%s\n' X"$ac_file" |
4793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4794 s//\1/
4795 q
4796 }
4797 /^X\(\/\/\)[^/].*/{
4798 s//\1/
4799 q
4800 }
4801 /^X\(\/\/\)$/{
4802 s//\1/
4803 q
4804 }
4805 /^X\(\/\).*/{
4806 s//\1/
4807 q
4808 }
4809 s/.*/./; q'`
4810 as_dir="$ac_dir"; as_fn_mkdir_p
4811 ac_builddir=.
4812
4813 case "$ac_dir" in
4814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4815 *)
4816 ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
4817 # A ".." for each directory in $ac_dir_suffix.
4818 ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4819 case $ac_top_builddir_sub in
4820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4822 esac ;;
4823 esac
4824 ac_abs_top_builddir=$ac_pwd
4825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4826 # for backward compatibility:
4827 ac_top_builddir=$ac_top_build_prefix
4828
4829 case $srcdir in
4830 .) # We are building in place.
4831 ac_srcdir=.
4832 ac_top_srcdir=$ac_top_builddir_sub
4833 ac_abs_top_srcdir=$ac_pwd ;;
4834 [\\/]* | ?:[\\/]* ) # Absolute name.
4835 ac_srcdir=$srcdir$ac_dir_suffix;
4836 ac_top_srcdir=$srcdir
4837 ac_abs_top_srcdir=$srcdir ;;
4838 *) # Relative name.
4839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4840 ac_top_srcdir=$ac_top_build_prefix$srcdir
4841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4842 esac
4843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4844
4845
4846 case $ac_mode in
4847 :F)
4848 #
4849 # CONFIG_FILE
4850 #
4851
4852 case $INSTALL in
4853 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4854 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4855 esac
4856 ac_MKDIR_P=$MKDIR_P
4857 case $MKDIR_P in
4858 [\\/$]* | ?:[\\/]* ) ;;
4859 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4860 esac
4861 _ACEOF
4862
4863 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4864 # If the template does not know about datarootdir, expand it.
4865 # FIXME: This hack should be removed a few years after 2.60.
4866 ac_datarootdir_hack=; ac_datarootdir_seen=
4867 ac_sed_dataroot='
4868 /datarootdir/ {
4869 p
4870 q
4871 }
4872 /@datadir@/p
4873 /@docdir@/p
4874 /@infodir@/p
4875 /@localedir@/p
4876 /@mandir@/p'
4877 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4878 *datarootdir*) ac_datarootdir_seen=yes;;
4879 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4880 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4881 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4882 _ACEOF
4883 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4884 ac_datarootdir_hack='
4885 s&@datadir@&$datadir&g
4886 s&@docdir@&$docdir&g
4887 s&@infodir@&$infodir&g
4888 s&@localedir@&$localedir&g
4889 s&@mandir@&$mandir&g
4890 s&\\\${datarootdir}&$datarootdir&g' ;;
4891 esac
4892 _ACEOF
4893
4894 # Neutralize VPATH when '$srcdir' = '.'.
4895 # Shell code in configure.ac might set extrasub.
4896 # FIXME: do we really want to maintain this feature?
4897 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
4898 ac_sed_extra="$ac_vpsub
4899 $extrasub
4900 _ACEOF
4901 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
4902 :t
4903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4904 s|@configure_input@|$ac_sed_conf_input|;t t
4905 s&@top_builddir@&$ac_top_builddir_sub&;t t
4906 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4907 s&@srcdir@&$ac_srcdir&;t t
4908 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4909 s&@top_srcdir@&$ac_top_srcdir&;t t
4910 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4911 s&@builddir@&$ac_builddir&;t t
4912 s&@abs_builddir@&$ac_abs_builddir&;t t
4913 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4914 s&@INSTALL@&$ac_INSTALL&;t t
4915 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4916 $ac_datarootdir_hack
4917 "
4918 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4919 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4920
4921 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4922 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4923 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4924 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4925 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
4926 which seems to be undefined. Please make sure it is defined" >&5
4927 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
4928 which seems to be undefined. Please make sure it is defined" >&2;}
4929
4930 rm -f "$ac_tmp/stdin"
4931 case $ac_file in
4932 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4933 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4934 esac \
4935 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4936 ;;
4937
4938 :L)
4939 #
4940 # CONFIG_LINK
4941 #
4942
4943 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
4944 :
4945 else
4946 # Prefer the file from the source tree if names are identical.
4947 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
4948 ac_source=$srcdir/$ac_source
4949 fi
4950
4951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
4952 printf '%s\n' "$as_me: linking $ac_source to $ac_file" >&6;}
4953
4954 if test ! -r "$ac_source"; then
4955 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
4956 fi
4957 rm -f "$ac_file"
4958
4959 # Try a relative symlink, then a hard link, then a copy.
4960 case $ac_source in
4961 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
4962 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
4963 esac
4964 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
4965 ln "$ac_source" "$ac_file" 2>/dev/null ||
4966 cp -p "$ac_source" "$ac_file" ||
4967 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
4968 fi
4969 ;;
4970 :C) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4971 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
4972 ;;
4973 esac
4974
4975
4976 case $ac_file$ac_mode in
4977 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
4978 # Configurable variable values for building test suites.
4979 # Generated by $0.
4980 # Copyright (C) 2026 Free Software Foundation, Inc.
4981
4982 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
4983 at_testdir='tests'
4984 abs_builddir='$ac_abs_builddir'
4985 at_srcdir='$ac_srcdir'
4986 abs_srcdir='$ac_abs_srcdir'
4987 at_top_srcdir='$ac_top_srcdir'
4988 abs_top_srcdir='$ac_abs_top_srcdir'
4989 at_top_build_prefix='$ac_top_build_prefix'
4990 abs_top_builddir='$ac_abs_top_builddir'
4991
4992 # Backward compatibility with Autotest <= 2.59b:
4993 at_top_builddir=\$at_top_build_prefix
4994
4995 AUTOTEST_PATH='tests'
4996
4997 SHELL=\${CONFIG_SHELL-'$SHELL'}
4998 ATEOF
4999 ;;
5000
5001 esac
5002 done # for ac_tag
5003
5004
5005 as_fn_exit 0
5006 _ACEOF
5007 ac_clean_CONFIG_STATUS=
5008
5009 test $ac_write_fail = 0 ||
5010 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5011
5012
5013 # configure is writing to config.log, and then calls config.status.
5014 # config.status does its own redirection, appending to config.log.
5015 # Unfortunately, on DOS this fails, as config.log is still kept open
5016 # by configure, so config.status won't be able to write to it; its
5017 # output is simply discarded. So we exec the FD to /dev/null,
5018 # effectively closing config.log, so it can be properly (re)opened and
5019 # appended to by config.status. When coming back to configure, we
5020 # need to make the FD available again.
5021 if test "$no_create" != yes; then
5022 ac_cs_success=:
5023 case $CONFIG_STATUS in #(
5024 -*) :
5025 ac_no_opts=-- ;; #(
5026 *) :
5027 ac_no_opts= ;;
5028 esac
5029 ac_config_status_args=
5030 test "$silent" = yes &&
5031 ac_config_status_args="$ac_config_status_args --quiet"
5032 exec 5>/dev/null
5033 $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
5034 ac_cs_success=false
5035 exec 5>>config.log
5036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5037 # would make configure fail if this is the last instruction.
5038 $ac_cs_success || as_fn_exit 1
5039 fi
5040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5041 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5042 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5043 fi
5044
5045 # Report the state of this version of Autoconf if this is a beta.
5046 cat <<EOF
5047
5048 You are about to use an experimental version of Autoconf. Be sure to
5049 read the relevant mailing lists, most importantly <[email protected]>.
5050
5051 Below you will find information on the status of this version of Autoconf.
5052
5053 EOF
5054 sed -n '/^\* Status/,$p' $srcdir/BUGS
5055 echo
5056