atool-0.37.0.tar.gz
[atool.git] / configure
blobfc9266b932e9f475a00a8611e37fb85dd53b927f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for atool 0.37.0.
5 # Report bugs to <oskar@osk.mine.nu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='atool'
576 PACKAGE_TARNAME='atool'
577 PACKAGE_VERSION='0.37.0'
578 PACKAGE_STRING='atool 0.37.0'
579 PACKAGE_BUGREPORT='oskar@osk.mine.nu'
581 ac_unique_file="atool"
582 ac_subst_vars='SHELL
583 PATH_SEPARATOR
584 PACKAGE_NAME
585 PACKAGE_TARNAME
586 PACKAGE_VERSION
587 PACKAGE_STRING
588 PACKAGE_BUGREPORT
589 exec_prefix
590 prefix
591 program_transform_name
592 bindir
593 sbindir
594 libexecdir
595 datarootdir
596 datadir
597 sysconfdir
598 sharedstatedir
599 localstatedir
600 includedir
601 oldincludedir
602 docdir
603 infodir
604 htmldir
605 dvidir
606 pdfdir
607 psdir
608 libdir
609 localedir
610 mandir
611 DEFS
612 ECHO_C
613 ECHO_N
614 ECHO_T
615 LIBS
616 build_alias
617 host_alias
618 target_alias
619 INSTALL_PROGRAM
620 INSTALL_SCRIPT
621 INSTALL_DATA
622 am__isrc
623 CYGPATH_W
624 PACKAGE
625 VERSION
626 ACLOCAL
627 AUTOCONF
628 AUTOMAKE
629 AUTOHEADER
630 MAKEINFO
631 install_sh
632 STRIP
633 INSTALL_STRIP_PROGRAM
634 mkdir_p
636 SET_MAKE
637 am__leading_dot
638 AMTAR
639 am__tar
640 am__untar
641 SBINDIR
642 SYSCONFDIR
643 LOCALSTATEDIR
644 PERL
645 PERL_SHEBANG
646 PERL_SITELIB
647 LIBOBJS
648 LTLIBOBJS'
649 ac_subst_files=''
650 ac_precious_vars='build_alias
651 host_alias
652 target_alias'
655 # Initialize some variables set by options.
656 ac_init_help=
657 ac_init_version=false
658 # The variables have the same names as the options, with
659 # dashes changed to underlines.
660 cache_file=/dev/null
661 exec_prefix=NONE
662 no_create=
663 no_recursion=
664 prefix=NONE
665 program_prefix=NONE
666 program_suffix=NONE
667 program_transform_name=s,x,x,
668 silent=
669 site=
670 srcdir=
671 verbose=
672 x_includes=NONE
673 x_libraries=NONE
675 # Installation directory options.
676 # These are left unexpanded so users can "make install exec_prefix=/foo"
677 # and all the variables that are supposed to be based on exec_prefix
678 # by default will actually change.
679 # Use braces instead of parens because sh, perl, etc. also accept them.
680 # (The list follows the same order as the GNU Coding Standards.)
681 bindir='${exec_prefix}/bin'
682 sbindir='${exec_prefix}/sbin'
683 libexecdir='${exec_prefix}/libexec'
684 datarootdir='${prefix}/share'
685 datadir='${datarootdir}'
686 sysconfdir='${prefix}/etc'
687 sharedstatedir='${prefix}/com'
688 localstatedir='${prefix}/var'
689 includedir='${prefix}/include'
690 oldincludedir='/usr/include'
691 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
692 infodir='${datarootdir}/info'
693 htmldir='${docdir}'
694 dvidir='${docdir}'
695 pdfdir='${docdir}'
696 psdir='${docdir}'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
701 ac_prev=
702 ac_dashdash=
703 for ac_option
705 # If the previous option needs an argument, assign it.
706 if test -n "$ac_prev"; then
707 eval $ac_prev=\$ac_option
708 ac_prev=
709 continue
712 case $ac_option in
713 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714 *) ac_optarg=yes ;;
715 esac
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
721 ac_dashdash=yes ;;
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
724 ac_prev=bindir ;;
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
726 bindir=$ac_optarg ;;
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
740 --config-cache | -C)
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
744 ac_prev=datadir ;;
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760 { (exit 1); exit 1; }; }
761 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
762 eval enable_$ac_feature=no ;;
764 -docdir | --docdir | --docdi | --doc | --do)
765 ac_prev=docdir ;;
766 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
767 docdir=$ac_optarg ;;
769 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
770 ac_prev=dvidir ;;
771 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
772 dvidir=$ac_optarg ;;
774 -enable-* | --enable-*)
775 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
778 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
779 { (exit 1); exit 1; }; }
780 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
781 eval enable_$ac_feature=\$ac_optarg ;;
783 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
785 | --exec | --exe | --ex)
786 ac_prev=exec_prefix ;;
787 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
788 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
789 | --exec=* | --exe=* | --ex=*)
790 exec_prefix=$ac_optarg ;;
792 -gas | --gas | --ga | --g)
793 # Obsolete; use --with-gas.
794 with_gas=yes ;;
796 -help | --help | --hel | --he | -h)
797 ac_init_help=long ;;
798 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
799 ac_init_help=recursive ;;
800 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
801 ac_init_help=short ;;
803 -host | --host | --hos | --ho)
804 ac_prev=host_alias ;;
805 -host=* | --host=* | --hos=* | --ho=*)
806 host_alias=$ac_optarg ;;
808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
809 ac_prev=htmldir ;;
810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
811 | --ht=*)
812 htmldir=$ac_optarg ;;
814 -includedir | --includedir | --includedi | --included | --include \
815 | --includ | --inclu | --incl | --inc)
816 ac_prev=includedir ;;
817 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
818 | --includ=* | --inclu=* | --incl=* | --inc=*)
819 includedir=$ac_optarg ;;
821 -infodir | --infodir | --infodi | --infod | --info | --inf)
822 ac_prev=infodir ;;
823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824 infodir=$ac_optarg ;;
826 -libdir | --libdir | --libdi | --libd)
827 ac_prev=libdir ;;
828 -libdir=* | --libdir=* | --libdi=* | --libd=*)
829 libdir=$ac_optarg ;;
831 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
832 | --libexe | --libex | --libe)
833 ac_prev=libexecdir ;;
834 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
835 | --libexe=* | --libex=* | --libe=*)
836 libexecdir=$ac_optarg ;;
838 -localedir | --localedir | --localedi | --localed | --locale)
839 ac_prev=localedir ;;
840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841 localedir=$ac_optarg ;;
843 -localstatedir | --localstatedir | --localstatedi | --localstated \
844 | --localstate | --localstat | --localsta | --localst | --locals)
845 ac_prev=localstatedir ;;
846 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
847 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
848 localstatedir=$ac_optarg ;;
850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
851 ac_prev=mandir ;;
852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
853 mandir=$ac_optarg ;;
855 -nfp | --nfp | --nf)
856 # Obsolete; use --without-fp.
857 with_fp=no ;;
859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860 | --no-cr | --no-c | -n)
861 no_create=yes ;;
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
865 no_recursion=yes ;;
867 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
868 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
869 | --oldin | --oldi | --old | --ol | --o)
870 ac_prev=oldincludedir ;;
871 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
872 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
873 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
874 oldincludedir=$ac_optarg ;;
876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
877 ac_prev=prefix ;;
878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
879 prefix=$ac_optarg ;;
881 -program-prefix | --program-prefix | --program-prefi | --program-pref \
882 | --program-pre | --program-pr | --program-p)
883 ac_prev=program_prefix ;;
884 -program-prefix=* | --program-prefix=* | --program-prefi=* \
885 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
886 program_prefix=$ac_optarg ;;
888 -program-suffix | --program-suffix | --program-suffi | --program-suff \
889 | --program-suf | --program-su | --program-s)
890 ac_prev=program_suffix ;;
891 -program-suffix=* | --program-suffix=* | --program-suffi=* \
892 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
893 program_suffix=$ac_optarg ;;
895 -program-transform-name | --program-transform-name \
896 | --program-transform-nam | --program-transform-na \
897 | --program-transform-n | --program-transform- \
898 | --program-transform | --program-transfor \
899 | --program-transfo | --program-transf \
900 | --program-trans | --program-tran \
901 | --progr-tra | --program-tr | --program-t)
902 ac_prev=program_transform_name ;;
903 -program-transform-name=* | --program-transform-name=* \
904 | --program-transform-nam=* | --program-transform-na=* \
905 | --program-transform-n=* | --program-transform-=* \
906 | --program-transform=* | --program-transfor=* \
907 | --program-transfo=* | --program-transf=* \
908 | --program-trans=* | --program-tran=* \
909 | --progr-tra=* | --program-tr=* | --program-t=*)
910 program_transform_name=$ac_optarg ;;
912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
913 ac_prev=pdfdir ;;
914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
915 pdfdir=$ac_optarg ;;
917 -psdir | --psdir | --psdi | --psd | --ps)
918 ac_prev=psdir ;;
919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
920 psdir=$ac_optarg ;;
922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923 | -silent | --silent | --silen | --sile | --sil)
924 silent=yes ;;
926 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
927 ac_prev=sbindir ;;
928 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
929 | --sbi=* | --sb=*)
930 sbindir=$ac_optarg ;;
932 -sharedstatedir | --sharedstatedir | --sharedstatedi \
933 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
934 | --sharedst | --shareds | --shared | --share | --shar \
935 | --sha | --sh)
936 ac_prev=sharedstatedir ;;
937 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
938 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
939 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
940 | --sha=* | --sh=*)
941 sharedstatedir=$ac_optarg ;;
943 -site | --site | --sit)
944 ac_prev=site ;;
945 -site=* | --site=* | --sit=*)
946 site=$ac_optarg ;;
948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
949 ac_prev=srcdir ;;
950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
951 srcdir=$ac_optarg ;;
953 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
954 | --syscon | --sysco | --sysc | --sys | --sy)
955 ac_prev=sysconfdir ;;
956 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
957 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
958 sysconfdir=$ac_optarg ;;
960 -target | --target | --targe | --targ | --tar | --ta | --t)
961 ac_prev=target_alias ;;
962 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
963 target_alias=$ac_optarg ;;
965 -v | -verbose | --verbose | --verbos | --verbo | --verb)
966 verbose=yes ;;
968 -version | --version | --versio | --versi | --vers | -V)
969 ac_init_version=: ;;
971 -with-* | --with-*)
972 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
975 { echo "$as_me: error: invalid package name: $ac_package" >&2
976 { (exit 1); exit 1; }; }
977 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
978 eval with_$ac_package=\$ac_optarg ;;
980 -without-* | --without-*)
981 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid package name: $ac_package" >&2
985 { (exit 1); exit 1; }; }
986 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987 eval with_$ac_package=no ;;
989 --x)
990 # Obsolete; use --with-x.
991 with_x=yes ;;
993 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
994 | --x-incl | --x-inc | --x-in | --x-i)
995 ac_prev=x_includes ;;
996 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
997 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
998 x_includes=$ac_optarg ;;
1000 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1001 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1002 ac_prev=x_libraries ;;
1003 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1004 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1005 x_libraries=$ac_optarg ;;
1007 -*) { echo "$as_me: error: unrecognized option: $ac_option
1008 Try \`$0 --help' for more information." >&2
1009 { (exit 1); exit 1; }; }
1012 *=*)
1013 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1017 { (exit 1); exit 1; }; }
1018 eval $ac_envvar=\$ac_optarg
1019 export $ac_envvar ;;
1022 # FIXME: should be removed in autoconf 3.0.
1023 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1024 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1026 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1029 esac
1030 done
1032 if test -n "$ac_prev"; then
1033 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1034 { echo "$as_me: error: missing argument to $ac_option" >&2
1035 { (exit 1); exit 1; }; }
1038 # Be sure to have absolute directory names.
1039 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1040 datadir sysconfdir sharedstatedir localstatedir includedir \
1041 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1042 libdir localedir mandir
1044 eval ac_val=\$$ac_var
1045 case $ac_val in
1046 [\\/$]* | ?:[\\/]* ) continue;;
1047 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1048 esac
1049 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1050 { (exit 1); exit 1; }; }
1051 done
1053 # There might be people who depend on the old broken behavior: `$host'
1054 # used to hold the argument of --host etc.
1055 # FIXME: To remove some day.
1056 build=$build_alias
1057 host=$host_alias
1058 target=$target_alias
1060 # FIXME: To remove some day.
1061 if test "x$host_alias" != x; then
1062 if test "x$build_alias" = x; then
1063 cross_compiling=maybe
1064 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1065 If a cross compiler is detected then cross compile mode will be used." >&2
1066 elif test "x$build_alias" != "x$host_alias"; then
1067 cross_compiling=yes
1071 ac_tool_prefix=
1072 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1074 test "$silent" = yes && exec 6>/dev/null
1077 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1078 ac_ls_di=`ls -di .` &&
1079 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1080 { echo "$as_me: error: Working directory cannot be determined" >&2
1081 { (exit 1); exit 1; }; }
1082 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1083 { echo "$as_me: error: pwd does not report name of working directory" >&2
1084 { (exit 1); exit 1; }; }
1087 # Find the source files, if location was not specified.
1088 if test -z "$srcdir"; then
1089 ac_srcdir_defaulted=yes
1090 # Try the directory containing this script, then the parent directory.
1091 ac_confdir=`$as_dirname -- "$0" ||
1092 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1093 X"$0" : 'X\(//\)[^/]' \| \
1094 X"$0" : 'X\(//\)$' \| \
1095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1096 echo X"$0" |
1097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1098 s//\1/
1101 /^X\(\/\/\)[^/].*/{
1102 s//\1/
1105 /^X\(\/\/\)$/{
1106 s//\1/
1109 /^X\(\/\).*/{
1110 s//\1/
1113 s/.*/./; q'`
1114 srcdir=$ac_confdir
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1116 srcdir=..
1118 else
1119 ac_srcdir_defaulted=no
1121 if test ! -r "$srcdir/$ac_unique_file"; then
1122 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1123 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1124 { (exit 1); exit 1; }; }
1126 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1127 ac_abs_confdir=`(
1128 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1129 { (exit 1); exit 1; }; }
1130 pwd)`
1131 # When building in place, set srcdir=.
1132 if test "$ac_abs_confdir" = "$ac_pwd"; then
1133 srcdir=.
1135 # Remove unnecessary trailing slashes from srcdir.
1136 # Double slashes in file names in object file debugging info
1137 # mess up M-x gdb in Emacs.
1138 case $srcdir in
1139 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1140 esac
1141 for ac_var in $ac_precious_vars; do
1142 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1143 eval ac_env_${ac_var}_value=\$${ac_var}
1144 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1145 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1146 done
1149 # Report the --help message.
1151 if test "$ac_init_help" = "long"; then
1152 # Omit some internal or obsolete options to make the list less imposing.
1153 # This message is too long to be a string in the A/UX 3.1 sh.
1154 cat <<_ACEOF
1155 \`configure' configures atool 0.37.0 to adapt to many kinds of systems.
1157 Usage: $0 [OPTION]... [VAR=VALUE]...
1159 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1160 VAR=VALUE. See below for descriptions of some of the useful variables.
1162 Defaults for the options are specified in brackets.
1164 Configuration:
1165 -h, --help display this help and exit
1166 --help=short display options specific to this package
1167 --help=recursive display the short help of all the included packages
1168 -V, --version display version information and exit
1169 -q, --quiet, --silent do not print \`checking...' messages
1170 --cache-file=FILE cache test results in FILE [disabled]
1171 -C, --config-cache alias for \`--cache-file=config.cache'
1172 -n, --no-create do not create output files
1173 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1175 Installation directories:
1176 --prefix=PREFIX install architecture-independent files in PREFIX
1177 [$ac_default_prefix]
1178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1179 [PREFIX]
1181 By default, \`make install' will install all the files in
1182 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1183 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1184 for instance \`--prefix=\$HOME'.
1186 For better control, use the options below.
1188 Fine tuning of the installation directories:
1189 --bindir=DIR user executables [EPREFIX/bin]
1190 --sbindir=DIR system admin executables [EPREFIX/sbin]
1191 --libexecdir=DIR program executables [EPREFIX/libexec]
1192 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1193 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1194 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1195 --libdir=DIR object code libraries [EPREFIX/lib]
1196 --includedir=DIR C header files [PREFIX/include]
1197 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1198 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1199 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1200 --infodir=DIR info documentation [DATAROOTDIR/info]
1201 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1202 --mandir=DIR man documentation [DATAROOTDIR/man]
1203 --docdir=DIR documentation root [DATAROOTDIR/doc/atool]
1204 --htmldir=DIR html documentation [DOCDIR]
1205 --dvidir=DIR dvi documentation [DOCDIR]
1206 --pdfdir=DIR pdf documentation [DOCDIR]
1207 --psdir=DIR ps documentation [DOCDIR]
1208 _ACEOF
1210 cat <<\_ACEOF
1212 Program names:
1213 --program-prefix=PREFIX prepend PREFIX to installed program names
1214 --program-suffix=SUFFIX append SUFFIX to installed program names
1215 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1216 _ACEOF
1219 if test -n "$ac_init_help"; then
1220 case $ac_init_help in
1221 short | recursive ) echo "Configuration of atool 0.37.0:";;
1222 esac
1223 cat <<\_ACEOF
1225 Report bugs to <oskar@osk.mine.nu>.
1226 _ACEOF
1227 ac_status=$?
1230 if test "$ac_init_help" = "recursive"; then
1231 # If there are subdirs, report their specific --help.
1232 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1233 test -d "$ac_dir" || continue
1234 ac_builddir=.
1236 case "$ac_dir" in
1237 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A ".." for each directory in $ac_dir_suffix.
1241 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1242 case $ac_top_builddir_sub in
1243 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1245 esac ;;
1246 esac
1247 ac_abs_top_builddir=$ac_pwd
1248 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1249 # for backward compatibility:
1250 ac_top_builddir=$ac_top_build_prefix
1252 case $srcdir in
1253 .) # We are building in place.
1254 ac_srcdir=.
1255 ac_top_srcdir=$ac_top_builddir_sub
1256 ac_abs_top_srcdir=$ac_pwd ;;
1257 [\\/]* | ?:[\\/]* ) # Absolute name.
1258 ac_srcdir=$srcdir$ac_dir_suffix;
1259 ac_top_srcdir=$srcdir
1260 ac_abs_top_srcdir=$srcdir ;;
1261 *) # Relative name.
1262 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1263 ac_top_srcdir=$ac_top_build_prefix$srcdir
1264 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1265 esac
1266 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1268 cd "$ac_dir" || { ac_status=$?; continue; }
1269 # Check for guested configure.
1270 if test -f "$ac_srcdir/configure.gnu"; then
1271 echo &&
1272 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1273 elif test -f "$ac_srcdir/configure"; then
1274 echo &&
1275 $SHELL "$ac_srcdir/configure" --help=recursive
1276 else
1277 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278 fi || ac_status=$?
1279 cd "$ac_pwd" || { ac_status=$?; break; }
1280 done
1283 test -n "$ac_init_help" && exit $ac_status
1284 if $ac_init_version; then
1285 cat <<\_ACEOF
1286 atool configure 0.37.0
1287 generated by GNU Autoconf 2.61
1289 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1290 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1291 This configure script is free software; the Free Software Foundation
1292 gives unlimited permission to copy, distribute and modify it.
1293 _ACEOF
1294 exit
1296 cat >config.log <<_ACEOF
1297 This file contains any messages produced by compilers while
1298 running configure, to aid debugging if configure makes a mistake.
1300 It was created by atool $as_me 0.37.0, which was
1301 generated by GNU Autoconf 2.61. Invocation command line was
1303 $ $0 $@
1305 _ACEOF
1306 exec 5>>config.log
1308 cat <<_ASUNAME
1309 ## --------- ##
1310 ## Platform. ##
1311 ## --------- ##
1313 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1314 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1315 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1316 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1317 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1319 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1320 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1322 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1323 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1324 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1325 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1326 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1327 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1328 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1330 _ASUNAME
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333 for as_dir in $PATH
1335 IFS=$as_save_IFS
1336 test -z "$as_dir" && as_dir=.
1337 echo "PATH: $as_dir"
1338 done
1339 IFS=$as_save_IFS
1341 } >&5
1343 cat >&5 <<_ACEOF
1346 ## ----------- ##
1347 ## Core tests. ##
1348 ## ----------- ##
1350 _ACEOF
1353 # Keep a trace of the command line.
1354 # Strip out --no-create and --no-recursion so they do not pile up.
1355 # Strip out --silent because we don't want to record it for future runs.
1356 # Also quote any args containing shell meta-characters.
1357 # Make two passes to allow for proper duplicate-argument suppression.
1358 ac_configure_args=
1359 ac_configure_args0=
1360 ac_configure_args1=
1361 ac_must_keep_next=false
1362 for ac_pass in 1 2
1364 for ac_arg
1366 case $ac_arg in
1367 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1369 | -silent | --silent | --silen | --sile | --sil)
1370 continue ;;
1371 *\'*)
1372 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1373 esac
1374 case $ac_pass in
1375 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1377 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1378 if test $ac_must_keep_next = true; then
1379 ac_must_keep_next=false # Got value, back to normal.
1380 else
1381 case $ac_arg in
1382 *=* | --config-cache | -C | -disable-* | --disable-* \
1383 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1384 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1385 | -with-* | --with-* | -without-* | --without-* | --x)
1386 case "$ac_configure_args0 " in
1387 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1388 esac
1390 -* ) ac_must_keep_next=true ;;
1391 esac
1393 ac_configure_args="$ac_configure_args '$ac_arg'"
1395 esac
1396 done
1397 done
1398 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1399 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1401 # When interrupted or exit'd, cleanup temporary files, and complete
1402 # config.log. We remove comments because anyway the quotes in there
1403 # would cause problems or look ugly.
1404 # WARNING: Use '\'' to represent an apostrophe within the trap.
1405 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1406 trap 'exit_status=$?
1407 # Save into config.log some information that might help in debugging.
1409 echo
1411 cat <<\_ASBOX
1412 ## ---------------- ##
1413 ## Cache variables. ##
1414 ## ---------------- ##
1415 _ASBOX
1416 echo
1417 # The following way of writing the cache mishandles newlines in values,
1419 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1420 eval ac_val=\$$ac_var
1421 case $ac_val in #(
1422 *${as_nl}*)
1423 case $ac_var in #(
1424 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1425 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1426 esac
1427 case $ac_var in #(
1428 _ | IFS | as_nl) ;; #(
1429 *) $as_unset $ac_var ;;
1430 esac ;;
1431 esac
1432 done
1433 (set) 2>&1 |
1434 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1435 *${as_nl}ac_space=\ *)
1436 sed -n \
1437 "s/'\''/'\''\\\\'\'''\''/g;
1438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1439 ;; #(
1441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1443 esac |
1444 sort
1446 echo
1448 cat <<\_ASBOX
1449 ## ----------------- ##
1450 ## Output variables. ##
1451 ## ----------------- ##
1452 _ASBOX
1453 echo
1454 for ac_var in $ac_subst_vars
1456 eval ac_val=\$$ac_var
1457 case $ac_val in
1458 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459 esac
1460 echo "$ac_var='\''$ac_val'\''"
1461 done | sort
1462 echo
1464 if test -n "$ac_subst_files"; then
1465 cat <<\_ASBOX
1466 ## ------------------- ##
1467 ## File substitutions. ##
1468 ## ------------------- ##
1469 _ASBOX
1470 echo
1471 for ac_var in $ac_subst_files
1473 eval ac_val=\$$ac_var
1474 case $ac_val in
1475 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1476 esac
1477 echo "$ac_var='\''$ac_val'\''"
1478 done | sort
1479 echo
1482 if test -s confdefs.h; then
1483 cat <<\_ASBOX
1484 ## ----------- ##
1485 ## confdefs.h. ##
1486 ## ----------- ##
1487 _ASBOX
1488 echo
1489 cat confdefs.h
1490 echo
1492 test "$ac_signal" != 0 &&
1493 echo "$as_me: caught signal $ac_signal"
1494 echo "$as_me: exit $exit_status"
1495 } >&5
1496 rm -f core *.core core.conftest.* &&
1497 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1498 exit $exit_status
1500 for ac_signal in 1 2 13 15; do
1501 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1502 done
1503 ac_signal=0
1505 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1506 rm -f -r conftest* confdefs.h
1508 # Predefined preprocessor variables.
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_NAME "$PACKAGE_NAME"
1512 _ACEOF
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1517 _ACEOF
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1522 _ACEOF
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_STRING "$PACKAGE_STRING"
1527 _ACEOF
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1532 _ACEOF
1535 # Let the site file select an alternate cache file if it wants to.
1536 # Prefer explicitly selected file to automatically selected ones.
1537 if test -n "$CONFIG_SITE"; then
1538 set x "$CONFIG_SITE"
1539 elif test "x$prefix" != xNONE; then
1540 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1541 else
1542 set x "$ac_default_prefix/share/config.site" \
1543 "$ac_default_prefix/etc/config.site"
1545 shift
1546 for ac_site_file
1548 if test -r "$ac_site_file"; then
1549 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550 echo "$as_me: loading site script $ac_site_file" >&6;}
1551 sed 's/^/| /' "$ac_site_file" >&5
1552 . "$ac_site_file"
1554 done
1556 if test -r "$cache_file"; then
1557 # Some versions of bash will fail to source /dev/null (special
1558 # files actually), so we avoid doing that.
1559 if test -f "$cache_file"; then
1560 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561 echo "$as_me: loading cache $cache_file" >&6;}
1562 case $cache_file in
1563 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1564 *) . "./$cache_file";;
1565 esac
1567 else
1568 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569 echo "$as_me: creating cache $cache_file" >&6;}
1570 >$cache_file
1573 # Check that the precious variables saved in the cache have kept the same
1574 # value.
1575 ac_cache_corrupted=false
1576 for ac_var in $ac_precious_vars; do
1577 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1578 eval ac_new_set=\$ac_env_${ac_var}_set
1579 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1580 eval ac_new_val=\$ac_env_${ac_var}_value
1581 case $ac_old_set,$ac_new_set in
1582 set,)
1583 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1584 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1585 ac_cache_corrupted=: ;;
1586 ,set)
1587 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1588 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1589 ac_cache_corrupted=: ;;
1590 ,);;
1592 if test "x$ac_old_val" != "x$ac_new_val"; then
1593 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1594 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1595 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1596 echo "$as_me: former value: $ac_old_val" >&2;}
1597 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1598 echo "$as_me: current value: $ac_new_val" >&2;}
1599 ac_cache_corrupted=:
1600 fi;;
1601 esac
1602 # Pass precious variables to config.status.
1603 if test "$ac_new_set" = set; then
1604 case $ac_new_val in
1605 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1606 *) ac_arg=$ac_var=$ac_new_val ;;
1607 esac
1608 case " $ac_configure_args " in
1609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1610 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1611 esac
1613 done
1614 if $ac_cache_corrupted; then
1615 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1616 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1617 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1618 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1619 { (exit 1); exit 1; }; }
1646 ac_ext=c
1647 ac_cpp='$CPP $CPPFLAGS'
1648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 ac_aux_dir=
1656 for ac_dir in build-aux "$srcdir"/build-aux; do
1657 if test -f "$ac_dir/install-sh"; then
1658 ac_aux_dir=$ac_dir
1659 ac_install_sh="$ac_aux_dir/install-sh -c"
1660 break
1661 elif test -f "$ac_dir/install.sh"; then
1662 ac_aux_dir=$ac_dir
1663 ac_install_sh="$ac_aux_dir/install.sh -c"
1664 break
1665 elif test -f "$ac_dir/shtool"; then
1666 ac_aux_dir=$ac_dir
1667 ac_install_sh="$ac_aux_dir/shtool install -c"
1668 break
1670 done
1671 if test -z "$ac_aux_dir"; then
1672 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1673 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1674 { (exit 1); exit 1; }; }
1677 # These three variables are undocumented and unsupported,
1678 # and are intended to be withdrawn in a future Autoconf release.
1679 # They can cause serious problems if a builder's source tree is in a directory
1680 # whose full name contains unusual characters.
1681 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1682 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1683 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1686 am__api_version='1.10'
1688 # Find a good install program. We prefer a C program (faster),
1689 # so one script is as good as another. But avoid the broken or
1690 # incompatible versions:
1691 # SysV /etc/install, /usr/sbin/install
1692 # SunOS /usr/etc/install
1693 # IRIX /sbin/install
1694 # AIX /bin/install
1695 # AmigaOS /C/install, which installs bootblocks on floppy discs
1696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1699 # OS/2's system install, which has a completely different semantic
1700 # ./install, which can be erroneously created by make from ./install.sh.
1701 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1702 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1703 if test -z "$INSTALL"; then
1704 if test "${ac_cv_path_install+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 for as_dir in $PATH
1710 IFS=$as_save_IFS
1711 test -z "$as_dir" && as_dir=.
1712 # Account for people who put trailing slashes in PATH elements.
1713 case $as_dir/ in
1714 ./ | .// | /cC/* | \
1715 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1716 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1717 /usr/ucb/* ) ;;
1719 # OSF1 and SCO ODT 3.0 have their own names for install.
1720 # Don't use installbsd from OSF since it installs stuff as root
1721 # by default.
1722 for ac_prog in ginstall scoinst install; do
1723 for ac_exec_ext in '' $ac_executable_extensions; do
1724 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1725 if test $ac_prog = install &&
1726 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1727 # AIX install. It has an incompatible calling convention.
1729 elif test $ac_prog = install &&
1730 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1731 # program-specific install script used by HP pwplus--don't use.
1733 else
1734 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1735 break 3
1738 done
1739 done
1741 esac
1742 done
1743 IFS=$as_save_IFS
1747 if test "${ac_cv_path_install+set}" = set; then
1748 INSTALL=$ac_cv_path_install
1749 else
1750 # As a last resort, use the slow shell script. Don't cache a
1751 # value for INSTALL within a source directory, because that will
1752 # break other packages using the cache if that directory is
1753 # removed, or if the value is a relative name.
1754 INSTALL=$ac_install_sh
1757 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1758 echo "${ECHO_T}$INSTALL" >&6; }
1760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1761 # It thinks the first close brace ends the variable substitution.
1762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1768 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1769 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1770 # Just in case
1771 sleep 1
1772 echo timestamp > conftest.file
1773 # Do `set' in a subshell so we don't clobber the current shell's
1774 # arguments. Must try -L first in case configure is actually a
1775 # symlink; some systems play weird games with the mod time of symlinks
1776 # (eg FreeBSD returns the mod time of the symlink's containing
1777 # directory).
1778 if (
1779 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1780 if test "$*" = "X"; then
1781 # -L didn't work.
1782 set X `ls -t $srcdir/configure conftest.file`
1784 rm -f conftest.file
1785 if test "$*" != "X $srcdir/configure conftest.file" \
1786 && test "$*" != "X conftest.file $srcdir/configure"; then
1788 # If neither matched, then we have a broken ls. This can happen
1789 # if, for instance, CONFIG_SHELL is bash and it inherits a
1790 # broken ls alias from the environment. This has actually
1791 # happened. Such a system could not be considered "sane".
1792 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1793 alias in your environment" >&5
1794 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1795 alias in your environment" >&2;}
1796 { (exit 1); exit 1; }; }
1799 test "$2" = conftest.file
1801 then
1802 # Ok.
1804 else
1805 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1806 Check your system clock" >&5
1807 echo "$as_me: error: newly created file is older than distributed files!
1808 Check your system clock" >&2;}
1809 { (exit 1); exit 1; }; }
1811 { echo "$as_me:$LINENO: result: yes" >&5
1812 echo "${ECHO_T}yes" >&6; }
1813 test "$program_prefix" != NONE &&
1814 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1815 # Use a double $ so make ignores it.
1816 test "$program_suffix" != NONE &&
1817 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1818 # Double any \ or $. echo might interpret backslashes.
1819 # By default was `s,x,x', remove it if useless.
1820 cat <<\_ACEOF >conftest.sed
1821 s/[\\$]/&&/g;s/;s,x,x,$//
1822 _ACEOF
1823 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1824 rm -f conftest.sed
1826 # expand $ac_aux_dir to an absolute path
1827 am_aux_dir=`cd $ac_aux_dir && pwd`
1829 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1830 # Use eval to expand $SHELL
1831 if eval "$MISSING --run true"; then
1832 am_missing_run="$MISSING --run "
1833 else
1834 am_missing_run=
1835 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1836 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1839 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1840 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1841 if test -z "$MKDIR_P"; then
1842 if test "${ac_cv_path_mkdir+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 else
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1848 IFS=$as_save_IFS
1849 test -z "$as_dir" && as_dir=.
1850 for ac_prog in mkdir gmkdir; do
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1853 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1854 'mkdir (GNU coreutils) '* | \
1855 'mkdir (coreutils) '* | \
1856 'mkdir (fileutils) '4.1*)
1857 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1858 break 3;;
1859 esac
1860 done
1861 done
1862 done
1863 IFS=$as_save_IFS
1867 if test "${ac_cv_path_mkdir+set}" = set; then
1868 MKDIR_P="$ac_cv_path_mkdir -p"
1869 else
1870 # As a last resort, use the slow shell script. Don't cache a
1871 # value for MKDIR_P within a source directory, because that will
1872 # break other packages using the cache if that directory is
1873 # removed, or if the value is a relative name.
1874 test -d ./--version && rmdir ./--version
1875 MKDIR_P="$ac_install_sh -d"
1878 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1879 echo "${ECHO_T}$MKDIR_P" >&6; }
1881 mkdir_p="$MKDIR_P"
1882 case $mkdir_p in
1883 [\\/$]* | ?:[\\/]*) ;;
1884 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1885 esac
1887 for ac_prog in gawk mawk nawk awk
1889 # Extract the first word of "$ac_prog", so it can be a program name with args.
1890 set dummy $ac_prog; ac_word=$2
1891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893 if test "${ac_cv_prog_AWK+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$AWK"; then
1897 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1906 ac_cv_prog_AWK="$ac_prog"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1912 IFS=$as_save_IFS
1916 AWK=$ac_cv_prog_AWK
1917 if test -n "$AWK"; then
1918 { echo "$as_me:$LINENO: result: $AWK" >&5
1919 echo "${ECHO_T}$AWK" >&6; }
1920 else
1921 { echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6; }
1926 test -n "$AWK" && break
1927 done
1929 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1931 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1932 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935 cat >conftest.make <<\_ACEOF
1936 SHELL = /bin/sh
1937 all:
1938 @echo '@@@%%%=$(MAKE)=@@@%%%'
1939 _ACEOF
1940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1942 *@@@%%%=?*=@@@%%%*)
1943 eval ac_cv_prog_make_${ac_make}_set=yes;;
1945 eval ac_cv_prog_make_${ac_make}_set=no;;
1946 esac
1947 rm -f conftest.make
1949 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1950 { echo "$as_me:$LINENO: result: yes" >&5
1951 echo "${ECHO_T}yes" >&6; }
1952 SET_MAKE=
1953 else
1954 { echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6; }
1956 SET_MAKE="MAKE=${MAKE-make}"
1959 rm -rf .tst 2>/dev/null
1960 mkdir .tst 2>/dev/null
1961 if test -d .tst; then
1962 am__leading_dot=.
1963 else
1964 am__leading_dot=_
1966 rmdir .tst 2>/dev/null
1968 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1969 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1970 # is not polluted with repeated "-I."
1971 am__isrc=' -I$(srcdir)'
1972 # test to see if srcdir already configured
1973 if test -f $srcdir/config.status; then
1974 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1975 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1976 { (exit 1); exit 1; }; }
1980 # test whether we have cygpath
1981 if test -z "$CYGPATH_W"; then
1982 if (cygpath --version) >/dev/null 2>/dev/null; then
1983 CYGPATH_W='cygpath -w'
1984 else
1985 CYGPATH_W=echo
1990 # Define the identity of the package.
1991 PACKAGE='atool'
1992 VERSION='0.37.0'
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE "$PACKAGE"
1997 _ACEOF
2000 cat >>confdefs.h <<_ACEOF
2001 #define VERSION "$VERSION"
2002 _ACEOF
2004 # Some tools Automake needs.
2006 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2009 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2012 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2015 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2018 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2020 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2022 # Installed binaries are usually stripped using `strip' when the user
2023 # run `make install-strip'. However `strip' might not be the right
2024 # tool to use in cross-compilation environments, therefore Automake
2025 # will honor the `STRIP' environment variable to overrule this program.
2026 if test "$cross_compiling" != no; then
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}strip; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_STRIP+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 if test -n "$STRIP"; then
2036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2051 IFS=$as_save_IFS
2055 STRIP=$ac_cv_prog_STRIP
2056 if test -n "$STRIP"; then
2057 { echo "$as_me:$LINENO: result: $STRIP" >&5
2058 echo "${ECHO_T}$STRIP" >&6; }
2059 else
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_STRIP"; then
2067 ac_ct_STRIP=$STRIP
2068 # Extract the first word of "strip", so it can be a program name with args.
2069 set dummy strip; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$ac_ct_STRIP"; then
2076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_STRIP="strip"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2091 IFS=$as_save_IFS
2095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2096 if test -n "$ac_ct_STRIP"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2098 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2099 else
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_STRIP" = x; then
2105 STRIP=":"
2106 else
2107 case $cross_compiling:$ac_tool_warned in
2108 yes:)
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned=yes ;;
2116 esac
2117 STRIP=$ac_ct_STRIP
2119 else
2120 STRIP="$ac_cv_prog_STRIP"
2124 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2126 # We need awk for the "check" target. The system "awk" is bad on
2127 # some platforms.
2128 # Always define AMTAR for backward compatibility.
2130 AMTAR=${AMTAR-"${am_missing_run}tar"}
2132 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2140 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2141 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2142 ac_define_dir=`eval echo $sbindir`
2143 ac_define_dir=`eval echo $ac_define_dir`
2144 SBINDIR="$ac_define_dir"
2146 cat >>confdefs.h <<_ACEOF
2147 #define SBINDIR "$ac_define_dir"
2148 _ACEOF
2152 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2153 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2154 ac_define_dir=`eval echo $sysconfdir`
2155 ac_define_dir=`eval echo $ac_define_dir`
2156 SYSCONFDIR="$ac_define_dir"
2158 cat >>confdefs.h <<_ACEOF
2159 #define SYSCONFDIR "$ac_define_dir"
2160 _ACEOF
2164 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2165 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2166 ac_define_dir=`eval echo $localstatedir`
2167 ac_define_dir=`eval echo $ac_define_dir`
2168 LOCALSTATEDIR="$ac_define_dir"
2170 cat >>confdefs.h <<_ACEOF
2171 #define LOCALSTATEDIR "$ac_define_dir"
2172 _ACEOF
2176 # Extract the first word of "perl", so it can be a program name with args.
2177 set dummy perl; ac_word=$2
2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180 if test "${ac_cv_path_PERL+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 else
2183 case $PERL in
2184 [\\/]* | ?:[\\/]*)
2185 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 for as_dir in $PATH
2191 IFS=$as_save_IFS
2192 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 break 2
2199 done
2200 done
2201 IFS=$as_save_IFS
2204 esac
2206 PERL=$ac_cv_path_PERL
2207 if test -n "$PERL"; then
2208 { echo "$as_me:$LINENO: result: $PERL" >&5
2209 echo "${ECHO_T}$PERL" >&6; }
2210 else
2211 { echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6; }
2216 eval `$PERL -V:startperl`
2217 if test "${startperl:0:1}" = "#" ; then
2218 startperl="\\$startperl"
2220 PERL_SHEBANG=$startperl
2222 eval `$PERL -V:sitelib`
2223 PERL_SITELIB=$sitelib
2226 ac_config_files="$ac_config_files atool.1 atool.spec Makefile"
2228 ac_config_commands="$ac_config_commands acat-link"
2230 ac_config_commands="$ac_config_commands adiff-link"
2232 ac_config_commands="$ac_config_commands als-link"
2234 ac_config_commands="$ac_config_commands apack-link"
2236 ac_config_commands="$ac_config_commands aunpack-link"
2238 ac_config_commands="$ac_config_commands arepack-link"
2240 cat >confcache <<\_ACEOF
2241 # This file is a shell script that caches the results of configure
2242 # tests run on this system so they can be shared between configure
2243 # scripts and configure runs, see configure's option --config-cache.
2244 # It is not useful on other systems. If it contains results you don't
2245 # want to keep, you may remove or edit it.
2247 # config.status only pays attention to the cache file if you give it
2248 # the --recheck option to rerun configure.
2250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2252 # following values.
2254 _ACEOF
2256 # The following way of writing the cache mishandles newlines in values,
2257 # but we know of no workaround that is simple, portable, and efficient.
2258 # So, we kill variables containing newlines.
2259 # Ultrix sh set writes to stderr and can't be redirected directly,
2260 # and sets the high bit in the cache file unless we assign to the vars.
2262 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2263 eval ac_val=\$$ac_var
2264 case $ac_val in #(
2265 *${as_nl}*)
2266 case $ac_var in #(
2267 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2268 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2269 esac
2270 case $ac_var in #(
2271 _ | IFS | as_nl) ;; #(
2272 *) $as_unset $ac_var ;;
2273 esac ;;
2274 esac
2275 done
2277 (set) 2>&1 |
2278 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2279 *${as_nl}ac_space=\ *)
2280 # `set' does not quote correctly, so add quotes (double-quote
2281 # substitution turns \\\\ into \\, and sed turns \\ into \).
2282 sed -n \
2283 "s/'/'\\\\''/g;
2284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2285 ;; #(
2287 # `set' quotes correctly as required by POSIX, so do not add quotes.
2288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2290 esac |
2291 sort
2293 sed '
2294 /^ac_cv_env_/b end
2295 t clear
2296 :clear
2297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2298 t end
2299 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2300 :end' >>confcache
2301 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2302 if test -w "$cache_file"; then
2303 test "x$cache_file" != "x/dev/null" &&
2304 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2305 echo "$as_me: updating cache $cache_file" >&6;}
2306 cat confcache >$cache_file
2307 else
2308 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2309 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2312 rm -f confcache
2314 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2315 # Let make expand exec_prefix.
2316 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2318 # Transform confdefs.h into DEFS.
2319 # Protect against shell expansion while executing Makefile rules.
2320 # Protect against Makefile macro expansion.
2322 # If the first sed substitution is executed (which looks for macros that
2323 # take arguments), then branch to the quote section. Otherwise,
2324 # look for a macro that doesn't take arguments.
2325 ac_script='
2326 t clear
2327 :clear
2328 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2329 t quote
2330 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2331 t quote
2332 b any
2333 :quote
2334 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2335 s/\[/\\&/g
2336 s/\]/\\&/g
2337 s/\$/$$/g
2339 :any
2342 s/^\n//
2343 s/\n/ /g
2347 DEFS=`sed -n "$ac_script" confdefs.h`
2350 ac_libobjs=
2351 ac_ltlibobjs=
2352 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2353 # 1. Remove the extension, and $U if already installed.
2354 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2355 ac_i=`echo "$ac_i" | sed "$ac_script"`
2356 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2357 # will be set to the directory where LIBOBJS objects are built.
2358 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2359 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2360 done
2361 LIBOBJS=$ac_libobjs
2363 LTLIBOBJS=$ac_ltlibobjs
2367 : ${CONFIG_STATUS=./config.status}
2368 ac_clean_files_save=$ac_clean_files
2369 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2370 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2371 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2372 cat >$CONFIG_STATUS <<_ACEOF
2373 #! $SHELL
2374 # Generated by $as_me.
2375 # Run this file to recreate the current configuration.
2376 # Compiler output produced by configure, useful for debugging
2377 # configure, is in config.log if it exists.
2379 debug=false
2380 ac_cs_recheck=false
2381 ac_cs_silent=false
2382 SHELL=\${CONFIG_SHELL-$SHELL}
2383 _ACEOF
2385 cat >>$CONFIG_STATUS <<\_ACEOF
2386 ## --------------------- ##
2387 ## M4sh Initialization. ##
2388 ## --------------------- ##
2390 # Be more Bourne compatible
2391 DUALCASE=1; export DUALCASE # for MKS sh
2392 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2393 emulate sh
2394 NULLCMD=:
2395 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2396 # is contrary to our usage. Disable this feature.
2397 alias -g '${1+"$@"}'='"$@"'
2398 setopt NO_GLOB_SUBST
2399 else
2400 case `(set -o) 2>/dev/null` in
2401 *posix*) set -o posix ;;
2402 esac
2409 # PATH needs CR
2410 # Avoid depending upon Character Ranges.
2411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2414 as_cr_digits='0123456789'
2415 as_cr_alnum=$as_cr_Letters$as_cr_digits
2417 # The user is always right.
2418 if test "${PATH_SEPARATOR+set}" != set; then
2419 echo "#! /bin/sh" >conf$$.sh
2420 echo "exit 0" >>conf$$.sh
2421 chmod +x conf$$.sh
2422 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2423 PATH_SEPARATOR=';'
2424 else
2425 PATH_SEPARATOR=:
2427 rm -f conf$$.sh
2430 # Support unset when possible.
2431 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2432 as_unset=unset
2433 else
2434 as_unset=false
2438 # IFS
2439 # We need space, tab and new line, in precisely that order. Quoting is
2440 # there to prevent editors from complaining about space-tab.
2441 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2442 # splitting by setting IFS to empty value.)
2443 as_nl='
2445 IFS=" "" $as_nl"
2447 # Find who we are. Look in the path if we contain no directory separator.
2448 case $0 in
2449 *[\\/]* ) as_myself=$0 ;;
2450 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2456 done
2457 IFS=$as_save_IFS
2460 esac
2461 # We did not find ourselves, most probably we were run as `sh COMMAND'
2462 # in which case we are not to be found in the path.
2463 if test "x$as_myself" = x; then
2464 as_myself=$0
2466 if test ! -f "$as_myself"; then
2467 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2468 { (exit 1); exit 1; }
2471 # Work around bugs in pre-3.0 UWIN ksh.
2472 for as_var in ENV MAIL MAILPATH
2473 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2474 done
2475 PS1='$ '
2476 PS2='> '
2477 PS4='+ '
2479 # NLS nuisances.
2480 for as_var in \
2481 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2482 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2483 LC_TELEPHONE LC_TIME
2485 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2486 eval $as_var=C; export $as_var
2487 else
2488 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2490 done
2492 # Required to use basename.
2493 if expr a : '\(a\)' >/dev/null 2>&1 &&
2494 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2495 as_expr=expr
2496 else
2497 as_expr=false
2500 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2501 as_basename=basename
2502 else
2503 as_basename=false
2507 # Name of the executable.
2508 as_me=`$as_basename -- "$0" ||
2509 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2510 X"$0" : 'X\(//\)$' \| \
2511 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2512 echo X/"$0" |
2513 sed '/^.*\/\([^/][^/]*\)\/*$/{
2514 s//\1/
2517 /^X\/\(\/\/\)$/{
2518 s//\1/
2521 /^X\/\(\/\).*/{
2522 s//\1/
2525 s/.*/./; q'`
2527 # CDPATH.
2528 $as_unset CDPATH
2532 as_lineno_1=$LINENO
2533 as_lineno_2=$LINENO
2534 test "x$as_lineno_1" != "x$as_lineno_2" &&
2535 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2537 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2538 # uniformly replaced by the line number. The first 'sed' inserts a
2539 # line-number line after each line using $LINENO; the second 'sed'
2540 # does the real work. The second script uses 'N' to pair each
2541 # line-number line with the line containing $LINENO, and appends
2542 # trailing '-' during substitution so that $LINENO is not a special
2543 # case at line end.
2544 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2545 # scripts with optimization help from Paolo Bonzini. Blame Lee
2546 # E. McMahon (1931-1989) for sed's syntax. :-)
2547 sed -n '
2549 /[$]LINENO/=
2550 ' <$as_myself |
2551 sed '
2552 s/[$]LINENO.*/&-/
2553 t lineno
2555 :lineno
2557 :loop
2558 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2559 t loop
2560 s/-\n.*//
2561 ' >$as_me.lineno &&
2562 chmod +x "$as_me.lineno" ||
2563 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2564 { (exit 1); exit 1; }; }
2566 # Don't try to exec as it changes $[0], causing all sort of problems
2567 # (the dirname of $[0] is not the place where we might find the
2568 # original and so on. Autoconf is especially sensitive to this).
2569 . "./$as_me.lineno"
2570 # Exit status is that of the last command.
2571 exit
2575 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2576 as_dirname=dirname
2577 else
2578 as_dirname=false
2581 ECHO_C= ECHO_N= ECHO_T=
2582 case `echo -n x` in
2583 -n*)
2584 case `echo 'x\c'` in
2585 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2586 *) ECHO_C='\c';;
2587 esac;;
2589 ECHO_N='-n';;
2590 esac
2592 if expr a : '\(a\)' >/dev/null 2>&1 &&
2593 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2594 as_expr=expr
2595 else
2596 as_expr=false
2599 rm -f conf$$ conf$$.exe conf$$.file
2600 if test -d conf$$.dir; then
2601 rm -f conf$$.dir/conf$$.file
2602 else
2603 rm -f conf$$.dir
2604 mkdir conf$$.dir
2606 echo >conf$$.file
2607 if ln -s conf$$.file conf$$ 2>/dev/null; then
2608 as_ln_s='ln -s'
2609 # ... but there are two gotchas:
2610 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2611 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2612 # In both cases, we have to default to `cp -p'.
2613 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2614 as_ln_s='cp -p'
2615 elif ln conf$$.file conf$$ 2>/dev/null; then
2616 as_ln_s=ln
2617 else
2618 as_ln_s='cp -p'
2620 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2621 rmdir conf$$.dir 2>/dev/null
2623 if mkdir -p . 2>/dev/null; then
2624 as_mkdir_p=:
2625 else
2626 test -d ./-p && rmdir ./-p
2627 as_mkdir_p=false
2630 if test -x / >/dev/null 2>&1; then
2631 as_test_x='test -x'
2632 else
2633 if ls -dL / >/dev/null 2>&1; then
2634 as_ls_L_option=L
2635 else
2636 as_ls_L_option=
2638 as_test_x='
2639 eval sh -c '\''
2640 if test -d "$1"; then
2641 test -d "$1/.";
2642 else
2643 case $1 in
2644 -*)set "./$1";;
2645 esac;
2646 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2647 ???[sx]*):;;*)false;;esac;fi
2648 '\'' sh
2651 as_executable_p=$as_test_x
2653 # Sed expression to map a string onto a valid CPP name.
2654 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2656 # Sed expression to map a string onto a valid variable name.
2657 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2660 exec 6>&1
2662 # Save the log message, to keep $[0] and so on meaningful, and to
2663 # report actual input values of CONFIG_FILES etc. instead of their
2664 # values after options handling.
2665 ac_log="
2666 This file was extended by atool $as_me 0.37.0, which was
2667 generated by GNU Autoconf 2.61. Invocation command line was
2669 CONFIG_FILES = $CONFIG_FILES
2670 CONFIG_HEADERS = $CONFIG_HEADERS
2671 CONFIG_LINKS = $CONFIG_LINKS
2672 CONFIG_COMMANDS = $CONFIG_COMMANDS
2673 $ $0 $@
2675 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2678 _ACEOF
2680 cat >>$CONFIG_STATUS <<_ACEOF
2681 # Files that config.status was made for.
2682 config_files="$ac_config_files"
2683 config_commands="$ac_config_commands"
2685 _ACEOF
2687 cat >>$CONFIG_STATUS <<\_ACEOF
2688 ac_cs_usage="\
2689 \`$as_me' instantiates files from templates according to the
2690 current configuration.
2692 Usage: $0 [OPTIONS] [FILE]...
2694 -h, --help print this help, then exit
2695 -V, --version print version number and configuration settings, then exit
2696 -q, --quiet do not print progress messages
2697 -d, --debug don't remove temporary files
2698 --recheck update $as_me by reconfiguring in the same conditions
2699 --file=FILE[:TEMPLATE]
2700 instantiate the configuration file FILE
2702 Configuration files:
2703 $config_files
2705 Configuration commands:
2706 $config_commands
2708 Report bugs to <bug-autoconf@gnu.org>."
2710 _ACEOF
2711 cat >>$CONFIG_STATUS <<_ACEOF
2712 ac_cs_version="\\
2713 atool config.status 0.37.0
2714 configured by $0, generated by GNU Autoconf 2.61,
2715 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2717 Copyright (C) 2006 Free Software Foundation, Inc.
2718 This config.status script is free software; the Free Software Foundation
2719 gives unlimited permission to copy, distribute and modify it."
2721 ac_pwd='$ac_pwd'
2722 srcdir='$srcdir'
2723 INSTALL='$INSTALL'
2724 MKDIR_P='$MKDIR_P'
2725 _ACEOF
2727 cat >>$CONFIG_STATUS <<\_ACEOF
2728 # If no file are specified by the user, then we need to provide default
2729 # value. By we need to know if files were specified by the user.
2730 ac_need_defaults=:
2731 while test $# != 0
2733 case $1 in
2734 --*=*)
2735 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2736 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2737 ac_shift=:
2740 ac_option=$1
2741 ac_optarg=$2
2742 ac_shift=shift
2744 esac
2746 case $ac_option in
2747 # Handling of the options.
2748 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2749 ac_cs_recheck=: ;;
2750 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2751 echo "$ac_cs_version"; exit ;;
2752 --debug | --debu | --deb | --de | --d | -d )
2753 debug=: ;;
2754 --file | --fil | --fi | --f )
2755 $ac_shift
2756 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2757 ac_need_defaults=false;;
2758 --he | --h | --help | --hel | -h )
2759 echo "$ac_cs_usage"; exit ;;
2760 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2761 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2762 ac_cs_silent=: ;;
2764 # This is an error.
2765 -*) { echo "$as_me: error: unrecognized option: $1
2766 Try \`$0 --help' for more information." >&2
2767 { (exit 1); exit 1; }; } ;;
2769 *) ac_config_targets="$ac_config_targets $1"
2770 ac_need_defaults=false ;;
2772 esac
2773 shift
2774 done
2776 ac_configure_extra_args=
2778 if $ac_cs_silent; then
2779 exec 6>/dev/null
2780 ac_configure_extra_args="$ac_configure_extra_args --silent"
2783 _ACEOF
2784 cat >>$CONFIG_STATUS <<_ACEOF
2785 if \$ac_cs_recheck; then
2786 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2787 CONFIG_SHELL=$SHELL
2788 export CONFIG_SHELL
2789 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2792 _ACEOF
2793 cat >>$CONFIG_STATUS <<\_ACEOF
2794 exec 5>>config.log
2796 echo
2797 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2798 ## Running $as_me. ##
2799 _ASBOX
2800 echo "$ac_log"
2801 } >&5
2803 _ACEOF
2804 cat >>$CONFIG_STATUS <<_ACEOF
2805 _ACEOF
2807 cat >>$CONFIG_STATUS <<\_ACEOF
2809 # Handling of arguments.
2810 for ac_config_target in $ac_config_targets
2812 case $ac_config_target in
2813 "atool.1") CONFIG_FILES="$CONFIG_FILES atool.1" ;;
2814 "atool.spec") CONFIG_FILES="$CONFIG_FILES atool.spec" ;;
2815 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2816 "acat-link") CONFIG_COMMANDS="$CONFIG_COMMANDS acat-link" ;;
2817 "adiff-link") CONFIG_COMMANDS="$CONFIG_COMMANDS adiff-link" ;;
2818 "als-link") CONFIG_COMMANDS="$CONFIG_COMMANDS als-link" ;;
2819 "apack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS apack-link" ;;
2820 "aunpack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS aunpack-link" ;;
2821 "arepack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS arepack-link" ;;
2823 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2824 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2825 { (exit 1); exit 1; }; };;
2826 esac
2827 done
2830 # If the user did not use the arguments to specify the items to instantiate,
2831 # then the envvar interface is used. Set only those that are not.
2832 # We use the long form for the default assignment because of an extremely
2833 # bizarre bug on SunOS 4.1.3.
2834 if $ac_need_defaults; then
2835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2839 # Have a temporary directory for convenience. Make it in the build tree
2840 # simply because there is no reason against having it here, and in addition,
2841 # creating and moving files from /tmp can sometimes cause problems.
2842 # Hook for its removal unless debugging.
2843 # Note that there is a small window in which the directory will not be cleaned:
2844 # after its creation but before its name has been assigned to `$tmp'.
2845 $debug ||
2847 tmp=
2848 trap 'exit_status=$?
2849 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2851 trap '{ (exit 1); exit 1; }' 1 2 13 15
2853 # Create a (secure) tmp directory for tmp files.
2856 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2857 test -n "$tmp" && test -d "$tmp"
2858 } ||
2860 tmp=./conf$$-$RANDOM
2861 (umask 077 && mkdir "$tmp")
2862 } ||
2864 echo "$me: cannot create a temporary directory in ." >&2
2865 { (exit 1); exit 1; }
2869 # Set up the sed scripts for CONFIG_FILES section.
2872 # No need to generate the scripts if there are no CONFIG_FILES.
2873 # This happens for instance when ./config.status config.h
2874 if test -n "$CONFIG_FILES"; then
2876 _ACEOF
2880 ac_delim='%!_!# '
2881 for ac_last_try in false false false false false :; do
2882 cat >conf$$subs.sed <<_ACEOF
2883 SHELL!$SHELL$ac_delim
2884 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2885 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2886 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2887 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2888 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2889 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2890 exec_prefix!$exec_prefix$ac_delim
2891 prefix!$prefix$ac_delim
2892 program_transform_name!$program_transform_name$ac_delim
2893 bindir!$bindir$ac_delim
2894 sbindir!$sbindir$ac_delim
2895 libexecdir!$libexecdir$ac_delim
2896 datarootdir!$datarootdir$ac_delim
2897 datadir!$datadir$ac_delim
2898 sysconfdir!$sysconfdir$ac_delim
2899 sharedstatedir!$sharedstatedir$ac_delim
2900 localstatedir!$localstatedir$ac_delim
2901 includedir!$includedir$ac_delim
2902 oldincludedir!$oldincludedir$ac_delim
2903 docdir!$docdir$ac_delim
2904 infodir!$infodir$ac_delim
2905 htmldir!$htmldir$ac_delim
2906 dvidir!$dvidir$ac_delim
2907 pdfdir!$pdfdir$ac_delim
2908 psdir!$psdir$ac_delim
2909 libdir!$libdir$ac_delim
2910 localedir!$localedir$ac_delim
2911 mandir!$mandir$ac_delim
2912 DEFS!$DEFS$ac_delim
2913 ECHO_C!$ECHO_C$ac_delim
2914 ECHO_N!$ECHO_N$ac_delim
2915 ECHO_T!$ECHO_T$ac_delim
2916 LIBS!$LIBS$ac_delim
2917 build_alias!$build_alias$ac_delim
2918 host_alias!$host_alias$ac_delim
2919 target_alias!$target_alias$ac_delim
2920 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2921 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2922 INSTALL_DATA!$INSTALL_DATA$ac_delim
2923 am__isrc!$am__isrc$ac_delim
2924 CYGPATH_W!$CYGPATH_W$ac_delim
2925 PACKAGE!$PACKAGE$ac_delim
2926 VERSION!$VERSION$ac_delim
2927 ACLOCAL!$ACLOCAL$ac_delim
2928 AUTOCONF!$AUTOCONF$ac_delim
2929 AUTOMAKE!$AUTOMAKE$ac_delim
2930 AUTOHEADER!$AUTOHEADER$ac_delim
2931 MAKEINFO!$MAKEINFO$ac_delim
2932 install_sh!$install_sh$ac_delim
2933 STRIP!$STRIP$ac_delim
2934 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2935 mkdir_p!$mkdir_p$ac_delim
2936 AWK!$AWK$ac_delim
2937 SET_MAKE!$SET_MAKE$ac_delim
2938 am__leading_dot!$am__leading_dot$ac_delim
2939 AMTAR!$AMTAR$ac_delim
2940 am__tar!$am__tar$ac_delim
2941 am__untar!$am__untar$ac_delim
2942 SBINDIR!$SBINDIR$ac_delim
2943 SYSCONFDIR!$SYSCONFDIR$ac_delim
2944 LOCALSTATEDIR!$LOCALSTATEDIR$ac_delim
2945 PERL!$PERL$ac_delim
2946 PERL_SHEBANG!$PERL_SHEBANG$ac_delim
2947 PERL_SITELIB!$PERL_SITELIB$ac_delim
2948 LIBOBJS!$LIBOBJS$ac_delim
2949 LTLIBOBJS!$LTLIBOBJS$ac_delim
2950 _ACEOF
2952 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
2953 break
2954 elif $ac_last_try; then
2955 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2956 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2957 { (exit 1); exit 1; }; }
2958 else
2959 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2961 done
2963 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2964 if test -n "$ac_eof"; then
2965 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2966 ac_eof=`expr $ac_eof + 1`
2969 cat >>$CONFIG_STATUS <<_ACEOF
2970 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2971 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2972 _ACEOF
2973 sed '
2974 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2975 s/^/s,@/; s/!/@,|#_!!_#|/
2978 s/'"$ac_delim"'$/,g/; t
2979 s/$/\\/; p
2980 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2981 ' >>$CONFIG_STATUS <conf$$subs.sed
2982 rm -f conf$$subs.sed
2983 cat >>$CONFIG_STATUS <<_ACEOF
2984 :end
2985 s/|#_!!_#|//g
2986 CEOF$ac_eof
2987 _ACEOF
2990 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2991 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2992 # trailing colons and then remove the whole line if VPATH becomes empty
2993 # (actually we leave an empty line to preserve line numbers).
2994 if test "x$srcdir" = x.; then
2995 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2996 s/:*\$(srcdir):*/:/
2997 s/:*\${srcdir}:*/:/
2998 s/:*@srcdir@:*/:/
2999 s/^\([^=]*=[ ]*\):*/\1/
3000 s/:*$//
3001 s/^[^=]*=[ ]*$//
3005 cat >>$CONFIG_STATUS <<\_ACEOF
3006 fi # test -n "$CONFIG_FILES"
3009 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3011 case $ac_tag in
3012 :[FHLC]) ac_mode=$ac_tag; continue;;
3013 esac
3014 case $ac_mode$ac_tag in
3015 :[FHL]*:*);;
3016 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3017 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3018 { (exit 1); exit 1; }; };;
3019 :[FH]-) ac_tag=-:-;;
3020 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3021 esac
3022 ac_save_IFS=$IFS
3023 IFS=:
3024 set x $ac_tag
3025 IFS=$ac_save_IFS
3026 shift
3027 ac_file=$1
3028 shift
3030 case $ac_mode in
3031 :L) ac_source=$1;;
3032 :[FH])
3033 ac_file_inputs=
3034 for ac_f
3036 case $ac_f in
3037 -) ac_f="$tmp/stdin";;
3038 *) # Look for the file first in the build tree, then in the source tree
3039 # (if the path is not absolute). The absolute path cannot be DOS-style,
3040 # because $ac_f cannot contain `:'.
3041 test -f "$ac_f" ||
3042 case $ac_f in
3043 [\\/$]*) false;;
3044 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3045 esac ||
3046 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3047 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3048 { (exit 1); exit 1; }; };;
3049 esac
3050 ac_file_inputs="$ac_file_inputs $ac_f"
3051 done
3053 # Let's still pretend it is `configure' which instantiates (i.e., don't
3054 # use $as_me), people would be surprised to read:
3055 # /* config.h. Generated by config.status. */
3056 configure_input="Generated from "`IFS=:
3057 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3058 if test x"$ac_file" != x-; then
3059 configure_input="$ac_file. $configure_input"
3060 { echo "$as_me:$LINENO: creating $ac_file" >&5
3061 echo "$as_me: creating $ac_file" >&6;}
3064 case $ac_tag in
3065 *:-:* | *:-) cat >"$tmp/stdin";;
3066 esac
3068 esac
3070 ac_dir=`$as_dirname -- "$ac_file" ||
3071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3072 X"$ac_file" : 'X\(//\)[^/]' \| \
3073 X"$ac_file" : 'X\(//\)$' \| \
3074 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3075 echo X"$ac_file" |
3076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3077 s//\1/
3080 /^X\(\/\/\)[^/].*/{
3081 s//\1/
3084 /^X\(\/\/\)$/{
3085 s//\1/
3088 /^X\(\/\).*/{
3089 s//\1/
3092 s/.*/./; q'`
3093 { as_dir="$ac_dir"
3094 case $as_dir in #(
3095 -*) as_dir=./$as_dir;;
3096 esac
3097 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3098 as_dirs=
3099 while :; do
3100 case $as_dir in #(
3101 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3102 *) as_qdir=$as_dir;;
3103 esac
3104 as_dirs="'$as_qdir' $as_dirs"
3105 as_dir=`$as_dirname -- "$as_dir" ||
3106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3107 X"$as_dir" : 'X\(//\)[^/]' \| \
3108 X"$as_dir" : 'X\(//\)$' \| \
3109 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3110 echo X"$as_dir" |
3111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3112 s//\1/
3115 /^X\(\/\/\)[^/].*/{
3116 s//\1/
3119 /^X\(\/\/\)$/{
3120 s//\1/
3123 /^X\(\/\).*/{
3124 s//\1/
3127 s/.*/./; q'`
3128 test -d "$as_dir" && break
3129 done
3130 test -z "$as_dirs" || eval "mkdir $as_dirs"
3131 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3132 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3133 { (exit 1); exit 1; }; }; }
3134 ac_builddir=.
3136 case "$ac_dir" in
3137 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3139 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3140 # A ".." for each directory in $ac_dir_suffix.
3141 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3142 case $ac_top_builddir_sub in
3143 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3144 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3145 esac ;;
3146 esac
3147 ac_abs_top_builddir=$ac_pwd
3148 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3149 # for backward compatibility:
3150 ac_top_builddir=$ac_top_build_prefix
3152 case $srcdir in
3153 .) # We are building in place.
3154 ac_srcdir=.
3155 ac_top_srcdir=$ac_top_builddir_sub
3156 ac_abs_top_srcdir=$ac_pwd ;;
3157 [\\/]* | ?:[\\/]* ) # Absolute name.
3158 ac_srcdir=$srcdir$ac_dir_suffix;
3159 ac_top_srcdir=$srcdir
3160 ac_abs_top_srcdir=$srcdir ;;
3161 *) # Relative name.
3162 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3163 ac_top_srcdir=$ac_top_build_prefix$srcdir
3164 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3165 esac
3166 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3169 case $ac_mode in
3172 # CONFIG_FILE
3175 case $INSTALL in
3176 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3177 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3178 esac
3179 ac_MKDIR_P=$MKDIR_P
3180 case $MKDIR_P in
3181 [\\/$]* | ?:[\\/]* ) ;;
3182 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3183 esac
3184 _ACEOF
3186 cat >>$CONFIG_STATUS <<\_ACEOF
3187 # If the template does not know about datarootdir, expand it.
3188 # FIXME: This hack should be removed a few years after 2.60.
3189 ac_datarootdir_hack=; ac_datarootdir_seen=
3191 case `sed -n '/datarootdir/ {
3195 /@datadir@/p
3196 /@docdir@/p
3197 /@infodir@/p
3198 /@localedir@/p
3199 /@mandir@/p
3200 ' $ac_file_inputs` in
3201 *datarootdir*) ac_datarootdir_seen=yes;;
3202 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3203 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3204 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3205 _ACEOF
3206 cat >>$CONFIG_STATUS <<_ACEOF
3207 ac_datarootdir_hack='
3208 s&@datadir@&$datadir&g
3209 s&@docdir@&$docdir&g
3210 s&@infodir@&$infodir&g
3211 s&@localedir@&$localedir&g
3212 s&@mandir@&$mandir&g
3213 s&\\\${datarootdir}&$datarootdir&g' ;;
3214 esac
3215 _ACEOF
3217 # Neutralize VPATH when `$srcdir' = `.'.
3218 # Shell code in configure.ac might set extrasub.
3219 # FIXME: do we really want to maintain this feature?
3220 cat >>$CONFIG_STATUS <<_ACEOF
3221 sed "$ac_vpsub
3222 $extrasub
3223 _ACEOF
3224 cat >>$CONFIG_STATUS <<\_ACEOF
3226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3227 s&@configure_input@&$configure_input&;t t
3228 s&@top_builddir@&$ac_top_builddir_sub&;t t
3229 s&@srcdir@&$ac_srcdir&;t t
3230 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3231 s&@top_srcdir@&$ac_top_srcdir&;t t
3232 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3233 s&@builddir@&$ac_builddir&;t t
3234 s&@abs_builddir@&$ac_abs_builddir&;t t
3235 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3236 s&@INSTALL@&$ac_INSTALL&;t t
3237 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3238 $ac_datarootdir_hack
3239 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3242 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3243 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3244 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3245 which seems to be undefined. Please make sure it is defined." >&5
3246 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3247 which seems to be undefined. Please make sure it is defined." >&2;}
3249 rm -f "$tmp/stdin"
3250 case $ac_file in
3251 -) cat "$tmp/out"; rm -f "$tmp/out";;
3252 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3253 esac
3257 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3258 echo "$as_me: executing $ac_file commands" >&6;}
3260 esac
3263 case $ac_file$ac_mode in
3264 "acat-link":C) ln -f -s atool acat ;;
3265 "adiff-link":C) ln -f -s atool adiff ;;
3266 "als-link":C) ln -f -s atool als ;;
3267 "apack-link":C) ln -f -s atool apack ;;
3268 "aunpack-link":C) ln -f -s atool aunpack ;;
3269 "arepack-link":C) ln -f -s atool arepack ;;
3271 esac
3272 done # for ac_tag
3275 { (exit 0); exit 0; }
3276 _ACEOF
3277 chmod +x $CONFIG_STATUS
3278 ac_clean_files=$ac_clean_files_save
3281 # configure is writing to config.log, and then calls config.status.
3282 # config.status does its own redirection, appending to config.log.
3283 # Unfortunately, on DOS this fails, as config.log is still kept open
3284 # by configure, so config.status won't be able to write to it; its
3285 # output is simply discarded. So we exec the FD to /dev/null,
3286 # effectively closing config.log, so it can be properly (re)opened and
3287 # appended to by config.status. When coming back to configure, we
3288 # need to make the FD available again.
3289 if test "$no_create" != yes; then
3290 ac_cs_success=:
3291 ac_config_status_args=
3292 test "$silent" = yes &&
3293 ac_config_status_args="$ac_config_status_args --quiet"
3294 exec 5>/dev/null
3295 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3296 exec 5>>config.log
3297 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3298 # would make configure fail if this is the last instruction.
3299 $ac_cs_success || { (exit 1); exit 1; }