Debian Codegraph @

configure

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