atool-0.32.0.tar.gz
[atool.git] / configure
blobf9d93327cce784f9df00ef7f7a8fda1a3c94ea60
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for atool 0.32.0.
5 # Report bugs to <oskar@osk.mine.nu>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
98 rm -f conf$$.sh
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
156 esac
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251 exec 6>&1
254 # Initializations.
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='atool'
271 PACKAGE_TARNAME='atool'
272 PACKAGE_VERSION='0.32.0'
273 PACKAGE_STRING='atool 0.32.0'
274 PACKAGE_BUGREPORT='oskar@osk.mine.nu'
276 ac_unique_file="atool.in"
277 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PERL LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
318 ac_prev=
319 for ac_option
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
324 ac_prev=
325 continue
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
332 case $ac_option in
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 ac_prev=bindir ;;
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 bindir=$ac_optarg ;;
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
351 --config-cache | -C)
352 cache_file=config.cache ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 ac_prev=datadir ;;
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 | --da=*)
358 datadir=$ac_optarg ;;
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 case $ac_option in
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 *) ac_optarg=yes ;;
379 esac
380 eval "enable_$ac_feature='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
393 with_gas=yes ;;
395 -help | --help | --hel | --he | -h)
396 ac_init_help=long ;;
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 ac_prev=infodir ;;
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
420 ac_prev=libdir ;;
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 libdir=$ac_optarg ;;
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 ac_prev=mandir ;;
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 mandir=$ac_optarg ;;
445 -nfp | --nfp | --nf)
446 # Obsolete; use --without-fp.
447 with_fp=no ;;
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
451 no_create=yes ;;
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 no_recursion=yes ;;
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 ac_prev=prefix ;;
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 prefix=$ac_optarg ;;
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
504 silent=yes ;;
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 ac_prev=sbindir ;;
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 | --sbi=* | --sb=*)
510 sbindir=$ac_optarg ;;
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
515 | --sha | --sh)
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 | --sha=* | --sh=*)
521 sharedstatedir=$ac_optarg ;;
523 -site | --site | --sit)
524 ac_prev=site ;;
525 -site=* | --site=* | --sit=*)
526 site=$ac_optarg ;;
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 ac_prev=srcdir ;;
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 srcdir=$ac_optarg ;;
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 verbose=yes ;;
548 -version | --version | --versio | --versi | --vers | -V)
549 ac_init_version=: ;;
551 -with-* | --with-*)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 case $ac_option in
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 *) ac_optarg=yes ;;
561 esac
562 eval "with_$ac_package='$ac_optarg'" ;;
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
573 --x)
574 # Obsolete; use --with-x.
575 with_x=yes ;;
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
596 *=*)
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
604 export $ac_envvar ;;
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 esac
615 done
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
626 eval ac_val=$`echo $ac_var`
627 case $ac_val in
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
631 esac
632 done
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
638 eval ac_val=$`echo $ac_var`
639 case $ac_val in
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
643 esac
644 done
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
660 cross_compiling=yes
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
680 echo X"$0" |
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
685 s/.*/./; q'`
686 srcdir=$ac_confdir
687 if test ! -r $srcdir/$ac_unique_file; then
688 srcdir=..
690 else
691 ac_srcdir_defaulted=no
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
697 else
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
720 # Report the --help message.
722 if test "$ac_init_help" = "long"; then
723 # Omit some internal or obsolete options to make the list less imposing.
724 # This message is too long to be a string in the A/UX 3.1 sh.
725 cat <<_ACEOF
726 \`configure' configures atool 0.32.0 to adapt to many kinds of systems.
728 Usage: $0 [OPTION]... [VAR=VALUE]...
730 To assign environment variables (e.g., CC, CFLAGS...), specify them as
731 VAR=VALUE. See below for descriptions of some of the useful variables.
733 Defaults for the options are specified in brackets.
735 Configuration:
736 -h, --help display this help and exit
737 --help=short display options specific to this package
738 --help=recursive display the short help of all the included packages
739 -V, --version display version information and exit
740 -q, --quiet, --silent do not print \`checking...' messages
741 --cache-file=FILE cache test results in FILE [disabled]
742 -C, --config-cache alias for \`--cache-file=config.cache'
743 -n, --no-create do not create output files
744 --srcdir=DIR find the sources in DIR [configure dir or \`..']
746 _ACEOF
748 cat <<_ACEOF
749 Installation directories:
750 --prefix=PREFIX install architecture-independent files in PREFIX
751 [$ac_default_prefix]
752 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
753 [PREFIX]
755 By default, \`make install' will install all the files in
756 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758 for instance \`--prefix=\$HOME'.
760 For better control, use the options below.
762 Fine tuning of the installation directories:
763 --bindir=DIR user executables [EPREFIX/bin]
764 --sbindir=DIR system admin executables [EPREFIX/sbin]
765 --libexecdir=DIR program executables [EPREFIX/libexec]
766 --datadir=DIR read-only architecture-independent data [PREFIX/share]
767 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
768 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
769 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
770 --libdir=DIR object code libraries [EPREFIX/lib]
771 --includedir=DIR C header files [PREFIX/include]
772 --oldincludedir=DIR C header files for non-gcc [/usr/include]
773 --infodir=DIR info documentation [PREFIX/info]
774 --mandir=DIR man documentation [PREFIX/man]
775 _ACEOF
777 cat <<\_ACEOF
778 _ACEOF
781 if test -n "$ac_init_help"; then
782 case $ac_init_help in
783 short | recursive ) echo "Configuration of atool 0.32.0:";;
784 esac
785 cat <<\_ACEOF
787 Report bugs to <oskar@osk.mine.nu>.
788 _ACEOF
791 if test "$ac_init_help" = "recursive"; then
792 # If there are subdirs, report their specific --help.
793 ac_popdir=`pwd`
794 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
795 test -d $ac_dir || continue
796 ac_builddir=.
798 if test "$ac_dir" != .; then
799 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
800 # A "../" for each directory in $ac_dir_suffix.
801 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
802 else
803 ac_dir_suffix= ac_top_builddir=
806 case $srcdir in
807 .) # No --srcdir option. We are building in place.
808 ac_srcdir=.
809 if test -z "$ac_top_builddir"; then
810 ac_top_srcdir=.
811 else
812 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
813 fi ;;
814 [\\/]* | ?:[\\/]* ) # Absolute path.
815 ac_srcdir=$srcdir$ac_dir_suffix;
816 ac_top_srcdir=$srcdir ;;
817 *) # Relative path.
818 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
819 ac_top_srcdir=$ac_top_builddir$srcdir ;;
820 esac
822 # Do not use `cd foo && pwd` to compute absolute paths, because
823 # the directories may not exist.
824 case `pwd` in
825 .) ac_abs_builddir="$ac_dir";;
827 case "$ac_dir" in
828 .) ac_abs_builddir=`pwd`;;
829 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
830 *) ac_abs_builddir=`pwd`/"$ac_dir";;
831 esac;;
832 esac
833 case $ac_abs_builddir in
834 .) ac_abs_top_builddir=${ac_top_builddir}.;;
836 case ${ac_top_builddir}. in
837 .) ac_abs_top_builddir=$ac_abs_builddir;;
838 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
839 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
840 esac;;
841 esac
842 case $ac_abs_builddir in
843 .) ac_abs_srcdir=$ac_srcdir;;
845 case $ac_srcdir in
846 .) ac_abs_srcdir=$ac_abs_builddir;;
847 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
848 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
849 esac;;
850 esac
851 case $ac_abs_builddir in
852 .) ac_abs_top_srcdir=$ac_top_srcdir;;
854 case $ac_top_srcdir in
855 .) ac_abs_top_srcdir=$ac_abs_builddir;;
856 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
857 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
858 esac;;
859 esac
861 cd $ac_dir
862 # Check for guested configure; otherwise get Cygnus style configure.
863 if test -f $ac_srcdir/configure.gnu; then
864 echo
865 $SHELL $ac_srcdir/configure.gnu --help=recursive
866 elif test -f $ac_srcdir/configure; then
867 echo
868 $SHELL $ac_srcdir/configure --help=recursive
869 elif test -f $ac_srcdir/configure.ac ||
870 test -f $ac_srcdir/configure.in; then
871 echo
872 $ac_configure --help
873 else
874 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
876 cd "$ac_popdir"
877 done
880 test -n "$ac_init_help" && exit 0
881 if $ac_init_version; then
882 cat <<\_ACEOF
883 atool configure 0.32.0
884 generated by GNU Autoconf 2.59
886 Copyright (C) 2003 Free Software Foundation, Inc.
887 This configure script is free software; the Free Software Foundation
888 gives unlimited permission to copy, distribute and modify it.
889 _ACEOF
890 exit 0
892 exec 5>config.log
893 cat >&5 <<_ACEOF
894 This file contains any messages produced by compilers while
895 running configure, to aid debugging if configure makes a mistake.
897 It was created by atool $as_me 0.32.0, which was
898 generated by GNU Autoconf 2.59. Invocation command line was
900 $ $0 $@
902 _ACEOF
904 cat <<_ASUNAME
905 ## --------- ##
906 ## Platform. ##
907 ## --------- ##
909 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
910 uname -m = `(uname -m) 2>/dev/null || echo unknown`
911 uname -r = `(uname -r) 2>/dev/null || echo unknown`
912 uname -s = `(uname -s) 2>/dev/null || echo unknown`
913 uname -v = `(uname -v) 2>/dev/null || echo unknown`
915 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
916 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
918 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
919 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
920 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
921 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
922 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
923 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
924 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
926 _ASUNAME
928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
929 for as_dir in $PATH
931 IFS=$as_save_IFS
932 test -z "$as_dir" && as_dir=.
933 echo "PATH: $as_dir"
934 done
936 } >&5
938 cat >&5 <<_ACEOF
941 ## ----------- ##
942 ## Core tests. ##
943 ## ----------- ##
945 _ACEOF
948 # Keep a trace of the command line.
949 # Strip out --no-create and --no-recursion so they do not pile up.
950 # Strip out --silent because we don't want to record it for future runs.
951 # Also quote any args containing shell meta-characters.
952 # Make two passes to allow for proper duplicate-argument suppression.
953 ac_configure_args=
954 ac_configure_args0=
955 ac_configure_args1=
956 ac_sep=
957 ac_must_keep_next=false
958 for ac_pass in 1 2
960 for ac_arg
962 case $ac_arg in
963 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
965 | -silent | --silent | --silen | --sile | --sil)
966 continue ;;
967 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
968 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
969 esac
970 case $ac_pass in
971 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
973 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
974 if test $ac_must_keep_next = true; then
975 ac_must_keep_next=false # Got value, back to normal.
976 else
977 case $ac_arg in
978 *=* | --config-cache | -C | -disable-* | --disable-* \
979 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
980 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
981 | -with-* | --with-* | -without-* | --without-* | --x)
982 case "$ac_configure_args0 " in
983 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
984 esac
986 -* ) ac_must_keep_next=true ;;
987 esac
989 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
990 # Get rid of the leading space.
991 ac_sep=" "
993 esac
994 done
995 done
996 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
997 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
999 # When interrupted or exit'd, cleanup temporary files, and complete
1000 # config.log. We remove comments because anyway the quotes in there
1001 # would cause problems or look ugly.
1002 # WARNING: Be sure not to use single quotes in there, as some shells,
1003 # such as our DU 5.0 friend, will then `close' the trap.
1004 trap 'exit_status=$?
1005 # Save into config.log some information that might help in debugging.
1007 echo
1009 cat <<\_ASBOX
1010 ## ---------------- ##
1011 ## Cache variables. ##
1012 ## ---------------- ##
1013 _ASBOX
1014 echo
1015 # The following way of writing the cache mishandles newlines in values,
1017 (set) 2>&1 |
1018 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1019 *ac_space=\ *)
1020 sed -n \
1021 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1025 sed -n \
1026 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1028 esac;
1030 echo
1032 cat <<\_ASBOX
1033 ## ----------------- ##
1034 ## Output variables. ##
1035 ## ----------------- ##
1036 _ASBOX
1037 echo
1038 for ac_var in $ac_subst_vars
1040 eval ac_val=$`echo $ac_var`
1041 echo "$ac_var='"'"'$ac_val'"'"'"
1042 done | sort
1043 echo
1045 if test -n "$ac_subst_files"; then
1046 cat <<\_ASBOX
1047 ## ------------- ##
1048 ## Output files. ##
1049 ## ------------- ##
1050 _ASBOX
1051 echo
1052 for ac_var in $ac_subst_files
1054 eval ac_val=$`echo $ac_var`
1055 echo "$ac_var='"'"'$ac_val'"'"'"
1056 done | sort
1057 echo
1060 if test -s confdefs.h; then
1061 cat <<\_ASBOX
1062 ## ----------- ##
1063 ## confdefs.h. ##
1064 ## ----------- ##
1065 _ASBOX
1066 echo
1067 sed "/^$/d" confdefs.h | sort
1068 echo
1070 test "$ac_signal" != 0 &&
1071 echo "$as_me: caught signal $ac_signal"
1072 echo "$as_me: exit $exit_status"
1073 } >&5
1074 rm -f core *.core &&
1075 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1076 exit $exit_status
1078 for ac_signal in 1 2 13 15; do
1079 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1080 done
1081 ac_signal=0
1083 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1084 rm -rf conftest* confdefs.h
1085 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1086 echo >confdefs.h
1088 # Predefined preprocessor variables.
1090 cat >>confdefs.h <<_ACEOF
1091 #define PACKAGE_NAME "$PACKAGE_NAME"
1092 _ACEOF
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1097 _ACEOF
1100 cat >>confdefs.h <<_ACEOF
1101 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1102 _ACEOF
1105 cat >>confdefs.h <<_ACEOF
1106 #define PACKAGE_STRING "$PACKAGE_STRING"
1107 _ACEOF
1110 cat >>confdefs.h <<_ACEOF
1111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1112 _ACEOF
1115 # Let the site file select an alternate cache file if it wants to.
1116 # Prefer explicitly selected file to automatically selected ones.
1117 if test -z "$CONFIG_SITE"; then
1118 if test "x$prefix" != xNONE; then
1119 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1120 else
1121 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1124 for ac_site_file in $CONFIG_SITE; do
1125 if test -r "$ac_site_file"; then
1126 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1127 echo "$as_me: loading site script $ac_site_file" >&6;}
1128 sed 's/^/| /' "$ac_site_file" >&5
1129 . "$ac_site_file"
1131 done
1133 if test -r "$cache_file"; then
1134 # Some versions of bash will fail to source /dev/null (special
1135 # files actually), so we avoid doing that.
1136 if test -f "$cache_file"; then
1137 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1138 echo "$as_me: loading cache $cache_file" >&6;}
1139 case $cache_file in
1140 [\\/]* | ?:[\\/]* ) . $cache_file;;
1141 *) . ./$cache_file;;
1142 esac
1144 else
1145 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1146 echo "$as_me: creating cache $cache_file" >&6;}
1147 >$cache_file
1150 # Check that the precious variables saved in the cache have kept the same
1151 # value.
1152 ac_cache_corrupted=false
1153 for ac_var in `(set) 2>&1 |
1154 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1155 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1156 eval ac_new_set=\$ac_env_${ac_var}_set
1157 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1158 eval ac_new_val="\$ac_env_${ac_var}_value"
1159 case $ac_old_set,$ac_new_set in
1160 set,)
1161 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1162 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1163 ac_cache_corrupted=: ;;
1164 ,set)
1165 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1166 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1167 ac_cache_corrupted=: ;;
1168 ,);;
1170 if test "x$ac_old_val" != "x$ac_new_val"; then
1171 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1172 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1173 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1174 echo "$as_me: former value: $ac_old_val" >&2;}
1175 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1176 echo "$as_me: current value: $ac_new_val" >&2;}
1177 ac_cache_corrupted=:
1178 fi;;
1179 esac
1180 # Pass precious variables to config.status.
1181 if test "$ac_new_set" = set; then
1182 case $ac_new_val in
1183 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1184 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1185 *) ac_arg=$ac_var=$ac_new_val ;;
1186 esac
1187 case " $ac_configure_args " in
1188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1189 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1190 esac
1192 done
1193 if $ac_cache_corrupted; then
1194 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1195 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1196 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1197 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1198 { (exit 1); exit 1; }; }
1201 ac_ext=c
1202 ac_cpp='$CPP $CPPFLAGS'
1203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1233 for ac_prog in perl perl5
1235 # Extract the first word of "$ac_prog", so it can be a program name with args.
1236 set dummy $ac_prog; ac_word=$2
1237 echo "$as_me:$LINENO: checking for $ac_word" >&5
1238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1239 if test "${ac_cv_path_PERL+set}" = set; then
1240 echo $ECHO_N "(cached) $ECHO_C" >&6
1241 else
1242 case $PERL in
1243 [\\/]* | ?:[\\/]*)
1244 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1248 for as_dir in $PATH
1250 IFS=$as_save_IFS
1251 test -z "$as_dir" && as_dir=.
1252 for ac_exec_ext in '' $ac_executable_extensions; do
1253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1254 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1256 break 2
1258 done
1259 done
1262 esac
1264 PERL=$ac_cv_path_PERL
1266 if test -n "$PERL"; then
1267 echo "$as_me:$LINENO: result: $PERL" >&5
1268 echo "${ECHO_T}$PERL" >&6
1269 else
1270 echo "$as_me:$LINENO: result: no" >&5
1271 echo "${ECHO_T}no" >&6
1274 test -n "$PERL" && break
1275 done
1278 ac_config_files="$ac_config_files atool atool.1 atool.spec Makefile"
1280 ac_config_commands="$ac_config_commands acat-link"
1282 ac_config_commands="$ac_config_commands adiff-link"
1284 ac_config_commands="$ac_config_commands als-link"
1286 ac_config_commands="$ac_config_commands apack-link"
1288 ac_config_commands="$ac_config_commands aunpack-link"
1290 ac_config_commands="$ac_config_commands arepack-link"
1292 cat >confcache <<\_ACEOF
1293 # This file is a shell script that caches the results of configure
1294 # tests run on this system so they can be shared between configure
1295 # scripts and configure runs, see configure's option --config-cache.
1296 # It is not useful on other systems. If it contains results you don't
1297 # want to keep, you may remove or edit it.
1299 # config.status only pays attention to the cache file if you give it
1300 # the --recheck option to rerun configure.
1302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1304 # following values.
1306 _ACEOF
1308 # The following way of writing the cache mishandles newlines in values,
1309 # but we know of no workaround that is simple, portable, and efficient.
1310 # So, don't put newlines in cache variables' values.
1311 # Ultrix sh set writes to stderr and can't be redirected directly,
1312 # and sets the high bit in the cache file unless we assign to the vars.
1314 (set) 2>&1 |
1315 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1316 *ac_space=\ *)
1317 # `set' does not quote correctly, so add quotes (double-quote
1318 # substitution turns \\\\ into \\, and sed turns \\ into \).
1319 sed -n \
1320 "s/'/'\\\\''/g;
1321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1324 # `set' quotes correctly as required by POSIX, so do not add quotes.
1325 sed -n \
1326 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1328 esac;
1330 sed '
1331 t clear
1332 : clear
1333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1334 t end
1335 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1336 : end' >>confcache
1337 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1338 if test -w $cache_file; then
1339 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1340 cat confcache >$cache_file
1341 else
1342 echo "not updating unwritable cache $cache_file"
1345 rm -f confcache
1347 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1348 # Let make expand exec_prefix.
1349 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1351 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1352 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1353 # trailing colons and then remove the whole line if VPATH becomes empty
1354 # (actually we leave an empty line to preserve line numbers).
1355 if test "x$srcdir" = x.; then
1356 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1357 s/:*\$(srcdir):*/:/;
1358 s/:*\${srcdir}:*/:/;
1359 s/:*@srcdir@:*/:/;
1360 s/^\([^=]*=[ ]*\):*/\1/;
1361 s/:*$//;
1362 s/^[^=]*=[ ]*$//;
1366 # Transform confdefs.h into DEFS.
1367 # Protect against shell expansion while executing Makefile rules.
1368 # Protect against Makefile macro expansion.
1370 # If the first sed substitution is executed (which looks for macros that
1371 # take arguments), then we branch to the quote section. Otherwise,
1372 # look for a macro that doesn't take arguments.
1373 cat >confdef2opt.sed <<\_ACEOF
1374 t clear
1375 : clear
1376 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1377 t quote
1378 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1379 t quote
1381 : quote
1382 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1383 s,\[,\\&,g
1384 s,\],\\&,g
1385 s,\$,$$,g
1387 _ACEOF
1388 # We use echo to avoid assuming a particular line-breaking character.
1389 # The extra dot is to prevent the shell from consuming trailing
1390 # line-breaks from the sub-command output. A line-break within
1391 # single-quotes doesn't work because, if this script is created in a
1392 # platform that uses two characters for line-breaks (e.g., DOS), tr
1393 # would break.
1394 ac_LF_and_DOT=`echo; echo .`
1395 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1396 rm -f confdef2opt.sed
1399 ac_libobjs=
1400 ac_ltlibobjs=
1401 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1402 # 1. Remove the extension, and $U if already installed.
1403 ac_i=`echo "$ac_i" |
1404 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1405 # 2. Add them.
1406 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1407 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1408 done
1409 LIBOBJS=$ac_libobjs
1411 LTLIBOBJS=$ac_ltlibobjs
1415 : ${CONFIG_STATUS=./config.status}
1416 ac_clean_files_save=$ac_clean_files
1417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1418 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1419 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1420 cat >$CONFIG_STATUS <<_ACEOF
1421 #! $SHELL
1422 # Generated by $as_me.
1423 # Run this file to recreate the current configuration.
1424 # Compiler output produced by configure, useful for debugging
1425 # configure, is in config.log if it exists.
1427 debug=false
1428 ac_cs_recheck=false
1429 ac_cs_silent=false
1430 SHELL=\${CONFIG_SHELL-$SHELL}
1431 _ACEOF
1433 cat >>$CONFIG_STATUS <<\_ACEOF
1434 ## --------------------- ##
1435 ## M4sh Initialization. ##
1436 ## --------------------- ##
1438 # Be Bourne compatible
1439 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1440 emulate sh
1441 NULLCMD=:
1442 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1443 # is contrary to our usage. Disable this feature.
1444 alias -g '${1+"$@"}'='"$@"'
1445 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1446 set -o posix
1448 DUALCASE=1; export DUALCASE # for MKS sh
1450 # Support unset when possible.
1451 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1452 as_unset=unset
1453 else
1454 as_unset=false
1458 # Work around bugs in pre-3.0 UWIN ksh.
1459 $as_unset ENV MAIL MAILPATH
1460 PS1='$ '
1461 PS2='> '
1462 PS4='+ '
1464 # NLS nuisances.
1465 for as_var in \
1466 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1467 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1468 LC_TELEPHONE LC_TIME
1470 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1471 eval $as_var=C; export $as_var
1472 else
1473 $as_unset $as_var
1475 done
1477 # Required to use basename.
1478 if expr a : '\(a\)' >/dev/null 2>&1; then
1479 as_expr=expr
1480 else
1481 as_expr=false
1484 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1485 as_basename=basename
1486 else
1487 as_basename=false
1491 # Name of the executable.
1492 as_me=`$as_basename "$0" ||
1493 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)$' \| \
1496 . : '\(.\)' 2>/dev/null ||
1497 echo X/"$0" |
1498 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1499 /^X\/\(\/\/\)$/{ s//\1/; q; }
1500 /^X\/\(\/\).*/{ s//\1/; q; }
1501 s/.*/./; q'`
1504 # PATH needs CR, and LINENO needs CR and PATH.
1505 # Avoid depending upon Character Ranges.
1506 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1507 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1508 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1509 as_cr_digits='0123456789'
1510 as_cr_alnum=$as_cr_Letters$as_cr_digits
1512 # The user is always right.
1513 if test "${PATH_SEPARATOR+set}" != set; then
1514 echo "#! /bin/sh" >conf$$.sh
1515 echo "exit 0" >>conf$$.sh
1516 chmod +x conf$$.sh
1517 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1518 PATH_SEPARATOR=';'
1519 else
1520 PATH_SEPARATOR=:
1522 rm -f conf$$.sh
1526 as_lineno_1=$LINENO
1527 as_lineno_2=$LINENO
1528 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1529 test "x$as_lineno_1" != "x$as_lineno_2" &&
1530 test "x$as_lineno_3" = "x$as_lineno_2" || {
1531 # Find who we are. Look in the path if we contain no path at all
1532 # relative or not.
1533 case $0 in
1534 *[\\/]* ) as_myself=$0 ;;
1535 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 for as_dir in $PATH
1538 IFS=$as_save_IFS
1539 test -z "$as_dir" && as_dir=.
1540 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1541 done
1544 esac
1545 # We did not find ourselves, most probably we were run as `sh COMMAND'
1546 # in which case we are not to be found in the path.
1547 if test "x$as_myself" = x; then
1548 as_myself=$0
1550 if test ! -f "$as_myself"; then
1551 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1552 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1553 { (exit 1); exit 1; }; }
1555 case $CONFIG_SHELL in
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1560 IFS=$as_save_IFS
1561 test -z "$as_dir" && as_dir=.
1562 for as_base in sh bash ksh sh5; do
1563 case $as_dir in
1565 if ("$as_dir/$as_base" -c '
1566 as_lineno_1=$LINENO
1567 as_lineno_2=$LINENO
1568 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1569 test "x$as_lineno_1" != "x$as_lineno_2" &&
1570 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1571 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1572 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1573 CONFIG_SHELL=$as_dir/$as_base
1574 export CONFIG_SHELL
1575 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1576 fi;;
1577 esac
1578 done
1579 done
1581 esac
1583 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1584 # uniformly replaced by the line number. The first 'sed' inserts a
1585 # line-number line before each line; the second 'sed' does the real
1586 # work. The second script uses 'N' to pair each line-number line
1587 # with the numbered line, and appends trailing '-' during
1588 # substitution so that $LINENO is not a special case at line end.
1589 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1590 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1591 sed '=' <$as_myself |
1592 sed '
1594 s,$,-,
1595 : loop
1596 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1597 t loop
1598 s,-$,,
1599 s,^['$as_cr_digits']*\n,,
1600 ' >$as_me.lineno &&
1601 chmod +x $as_me.lineno ||
1602 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1603 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1604 { (exit 1); exit 1; }; }
1606 # Don't try to exec as it changes $[0], causing all sort of problems
1607 # (the dirname of $[0] is not the place where we might find the
1608 # original and so on. Autoconf is especially sensible to this).
1609 . ./$as_me.lineno
1610 # Exit status is that of the last command.
1611 exit
1615 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1616 *c*,-n*) ECHO_N= ECHO_C='
1617 ' ECHO_T=' ' ;;
1618 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1619 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1620 esac
1622 if expr a : '\(a\)' >/dev/null 2>&1; then
1623 as_expr=expr
1624 else
1625 as_expr=false
1628 rm -f conf$$ conf$$.exe conf$$.file
1629 echo >conf$$.file
1630 if ln -s conf$$.file conf$$ 2>/dev/null; then
1631 # We could just check for DJGPP; but this test a) works b) is more generic
1632 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1633 if test -f conf$$.exe; then
1634 # Don't use ln at all; we don't have any links
1635 as_ln_s='cp -p'
1636 else
1637 as_ln_s='ln -s'
1639 elif ln conf$$.file conf$$ 2>/dev/null; then
1640 as_ln_s=ln
1641 else
1642 as_ln_s='cp -p'
1644 rm -f conf$$ conf$$.exe conf$$.file
1646 if mkdir -p . 2>/dev/null; then
1647 as_mkdir_p=:
1648 else
1649 test -d ./-p && rmdir ./-p
1650 as_mkdir_p=false
1653 as_executable_p="test -f"
1655 # Sed expression to map a string onto a valid CPP name.
1656 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1658 # Sed expression to map a string onto a valid variable name.
1659 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1662 # IFS
1663 # We need space, tab and new line, in precisely that order.
1664 as_nl='
1666 IFS=" $as_nl"
1668 # CDPATH.
1669 $as_unset CDPATH
1671 exec 6>&1
1673 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1674 # report actual input values of CONFIG_FILES etc. instead of their
1675 # values after options handling. Logging --version etc. is OK.
1676 exec 5>>config.log
1678 echo
1679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1680 ## Running $as_me. ##
1681 _ASBOX
1682 } >&5
1683 cat >&5 <<_CSEOF
1685 This file was extended by atool $as_me 0.32.0, which was
1686 generated by GNU Autoconf 2.59. Invocation command line was
1688 CONFIG_FILES = $CONFIG_FILES
1689 CONFIG_HEADERS = $CONFIG_HEADERS
1690 CONFIG_LINKS = $CONFIG_LINKS
1691 CONFIG_COMMANDS = $CONFIG_COMMANDS
1692 $ $0 $@
1694 _CSEOF
1695 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1696 echo >&5
1697 _ACEOF
1699 # Files that config.status was made for.
1700 if test -n "$ac_config_files"; then
1701 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1704 if test -n "$ac_config_headers"; then
1705 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1708 if test -n "$ac_config_links"; then
1709 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1712 if test -n "$ac_config_commands"; then
1713 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1716 cat >>$CONFIG_STATUS <<\_ACEOF
1718 ac_cs_usage="\
1719 \`$as_me' instantiates files from templates according to the
1720 current configuration.
1722 Usage: $0 [OPTIONS] [FILE]...
1724 -h, --help print this help, then exit
1725 -V, --version print version number, then exit
1726 -q, --quiet do not print progress messages
1727 -d, --debug don't remove temporary files
1728 --recheck update $as_me by reconfiguring in the same conditions
1729 --file=FILE[:TEMPLATE]
1730 instantiate the configuration file FILE
1732 Configuration files:
1733 $config_files
1735 Configuration commands:
1736 $config_commands
1738 Report bugs to <bug-autoconf@gnu.org>."
1739 _ACEOF
1741 cat >>$CONFIG_STATUS <<_ACEOF
1742 ac_cs_version="\\
1743 atool config.status 0.32.0
1744 configured by $0, generated by GNU Autoconf 2.59,
1745 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1747 Copyright (C) 2003 Free Software Foundation, Inc.
1748 This config.status script is free software; the Free Software Foundation
1749 gives unlimited permission to copy, distribute and modify it."
1750 srcdir=$srcdir
1751 _ACEOF
1753 cat >>$CONFIG_STATUS <<\_ACEOF
1754 # If no file are specified by the user, then we need to provide default
1755 # value. By we need to know if files were specified by the user.
1756 ac_need_defaults=:
1757 while test $# != 0
1759 case $1 in
1760 --*=*)
1761 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1762 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1763 ac_shift=:
1766 ac_option=$1
1767 ac_optarg=$2
1768 ac_shift=shift
1770 *) # This is not an option, so the user has probably given explicit
1771 # arguments.
1772 ac_option=$1
1773 ac_need_defaults=false;;
1774 esac
1776 case $ac_option in
1777 # Handling of the options.
1778 _ACEOF
1779 cat >>$CONFIG_STATUS <<\_ACEOF
1780 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1781 ac_cs_recheck=: ;;
1782 --version | --vers* | -V )
1783 echo "$ac_cs_version"; exit 0 ;;
1784 --he | --h)
1785 # Conflict between --help and --header
1786 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1787 Try \`$0 --help' for more information." >&5
1788 echo "$as_me: error: ambiguous option: $1
1789 Try \`$0 --help' for more information." >&2;}
1790 { (exit 1); exit 1; }; };;
1791 --help | --hel | -h )
1792 echo "$ac_cs_usage"; exit 0 ;;
1793 --debug | --d* | -d )
1794 debug=: ;;
1795 --file | --fil | --fi | --f )
1796 $ac_shift
1797 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1798 ac_need_defaults=false;;
1799 --header | --heade | --head | --hea )
1800 $ac_shift
1801 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1802 ac_need_defaults=false;;
1803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1805 ac_cs_silent=: ;;
1807 # This is an error.
1808 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1809 Try \`$0 --help' for more information." >&5
1810 echo "$as_me: error: unrecognized option: $1
1811 Try \`$0 --help' for more information." >&2;}
1812 { (exit 1); exit 1; }; } ;;
1814 *) ac_config_targets="$ac_config_targets $1" ;;
1816 esac
1817 shift
1818 done
1820 ac_configure_extra_args=
1822 if $ac_cs_silent; then
1823 exec 6>/dev/null
1824 ac_configure_extra_args="$ac_configure_extra_args --silent"
1827 _ACEOF
1828 cat >>$CONFIG_STATUS <<_ACEOF
1829 if \$ac_cs_recheck; then
1830 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1831 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1834 _ACEOF
1840 cat >>$CONFIG_STATUS <<\_ACEOF
1841 for ac_config_target in $ac_config_targets
1843 case "$ac_config_target" in
1844 # Handling of arguments.
1845 "atool" ) CONFIG_FILES="$CONFIG_FILES atool" ;;
1846 "atool.1" ) CONFIG_FILES="$CONFIG_FILES atool.1" ;;
1847 "atool.spec" ) CONFIG_FILES="$CONFIG_FILES atool.spec" ;;
1848 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1849 "acat-link" ) CONFIG_COMMANDS="$CONFIG_COMMANDS acat-link" ;;
1850 "adiff-link" ) CONFIG_COMMANDS="$CONFIG_COMMANDS adiff-link" ;;
1851 "als-link" ) CONFIG_COMMANDS="$CONFIG_COMMANDS als-link" ;;
1852 "apack-link" ) CONFIG_COMMANDS="$CONFIG_COMMANDS apack-link" ;;
1853 "aunpack-link" ) CONFIG_COMMANDS="$CONFIG_COMMANDS aunpack-link" ;;
1854 "arepack-link" ) CONFIG_COMMANDS="$CONFIG_COMMANDS arepack-link" ;;
1855 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1856 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1857 { (exit 1); exit 1; }; };;
1858 esac
1859 done
1861 # If the user did not use the arguments to specify the items to instantiate,
1862 # then the envvar interface is used. Set only those that are not.
1863 # We use the long form for the default assignment because of an extremely
1864 # bizarre bug on SunOS 4.1.3.
1865 if $ac_need_defaults; then
1866 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1867 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1870 # Have a temporary directory for convenience. Make it in the build tree
1871 # simply because there is no reason to put it here, and in addition,
1872 # creating and moving files from /tmp can sometimes cause problems.
1873 # Create a temporary directory, and hook for its removal unless debugging.
1874 $debug ||
1876 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1877 trap '{ (exit 1); exit 1; }' 1 2 13 15
1880 # Create a (secure) tmp directory for tmp files.
1883 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1884 test -n "$tmp" && test -d "$tmp"
1885 } ||
1887 tmp=./confstat$$-$RANDOM
1888 (umask 077 && mkdir $tmp)
1889 } ||
1891 echo "$me: cannot create a temporary directory in ." >&2
1892 { (exit 1); exit 1; }
1895 _ACEOF
1897 cat >>$CONFIG_STATUS <<_ACEOF
1900 # CONFIG_FILES section.
1903 # No need to generate the scripts if there are no CONFIG_FILES.
1904 # This happens for instance when ./config.status config.h
1905 if test -n "\$CONFIG_FILES"; then
1906 # Protect against being on the right side of a sed subst in config.status.
1907 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1908 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1909 s,@SHELL@,$SHELL,;t t
1910 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1911 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1912 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1913 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1914 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1915 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1916 s,@exec_prefix@,$exec_prefix,;t t
1917 s,@prefix@,$prefix,;t t
1918 s,@program_transform_name@,$program_transform_name,;t t
1919 s,@bindir@,$bindir,;t t
1920 s,@sbindir@,$sbindir,;t t
1921 s,@libexecdir@,$libexecdir,;t t
1922 s,@datadir@,$datadir,;t t
1923 s,@sysconfdir@,$sysconfdir,;t t
1924 s,@sharedstatedir@,$sharedstatedir,;t t
1925 s,@localstatedir@,$localstatedir,;t t
1926 s,@libdir@,$libdir,;t t
1927 s,@includedir@,$includedir,;t t
1928 s,@oldincludedir@,$oldincludedir,;t t
1929 s,@infodir@,$infodir,;t t
1930 s,@mandir@,$mandir,;t t
1931 s,@build_alias@,$build_alias,;t t
1932 s,@host_alias@,$host_alias,;t t
1933 s,@target_alias@,$target_alias,;t t
1934 s,@DEFS@,$DEFS,;t t
1935 s,@ECHO_C@,$ECHO_C,;t t
1936 s,@ECHO_N@,$ECHO_N,;t t
1937 s,@ECHO_T@,$ECHO_T,;t t
1938 s,@LIBS@,$LIBS,;t t
1939 s,@PERL@,$PERL,;t t
1940 s,@LIBOBJS@,$LIBOBJS,;t t
1941 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1942 CEOF
1944 _ACEOF
1946 cat >>$CONFIG_STATUS <<\_ACEOF
1947 # Split the substitutions into bite-sized pieces for seds with
1948 # small command number limits, like on Digital OSF/1 and HP-UX.
1949 ac_max_sed_lines=48
1950 ac_sed_frag=1 # Number of current file.
1951 ac_beg=1 # First line for current file.
1952 ac_end=$ac_max_sed_lines # Line after last line for current file.
1953 ac_more_lines=:
1954 ac_sed_cmds=
1955 while $ac_more_lines; do
1956 if test $ac_beg -gt 1; then
1957 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1958 else
1959 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1961 if test ! -s $tmp/subs.frag; then
1962 ac_more_lines=false
1963 else
1964 # The purpose of the label and of the branching condition is to
1965 # speed up the sed processing (if there are no `@' at all, there
1966 # is no need to browse any of the substitutions).
1967 # These are the two extra sed commands mentioned above.
1968 (echo ':t
1969 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1970 if test -z "$ac_sed_cmds"; then
1971 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1972 else
1973 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1975 ac_sed_frag=`expr $ac_sed_frag + 1`
1976 ac_beg=$ac_end
1977 ac_end=`expr $ac_end + $ac_max_sed_lines`
1979 done
1980 if test -z "$ac_sed_cmds"; then
1981 ac_sed_cmds=cat
1983 fi # test -n "$CONFIG_FILES"
1985 _ACEOF
1986 cat >>$CONFIG_STATUS <<\_ACEOF
1987 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1989 case $ac_file in
1990 - | *:- | *:-:* ) # input from stdin
1991 cat >$tmp/stdin
1992 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1993 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1994 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1995 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1996 * ) ac_file_in=$ac_file.in ;;
1997 esac
1999 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2000 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2002 X"$ac_file" : 'X\(//\)[^/]' \| \
2003 X"$ac_file" : 'X\(//\)$' \| \
2004 X"$ac_file" : 'X\(/\)' \| \
2005 . : '\(.\)' 2>/dev/null ||
2006 echo X"$ac_file" |
2007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2009 /^X\(\/\/\)$/{ s//\1/; q; }
2010 /^X\(\/\).*/{ s//\1/; q; }
2011 s/.*/./; q'`
2012 { if $as_mkdir_p; then
2013 mkdir -p "$ac_dir"
2014 else
2015 as_dir="$ac_dir"
2016 as_dirs=
2017 while test ! -d "$as_dir"; do
2018 as_dirs="$as_dir $as_dirs"
2019 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2021 X"$as_dir" : 'X\(//\)[^/]' \| \
2022 X"$as_dir" : 'X\(//\)$' \| \
2023 X"$as_dir" : 'X\(/\)' \| \
2024 . : '\(.\)' 2>/dev/null ||
2025 echo X"$as_dir" |
2026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2028 /^X\(\/\/\)$/{ s//\1/; q; }
2029 /^X\(\/\).*/{ s//\1/; q; }
2030 s/.*/./; q'`
2031 done
2032 test ! -n "$as_dirs" || mkdir $as_dirs
2033 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2034 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2035 { (exit 1); exit 1; }; }; }
2037 ac_builddir=.
2039 if test "$ac_dir" != .; then
2040 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2041 # A "../" for each directory in $ac_dir_suffix.
2042 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2043 else
2044 ac_dir_suffix= ac_top_builddir=
2047 case $srcdir in
2048 .) # No --srcdir option. We are building in place.
2049 ac_srcdir=.
2050 if test -z "$ac_top_builddir"; then
2051 ac_top_srcdir=.
2052 else
2053 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2054 fi ;;
2055 [\\/]* | ?:[\\/]* ) # Absolute path.
2056 ac_srcdir=$srcdir$ac_dir_suffix;
2057 ac_top_srcdir=$srcdir ;;
2058 *) # Relative path.
2059 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2060 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2061 esac
2063 # Do not use `cd foo && pwd` to compute absolute paths, because
2064 # the directories may not exist.
2065 case `pwd` in
2066 .) ac_abs_builddir="$ac_dir";;
2068 case "$ac_dir" in
2069 .) ac_abs_builddir=`pwd`;;
2070 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2071 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2072 esac;;
2073 esac
2074 case $ac_abs_builddir in
2075 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2077 case ${ac_top_builddir}. in
2078 .) ac_abs_top_builddir=$ac_abs_builddir;;
2079 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2080 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2081 esac;;
2082 esac
2083 case $ac_abs_builddir in
2084 .) ac_abs_srcdir=$ac_srcdir;;
2086 case $ac_srcdir in
2087 .) ac_abs_srcdir=$ac_abs_builddir;;
2088 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2089 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2090 esac;;
2091 esac
2092 case $ac_abs_builddir in
2093 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2095 case $ac_top_srcdir in
2096 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2097 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2098 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2099 esac;;
2100 esac
2104 # Let's still pretend it is `configure' which instantiates (i.e., don't
2105 # use $as_me), people would be surprised to read:
2106 # /* config.h. Generated by config.status. */
2107 if test x"$ac_file" = x-; then
2108 configure_input=
2109 else
2110 configure_input="$ac_file. "
2112 configure_input=$configure_input"Generated from `echo $ac_file_in |
2113 sed 's,.*/,,'` by configure."
2115 # First look for the input files in the build tree, otherwise in the
2116 # src tree.
2117 ac_file_inputs=`IFS=:
2118 for f in $ac_file_in; do
2119 case $f in
2120 -) echo $tmp/stdin ;;
2121 [\\/$]*)
2122 # Absolute (can't be DOS-style, as IFS=:)
2123 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2124 echo "$as_me: error: cannot find input file: $f" >&2;}
2125 { (exit 1); exit 1; }; }
2126 echo "$f";;
2127 *) # Relative
2128 if test -f "$f"; then
2129 # Build tree
2130 echo "$f"
2131 elif test -f "$srcdir/$f"; then
2132 # Source tree
2133 echo "$srcdir/$f"
2134 else
2135 # /dev/null tree
2136 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2137 echo "$as_me: error: cannot find input file: $f" >&2;}
2138 { (exit 1); exit 1; }; }
2139 fi;;
2140 esac
2141 done` || { (exit 1); exit 1; }
2143 if test x"$ac_file" != x-; then
2144 { echo "$as_me:$LINENO: creating $ac_file" >&5
2145 echo "$as_me: creating $ac_file" >&6;}
2146 rm -f "$ac_file"
2148 _ACEOF
2149 cat >>$CONFIG_STATUS <<_ACEOF
2150 sed "$ac_vpsub
2151 $extrasub
2152 _ACEOF
2153 cat >>$CONFIG_STATUS <<\_ACEOF
2155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2156 s,@configure_input@,$configure_input,;t t
2157 s,@srcdir@,$ac_srcdir,;t t
2158 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2159 s,@top_srcdir@,$ac_top_srcdir,;t t
2160 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2161 s,@builddir@,$ac_builddir,;t t
2162 s,@abs_builddir@,$ac_abs_builddir,;t t
2163 s,@top_builddir@,$ac_top_builddir,;t t
2164 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2165 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2166 rm -f $tmp/stdin
2167 if test x"$ac_file" != x-; then
2168 mv $tmp/out $ac_file
2169 else
2170 cat $tmp/out
2171 rm -f $tmp/out
2174 # Run the commands associated with the file.
2175 case $ac_file in
2176 atool ) chmod a+x atool ;;
2177 atool.1 ) chmod a+x atool ;;
2178 atool.spec ) chmod a+x atool ;;
2179 Makefile ) chmod a+x atool ;;
2180 esac
2181 done
2182 _ACEOF
2183 cat >>$CONFIG_STATUS <<\_ACEOF
2186 # CONFIG_COMMANDS section.
2188 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2189 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2190 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2191 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2192 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2193 X"$ac_dest" : 'X\(//\)[^/]' \| \
2194 X"$ac_dest" : 'X\(//\)$' \| \
2195 X"$ac_dest" : 'X\(/\)' \| \
2196 . : '\(.\)' 2>/dev/null ||
2197 echo X"$ac_dest" |
2198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2200 /^X\(\/\/\)$/{ s//\1/; q; }
2201 /^X\(\/\).*/{ s//\1/; q; }
2202 s/.*/./; q'`
2203 { if $as_mkdir_p; then
2204 mkdir -p "$ac_dir"
2205 else
2206 as_dir="$ac_dir"
2207 as_dirs=
2208 while test ! -d "$as_dir"; do
2209 as_dirs="$as_dir $as_dirs"
2210 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2212 X"$as_dir" : 'X\(//\)[^/]' \| \
2213 X"$as_dir" : 'X\(//\)$' \| \
2214 X"$as_dir" : 'X\(/\)' \| \
2215 . : '\(.\)' 2>/dev/null ||
2216 echo X"$as_dir" |
2217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2219 /^X\(\/\/\)$/{ s//\1/; q; }
2220 /^X\(\/\).*/{ s//\1/; q; }
2221 s/.*/./; q'`
2222 done
2223 test ! -n "$as_dirs" || mkdir $as_dirs
2224 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2225 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2226 { (exit 1); exit 1; }; }; }
2228 ac_builddir=.
2230 if test "$ac_dir" != .; then
2231 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2232 # A "../" for each directory in $ac_dir_suffix.
2233 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2234 else
2235 ac_dir_suffix= ac_top_builddir=
2238 case $srcdir in
2239 .) # No --srcdir option. We are building in place.
2240 ac_srcdir=.
2241 if test -z "$ac_top_builddir"; then
2242 ac_top_srcdir=.
2243 else
2244 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2245 fi ;;
2246 [\\/]* | ?:[\\/]* ) # Absolute path.
2247 ac_srcdir=$srcdir$ac_dir_suffix;
2248 ac_top_srcdir=$srcdir ;;
2249 *) # Relative path.
2250 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2251 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2252 esac
2254 # Do not use `cd foo && pwd` to compute absolute paths, because
2255 # the directories may not exist.
2256 case `pwd` in
2257 .) ac_abs_builddir="$ac_dir";;
2259 case "$ac_dir" in
2260 .) ac_abs_builddir=`pwd`;;
2261 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2262 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2263 esac;;
2264 esac
2265 case $ac_abs_builddir in
2266 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2268 case ${ac_top_builddir}. in
2269 .) ac_abs_top_builddir=$ac_abs_builddir;;
2270 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2271 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2272 esac;;
2273 esac
2274 case $ac_abs_builddir in
2275 .) ac_abs_srcdir=$ac_srcdir;;
2277 case $ac_srcdir in
2278 .) ac_abs_srcdir=$ac_abs_builddir;;
2279 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2280 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2281 esac;;
2282 esac
2283 case $ac_abs_builddir in
2284 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2286 case $ac_top_srcdir in
2287 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2288 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2289 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2290 esac;;
2291 esac
2294 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2295 echo "$as_me: executing $ac_dest commands" >&6;}
2296 case $ac_dest in
2297 acat-link ) ln -f -s atool acat ;;
2298 adiff-link ) ln -f -s atool adiff ;;
2299 als-link ) ln -f -s atool als ;;
2300 apack-link ) ln -f -s atool apack ;;
2301 aunpack-link ) ln -f -s atool aunpack ;;
2302 arepack-link ) ln -f -s atool arepack ;;
2303 esac
2304 done
2305 _ACEOF
2307 cat >>$CONFIG_STATUS <<\_ACEOF
2309 { (exit 0); exit 0; }
2310 _ACEOF
2311 chmod +x $CONFIG_STATUS
2312 ac_clean_files=$ac_clean_files_save
2315 # configure is writing to config.log, and then calls config.status.
2316 # config.status does its own redirection, appending to config.log.
2317 # Unfortunately, on DOS this fails, as config.log is still kept open
2318 # by configure, so config.status won't be able to write to it; its
2319 # output is simply discarded. So we exec the FD to /dev/null,
2320 # effectively closing config.log, so it can be properly (re)opened and
2321 # appended to by config.status. When coming back to configure, we
2322 # need to make the FD available again.
2323 if test "$no_create" != yes; then
2324 ac_cs_success=:
2325 ac_config_status_args=
2326 test "$silent" = yes &&
2327 ac_config_status_args="$ac_config_status_args --quiet"
2328 exec 5>/dev/null
2329 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2330 exec 5>>config.log
2331 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2332 # would make configure fail if this is the last instruction.
2333 $ac_cs_success || { (exit 1); exit 1; }