atool-0.39.0.tar.gz
[atool.git] / configure
blob54936fe82cc6a6c10d4150b241922fa61d5306a2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for atool 0.39.0.
5 # Report bugs to <oskar@osk.mine.nu>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
152 esac
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 else
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and oskar@osk.mine.nu
233 $0: about your system, including any error possibly output
234 $0: before this message. Then install a modern shell, or
235 $0: manually run the script under such a shell if you do
236 $0: have one."
238 exit 1
242 SHELL=${CONFIG_SHELL-/bin/sh}
243 export SHELL
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
251 # as_fn_unset VAR
252 # ---------------
253 # Portably unset VAR.
254 as_fn_unset ()
256 { eval $1=; unset $1;}
258 as_unset=as_fn_unset
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
263 as_fn_set_status ()
265 return $1
266 } # as_fn_set_status
268 # as_fn_exit STATUS
269 # -----------------
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271 as_fn_exit ()
273 set +e
274 as_fn_set_status $1
275 exit $1
276 } # as_fn_exit
278 # as_fn_mkdir_p
279 # -------------
280 # Create "$as_dir" as a directory, including parents if necessary.
281 as_fn_mkdir_p ()
284 case $as_dir in #(
285 -*) as_dir=./$as_dir;;
286 esac
287 test -d "$as_dir" || eval $as_mkdir_p || {
288 as_dirs=
289 while :; do
290 case $as_dir in #(
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 *) as_qdir=$as_dir;;
293 esac
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302 s//\1/
305 /^X\(\/\/\)[^/].*/{
306 s//\1/
309 /^X\(\/\/\)$/{
310 s//\1/
313 /^X\(\/\).*/{
314 s//\1/
317 s/.*/./; q'`
318 test -d "$as_dir" && break
319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324 } # as_fn_mkdir_p
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
330 # implementations.
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
334 eval $1+=\$2
336 else
337 as_fn_append ()
339 eval $1=\$$1\$2
341 fi # as_fn_append
343 # as_fn_arith ARG...
344 # ------------------
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349 eval 'as_fn_arith ()
351 as_val=$(( $* ))
353 else
354 as_fn_arith ()
356 as_val=`expr "$@" || test $? -eq 1`
358 fi # as_fn_arith
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
366 as_fn_error ()
368 as_status=$1; test $as_status -eq 0 && as_status=1
369 if test "$4"; then
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
375 } # as_fn_error
377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
379 as_expr=expr
380 else
381 as_expr=false
384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 as_basename=basename
386 else
387 as_basename=false
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_dirname=dirname
392 else
393 as_dirname=false
396 as_me=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 $as_echo X/"$0" |
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
402 s//\1/
405 /^X\/\(\/\/\)$/{
406 s//\1/
409 /^X\/\(\/\).*/{
410 s//\1/
413 s/.*/./; q'`
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
428 sed -n '
430 /[$]LINENO/=
431 ' <$as_myself |
432 sed '
433 s/[$]LINENO.*/&-/
434 t lineno
436 :lineno
438 :loop
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 t loop
441 s/-\n.*//
442 ' >$as_me.lineno &&
443 chmod +x "$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
449 . "./$as_me.lineno"
450 # Exit status is that of the last command.
451 exit
454 ECHO_C= ECHO_N= ECHO_T=
455 case `echo -n x` in #(((((
456 -n*)
457 case `echo 'xy\c'` in
458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
459 xy) ECHO_C='\c';;
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
461 ECHO_T=' ';;
462 esac;;
464 ECHO_N='-n';;
465 esac
467 rm -f conf$$ conf$$.exe conf$$.file
468 if test -d conf$$.dir; then
469 rm -f conf$$.dir/conf$$.file
470 else
471 rm -f conf$$.dir
472 mkdir conf$$.dir 2>/dev/null
474 if (echo >conf$$.file) 2>/dev/null; then
475 if ln -s conf$$.file conf$$ 2>/dev/null; then
476 as_ln_s='ln -s'
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482 as_ln_s='cp -p'
483 elif ln conf$$.file conf$$ 2>/dev/null; then
484 as_ln_s=ln
485 else
486 as_ln_s='cp -p'
488 else
489 as_ln_s='cp -p'
491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492 rmdir conf$$.dir 2>/dev/null
494 if mkdir -p . 2>/dev/null; then
495 as_mkdir_p='mkdir -p "$as_dir"'
496 else
497 test -d ./-p && rmdir ./-p
498 as_mkdir_p=false
501 if test -x / >/dev/null 2>&1; then
502 as_test_x='test -x'
503 else
504 if ls -dL / >/dev/null 2>&1; then
505 as_ls_L_option=L
506 else
507 as_ls_L_option=
509 as_test_x='
510 eval sh -c '\''
511 if test -d "$1"; then
512 test -d "$1/.";
513 else
514 case $1 in #(
515 -*)set "./$1";;
516 esac;
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
519 '\'' sh
522 as_executable_p=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" || exec 7<&0 </dev/null
532 exec 6>&1
534 # Name of the host.
535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 # Initializations.
542 ac_default_prefix=/usr/local
543 ac_clean_files=
544 ac_config_libobj_dir=.
545 LIBOBJS=
546 cross_compiling=no
547 subdirs=
548 MFLAGS=
549 MAKEFLAGS=
551 # Identity of this package.
552 PACKAGE_NAME='atool'
553 PACKAGE_TARNAME='atool'
554 PACKAGE_VERSION='0.39.0'
555 PACKAGE_STRING='atool 0.39.0'
556 PACKAGE_BUGREPORT='oskar@osk.mine.nu'
557 PACKAGE_URL=''
559 ac_unique_file="atool"
560 ac_subst_vars='LTLIBOBJS
561 LIBOBJS
562 PERL_SITELIB
563 PERL_SHEBANG
564 PERL
565 LOCALSTATEDIR
566 SYSCONFDIR
567 SBINDIR
568 am__untar
569 am__tar
570 AMTAR
571 am__leading_dot
572 SET_MAKE
574 mkdir_p
575 MKDIR_P
576 INSTALL_STRIP_PROGRAM
577 STRIP
578 install_sh
579 MAKEINFO
580 AUTOHEADER
581 AUTOMAKE
582 AUTOCONF
583 ACLOCAL
584 VERSION
585 PACKAGE
586 CYGPATH_W
587 am__isrc
588 INSTALL_DATA
589 INSTALL_SCRIPT
590 INSTALL_PROGRAM
591 target_alias
592 host_alias
593 build_alias
594 LIBS
595 ECHO_T
596 ECHO_N
597 ECHO_C
598 DEFS
599 mandir
600 localedir
601 libdir
602 psdir
603 pdfdir
604 dvidir
605 htmldir
606 infodir
607 docdir
608 oldincludedir
609 includedir
610 localstatedir
611 sharedstatedir
612 sysconfdir
613 datadir
614 datarootdir
615 libexecdir
616 sbindir
617 bindir
618 program_transform_name
619 prefix
620 exec_prefix
621 PACKAGE_URL
622 PACKAGE_BUGREPORT
623 PACKAGE_STRING
624 PACKAGE_VERSION
625 PACKAGE_TARNAME
626 PACKAGE_NAME
627 PATH_SEPARATOR
628 SHELL'
629 ac_subst_files=''
630 ac_user_opts='
631 enable_option_checking
633 ac_precious_vars='build_alias
634 host_alias
635 target_alias'
638 # Initialize some variables set by options.
639 ac_init_help=
640 ac_init_version=false
641 ac_unrecognized_opts=
642 ac_unrecognized_sep=
643 # The variables have the same names as the options, with
644 # dashes changed to underlines.
645 cache_file=/dev/null
646 exec_prefix=NONE
647 no_create=
648 no_recursion=
649 prefix=NONE
650 program_prefix=NONE
651 program_suffix=NONE
652 program_transform_name=s,x,x,
653 silent=
654 site=
655 srcdir=
656 verbose=
657 x_includes=NONE
658 x_libraries=NONE
660 # Installation directory options.
661 # These are left unexpanded so users can "make install exec_prefix=/foo"
662 # and all the variables that are supposed to be based on exec_prefix
663 # by default will actually change.
664 # Use braces instead of parens because sh, perl, etc. also accept them.
665 # (The list follows the same order as the GNU Coding Standards.)
666 bindir='${exec_prefix}/bin'
667 sbindir='${exec_prefix}/sbin'
668 libexecdir='${exec_prefix}/libexec'
669 datarootdir='${prefix}/share'
670 datadir='${datarootdir}'
671 sysconfdir='${prefix}/etc'
672 sharedstatedir='${prefix}/com'
673 localstatedir='${prefix}/var'
674 includedir='${prefix}/include'
675 oldincludedir='/usr/include'
676 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
677 infodir='${datarootdir}/info'
678 htmldir='${docdir}'
679 dvidir='${docdir}'
680 pdfdir='${docdir}'
681 psdir='${docdir}'
682 libdir='${exec_prefix}/lib'
683 localedir='${datarootdir}/locale'
684 mandir='${datarootdir}/man'
686 ac_prev=
687 ac_dashdash=
688 for ac_option
690 # If the previous option needs an argument, assign it.
691 if test -n "$ac_prev"; then
692 eval $ac_prev=\$ac_option
693 ac_prev=
694 continue
697 case $ac_option in
698 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699 *=) ac_optarg= ;;
700 *) ac_optarg=yes ;;
701 esac
703 # Accept the important Cygnus configure options, so we can diagnose typos.
705 case $ac_dashdash$ac_option in
707 ac_dashdash=yes ;;
709 -bindir | --bindir | --bindi | --bind | --bin | --bi)
710 ac_prev=bindir ;;
711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
712 bindir=$ac_optarg ;;
714 -build | --build | --buil | --bui | --bu)
715 ac_prev=build_alias ;;
716 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717 build_alias=$ac_optarg ;;
719 -cache-file | --cache-file | --cache-fil | --cache-fi \
720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
721 ac_prev=cache_file ;;
722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
724 cache_file=$ac_optarg ;;
726 --config-cache | -C)
727 cache_file=config.cache ;;
729 -datadir | --datadir | --datadi | --datad)
730 ac_prev=datadir ;;
731 -datadir=* | --datadir=* | --datadi=* | --datad=*)
732 datadir=$ac_optarg ;;
734 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
735 | --dataroo | --dataro | --datar)
736 ac_prev=datarootdir ;;
737 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
738 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
739 datarootdir=$ac_optarg ;;
741 -disable-* | --disable-*)
742 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
745 as_fn_error $? "invalid feature name: $ac_useropt"
746 ac_useropt_orig=$ac_useropt
747 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
748 case $ac_user_opts in
750 "enable_$ac_useropt"
751 "*) ;;
752 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
753 ac_unrecognized_sep=', ';;
754 esac
755 eval enable_$ac_useropt=no ;;
757 -docdir | --docdir | --docdi | --doc | --do)
758 ac_prev=docdir ;;
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760 docdir=$ac_optarg ;;
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763 ac_prev=dvidir ;;
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765 dvidir=$ac_optarg ;;
767 -enable-* | --enable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 as_fn_error $? "invalid feature name: $ac_useropt"
772 ac_useropt_orig=$ac_useropt
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
776 "enable_$ac_useropt"
777 "*) ;;
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
780 esac
781 eval enable_$ac_useropt=\$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_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid package name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
980 "with_$ac_useropt"
981 "*) ;;
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
984 esac
985 eval with_$ac_useropt=\$ac_optarg ;;
987 -without-* | --without-*)
988 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991 as_fn_error $? "invalid package name: $ac_useropt"
992 ac_useropt_orig=$ac_useropt
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
996 "with_$ac_useropt"
997 "*) ;;
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1000 esac
1001 eval with_$ac_useropt=no ;;
1003 --x)
1004 # Obsolete; use --with-x.
1005 with_x=yes ;;
1007 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1008 | --x-incl | --x-inc | --x-in | --x-i)
1009 ac_prev=x_includes ;;
1010 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1011 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1012 x_includes=$ac_optarg ;;
1014 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1015 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1016 ac_prev=x_libraries ;;
1017 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1018 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1019 x_libraries=$ac_optarg ;;
1021 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1022 Try \`$0 --help' for more information"
1025 *=*)
1026 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1027 # Reject names that are not valid shell variable names.
1028 case $ac_envvar in #(
1029 '' | [0-9]* | *[!_$as_cr_alnum]* )
1030 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1031 esac
1032 eval $ac_envvar=\$ac_optarg
1033 export $ac_envvar ;;
1036 # FIXME: should be removed in autoconf 3.0.
1037 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1038 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1040 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1043 esac
1044 done
1046 if test -n "$ac_prev"; then
1047 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1048 as_fn_error $? "missing argument to $ac_option"
1051 if test -n "$ac_unrecognized_opts"; then
1052 case $enable_option_checking in
1053 no) ;;
1054 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1055 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1056 esac
1059 # Check all directory arguments for consistency.
1060 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1061 datadir sysconfdir sharedstatedir localstatedir includedir \
1062 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1063 libdir localedir mandir
1065 eval ac_val=\$$ac_var
1066 # Remove trailing slashes.
1067 case $ac_val in
1068 */ )
1069 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1070 eval $ac_var=\$ac_val;;
1071 esac
1072 # Be sure to have absolute directory names.
1073 case $ac_val in
1074 [\\/$]* | ?:[\\/]* ) continue;;
1075 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1076 esac
1077 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1078 done
1080 # There might be people who depend on the old broken behavior: `$host'
1081 # used to hold the argument of --host etc.
1082 # FIXME: To remove some day.
1083 build=$build_alias
1084 host=$host_alias
1085 target=$target_alias
1087 # FIXME: To remove some day.
1088 if test "x$host_alias" != x; then
1089 if test "x$build_alias" = x; then
1090 cross_compiling=maybe
1091 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1092 If a cross compiler is detected then cross compile mode will be used" >&2
1093 elif test "x$build_alias" != "x$host_alias"; then
1094 cross_compiling=yes
1098 ac_tool_prefix=
1099 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1101 test "$silent" = yes && exec 6>/dev/null
1104 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1105 ac_ls_di=`ls -di .` &&
1106 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1107 as_fn_error $? "working directory cannot be determined"
1108 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1109 as_fn_error $? "pwd does not report name of working directory"
1112 # Find the source files, if location was not specified.
1113 if test -z "$srcdir"; then
1114 ac_srcdir_defaulted=yes
1115 # Try the directory containing this script, then the parent directory.
1116 ac_confdir=`$as_dirname -- "$as_myself" ||
1117 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1118 X"$as_myself" : 'X\(//\)[^/]' \| \
1119 X"$as_myself" : 'X\(//\)$' \| \
1120 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1121 $as_echo X"$as_myself" |
1122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1123 s//\1/
1126 /^X\(\/\/\)[^/].*/{
1127 s//\1/
1130 /^X\(\/\/\)$/{
1131 s//\1/
1134 /^X\(\/\).*/{
1135 s//\1/
1138 s/.*/./; q'`
1139 srcdir=$ac_confdir
1140 if test ! -r "$srcdir/$ac_unique_file"; then
1141 srcdir=..
1143 else
1144 ac_srcdir_defaulted=no
1146 if test ! -r "$srcdir/$ac_unique_file"; then
1147 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1148 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1150 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1151 ac_abs_confdir=`(
1152 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1153 pwd)`
1154 # When building in place, set srcdir=.
1155 if test "$ac_abs_confdir" = "$ac_pwd"; then
1156 srcdir=.
1158 # Remove unnecessary trailing slashes from srcdir.
1159 # Double slashes in file names in object file debugging info
1160 # mess up M-x gdb in Emacs.
1161 case $srcdir in
1162 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1163 esac
1164 for ac_var in $ac_precious_vars; do
1165 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1166 eval ac_env_${ac_var}_value=\$${ac_var}
1167 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1168 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1169 done
1172 # Report the --help message.
1174 if test "$ac_init_help" = "long"; then
1175 # Omit some internal or obsolete options to make the list less imposing.
1176 # This message is too long to be a string in the A/UX 3.1 sh.
1177 cat <<_ACEOF
1178 \`configure' configures atool 0.39.0 to adapt to many kinds of systems.
1180 Usage: $0 [OPTION]... [VAR=VALUE]...
1182 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1183 VAR=VALUE. See below for descriptions of some of the useful variables.
1185 Defaults for the options are specified in brackets.
1187 Configuration:
1188 -h, --help display this help and exit
1189 --help=short display options specific to this package
1190 --help=recursive display the short help of all the included packages
1191 -V, --version display version information and exit
1192 -q, --quiet, --silent do not print \`checking ...' messages
1193 --cache-file=FILE cache test results in FILE [disabled]
1194 -C, --config-cache alias for \`--cache-file=config.cache'
1195 -n, --no-create do not create output files
1196 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1198 Installation directories:
1199 --prefix=PREFIX install architecture-independent files in PREFIX
1200 [$ac_default_prefix]
1201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1202 [PREFIX]
1204 By default, \`make install' will install all the files in
1205 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1206 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1207 for instance \`--prefix=\$HOME'.
1209 For better control, use the options below.
1211 Fine tuning of the installation directories:
1212 --bindir=DIR user executables [EPREFIX/bin]
1213 --sbindir=DIR system admin executables [EPREFIX/sbin]
1214 --libexecdir=DIR program executables [EPREFIX/libexec]
1215 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1216 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1217 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1218 --libdir=DIR object code libraries [EPREFIX/lib]
1219 --includedir=DIR C header files [PREFIX/include]
1220 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1223 --infodir=DIR info documentation [DATAROOTDIR/info]
1224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1225 --mandir=DIR man documentation [DATAROOTDIR/man]
1226 --docdir=DIR documentation root [DATAROOTDIR/doc/atool]
1227 --htmldir=DIR html documentation [DOCDIR]
1228 --dvidir=DIR dvi documentation [DOCDIR]
1229 --pdfdir=DIR pdf documentation [DOCDIR]
1230 --psdir=DIR ps documentation [DOCDIR]
1231 _ACEOF
1233 cat <<\_ACEOF
1235 Program names:
1236 --program-prefix=PREFIX prepend PREFIX to installed program names
1237 --program-suffix=SUFFIX append SUFFIX to installed program names
1238 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1239 _ACEOF
1242 if test -n "$ac_init_help"; then
1243 case $ac_init_help in
1244 short | recursive ) echo "Configuration of atool 0.39.0:";;
1245 esac
1246 cat <<\_ACEOF
1248 Report bugs to <oskar@osk.mine.nu>.
1249 _ACEOF
1250 ac_status=$?
1253 if test "$ac_init_help" = "recursive"; then
1254 # If there are subdirs, report their specific --help.
1255 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1256 test -d "$ac_dir" ||
1257 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1258 continue
1259 ac_builddir=.
1261 case "$ac_dir" in
1262 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1264 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1265 # A ".." for each directory in $ac_dir_suffix.
1266 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1267 case $ac_top_builddir_sub in
1268 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1270 esac ;;
1271 esac
1272 ac_abs_top_builddir=$ac_pwd
1273 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1274 # for backward compatibility:
1275 ac_top_builddir=$ac_top_build_prefix
1277 case $srcdir in
1278 .) # We are building in place.
1279 ac_srcdir=.
1280 ac_top_srcdir=$ac_top_builddir_sub
1281 ac_abs_top_srcdir=$ac_pwd ;;
1282 [\\/]* | ?:[\\/]* ) # Absolute name.
1283 ac_srcdir=$srcdir$ac_dir_suffix;
1284 ac_top_srcdir=$srcdir
1285 ac_abs_top_srcdir=$srcdir ;;
1286 *) # Relative name.
1287 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1288 ac_top_srcdir=$ac_top_build_prefix$srcdir
1289 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1290 esac
1291 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1293 cd "$ac_dir" || { ac_status=$?; continue; }
1294 # Check for guested configure.
1295 if test -f "$ac_srcdir/configure.gnu"; then
1296 echo &&
1297 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1298 elif test -f "$ac_srcdir/configure"; then
1299 echo &&
1300 $SHELL "$ac_srcdir/configure" --help=recursive
1301 else
1302 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1303 fi || ac_status=$?
1304 cd "$ac_pwd" || { ac_status=$?; break; }
1305 done
1308 test -n "$ac_init_help" && exit $ac_status
1309 if $ac_init_version; then
1310 cat <<\_ACEOF
1311 atool configure 0.39.0
1312 generated by GNU Autoconf 2.67
1314 Copyright (C) 2010 Free Software Foundation, Inc.
1315 This configure script is free software; the Free Software Foundation
1316 gives unlimited permission to copy, distribute and modify it.
1317 _ACEOF
1318 exit
1321 ## ------------------------ ##
1322 ## Autoconf initialization. ##
1323 ## ------------------------ ##
1324 cat >config.log <<_ACEOF
1325 This file contains any messages produced by compilers while
1326 running configure, to aid debugging if configure makes a mistake.
1328 It was created by atool $as_me 0.39.0, which was
1329 generated by GNU Autoconf 2.67. Invocation command line was
1331 $ $0 $@
1333 _ACEOF
1334 exec 5>>config.log
1336 cat <<_ASUNAME
1337 ## --------- ##
1338 ## Platform. ##
1339 ## --------- ##
1341 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1342 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1343 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1344 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1345 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1347 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1348 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1350 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1351 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1352 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1353 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1354 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1355 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1356 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1358 _ASUNAME
1360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 for as_dir in $PATH
1363 IFS=$as_save_IFS
1364 test -z "$as_dir" && as_dir=.
1365 $as_echo "PATH: $as_dir"
1366 done
1367 IFS=$as_save_IFS
1369 } >&5
1371 cat >&5 <<_ACEOF
1374 ## ----------- ##
1375 ## Core tests. ##
1376 ## ----------- ##
1378 _ACEOF
1381 # Keep a trace of the command line.
1382 # Strip out --no-create and --no-recursion so they do not pile up.
1383 # Strip out --silent because we don't want to record it for future runs.
1384 # Also quote any args containing shell meta-characters.
1385 # Make two passes to allow for proper duplicate-argument suppression.
1386 ac_configure_args=
1387 ac_configure_args0=
1388 ac_configure_args1=
1389 ac_must_keep_next=false
1390 for ac_pass in 1 2
1392 for ac_arg
1394 case $ac_arg in
1395 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1396 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1397 | -silent | --silent | --silen | --sile | --sil)
1398 continue ;;
1399 *\'*)
1400 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1401 esac
1402 case $ac_pass in
1403 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1405 as_fn_append ac_configure_args1 " '$ac_arg'"
1406 if test $ac_must_keep_next = true; then
1407 ac_must_keep_next=false # Got value, back to normal.
1408 else
1409 case $ac_arg in
1410 *=* | --config-cache | -C | -disable-* | --disable-* \
1411 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1412 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1413 | -with-* | --with-* | -without-* | --without-* | --x)
1414 case "$ac_configure_args0 " in
1415 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1416 esac
1418 -* ) ac_must_keep_next=true ;;
1419 esac
1421 as_fn_append ac_configure_args " '$ac_arg'"
1423 esac
1424 done
1425 done
1426 { ac_configure_args0=; unset ac_configure_args0;}
1427 { ac_configure_args1=; unset ac_configure_args1;}
1429 # When interrupted or exit'd, cleanup temporary files, and complete
1430 # config.log. We remove comments because anyway the quotes in there
1431 # would cause problems or look ugly.
1432 # WARNING: Use '\'' to represent an apostrophe within the trap.
1433 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1434 trap 'exit_status=$?
1435 # Save into config.log some information that might help in debugging.
1437 echo
1439 $as_echo "## ---------------- ##
1440 ## Cache variables. ##
1441 ## ---------------- ##"
1442 echo
1443 # The following way of writing the cache mishandles newlines in values,
1445 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1446 eval ac_val=\$$ac_var
1447 case $ac_val in #(
1448 *${as_nl}*)
1449 case $ac_var in #(
1450 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1451 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1452 esac
1453 case $ac_var in #(
1454 _ | IFS | as_nl) ;; #(
1455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1456 *) { eval $ac_var=; unset $ac_var;} ;;
1457 esac ;;
1458 esac
1459 done
1460 (set) 2>&1 |
1461 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1462 *${as_nl}ac_space=\ *)
1463 sed -n \
1464 "s/'\''/'\''\\\\'\'''\''/g;
1465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1466 ;; #(
1468 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1470 esac |
1471 sort
1473 echo
1475 $as_echo "## ----------------- ##
1476 ## Output variables. ##
1477 ## ----------------- ##"
1478 echo
1479 for ac_var in $ac_subst_vars
1481 eval ac_val=\$$ac_var
1482 case $ac_val in
1483 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1484 esac
1485 $as_echo "$ac_var='\''$ac_val'\''"
1486 done | sort
1487 echo
1489 if test -n "$ac_subst_files"; then
1490 $as_echo "## ------------------- ##
1491 ## File substitutions. ##
1492 ## ------------------- ##"
1493 echo
1494 for ac_var in $ac_subst_files
1496 eval ac_val=\$$ac_var
1497 case $ac_val in
1498 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1499 esac
1500 $as_echo "$ac_var='\''$ac_val'\''"
1501 done | sort
1502 echo
1505 if test -s confdefs.h; then
1506 $as_echo "## ----------- ##
1507 ## confdefs.h. ##
1508 ## ----------- ##"
1509 echo
1510 cat confdefs.h
1511 echo
1513 test "$ac_signal" != 0 &&
1514 $as_echo "$as_me: caught signal $ac_signal"
1515 $as_echo "$as_me: exit $exit_status"
1516 } >&5
1517 rm -f core *.core core.conftest.* &&
1518 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1519 exit $exit_status
1521 for ac_signal in 1 2 13 15; do
1522 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1523 done
1524 ac_signal=0
1526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1527 rm -f -r conftest* confdefs.h
1529 $as_echo "/* confdefs.h */" > confdefs.h
1531 # Predefined preprocessor variables.
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_NAME "$PACKAGE_NAME"
1535 _ACEOF
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1539 _ACEOF
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1543 _ACEOF
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_STRING "$PACKAGE_STRING"
1547 _ACEOF
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1551 _ACEOF
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_URL "$PACKAGE_URL"
1555 _ACEOF
1558 # Let the site file select an alternate cache file if it wants to.
1559 # Prefer an explicitly selected file to automatically selected ones.
1560 ac_site_file1=NONE
1561 ac_site_file2=NONE
1562 if test -n "$CONFIG_SITE"; then
1563 # We do not want a PATH search for config.site.
1564 case $CONFIG_SITE in #((
1565 -*) ac_site_file1=./$CONFIG_SITE;;
1566 */*) ac_site_file1=$CONFIG_SITE;;
1567 *) ac_site_file1=./$CONFIG_SITE;;
1568 esac
1569 elif test "x$prefix" != xNONE; then
1570 ac_site_file1=$prefix/share/config.site
1571 ac_site_file2=$prefix/etc/config.site
1572 else
1573 ac_site_file1=$ac_default_prefix/share/config.site
1574 ac_site_file2=$ac_default_prefix/etc/config.site
1576 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1578 test "x$ac_site_file" = xNONE && continue
1579 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1581 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1582 sed 's/^/| /' "$ac_site_file" >&5
1583 . "$ac_site_file" \
1584 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1586 as_fn_error $? "failed to load site script $ac_site_file
1587 See \`config.log' for more details" "$LINENO" 5 ; }
1589 done
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special files
1593 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1594 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1596 $as_echo "$as_me: loading cache $cache_file" >&6;}
1597 case $cache_file in
1598 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1599 *) . "./$cache_file";;
1600 esac
1602 else
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1604 $as_echo "$as_me: creating cache $cache_file" >&6;}
1605 >$cache_file
1608 # Check that the precious variables saved in the cache have kept the same
1609 # value.
1610 ac_cache_corrupted=false
1611 for ac_var in $ac_precious_vars; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1615 eval ac_new_val=\$ac_env_${ac_var}_value
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1623 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 # differences in whitespace do not lead to failure.
1629 ac_old_val_w=`echo x $ac_old_val`
1630 ac_new_val_w=`echo x $ac_new_val`
1631 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1633 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1634 ac_cache_corrupted=:
1635 else
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1637 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1638 eval $ac_var=\$ac_old_val
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1641 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1643 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1644 fi;;
1645 esac
1646 # Pass precious variables to config.status.
1647 if test "$ac_new_set" = set; then
1648 case $ac_new_val in
1649 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1650 *) ac_arg=$ac_var=$ac_new_val ;;
1651 esac
1652 case " $ac_configure_args " in
1653 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1654 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1655 esac
1657 done
1658 if $ac_cache_corrupted; then
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1662 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1663 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1665 ## -------------------- ##
1666 ## Main body of script. ##
1667 ## -------------------- ##
1669 ac_ext=c
1670 ac_cpp='$CPP $CPPFLAGS'
1671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1678 ac_aux_dir=
1679 for ac_dir in build-aux "$srcdir"/build-aux; do
1680 if test -f "$ac_dir/install-sh"; then
1681 ac_aux_dir=$ac_dir
1682 ac_install_sh="$ac_aux_dir/install-sh -c"
1683 break
1684 elif test -f "$ac_dir/install.sh"; then
1685 ac_aux_dir=$ac_dir
1686 ac_install_sh="$ac_aux_dir/install.sh -c"
1687 break
1688 elif test -f "$ac_dir/shtool"; then
1689 ac_aux_dir=$ac_dir
1690 ac_install_sh="$ac_aux_dir/shtool install -c"
1691 break
1693 done
1694 if test -z "$ac_aux_dir"; then
1695 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1698 # These three variables are undocumented and unsupported,
1699 # and are intended to be withdrawn in a future Autoconf release.
1700 # They can cause serious problems if a builder's source tree is in a directory
1701 # whose full name contains unusual characters.
1702 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1703 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1704 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1707 am__api_version='1.11'
1709 # Find a good install program. We prefer a C program (faster),
1710 # so one script is as good as another. But avoid the broken or
1711 # incompatible versions:
1712 # SysV /etc/install, /usr/sbin/install
1713 # SunOS /usr/etc/install
1714 # IRIX /sbin/install
1715 # AIX /bin/install
1716 # AmigaOS /C/install, which installs bootblocks on floppy discs
1717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1720 # OS/2's system install, which has a completely different semantic
1721 # ./install, which can be erroneously created by make from ./install.sh.
1722 # Reject install programs that cannot install multiple files.
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1724 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1725 if test -z "$INSTALL"; then
1726 if test "${ac_cv_path_install+set}" = set; then :
1727 $as_echo_n "(cached) " >&6
1728 else
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 for as_dir in $PATH
1732 IFS=$as_save_IFS
1733 test -z "$as_dir" && as_dir=.
1734 # Account for people who put trailing slashes in PATH elements.
1735 case $as_dir/ in #((
1736 ./ | .// | /[cC]/* | \
1737 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1738 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1739 /usr/ucb/* ) ;;
1741 # OSF1 and SCO ODT 3.0 have their own names for install.
1742 # Don't use installbsd from OSF since it installs stuff as root
1743 # by default.
1744 for ac_prog in ginstall scoinst install; do
1745 for ac_exec_ext in '' $ac_executable_extensions; do
1746 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1747 if test $ac_prog = install &&
1748 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1749 # AIX install. It has an incompatible calling convention.
1751 elif test $ac_prog = install &&
1752 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1753 # program-specific install script used by HP pwplus--don't use.
1755 else
1756 rm -rf conftest.one conftest.two conftest.dir
1757 echo one > conftest.one
1758 echo two > conftest.two
1759 mkdir conftest.dir
1760 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1761 test -s conftest.one && test -s conftest.two &&
1762 test -s conftest.dir/conftest.one &&
1763 test -s conftest.dir/conftest.two
1764 then
1765 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1766 break 3
1770 done
1771 done
1773 esac
1775 done
1776 IFS=$as_save_IFS
1778 rm -rf conftest.one conftest.two conftest.dir
1781 if test "${ac_cv_path_install+set}" = set; then
1782 INSTALL=$ac_cv_path_install
1783 else
1784 # As a last resort, use the slow shell script. Don't cache a
1785 # value for INSTALL within a source directory, because that will
1786 # break other packages using the cache if that directory is
1787 # removed, or if the value is a relative name.
1788 INSTALL=$ac_install_sh
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1792 $as_echo "$INSTALL" >&6; }
1794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1795 # It thinks the first close brace ends the variable substitution.
1796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1803 $as_echo_n "checking whether build environment is sane... " >&6; }
1804 # Just in case
1805 sleep 1
1806 echo timestamp > conftest.file
1807 # Reject unsafe characters in $srcdir or the absolute working directory
1808 # name. Accept space and tab only in the latter.
1809 am_lf='
1811 case `pwd` in
1812 *[\\\"\#\$\&\'\`$am_lf]*)
1813 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1814 esac
1815 case $srcdir in
1816 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1817 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1818 esac
1820 # Do `set' in a subshell so we don't clobber the current shell's
1821 # arguments. Must try -L first in case configure is actually a
1822 # symlink; some systems play weird games with the mod time of symlinks
1823 # (eg FreeBSD returns the mod time of the symlink's containing
1824 # directory).
1825 if (
1826 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1827 if test "$*" = "X"; then
1828 # -L didn't work.
1829 set X `ls -t "$srcdir/configure" conftest.file`
1831 rm -f conftest.file
1832 if test "$*" != "X $srcdir/configure conftest.file" \
1833 && test "$*" != "X conftest.file $srcdir/configure"; then
1835 # If neither matched, then we have a broken ls. This can happen
1836 # if, for instance, CONFIG_SHELL is bash and it inherits a
1837 # broken ls alias from the environment. This has actually
1838 # happened. Such a system could not be considered "sane".
1839 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1840 alias in your environment" "$LINENO" 5
1843 test "$2" = conftest.file
1845 then
1846 # Ok.
1848 else
1849 as_fn_error $? "newly created file is older than distributed files!
1850 Check your system clock" "$LINENO" 5
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1853 $as_echo "yes" >&6; }
1854 test "$program_prefix" != NONE &&
1855 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1856 # Use a double $ so make ignores it.
1857 test "$program_suffix" != NONE &&
1858 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1859 # Double any \ or $.
1860 # By default was `s,x,x', remove it if useless.
1861 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1862 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1864 # expand $ac_aux_dir to an absolute path
1865 am_aux_dir=`cd $ac_aux_dir && pwd`
1867 if test x"${MISSING+set}" != xset; then
1868 case $am_aux_dir in
1869 *\ * | *\ *)
1870 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1872 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1873 esac
1875 # Use eval to expand $SHELL
1876 if eval "$MISSING --run true"; then
1877 am_missing_run="$MISSING --run "
1878 else
1879 am_missing_run=
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1881 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1884 if test x"${install_sh}" != xset; then
1885 case $am_aux_dir in
1886 *\ * | *\ *)
1887 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1889 install_sh="\${SHELL} $am_aux_dir/install-sh"
1890 esac
1893 # Installed binaries are usually stripped using `strip' when the user
1894 # run `make install-strip'. However `strip' might not be the right
1895 # tool to use in cross-compilation environments, therefore Automake
1896 # will honor the `STRIP' environment variable to overrule this program.
1897 if test "$cross_compiling" != no; then
1898 if test -n "$ac_tool_prefix"; then
1899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1900 set dummy ${ac_tool_prefix}strip; ac_word=$2
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1902 $as_echo_n "checking for $ac_word... " >&6; }
1903 if test "${ac_cv_prog_STRIP+set}" = set; then :
1904 $as_echo_n "(cached) " >&6
1905 else
1906 if test -n "$STRIP"; then
1907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1920 done
1921 done
1922 IFS=$as_save_IFS
1926 STRIP=$ac_cv_prog_STRIP
1927 if test -n "$STRIP"; then
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1929 $as_echo "$STRIP" >&6; }
1930 else
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1932 $as_echo "no" >&6; }
1937 if test -z "$ac_cv_prog_STRIP"; then
1938 ac_ct_STRIP=$STRIP
1939 # Extract the first word of "strip", so it can be a program name with args.
1940 set dummy strip; ac_word=$2
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1942 $as_echo_n "checking for $ac_word... " >&6; }
1943 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 if test -n "$ac_ct_STRIP"; then
1947 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1948 else
1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 for as_dir in $PATH
1952 IFS=$as_save_IFS
1953 test -z "$as_dir" && as_dir=.
1954 for ac_exec_ext in '' $ac_executable_extensions; do
1955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1956 ac_cv_prog_ac_ct_STRIP="strip"
1957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 break 2
1960 done
1961 done
1962 IFS=$as_save_IFS
1966 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1967 if test -n "$ac_ct_STRIP"; then
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1969 $as_echo "$ac_ct_STRIP" >&6; }
1970 else
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1972 $as_echo "no" >&6; }
1975 if test "x$ac_ct_STRIP" = x; then
1976 STRIP=":"
1977 else
1978 case $cross_compiling:$ac_tool_warned in
1979 yes:)
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1982 ac_tool_warned=yes ;;
1983 esac
1984 STRIP=$ac_ct_STRIP
1986 else
1987 STRIP="$ac_cv_prog_STRIP"
1991 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1994 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1995 if test -z "$MKDIR_P"; then
1996 if test "${ac_cv_path_mkdir+set}" = set; then :
1997 $as_echo_n "(cached) " >&6
1998 else
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2002 IFS=$as_save_IFS
2003 test -z "$as_dir" && as_dir=.
2004 for ac_prog in mkdir gmkdir; do
2005 for ac_exec_ext in '' $ac_executable_extensions; do
2006 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2007 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2008 'mkdir (GNU coreutils) '* | \
2009 'mkdir (coreutils) '* | \
2010 'mkdir (fileutils) '4.1*)
2011 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2012 break 3;;
2013 esac
2014 done
2015 done
2016 done
2017 IFS=$as_save_IFS
2021 test -d ./--version && rmdir ./--version
2022 if test "${ac_cv_path_mkdir+set}" = set; then
2023 MKDIR_P="$ac_cv_path_mkdir -p"
2024 else
2025 # As a last resort, use the slow shell script. Don't cache a
2026 # value for MKDIR_P within a source directory, because that will
2027 # break other packages using the cache if that directory is
2028 # removed, or if the value is a relative name.
2029 MKDIR_P="$ac_install_sh -d"
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2033 $as_echo "$MKDIR_P" >&6; }
2035 mkdir_p="$MKDIR_P"
2036 case $mkdir_p in
2037 [\\/$]* | ?:[\\/]*) ;;
2038 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2039 esac
2041 for ac_prog in gawk mawk nawk awk
2043 # Extract the first word of "$ac_prog", so it can be a program name with args.
2044 set dummy $ac_prog; ac_word=$2
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2046 $as_echo_n "checking for $ac_word... " >&6; }
2047 if test "${ac_cv_prog_AWK+set}" = set; then :
2048 $as_echo_n "(cached) " >&6
2049 else
2050 if test -n "$AWK"; then
2051 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2052 else
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 for as_dir in $PATH
2056 IFS=$as_save_IFS
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060 ac_cv_prog_AWK="$ac_prog"
2061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 break 2
2064 done
2065 done
2066 IFS=$as_save_IFS
2070 AWK=$ac_cv_prog_AWK
2071 if test -n "$AWK"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2073 $as_echo "$AWK" >&6; }
2074 else
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2076 $as_echo "no" >&6; }
2080 test -n "$AWK" && break
2081 done
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2084 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2085 set x ${MAKE-make}
2086 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2087 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2088 $as_echo_n "(cached) " >&6
2089 else
2090 cat >conftest.make <<\_ACEOF
2091 SHELL = /bin/sh
2092 all:
2093 @echo '@@@%%%=$(MAKE)=@@@%%%'
2094 _ACEOF
2095 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2096 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2097 *@@@%%%=?*=@@@%%%*)
2098 eval ac_cv_prog_make_${ac_make}_set=yes;;
2100 eval ac_cv_prog_make_${ac_make}_set=no;;
2101 esac
2102 rm -f conftest.make
2104 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2106 $as_echo "yes" >&6; }
2107 SET_MAKE=
2108 else
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2110 $as_echo "no" >&6; }
2111 SET_MAKE="MAKE=${MAKE-make}"
2114 rm -rf .tst 2>/dev/null
2115 mkdir .tst 2>/dev/null
2116 if test -d .tst; then
2117 am__leading_dot=.
2118 else
2119 am__leading_dot=_
2121 rmdir .tst 2>/dev/null
2123 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2124 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2125 # is not polluted with repeated "-I."
2126 am__isrc=' -I$(srcdir)'
2127 # test to see if srcdir already configured
2128 if test -f $srcdir/config.status; then
2129 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2133 # test whether we have cygpath
2134 if test -z "$CYGPATH_W"; then
2135 if (cygpath --version) >/dev/null 2>/dev/null; then
2136 CYGPATH_W='cygpath -w'
2137 else
2138 CYGPATH_W=echo
2143 # Define the identity of the package.
2144 PACKAGE='atool'
2145 VERSION='0.39.0'
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE "$PACKAGE"
2150 _ACEOF
2153 cat >>confdefs.h <<_ACEOF
2154 #define VERSION "$VERSION"
2155 _ACEOF
2157 # Some tools Automake needs.
2159 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2162 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2165 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2168 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2171 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2173 # We need awk for the "check" target. The system "awk" is bad on
2174 # some platforms.
2175 # Always define AMTAR for backward compatibility.
2177 AMTAR=${AMTAR-"${am_missing_run}tar"}
2179 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2187 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2188 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2189 ac_define_dir=`eval echo $sbindir`
2190 ac_define_dir=`eval echo $ac_define_dir`
2191 SBINDIR="$ac_define_dir"
2193 cat >>confdefs.h <<_ACEOF
2194 #define SBINDIR "$ac_define_dir"
2195 _ACEOF
2199 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2200 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2201 ac_define_dir=`eval echo $sysconfdir`
2202 ac_define_dir=`eval echo $ac_define_dir`
2203 SYSCONFDIR="$ac_define_dir"
2205 cat >>confdefs.h <<_ACEOF
2206 #define SYSCONFDIR "$ac_define_dir"
2207 _ACEOF
2211 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2212 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2213 ac_define_dir=`eval echo $localstatedir`
2214 ac_define_dir=`eval echo $ac_define_dir`
2215 LOCALSTATEDIR="$ac_define_dir"
2217 cat >>confdefs.h <<_ACEOF
2218 #define LOCALSTATEDIR "$ac_define_dir"
2219 _ACEOF
2223 # Extract the first word of "perl", so it can be a program name with args.
2224 set dummy perl; ac_word=$2
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2226 $as_echo_n "checking for $ac_word... " >&6; }
2227 if test "${ac_cv_path_PERL+set}" = set; then :
2228 $as_echo_n "(cached) " >&6
2229 else
2230 case $PERL in
2231 [\\/]* | ?:[\\/]*)
2232 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2246 done
2247 done
2248 IFS=$as_save_IFS
2251 esac
2253 PERL=$ac_cv_path_PERL
2254 if test -n "$PERL"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2256 $as_echo "$PERL" >&6; }
2257 else
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2259 $as_echo "no" >&6; }
2263 eval `$PERL -V:startperl`
2264 if test "${startperl:0:1}" = "#" ; then
2265 startperl="\\$startperl"
2267 PERL_SHEBANG=$startperl
2269 eval `$PERL -V:sitelib`
2270 PERL_SITELIB=$sitelib
2273 ac_config_files="$ac_config_files atool.1 atool.spec Makefile"
2275 ac_config_commands="$ac_config_commands acat-link"
2277 ac_config_commands="$ac_config_commands adiff-link"
2279 ac_config_commands="$ac_config_commands als-link"
2281 ac_config_commands="$ac_config_commands apack-link"
2283 ac_config_commands="$ac_config_commands aunpack-link"
2285 ac_config_commands="$ac_config_commands arepack-link"
2287 cat >confcache <<\_ACEOF
2288 # This file is a shell script that caches the results of configure
2289 # tests run on this system so they can be shared between configure
2290 # scripts and configure runs, see configure's option --config-cache.
2291 # It is not useful on other systems. If it contains results you don't
2292 # want to keep, you may remove or edit it.
2294 # config.status only pays attention to the cache file if you give it
2295 # the --recheck option to rerun configure.
2297 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2298 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2299 # following values.
2301 _ACEOF
2303 # The following way of writing the cache mishandles newlines in values,
2304 # but we know of no workaround that is simple, portable, and efficient.
2305 # So, we kill variables containing newlines.
2306 # Ultrix sh set writes to stderr and can't be redirected directly,
2307 # and sets the high bit in the cache file unless we assign to the vars.
2309 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2310 eval ac_val=\$$ac_var
2311 case $ac_val in #(
2312 *${as_nl}*)
2313 case $ac_var in #(
2314 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2315 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2316 esac
2317 case $ac_var in #(
2318 _ | IFS | as_nl) ;; #(
2319 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2320 *) { eval $ac_var=; unset $ac_var;} ;;
2321 esac ;;
2322 esac
2323 done
2325 (set) 2>&1 |
2326 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2327 *${as_nl}ac_space=\ *)
2328 # `set' does not quote correctly, so add quotes: double-quote
2329 # substitution turns \\\\ into \\, and sed turns \\ into \.
2330 sed -n \
2331 "s/'/'\\\\''/g;
2332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2333 ;; #(
2335 # `set' quotes correctly as required by POSIX, so do not add quotes.
2336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2338 esac |
2339 sort
2341 sed '
2342 /^ac_cv_env_/b end
2343 t clear
2344 :clear
2345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2346 t end
2347 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2348 :end' >>confcache
2349 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2350 if test -w "$cache_file"; then
2351 test "x$cache_file" != "x/dev/null" &&
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2353 $as_echo "$as_me: updating cache $cache_file" >&6;}
2354 cat confcache >$cache_file
2355 else
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2357 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2360 rm -f confcache
2362 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2363 # Let make expand exec_prefix.
2364 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2366 # Transform confdefs.h into DEFS.
2367 # Protect against shell expansion while executing Makefile rules.
2368 # Protect against Makefile macro expansion.
2370 # If the first sed substitution is executed (which looks for macros that
2371 # take arguments), then branch to the quote section. Otherwise,
2372 # look for a macro that doesn't take arguments.
2373 ac_script='
2374 :mline
2375 /\\$/{
2377 s,\\\n,,
2378 b mline
2380 t clear
2381 :clear
2382 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2383 t quote
2384 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2385 t quote
2386 b any
2387 :quote
2388 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2389 s/\[/\\&/g
2390 s/\]/\\&/g
2391 s/\$/$$/g
2393 :any
2396 s/^\n//
2397 s/\n/ /g
2401 DEFS=`sed -n "$ac_script" confdefs.h`
2404 ac_libobjs=
2405 ac_ltlibobjs=
2407 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2408 # 1. Remove the extension, and $U if already installed.
2409 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2410 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2411 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2412 # will be set to the directory where LIBOBJS objects are built.
2413 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2414 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2415 done
2416 LIBOBJS=$ac_libobjs
2418 LTLIBOBJS=$ac_ltlibobjs
2423 : ${CONFIG_STATUS=./config.status}
2424 ac_write_fail=0
2425 ac_clean_files_save=$ac_clean_files
2426 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2428 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2429 as_write_fail=0
2430 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2431 #! $SHELL
2432 # Generated by $as_me.
2433 # Run this file to recreate the current configuration.
2434 # Compiler output produced by configure, useful for debugging
2435 # configure, is in config.log if it exists.
2437 debug=false
2438 ac_cs_recheck=false
2439 ac_cs_silent=false
2441 SHELL=\${CONFIG_SHELL-$SHELL}
2442 export SHELL
2443 _ASEOF
2444 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2445 ## -------------------- ##
2446 ## M4sh Initialization. ##
2447 ## -------------------- ##
2449 # Be more Bourne compatible
2450 DUALCASE=1; export DUALCASE # for MKS sh
2451 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2452 emulate sh
2453 NULLCMD=:
2454 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2455 # is contrary to our usage. Disable this feature.
2456 alias -g '${1+"$@"}'='"$@"'
2457 setopt NO_GLOB_SUBST
2458 else
2459 case `(set -o) 2>/dev/null` in #(
2460 *posix*) :
2461 set -o posix ;; #(
2462 *) :
2464 esac
2468 as_nl='
2470 export as_nl
2471 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2472 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2473 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2474 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2475 # Prefer a ksh shell builtin over an external printf program on Solaris,
2476 # but without wasting forks for bash or zsh.
2477 if test -z "$BASH_VERSION$ZSH_VERSION" \
2478 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2479 as_echo='print -r --'
2480 as_echo_n='print -rn --'
2481 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2482 as_echo='printf %s\n'
2483 as_echo_n='printf %s'
2484 else
2485 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2486 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2487 as_echo_n='/usr/ucb/echo -n'
2488 else
2489 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2490 as_echo_n_body='eval
2491 arg=$1;
2492 case $arg in #(
2493 *"$as_nl"*)
2494 expr "X$arg" : "X\\(.*\\)$as_nl";
2495 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2496 esac;
2497 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2499 export as_echo_n_body
2500 as_echo_n='sh -c $as_echo_n_body as_echo'
2502 export as_echo_body
2503 as_echo='sh -c $as_echo_body as_echo'
2506 # The user is always right.
2507 if test "${PATH_SEPARATOR+set}" != set; then
2508 PATH_SEPARATOR=:
2509 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2510 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2511 PATH_SEPARATOR=';'
2516 # IFS
2517 # We need space, tab and new line, in precisely that order. Quoting is
2518 # there to prevent editors from complaining about space-tab.
2519 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2520 # splitting by setting IFS to empty value.)
2521 IFS=" "" $as_nl"
2523 # Find who we are. Look in the path if we contain no directory separator.
2524 case $0 in #((
2525 *[\\/]* ) as_myself=$0 ;;
2526 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 for as_dir in $PATH
2529 IFS=$as_save_IFS
2530 test -z "$as_dir" && as_dir=.
2531 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2532 done
2533 IFS=$as_save_IFS
2536 esac
2537 # We did not find ourselves, most probably we were run as `sh COMMAND'
2538 # in which case we are not to be found in the path.
2539 if test "x$as_myself" = x; then
2540 as_myself=$0
2542 if test ! -f "$as_myself"; then
2543 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2544 exit 1
2547 # Unset variables that we do not need and which cause bugs (e.g. in
2548 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2549 # suppresses any "Segmentation fault" message there. '((' could
2550 # trigger a bug in pdksh 5.2.14.
2551 for as_var in BASH_ENV ENV MAIL MAILPATH
2552 do eval test x\${$as_var+set} = xset \
2553 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2554 done
2555 PS1='$ '
2556 PS2='> '
2557 PS4='+ '
2559 # NLS nuisances.
2560 LC_ALL=C
2561 export LC_ALL
2562 LANGUAGE=C
2563 export LANGUAGE
2565 # CDPATH.
2566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2569 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2570 # ----------------------------------------
2571 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2572 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2573 # script with STATUS, using 1 if that was 0.
2574 as_fn_error ()
2576 as_status=$1; test $as_status -eq 0 && as_status=1
2577 if test "$4"; then
2578 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2581 $as_echo "$as_me: error: $2" >&2
2582 as_fn_exit $as_status
2583 } # as_fn_error
2586 # as_fn_set_status STATUS
2587 # -----------------------
2588 # Set $? to STATUS, without forking.
2589 as_fn_set_status ()
2591 return $1
2592 } # as_fn_set_status
2594 # as_fn_exit STATUS
2595 # -----------------
2596 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2597 as_fn_exit ()
2599 set +e
2600 as_fn_set_status $1
2601 exit $1
2602 } # as_fn_exit
2604 # as_fn_unset VAR
2605 # ---------------
2606 # Portably unset VAR.
2607 as_fn_unset ()
2609 { eval $1=; unset $1;}
2611 as_unset=as_fn_unset
2612 # as_fn_append VAR VALUE
2613 # ----------------------
2614 # Append the text in VALUE to the end of the definition contained in VAR. Take
2615 # advantage of any shell optimizations that allow amortized linear growth over
2616 # repeated appends, instead of the typical quadratic growth present in naive
2617 # implementations.
2618 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2619 eval 'as_fn_append ()
2621 eval $1+=\$2
2623 else
2624 as_fn_append ()
2626 eval $1=\$$1\$2
2628 fi # as_fn_append
2630 # as_fn_arith ARG...
2631 # ------------------
2632 # Perform arithmetic evaluation on the ARGs, and store the result in the
2633 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2634 # must be portable across $(()) and expr.
2635 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2636 eval 'as_fn_arith ()
2638 as_val=$(( $* ))
2640 else
2641 as_fn_arith ()
2643 as_val=`expr "$@" || test $? -eq 1`
2645 fi # as_fn_arith
2648 if expr a : '\(a\)' >/dev/null 2>&1 &&
2649 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2650 as_expr=expr
2651 else
2652 as_expr=false
2655 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2656 as_basename=basename
2657 else
2658 as_basename=false
2661 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2662 as_dirname=dirname
2663 else
2664 as_dirname=false
2667 as_me=`$as_basename -- "$0" ||
2668 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2669 X"$0" : 'X\(//\)$' \| \
2670 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2671 $as_echo X/"$0" |
2672 sed '/^.*\/\([^/][^/]*\)\/*$/{
2673 s//\1/
2676 /^X\/\(\/\/\)$/{
2677 s//\1/
2680 /^X\/\(\/\).*/{
2681 s//\1/
2684 s/.*/./; q'`
2686 # Avoid depending upon Character Ranges.
2687 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2688 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2689 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2690 as_cr_digits='0123456789'
2691 as_cr_alnum=$as_cr_Letters$as_cr_digits
2693 ECHO_C= ECHO_N= ECHO_T=
2694 case `echo -n x` in #(((((
2695 -n*)
2696 case `echo 'xy\c'` in
2697 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2698 xy) ECHO_C='\c';;
2699 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2700 ECHO_T=' ';;
2701 esac;;
2703 ECHO_N='-n';;
2704 esac
2706 rm -f conf$$ conf$$.exe conf$$.file
2707 if test -d conf$$.dir; then
2708 rm -f conf$$.dir/conf$$.file
2709 else
2710 rm -f conf$$.dir
2711 mkdir conf$$.dir 2>/dev/null
2713 if (echo >conf$$.file) 2>/dev/null; then
2714 if ln -s conf$$.file conf$$ 2>/dev/null; then
2715 as_ln_s='ln -s'
2716 # ... but there are two gotchas:
2717 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2718 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2719 # In both cases, we have to default to `cp -p'.
2720 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2721 as_ln_s='cp -p'
2722 elif ln conf$$.file conf$$ 2>/dev/null; then
2723 as_ln_s=ln
2724 else
2725 as_ln_s='cp -p'
2727 else
2728 as_ln_s='cp -p'
2730 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2731 rmdir conf$$.dir 2>/dev/null
2734 # as_fn_mkdir_p
2735 # -------------
2736 # Create "$as_dir" as a directory, including parents if necessary.
2737 as_fn_mkdir_p ()
2740 case $as_dir in #(
2741 -*) as_dir=./$as_dir;;
2742 esac
2743 test -d "$as_dir" || eval $as_mkdir_p || {
2744 as_dirs=
2745 while :; do
2746 case $as_dir in #(
2747 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2748 *) as_qdir=$as_dir;;
2749 esac
2750 as_dirs="'$as_qdir' $as_dirs"
2751 as_dir=`$as_dirname -- "$as_dir" ||
2752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2753 X"$as_dir" : 'X\(//\)[^/]' \| \
2754 X"$as_dir" : 'X\(//\)$' \| \
2755 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2756 $as_echo X"$as_dir" |
2757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2758 s//\1/
2761 /^X\(\/\/\)[^/].*/{
2762 s//\1/
2765 /^X\(\/\/\)$/{
2766 s//\1/
2769 /^X\(\/\).*/{
2770 s//\1/
2773 s/.*/./; q'`
2774 test -d "$as_dir" && break
2775 done
2776 test -z "$as_dirs" || eval "mkdir $as_dirs"
2777 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2780 } # as_fn_mkdir_p
2781 if mkdir -p . 2>/dev/null; then
2782 as_mkdir_p='mkdir -p "$as_dir"'
2783 else
2784 test -d ./-p && rmdir ./-p
2785 as_mkdir_p=false
2788 if test -x / >/dev/null 2>&1; then
2789 as_test_x='test -x'
2790 else
2791 if ls -dL / >/dev/null 2>&1; then
2792 as_ls_L_option=L
2793 else
2794 as_ls_L_option=
2796 as_test_x='
2797 eval sh -c '\''
2798 if test -d "$1"; then
2799 test -d "$1/.";
2800 else
2801 case $1 in #(
2802 -*)set "./$1";;
2803 esac;
2804 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2805 ???[sx]*):;;*)false;;esac;fi
2806 '\'' sh
2809 as_executable_p=$as_test_x
2811 # Sed expression to map a string onto a valid CPP name.
2812 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2814 # Sed expression to map a string onto a valid variable name.
2815 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2818 exec 6>&1
2819 ## ----------------------------------- ##
2820 ## Main body of $CONFIG_STATUS script. ##
2821 ## ----------------------------------- ##
2822 _ASEOF
2823 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2826 # Save the log message, to keep $0 and so on meaningful, and to
2827 # report actual input values of CONFIG_FILES etc. instead of their
2828 # values after options handling.
2829 ac_log="
2830 This file was extended by atool $as_me 0.39.0, which was
2831 generated by GNU Autoconf 2.67. Invocation command line was
2833 CONFIG_FILES = $CONFIG_FILES
2834 CONFIG_HEADERS = $CONFIG_HEADERS
2835 CONFIG_LINKS = $CONFIG_LINKS
2836 CONFIG_COMMANDS = $CONFIG_COMMANDS
2837 $ $0 $@
2839 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2842 _ACEOF
2844 case $ac_config_files in *"
2845 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2846 esac
2850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2851 # Files that config.status was made for.
2852 config_files="$ac_config_files"
2853 config_commands="$ac_config_commands"
2855 _ACEOF
2857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2858 ac_cs_usage="\
2859 \`$as_me' instantiates files and other configuration actions
2860 from templates according to the current configuration. Unless the files
2861 and actions are specified as TAGs, all are instantiated by default.
2863 Usage: $0 [OPTION]... [TAG]...
2865 -h, --help print this help, then exit
2866 -V, --version print version number and configuration settings, then exit
2867 --config print configuration, then exit
2868 -q, --quiet, --silent
2869 do not print progress messages
2870 -d, --debug don't remove temporary files
2871 --recheck update $as_me by reconfiguring in the same conditions
2872 --file=FILE[:TEMPLATE]
2873 instantiate the configuration file FILE
2875 Configuration files:
2876 $config_files
2878 Configuration commands:
2879 $config_commands
2881 Report bugs to <oskar@osk.mine.nu>."
2883 _ACEOF
2884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2885 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2886 ac_cs_version="\\
2887 atool config.status 0.39.0
2888 configured by $0, generated by GNU Autoconf 2.67,
2889 with options \\"\$ac_cs_config\\"
2891 Copyright (C) 2010 Free Software Foundation, Inc.
2892 This config.status script is free software; the Free Software Foundation
2893 gives unlimited permission to copy, distribute and modify it."
2895 ac_pwd='$ac_pwd'
2896 srcdir='$srcdir'
2897 INSTALL='$INSTALL'
2898 MKDIR_P='$MKDIR_P'
2899 AWK='$AWK'
2900 test -n "\$AWK" || AWK=awk
2901 _ACEOF
2903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2904 # The default lists apply if the user does not specify any file.
2905 ac_need_defaults=:
2906 while test $# != 0
2908 case $1 in
2909 --*=?*)
2910 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2911 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2912 ac_shift=:
2914 --*=)
2915 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2916 ac_optarg=
2917 ac_shift=:
2920 ac_option=$1
2921 ac_optarg=$2
2922 ac_shift=shift
2924 esac
2926 case $ac_option in
2927 # Handling of the options.
2928 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2929 ac_cs_recheck=: ;;
2930 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2931 $as_echo "$ac_cs_version"; exit ;;
2932 --config | --confi | --conf | --con | --co | --c )
2933 $as_echo "$ac_cs_config"; exit ;;
2934 --debug | --debu | --deb | --de | --d | -d )
2935 debug=: ;;
2936 --file | --fil | --fi | --f )
2937 $ac_shift
2938 case $ac_optarg in
2939 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2940 '') as_fn_error $? "missing file argument" ;;
2941 esac
2942 as_fn_append CONFIG_FILES " '$ac_optarg'"
2943 ac_need_defaults=false;;
2944 --he | --h | --help | --hel | -h )
2945 $as_echo "$ac_cs_usage"; exit ;;
2946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2947 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2948 ac_cs_silent=: ;;
2950 # This is an error.
2951 -*) as_fn_error $? "unrecognized option: \`$1'
2952 Try \`$0 --help' for more information." ;;
2954 *) as_fn_append ac_config_targets " $1"
2955 ac_need_defaults=false ;;
2957 esac
2958 shift
2959 done
2961 ac_configure_extra_args=
2963 if $ac_cs_silent; then
2964 exec 6>/dev/null
2965 ac_configure_extra_args="$ac_configure_extra_args --silent"
2968 _ACEOF
2969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2970 if \$ac_cs_recheck; then
2971 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2972 shift
2973 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2974 CONFIG_SHELL='$SHELL'
2975 export CONFIG_SHELL
2976 exec "\$@"
2979 _ACEOF
2980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2981 exec 5>>config.log
2983 echo
2984 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2985 ## Running $as_me. ##
2986 _ASBOX
2987 $as_echo "$ac_log"
2988 } >&5
2990 _ACEOF
2991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2992 _ACEOF
2994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2996 # Handling of arguments.
2997 for ac_config_target in $ac_config_targets
2999 case $ac_config_target in
3000 "atool.1") CONFIG_FILES="$CONFIG_FILES atool.1" ;;
3001 "atool.spec") CONFIG_FILES="$CONFIG_FILES atool.spec" ;;
3002 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3003 "acat-link") CONFIG_COMMANDS="$CONFIG_COMMANDS acat-link" ;;
3004 "adiff-link") CONFIG_COMMANDS="$CONFIG_COMMANDS adiff-link" ;;
3005 "als-link") CONFIG_COMMANDS="$CONFIG_COMMANDS als-link" ;;
3006 "apack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS apack-link" ;;
3007 "aunpack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS aunpack-link" ;;
3008 "arepack-link") CONFIG_COMMANDS="$CONFIG_COMMANDS arepack-link" ;;
3010 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3011 esac
3012 done
3015 # If the user did not use the arguments to specify the items to instantiate,
3016 # then the envvar interface is used. Set only those that are not.
3017 # We use the long form for the default assignment because of an extremely
3018 # bizarre bug on SunOS 4.1.3.
3019 if $ac_need_defaults; then
3020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3024 # Have a temporary directory for convenience. Make it in the build tree
3025 # simply because there is no reason against having it here, and in addition,
3026 # creating and moving files from /tmp can sometimes cause problems.
3027 # Hook for its removal unless debugging.
3028 # Note that there is a small window in which the directory will not be cleaned:
3029 # after its creation but before its name has been assigned to `$tmp'.
3030 $debug ||
3032 tmp=
3033 trap 'exit_status=$?
3034 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3036 trap 'as_fn_exit 1' 1 2 13 15
3038 # Create a (secure) tmp directory for tmp files.
3041 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3042 test -n "$tmp" && test -d "$tmp"
3043 } ||
3045 tmp=./conf$$-$RANDOM
3046 (umask 077 && mkdir "$tmp")
3047 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3049 # Set up the scripts for CONFIG_FILES section.
3050 # No need to generate them if there are no CONFIG_FILES.
3051 # This happens for instance with `./config.status config.h'.
3052 if test -n "$CONFIG_FILES"; then
3055 ac_cr=`echo X | tr X '\015'`
3056 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3057 # But we know of no other shell where ac_cr would be empty at this
3058 # point, so we can use a bashism as a fallback.
3059 if test "x$ac_cr" = x; then
3060 eval ac_cr=\$\'\\r\'
3062 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3063 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3064 ac_cs_awk_cr='\\r'
3065 else
3066 ac_cs_awk_cr=$ac_cr
3069 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3070 _ACEOF
3074 echo "cat >conf$$subs.awk <<_ACEOF" &&
3075 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3076 echo "_ACEOF"
3077 } >conf$$subs.sh ||
3078 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3079 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3080 ac_delim='%!_!# '
3081 for ac_last_try in false false false false false :; do
3082 . ./conf$$subs.sh ||
3083 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3085 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3086 if test $ac_delim_n = $ac_delim_num; then
3087 break
3088 elif $ac_last_try; then
3089 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3090 else
3091 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3093 done
3094 rm -f conf$$subs.sh
3096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3097 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3098 _ACEOF
3099 sed -n '
3101 s/^/S["/; s/!.*/"]=/
3104 s/^[^!]*!//
3105 :repl
3106 t repl
3107 s/'"$ac_delim"'$//
3108 t delim
3111 s/\(.\{148\}\)..*/\1/
3112 t more1
3113 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3116 b repl
3117 :more1
3118 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3121 s/.\{148\}//
3122 t nl
3123 :delim
3125 s/\(.\{148\}\)..*/\1/
3126 t more2
3127 s/["\\]/\\&/g; s/^/"/; s/$/"/
3130 :more2
3131 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3134 s/.\{148\}//
3135 t delim
3136 ' <conf$$subs.awk | sed '
3137 /^[^""]/{
3139 s/\n//
3141 ' >>$CONFIG_STATUS || ac_write_fail=1
3142 rm -f conf$$subs.awk
3143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3144 _ACAWK
3145 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3146 for (key in S) S_is_set[key] = 1
3147 FS = "\a"
3151 line = $ 0
3152 nfields = split(line, field, "@")
3153 substed = 0
3154 len = length(field[1])
3155 for (i = 2; i < nfields; i++) {
3156 key = field[i]
3157 keylen = length(key)
3158 if (S_is_set[key]) {
3159 value = S[key]
3160 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3161 len += length(value) + length(field[++i])
3162 substed = 1
3163 } else
3164 len += 1 + keylen
3167 print line
3170 _ACAWK
3171 _ACEOF
3172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3173 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3174 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3175 else
3177 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3178 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3179 _ACEOF
3181 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3182 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3183 # trailing colons and then remove the whole line if VPATH becomes empty
3184 # (actually we leave an empty line to preserve line numbers).
3185 if test "x$srcdir" = x.; then
3186 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3188 s///
3189 s/^/:/
3190 s/[ ]*$/:/
3191 s/:\$(srcdir):/:/g
3192 s/:\${srcdir}:/:/g
3193 s/:@srcdir@:/:/g
3194 s/^:*//
3195 s/:*$//
3197 s/\(=[ ]*\).*/\1/
3199 s/\n//
3200 s/^[^=]*=[ ]*$//
3204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3205 fi # test -n "$CONFIG_FILES"
3208 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3209 shift
3210 for ac_tag
3212 case $ac_tag in
3213 :[FHLC]) ac_mode=$ac_tag; continue;;
3214 esac
3215 case $ac_mode$ac_tag in
3216 :[FHL]*:*);;
3217 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3218 :[FH]-) ac_tag=-:-;;
3219 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3220 esac
3221 ac_save_IFS=$IFS
3222 IFS=:
3223 set x $ac_tag
3224 IFS=$ac_save_IFS
3225 shift
3226 ac_file=$1
3227 shift
3229 case $ac_mode in
3230 :L) ac_source=$1;;
3231 :[FH])
3232 ac_file_inputs=
3233 for ac_f
3235 case $ac_f in
3236 -) ac_f="$tmp/stdin";;
3237 *) # Look for the file first in the build tree, then in the source tree
3238 # (if the path is not absolute). The absolute path cannot be DOS-style,
3239 # because $ac_f cannot contain `:'.
3240 test -f "$ac_f" ||
3241 case $ac_f in
3242 [\\/$]*) false;;
3243 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3244 esac ||
3245 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3246 esac
3247 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3248 as_fn_append ac_file_inputs " '$ac_f'"
3249 done
3251 # Let's still pretend it is `configure' which instantiates (i.e., don't
3252 # use $as_me), people would be surprised to read:
3253 # /* config.h. Generated by config.status. */
3254 configure_input='Generated from '`
3255 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3256 `' by configure.'
3257 if test x"$ac_file" != x-; then
3258 configure_input="$ac_file. $configure_input"
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3260 $as_echo "$as_me: creating $ac_file" >&6;}
3262 # Neutralize special characters interpreted by sed in replacement strings.
3263 case $configure_input in #(
3264 *\&* | *\|* | *\\* )
3265 ac_sed_conf_input=`$as_echo "$configure_input" |
3266 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3267 *) ac_sed_conf_input=$configure_input;;
3268 esac
3270 case $ac_tag in
3271 *:-:* | *:-) cat >"$tmp/stdin" \
3272 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3273 esac
3275 esac
3277 ac_dir=`$as_dirname -- "$ac_file" ||
3278 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3279 X"$ac_file" : 'X\(//\)[^/]' \| \
3280 X"$ac_file" : 'X\(//\)$' \| \
3281 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3282 $as_echo X"$ac_file" |
3283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3284 s//\1/
3287 /^X\(\/\/\)[^/].*/{
3288 s//\1/
3291 /^X\(\/\/\)$/{
3292 s//\1/
3295 /^X\(\/\).*/{
3296 s//\1/
3299 s/.*/./; q'`
3300 as_dir="$ac_dir"; as_fn_mkdir_p
3301 ac_builddir=.
3303 case "$ac_dir" in
3304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3306 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3307 # A ".." for each directory in $ac_dir_suffix.
3308 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3309 case $ac_top_builddir_sub in
3310 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3311 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3312 esac ;;
3313 esac
3314 ac_abs_top_builddir=$ac_pwd
3315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3316 # for backward compatibility:
3317 ac_top_builddir=$ac_top_build_prefix
3319 case $srcdir in
3320 .) # We are building in place.
3321 ac_srcdir=.
3322 ac_top_srcdir=$ac_top_builddir_sub
3323 ac_abs_top_srcdir=$ac_pwd ;;
3324 [\\/]* | ?:[\\/]* ) # Absolute name.
3325 ac_srcdir=$srcdir$ac_dir_suffix;
3326 ac_top_srcdir=$srcdir
3327 ac_abs_top_srcdir=$srcdir ;;
3328 *) # Relative name.
3329 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3330 ac_top_srcdir=$ac_top_build_prefix$srcdir
3331 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3332 esac
3333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3336 case $ac_mode in
3339 # CONFIG_FILE
3342 case $INSTALL in
3343 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3344 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3345 esac
3346 ac_MKDIR_P=$MKDIR_P
3347 case $MKDIR_P in
3348 [\\/$]* | ?:[\\/]* ) ;;
3349 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3350 esac
3351 _ACEOF
3353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3354 # If the template does not know about datarootdir, expand it.
3355 # FIXME: This hack should be removed a few years after 2.60.
3356 ac_datarootdir_hack=; ac_datarootdir_seen=
3357 ac_sed_dataroot='
3358 /datarootdir/ {
3362 /@datadir@/p
3363 /@docdir@/p
3364 /@infodir@/p
3365 /@localedir@/p
3366 /@mandir@/p'
3367 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3368 *datarootdir*) ac_datarootdir_seen=yes;;
3369 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3371 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3372 _ACEOF
3373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3374 ac_datarootdir_hack='
3375 s&@datadir@&$datadir&g
3376 s&@docdir@&$docdir&g
3377 s&@infodir@&$infodir&g
3378 s&@localedir@&$localedir&g
3379 s&@mandir@&$mandir&g
3380 s&\\\${datarootdir}&$datarootdir&g' ;;
3381 esac
3382 _ACEOF
3384 # Neutralize VPATH when `$srcdir' = `.'.
3385 # Shell code in configure.ac might set extrasub.
3386 # FIXME: do we really want to maintain this feature?
3387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3388 ac_sed_extra="$ac_vpsub
3389 $extrasub
3390 _ACEOF
3391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3394 s|@configure_input@|$ac_sed_conf_input|;t t
3395 s&@top_builddir@&$ac_top_builddir_sub&;t t
3396 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3397 s&@srcdir@&$ac_srcdir&;t t
3398 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3399 s&@top_srcdir@&$ac_top_srcdir&;t t
3400 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3401 s&@builddir@&$ac_builddir&;t t
3402 s&@abs_builddir@&$ac_abs_builddir&;t t
3403 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3404 s&@INSTALL@&$ac_INSTALL&;t t
3405 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3406 $ac_datarootdir_hack
3408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3409 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3412 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3415 which seems to be undefined. Please make sure it is defined" >&5
3416 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3417 which seems to be undefined. Please make sure it is defined" >&2;}
3419 rm -f "$tmp/stdin"
3420 case $ac_file in
3421 -) cat "$tmp/out" && rm -f "$tmp/out";;
3422 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3423 esac \
3424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3428 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3429 $as_echo "$as_me: executing $ac_file commands" >&6;}
3431 esac
3434 case $ac_file$ac_mode in
3435 "acat-link":C) ln -f -s atool acat ;;
3436 "adiff-link":C) ln -f -s atool adiff ;;
3437 "als-link":C) ln -f -s atool als ;;
3438 "apack-link":C) ln -f -s atool apack ;;
3439 "aunpack-link":C) ln -f -s atool aunpack ;;
3440 "arepack-link":C) ln -f -s atool arepack ;;
3442 esac
3443 done # for ac_tag
3446 as_fn_exit 0
3447 _ACEOF
3448 ac_clean_files=$ac_clean_files_save
3450 test $ac_write_fail = 0 ||
3451 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3454 # configure is writing to config.log, and then calls config.status.
3455 # config.status does its own redirection, appending to config.log.
3456 # Unfortunately, on DOS this fails, as config.log is still kept open
3457 # by configure, so config.status won't be able to write to it; its
3458 # output is simply discarded. So we exec the FD to /dev/null,
3459 # effectively closing config.log, so it can be properly (re)opened and
3460 # appended to by config.status. When coming back to configure, we
3461 # need to make the FD available again.
3462 if test "$no_create" != yes; then
3463 ac_cs_success=:
3464 ac_config_status_args=
3465 test "$silent" = yes &&
3466 ac_config_status_args="$ac_config_status_args --quiet"
3467 exec 5>/dev/null
3468 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3469 exec 5>>config.log
3470 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3471 # would make configure fail if this is the last instruction.
3472 $ac_cs_success || as_fn_exit 1
3474 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3476 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}