Update --version copyright output to 2005.
[autoconf/tsuna.git] / configure
bloba66fa6c946e13fb5ad9204b7b6f65b44c7b00fb4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Autoconf 2.59c.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
8 # 2003, 2004 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (func_return () {
141 (exit \$1)
143 func_success () {
144 func_return 0
146 func_failure () {
147 func_return 1
149 func_ret_success () {
150 return 0
152 func_ret_failure () {
153 return 1
156 exitcode=0
157 if func_success; then
159 else
160 exitcode=1
161 echo func_failure succeeded.
164 if func_failure; then
165 exitcode=1
166 echo func_success failed.
169 if func_ret_success; then
171 else
172 exitcode=1
173 echo func_ret_success failed.
176 if func_ret_failure; then
177 exitcode=1
178 echo func_ret_failure succeeded.
181 test \$exitcode = 0) || { (exit 1); exit 1; }
184 as_lineno_1=\$LINENO
185 as_lineno_2=\$LINENO
186 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
187 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
188 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
189 ") 2> /dev/null; then
191 else
192 as_candidate_shells=
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196 IFS=$as_save_IFS
197 test -z "$as_dir" && as_dir=.
198 case $as_dir in
200 for as_base in sh bash ksh sh5; do
201 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
202 done
203 esac
204 done
207 for as_shell in $as_candidate_shells $SHELL; do
208 if { ($as_shell) 2> /dev/null <<\_ASEOF
209 # Be Bourne compatible
210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
211 emulate sh
212 NULLCMD=:
213 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
214 # is contrary to our usage. Disable this feature.
215 alias -g '${1+"$@"}'='"$@"'
216 setopt NO_GLOB_SUBST
217 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
218 set -o posix
220 BIN_SH=xpg4; export BIN_SH # for Tru64
221 DUALCASE=1; export DUALCASE # for MKS sh
224 _ASEOF
225 }; then
226 CONFIG_SHELL=$as_shell
227 as_have_required=yes
228 if { $as_shell 2> /dev/null <<\_ASEOF
229 # Be Bourne compatible
230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
231 emulate sh
232 NULLCMD=:
233 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
234 # is contrary to our usage. Disable this feature.
235 alias -g '${1+"$@"}'='"$@"'
236 setopt NO_GLOB_SUBST
237 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
238 set -o posix
240 BIN_SH=xpg4; export BIN_SH # for Tru64
241 DUALCASE=1; export DUALCASE # for MKS sh
244 (func_return () {
245 (exit $1)
247 func_success () {
248 func_return 0
250 func_failure () {
251 func_return 1
253 func_ret_success () {
254 return 0
256 func_ret_failure () {
257 return 1
260 exitcode=0
261 if func_success; then
263 else
264 exitcode=1
265 echo func_failure succeeded.
268 if func_failure; then
269 exitcode=1
270 echo func_success failed.
273 if func_ret_success; then
275 else
276 exitcode=1
277 echo func_ret_success failed.
280 if func_ret_failure; then
281 exitcode=1
282 echo func_ret_failure succeeded.
285 test $exitcode = 0) || { (exit 1); exit 1; }
288 as_lineno_1=$LINENO
289 as_lineno_2=$LINENO
290 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
291 test "x$as_lineno_1" != "x$as_lineno_2" &&
292 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
294 _ASEOF
295 }; then
296 break
301 done
303 if test "x$CONFIG_SHELL" != x; then
304 for as_var in BASH_ENV ENV
305 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
306 done
307 export CONFIG_SHELL
308 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
312 if test $as_have_required = no; then
313 echo This script requires a shell more modern than all the
314 echo shells that I found on your system. Please install a
315 echo modern shell, or manually run the script under such a
316 echo shell if you do have one.
317 { (exit 1); exit 1; }
327 (eval "func_return () {
328 (exit \$1)
330 func_success () {
331 func_return 0
333 func_failure () {
334 func_return 1
336 func_ret_success () {
337 return 0
339 func_ret_failure () {
340 return 1
343 exitcode=0
344 if func_success; then
346 else
347 exitcode=1
348 echo func_failure succeeded.
351 if func_failure; then
352 exitcode=1
353 echo func_success failed.
356 if func_ret_success; then
358 else
359 exitcode=1
360 echo func_ret_success failed.
363 if func_ret_failure; then
364 exitcode=1
365 echo func_ret_failure succeeded.
368 test \$exitcode = 0") || {
369 echo No shell found that supports shell functions.
370 echo Please tell autoconf@gnu.org about your system,
371 echo including any error possibly output before this
372 echo message
377 as_lineno_1=$LINENO
378 as_lineno_2=$LINENO
379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
380 test "x$as_lineno_1" != "x$as_lineno_2" &&
381 test "x$as_lineno_3" = "x$as_lineno_2" || {
383 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
384 # uniformly replaced by the line number. The first 'sed' inserts a
385 # line-number line after each line using $LINENO; the second 'sed'
386 # does the real work. The second script uses 'N' to pair each
387 # line-number line with the line containing $LINENO, and appends
388 # trailing '-' during substitution so that $LINENO is not a special
389 # case at line end.
390 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
391 # scripts with optimization help from Paolo Bonzini. Blame Lee
392 # E. McMahon (1931-1989) for sed's syntax. :-)
393 sed -n '
395 /[$]LINENO/=
396 ' <$as_myself |
397 sed '
398 s,[$]LINENO.*,&-,
399 t lineno
401 : lineno
403 : loop
404 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
405 t loop
406 s,-\n.*,,
407 ' >$as_me.lineno &&
408 chmod +x $as_me.lineno ||
409 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
410 { (exit 1); exit 1; }; }
412 # Don't try to exec as it changes $[0], causing all sort of problems
413 # (the dirname of $[0] is not the place where we might find the
414 # original and so on. Autoconf is especially sensible to this).
415 . ./$as_me.lineno
416 # Exit status is that of the last command.
417 exit
421 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
422 *c*,-n*) ECHO_N= ECHO_C='
423 ' ECHO_T=' ' ;;
424 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
425 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
426 esac
428 if expr a : '\(a\)' >/dev/null 2>&1; then
429 as_expr=expr
430 else
431 as_expr=false
434 rm -f conf$$ conf$$.exe conf$$.file
435 echo >conf$$.file
436 if ln -s conf$$.file conf$$ 2>/dev/null; then
437 # We could just check for DJGPP; but this test a) works b) is more generic
438 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
439 if test -f conf$$.exe; then
440 # Don't use ln at all; we don't have any links
441 as_ln_s='cp -p'
442 else
443 as_ln_s='ln -s'
445 elif ln conf$$.file conf$$ 2>/dev/null; then
446 as_ln_s=ln
447 else
448 as_ln_s='cp -p'
450 rm -f conf$$ conf$$.exe conf$$.file
452 if mkdir -p . 2>/dev/null; then
453 as_mkdir_p=:
454 else
455 test -d ./-p && rmdir ./-p
456 as_mkdir_p=false
459 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
460 # systems may use methods other than mode bits to determine executability.
461 cat >conf$$.file <<_ASEOF
462 #! /bin/sh
463 exit 0
464 _ASEOF
465 chmod +x conf$$.file
466 if test -x conf$$.file >/dev/null 2>&1; then
467 as_executable_p="test -x"
468 else
469 as_executable_p=:
471 rm -f conf$$.file
473 # Sed expression to map a string onto a valid CPP name.
474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
476 # Sed expression to map a string onto a valid variable name.
477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
480 # IFS
481 # We need space, tab and new line, in precisely that order.
482 as_nl='
484 IFS=" $as_nl"
486 # CDPATH.
487 $as_unset CDPATH
490 # Name of the host.
491 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
492 # so uname gets run too.
493 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
495 exec 6>&1
498 # Initializations.
500 ac_default_prefix=/usr/local
501 ac_config_libobj_dir=.
502 cross_compiling=no
503 subdirs=
504 MFLAGS=
505 MAKEFLAGS=
506 SHELL=${CONFIG_SHELL-/bin/sh}
508 # Maximum number of lines to put in a shell here document.
509 # This variable seems obsolete. It should probably be removed, and
510 # only ac_max_sed_lines should be used.
511 : ${ac_max_here_lines=38}
513 # Identity of this package.
514 PACKAGE_NAME='GNU Autoconf'
515 PACKAGE_TARNAME='autoconf'
516 PACKAGE_VERSION='2.59c'
517 PACKAGE_STRING='GNU Autoconf 2.59c'
518 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
520 ac_unique_file="ChangeLog"
521 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_cv_sh_n_works EXPR M4 HELP2MAN PERL TEST_EMACS EMACS EMACSLOADPATH lispdir GREP LIBOBJS LTLIBOBJS'
522 ac_subst_files=''
524 # Initialize some variables set by options.
525 ac_init_help=
526 ac_init_version=false
527 # The variables have the same names as the options, with
528 # dashes changed to underlines.
529 cache_file=/dev/null
530 exec_prefix=NONE
531 no_create=
532 no_recursion=
533 prefix=NONE
534 program_prefix=NONE
535 program_suffix=NONE
536 program_transform_name=s,x,x,
537 silent=
538 site=
539 srcdir=
540 verbose=
541 x_includes=NONE
542 x_libraries=NONE
544 # Installation directory options.
545 # These are left unexpanded so users can "make install exec_prefix=/foo"
546 # and all the variables that are supposed to be based on exec_prefix
547 # by default will actually change.
548 # Use braces instead of parens because sh, perl, etc. also accept them.
549 bindir='${exec_prefix}/bin'
550 sbindir='${exec_prefix}/sbin'
551 libexecdir='${exec_prefix}/libexec'
552 datadir='${prefix}/share'
553 sysconfdir='${prefix}/etc'
554 sharedstatedir='${prefix}/com'
555 localstatedir='${prefix}/var'
556 libdir='${exec_prefix}/lib'
557 includedir='${prefix}/include'
558 oldincludedir='/usr/include'
559 infodir='${prefix}/info'
560 mandir='${prefix}/man'
562 ac_prev=
563 ac_dashdash=
564 for ac_option
566 # If the previous option needs an argument, assign it.
567 if test -n "$ac_prev"; then
568 eval "$ac_prev=\$ac_option"
569 ac_prev=
570 continue
573 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
575 # Accept the important Cygnus configure options, so we can diagnose typos.
577 case $ac_dashdash$ac_option in
579 ac_dashdash=yes ;;
581 -bindir | --bindir | --bindi | --bind | --bin | --bi)
582 ac_prev=bindir ;;
583 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
584 bindir=$ac_optarg ;;
586 -build | --build | --buil | --bui | --bu)
587 ac_prev=build_alias ;;
588 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
589 build_alias=$ac_optarg ;;
591 -cache-file | --cache-file | --cache-fil | --cache-fi \
592 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
593 ac_prev=cache_file ;;
594 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
595 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
596 cache_file=$ac_optarg ;;
598 --config-cache | -C)
599 cache_file=config.cache ;;
601 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
602 ac_prev=datadir ;;
603 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
604 | --da=*)
605 datadir=$ac_optarg ;;
607 -disable-* | --disable-*)
608 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
609 # Reject names that are not valid shell variable names.
610 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
611 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
612 { (exit 1); exit 1; }; }
613 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
614 eval "enable_$ac_feature=no" ;;
616 -enable-* | --enable-*)
617 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
621 { (exit 1); exit 1; }; }
622 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
623 case $ac_option in
624 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
625 *) ac_optarg=yes ;;
626 esac
627 eval "enable_$ac_feature='$ac_optarg'" ;;
629 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
630 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
631 | --exec | --exe | --ex)
632 ac_prev=exec_prefix ;;
633 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
634 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
635 | --exec=* | --exe=* | --ex=*)
636 exec_prefix=$ac_optarg ;;
638 -gas | --gas | --ga | --g)
639 # Obsolete; use --with-gas.
640 with_gas=yes ;;
642 -help | --help | --hel | --he | -h)
643 ac_init_help=long ;;
644 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
645 ac_init_help=recursive ;;
646 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
647 ac_init_help=short ;;
649 -host | --host | --hos | --ho)
650 ac_prev=host_alias ;;
651 -host=* | --host=* | --hos=* | --ho=*)
652 host_alias=$ac_optarg ;;
654 -includedir | --includedir | --includedi | --included | --include \
655 | --includ | --inclu | --incl | --inc)
656 ac_prev=includedir ;;
657 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
658 | --includ=* | --inclu=* | --incl=* | --inc=*)
659 includedir=$ac_optarg ;;
661 -infodir | --infodir | --infodi | --infod | --info | --inf)
662 ac_prev=infodir ;;
663 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
664 infodir=$ac_optarg ;;
666 -libdir | --libdir | --libdi | --libd)
667 ac_prev=libdir ;;
668 -libdir=* | --libdir=* | --libdi=* | --libd=*)
669 libdir=$ac_optarg ;;
671 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
672 | --libexe | --libex | --libe)
673 ac_prev=libexecdir ;;
674 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
675 | --libexe=* | --libex=* | --libe=*)
676 libexecdir=$ac_optarg ;;
678 -localstatedir | --localstatedir | --localstatedi | --localstated \
679 | --localstate | --localstat | --localsta | --localst \
680 | --locals | --local | --loca | --loc | --lo)
681 ac_prev=localstatedir ;;
682 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
683 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
684 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
685 localstatedir=$ac_optarg ;;
687 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688 ac_prev=mandir ;;
689 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
690 mandir=$ac_optarg ;;
692 -nfp | --nfp | --nf)
693 # Obsolete; use --without-fp.
694 with_fp=no ;;
696 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
697 | --no-cr | --no-c | -n)
698 no_create=yes ;;
700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
702 no_recursion=yes ;;
704 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
705 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
706 | --oldin | --oldi | --old | --ol | --o)
707 ac_prev=oldincludedir ;;
708 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
709 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
710 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
711 oldincludedir=$ac_optarg ;;
713 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
714 ac_prev=prefix ;;
715 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
716 prefix=$ac_optarg ;;
718 -program-prefix | --program-prefix | --program-prefi | --program-pref \
719 | --program-pre | --program-pr | --program-p)
720 ac_prev=program_prefix ;;
721 -program-prefix=* | --program-prefix=* | --program-prefi=* \
722 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
723 program_prefix=$ac_optarg ;;
725 -program-suffix | --program-suffix | --program-suffi | --program-suff \
726 | --program-suf | --program-su | --program-s)
727 ac_prev=program_suffix ;;
728 -program-suffix=* | --program-suffix=* | --program-suffi=* \
729 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
730 program_suffix=$ac_optarg ;;
732 -program-transform-name | --program-transform-name \
733 | --program-transform-nam | --program-transform-na \
734 | --program-transform-n | --program-transform- \
735 | --program-transform | --program-transfor \
736 | --program-transfo | --program-transf \
737 | --program-trans | --program-tran \
738 | --progr-tra | --program-tr | --program-t)
739 ac_prev=program_transform_name ;;
740 -program-transform-name=* | --program-transform-name=* \
741 | --program-transform-nam=* | --program-transform-na=* \
742 | --program-transform-n=* | --program-transform-=* \
743 | --program-transform=* | --program-transfor=* \
744 | --program-transfo=* | --program-transf=* \
745 | --program-trans=* | --program-tran=* \
746 | --progr-tra=* | --program-tr=* | --program-t=*)
747 program_transform_name=$ac_optarg ;;
749 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
750 | -silent | --silent | --silen | --sile | --sil)
751 silent=yes ;;
753 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
754 ac_prev=sbindir ;;
755 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
756 | --sbi=* | --sb=*)
757 sbindir=$ac_optarg ;;
759 -sharedstatedir | --sharedstatedir | --sharedstatedi \
760 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
761 | --sharedst | --shareds | --shared | --share | --shar \
762 | --sha | --sh)
763 ac_prev=sharedstatedir ;;
764 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
765 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
766 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
767 | --sha=* | --sh=*)
768 sharedstatedir=$ac_optarg ;;
770 -site | --site | --sit)
771 ac_prev=site ;;
772 -site=* | --site=* | --sit=*)
773 site=$ac_optarg ;;
775 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
776 ac_prev=srcdir ;;
777 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
778 srcdir=$ac_optarg ;;
780 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
781 | --syscon | --sysco | --sysc | --sys | --sy)
782 ac_prev=sysconfdir ;;
783 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
784 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
785 sysconfdir=$ac_optarg ;;
787 -target | --target | --targe | --targ | --tar | --ta | --t)
788 ac_prev=target_alias ;;
789 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
790 target_alias=$ac_optarg ;;
792 -v | -verbose | --verbose | --verbos | --verbo | --verb)
793 verbose=yes ;;
795 -version | --version | --versio | --versi | --vers | -V)
796 ac_init_version=: ;;
798 -with-* | --with-*)
799 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
802 { echo "$as_me: error: invalid package name: $ac_package" >&2
803 { (exit 1); exit 1; }; }
804 ac_package=`echo $ac_package| sed 's/-/_/g'`
805 case $ac_option in
806 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
807 *) ac_optarg=yes ;;
808 esac
809 eval "with_$ac_package='$ac_optarg'" ;;
811 -without-* | --without-*)
812 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
815 { echo "$as_me: error: invalid package name: $ac_package" >&2
816 { (exit 1); exit 1; }; }
817 ac_package=`echo $ac_package | sed 's/-/_/g'`
818 eval "with_$ac_package=no" ;;
820 --x)
821 # Obsolete; use --with-x.
822 with_x=yes ;;
824 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
825 | --x-incl | --x-inc | --x-in | --x-i)
826 ac_prev=x_includes ;;
827 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
828 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
829 x_includes=$ac_optarg ;;
831 -x-libraries | --x-libraries | --x-librarie | --x-librari \
832 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
833 ac_prev=x_libraries ;;
834 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
835 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
836 x_libraries=$ac_optarg ;;
838 -*) { echo "$as_me: error: unrecognized option: $ac_option
839 Try \`$0 --help' for more information." >&2
840 { (exit 1); exit 1; }; }
843 *=*)
844 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
847 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
848 { (exit 1); exit 1; }; }
849 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
850 eval "$ac_envvar='$ac_optarg'"
851 export $ac_envvar ;;
854 # FIXME: should be removed in autoconf 3.0.
855 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
856 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
857 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
858 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
861 esac
862 done
864 if test -n "$ac_prev"; then
865 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
866 { echo "$as_me: error: missing argument to $ac_option" >&2
867 { (exit 1); exit 1; }; }
870 # Be sure to have absolute directory names.
871 for ac_var in exec_prefix prefix
873 eval ac_val=$`echo $ac_var`
874 case $ac_val in
875 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
876 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
877 { (exit 1); exit 1; }; };;
878 esac
879 done
881 # Be sure to have absolute directory names.
882 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
883 localstatedir libdir includedir oldincludedir infodir mandir
885 eval ac_val=$`echo $ac_var`
886 case $ac_val in
887 [\\/$]* | ?:[\\/]* ) ;;
888 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
889 { (exit 1); exit 1; }; };;
890 esac
891 done
893 # There might be people who depend on the old broken behavior: `$host'
894 # used to hold the argument of --host etc.
895 # FIXME: To remove some day.
896 build=$build_alias
897 host=$host_alias
898 target=$target_alias
900 # FIXME: To remove some day.
901 if test "x$host_alias" != x; then
902 if test "x$build_alias" = x; then
903 cross_compiling=maybe
904 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
905 If a cross compiler is detected then cross compile mode will be used." >&2
906 elif test "x$build_alias" != "x$host_alias"; then
907 cross_compiling=yes
911 ac_tool_prefix=
912 test -n "$host_alias" && ac_tool_prefix=$host_alias-
914 test "$silent" = yes && exec 6>/dev/null
917 # Find the source files, if location was not specified.
918 if test -z "$srcdir"; then
919 ac_srcdir_defaulted=yes
920 # Try the directory containing this script, then its parent.
921 ac_confdir=`(dirname "$0") 2>/dev/null ||
922 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
923 X"$0" : 'X\(//\)[^/]' \| \
924 X"$0" : 'X\(//\)$' \| \
925 X"$0" : 'X\(/\)' \| \
926 . : '\(.\)' 2>/dev/null ||
927 echo X"$0" |
928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
930 /^X\(\/\/\)$/{ s//\1/; q; }
931 /^X\(\/\).*/{ s//\1/; q; }
932 s/.*/./; q'`
933 srcdir=$ac_confdir
934 if test ! -r $srcdir/$ac_unique_file; then
935 srcdir=..
937 else
938 ac_srcdir_defaulted=no
940 if test ! -r $srcdir/$ac_unique_file; then
941 if test "$ac_srcdir_defaulted" = yes; then
942 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
943 { (exit 1); exit 1; }; }
944 else
945 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
946 { (exit 1); exit 1; }; }
949 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
950 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
951 { (exit 1); exit 1; }; }
952 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
953 ac_env_build_alias_set=${build_alias+set}
954 ac_env_build_alias_value=$build_alias
955 ac_cv_env_build_alias_set=${build_alias+set}
956 ac_cv_env_build_alias_value=$build_alias
957 ac_env_host_alias_set=${host_alias+set}
958 ac_env_host_alias_value=$host_alias
959 ac_cv_env_host_alias_set=${host_alias+set}
960 ac_cv_env_host_alias_value=$host_alias
961 ac_env_target_alias_set=${target_alias+set}
962 ac_env_target_alias_value=$target_alias
963 ac_cv_env_target_alias_set=${target_alias+set}
964 ac_cv_env_target_alias_value=$target_alias
965 ac_env_EMACS_set=${EMACS+set}
966 ac_env_EMACS_value=$EMACS
967 ac_cv_env_EMACS_set=${EMACS+set}
968 ac_cv_env_EMACS_value=$EMACS
969 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
970 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
971 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
972 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
975 # Report the --help message.
977 if test "$ac_init_help" = "long"; then
978 # Omit some internal or obsolete options to make the list less imposing.
979 # This message is too long to be a string in the A/UX 3.1 sh.
980 cat <<_ACEOF
981 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
983 Usage: $0 [OPTION]... [VAR=VALUE]...
985 To assign environment variables (e.g., CC, CFLAGS...), specify them as
986 VAR=VALUE. See below for descriptions of some of the useful variables.
988 Defaults for the options are specified in brackets.
990 Configuration:
991 -h, --help display this help and exit
992 --help=short display options specific to this package
993 --help=recursive display the short help of all the included packages
994 -V, --version display version information and exit
995 -q, --quiet, --silent do not print \`checking...' messages
996 --cache-file=FILE cache test results in FILE [disabled]
997 -C, --config-cache alias for \`--cache-file=config.cache'
998 -n, --no-create do not create output files
999 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1001 _ACEOF
1003 cat <<_ACEOF
1004 Installation directories:
1005 --prefix=PREFIX install architecture-independent files in PREFIX
1006 [$ac_default_prefix]
1007 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1008 [PREFIX]
1010 By default, \`make install' will install all the files in
1011 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1012 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1013 for instance \`--prefix=\$HOME'.
1015 For better control, use the options below.
1017 Fine tuning of the installation directories:
1018 --bindir=DIR user executables [EPREFIX/bin]
1019 --sbindir=DIR system admin executables [EPREFIX/sbin]
1020 --libexecdir=DIR program executables [EPREFIX/libexec]
1021 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1022 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1023 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1024 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1025 --libdir=DIR object code libraries [EPREFIX/lib]
1026 --includedir=DIR C header files [PREFIX/include]
1027 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1028 --infodir=DIR info documentation [PREFIX/info]
1029 --mandir=DIR man documentation [PREFIX/man]
1030 _ACEOF
1032 cat <<\_ACEOF
1034 Program names:
1035 --program-prefix=PREFIX prepend PREFIX to installed program names
1036 --program-suffix=SUFFIX append SUFFIX to installed program names
1037 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1038 _ACEOF
1041 if test -n "$ac_init_help"; then
1042 case $ac_init_help in
1043 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1044 esac
1045 cat <<\_ACEOF
1047 Optional Packages:
1048 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1049 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1050 --with-lispdir override the default lisp directory
1052 Some influential environment variables:
1053 EMACS the Emacs editor command
1054 EMACSLOADPATH
1055 the Emacs library search path
1057 Use these variables to override the choices made by `configure' or to help
1058 it to find libraries and programs with nonstandard names/locations.
1060 Report bugs to <bug-autoconf@gnu.org>.
1061 _ACEOF
1064 if test "$ac_init_help" = "recursive"; then
1065 # If there are subdirs, report their specific --help.
1066 ac_popdir=`pwd`
1067 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1068 test -d $ac_dir || continue
1069 ac_builddir=.
1071 if test "$ac_dir" != .; then
1072 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1073 # A "../" for each directory in $ac_dir_suffix.
1074 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1075 else
1076 ac_dir_suffix= ac_top_builddir=
1079 case $srcdir in
1080 .) # No --srcdir option. We are building in place.
1081 ac_srcdir=.
1082 if test -z "$ac_top_builddir"; then
1083 ac_top_srcdir=.
1084 else
1085 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1086 fi ;;
1087 [\\/]* | ?:[\\/]* ) # Absolute name.
1088 ac_srcdir=$srcdir$ac_dir_suffix;
1089 ac_top_srcdir=$srcdir ;;
1090 *) # Relative name.
1091 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1092 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1093 esac
1095 # Do not use `cd foo && pwd` to compute absolute names, because
1096 # the directories may not exist.
1097 case `pwd` in
1098 .) ac_abs_builddir="$ac_dir";;
1100 case "$ac_dir" in
1101 .) ac_abs_builddir=`pwd`;;
1102 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1103 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1104 esac;;
1105 esac
1106 case $ac_abs_builddir in
1107 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1109 case ${ac_top_builddir}. in
1110 .) ac_abs_top_builddir=$ac_abs_builddir;;
1111 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1112 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1113 esac;;
1114 esac
1115 case $ac_abs_builddir in
1116 .) ac_abs_srcdir=$ac_srcdir;;
1118 case $ac_srcdir in
1119 .) ac_abs_srcdir=$ac_abs_builddir;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1121 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1122 esac;;
1123 esac
1124 case $ac_abs_builddir in
1125 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1127 case $ac_top_srcdir in
1128 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1130 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1131 esac;;
1132 esac
1134 cd $ac_dir
1135 # Check for guested configure; otherwise get Cygnus style configure.
1136 if test -f $ac_srcdir/configure.gnu; then
1137 echo
1138 $SHELL $ac_srcdir/configure.gnu --help=recursive
1139 elif test -f $ac_srcdir/configure; then
1140 echo
1141 $SHELL $ac_srcdir/configure --help=recursive
1142 elif test -f $ac_srcdir/configure.ac ||
1143 test -f $ac_srcdir/configure.in; then
1144 echo
1145 $ac_configure --help
1146 else
1147 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1149 cd "$ac_popdir"
1150 done
1153 test -n "$ac_init_help" && exit 0
1154 if $ac_init_version; then
1155 cat <<\_ACEOF
1156 GNU Autoconf configure 2.59c
1157 generated by GNU Autoconf 2.59c
1159 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1160 2003, 2004 Free Software Foundation, Inc.
1161 This configure script is free software; the Free Software Foundation
1162 gives unlimited permission to copy, distribute and modify it.
1163 _ACEOF
1164 exit 0
1166 exec 5>config.log
1167 cat >&5 <<_ACEOF
1168 This file contains any messages produced by compilers while
1169 running configure, to aid debugging if configure makes a mistake.
1171 It was created by GNU Autoconf $as_me 2.59c, which was
1172 generated by GNU Autoconf 2.59c. Invocation command line was
1174 $ $0 $@
1176 _ACEOF
1178 cat <<_ASUNAME
1179 ## --------- ##
1180 ## Platform. ##
1181 ## --------- ##
1183 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1184 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1185 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1186 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1187 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1189 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1190 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1192 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1193 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1194 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1195 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1196 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1197 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1198 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1200 _ASUNAME
1202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1203 for as_dir in $PATH
1205 IFS=$as_save_IFS
1206 test -z "$as_dir" && as_dir=.
1207 echo "PATH: $as_dir"
1208 done
1210 } >&5
1212 cat >&5 <<_ACEOF
1215 ## ----------- ##
1216 ## Core tests. ##
1217 ## ----------- ##
1219 _ACEOF
1222 # Keep a trace of the command line.
1223 # Strip out --no-create and --no-recursion so they do not pile up.
1224 # Strip out --silent because we don't want to record it for future runs.
1225 # Also quote any args containing shell meta-characters.
1226 # Make two passes to allow for proper duplicate-argument suppression.
1227 ac_configure_args=
1228 ac_configure_args0=
1229 ac_configure_args1=
1230 ac_sep=
1231 ac_must_keep_next=false
1232 for ac_pass in 1 2
1234 for ac_arg
1236 case $ac_arg in
1237 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1238 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239 | -silent | --silent | --silen | --sile | --sil)
1240 continue ;;
1241 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1242 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1243 esac
1244 case $ac_pass in
1245 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1247 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1248 if test $ac_must_keep_next = true; then
1249 ac_must_keep_next=false # Got value, back to normal.
1250 else
1251 case $ac_arg in
1252 *=* | --config-cache | -C | -disable-* | --disable-* \
1253 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1254 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1255 | -with-* | --with-* | -without-* | --without-* | --x)
1256 case "$ac_configure_args0 " in
1257 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1258 esac
1260 -* ) ac_must_keep_next=true ;;
1261 esac
1263 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1264 # Get rid of the leading space.
1265 ac_sep=" "
1267 esac
1268 done
1269 done
1270 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1271 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1273 # When interrupted or exit'd, cleanup temporary files, and complete
1274 # config.log. We remove comments because anyway the quotes in there
1275 # would cause problems or look ugly.
1276 # WARNING: Be sure not to use single quotes in there, as some shells,
1277 # such as our DU 5.0 friend, will then `close' the trap.
1278 trap 'exit_status=$?
1279 # Save into config.log some information that might help in debugging.
1281 echo
1283 cat <<\_ASBOX
1284 ## ---------------- ##
1285 ## Cache variables. ##
1286 ## ---------------- ##
1287 _ASBOX
1288 echo
1289 # The following way of writing the cache mishandles newlines in values,
1291 (set) 2>&1 |
1292 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1293 *ac_space=\ *)
1294 sed -n \
1295 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1299 sed -n \
1300 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1302 esac;
1304 echo
1306 cat <<\_ASBOX
1307 ## ----------------- ##
1308 ## Output variables. ##
1309 ## ----------------- ##
1310 _ASBOX
1311 echo
1312 for ac_var in $ac_subst_vars
1314 eval ac_val=$`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1316 done | sort
1317 echo
1319 if test -n "$ac_subst_files"; then
1320 cat <<\_ASBOX
1321 ## ------------- ##
1322 ## Output files. ##
1323 ## ------------- ##
1324 _ASBOX
1325 echo
1326 for ac_var in $ac_subst_files
1328 eval ac_val=$`echo $ac_var`
1329 echo "$ac_var='"'"'$ac_val'"'"'"
1330 done | sort
1331 echo
1334 if test -s confdefs.h; then
1335 cat <<\_ASBOX
1336 ## ----------- ##
1337 ## confdefs.h. ##
1338 ## ----------- ##
1339 _ASBOX
1340 echo
1341 sed "/^$/d" confdefs.h | sort
1342 echo
1344 test "$ac_signal" != 0 &&
1345 echo "$as_me: caught signal $ac_signal"
1346 echo "$as_me: exit $exit_status"
1347 } >&5
1348 rm -f core *.core &&
1349 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1350 exit $exit_status
1352 for ac_signal in 1 2 13 15; do
1353 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1354 done
1355 ac_signal=0
1357 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1358 rm -f -r conftest* confdefs.h
1359 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1360 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1361 ac_space=' '
1362 echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
1364 # Predefined preprocessor variables.
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_NAME "$PACKAGE_NAME"
1368 _ACEOF
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1373 _ACEOF
1376 cat >>confdefs.h <<_ACEOF
1377 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1378 _ACEOF
1381 cat >>confdefs.h <<_ACEOF
1382 #define PACKAGE_STRING "$PACKAGE_STRING"
1383 _ACEOF
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1388 _ACEOF
1391 # Let the site file select an alternate cache file if it wants to.
1392 # Prefer explicitly selected file to automatically selected ones.
1393 if test -z "$CONFIG_SITE"; then
1394 if test "x$prefix" != xNONE; then
1395 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1396 else
1397 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1400 for ac_site_file in $CONFIG_SITE; do
1401 if test -r "$ac_site_file"; then
1402 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1403 echo "$as_me: loading site script $ac_site_file" >&6;}
1404 sed 's/^/| /' "$ac_site_file" >&5
1405 . "$ac_site_file"
1407 done
1409 if test -r "$cache_file"; then
1410 # Some versions of bash will fail to source /dev/null (special
1411 # files actually), so we avoid doing that.
1412 if test -f "$cache_file"; then
1413 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1414 echo "$as_me: loading cache $cache_file" >&6;}
1415 case $cache_file in
1416 [\\/]* | ?:[\\/]* ) . $cache_file;;
1417 *) . ./$cache_file;;
1418 esac
1420 else
1421 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1422 echo "$as_me: creating cache $cache_file" >&6;}
1423 >$cache_file
1426 # Check that the precious variables saved in the cache have kept the same
1427 # value.
1428 ac_cache_corrupted=false
1429 for ac_var in `(set) 2>&1 |
1430 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1431 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1432 eval ac_new_set=\$ac_env_${ac_var}_set
1433 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1434 eval ac_new_val="\$ac_env_${ac_var}_value"
1435 case $ac_old_set,$ac_new_set in
1436 set,)
1437 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1438 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1439 ac_cache_corrupted=: ;;
1440 ,set)
1441 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1442 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1443 ac_cache_corrupted=: ;;
1444 ,);;
1446 if test "x$ac_old_val" != "x$ac_new_val"; then
1447 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1448 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1449 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1450 echo "$as_me: former value: $ac_old_val" >&2;}
1451 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1452 echo "$as_me: current value: $ac_new_val" >&2;}
1453 ac_cache_corrupted=:
1454 fi;;
1455 esac
1456 # Pass precious variables to config.status.
1457 if test "$ac_new_set" = set; then
1458 case $ac_new_val in
1459 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1460 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1461 *) ac_arg=$ac_var=$ac_new_val ;;
1462 esac
1463 case " $ac_configure_args " in
1464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1465 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1466 esac
1468 done
1469 if $ac_cache_corrupted; then
1470 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1471 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1472 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1473 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1474 { (exit 1); exit 1; }; }
1477 ac_ext=c
1478 ac_cpp='$CPP $CPPFLAGS'
1479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1511 ac_aux_dir=
1512 for ac_dir in config $srcdir/config; do
1513 if test -f $ac_dir/install-sh; then
1514 ac_aux_dir=$ac_dir
1515 ac_install_sh="$ac_aux_dir/install-sh -c"
1516 break
1517 elif test -f $ac_dir/install.sh; then
1518 ac_aux_dir=$ac_dir
1519 ac_install_sh="$ac_aux_dir/install.sh -c"
1520 break
1521 elif test -f $ac_dir/shtool; then
1522 ac_aux_dir=$ac_dir
1523 ac_install_sh="$ac_aux_dir/shtool install -c"
1524 break
1526 done
1527 if test -z "$ac_aux_dir"; then
1528 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1529 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1530 { (exit 1); exit 1; }; }
1532 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1533 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1534 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1536 ac_config_files="$ac_config_files config/Makefile"
1539 am__api_version="1.9"
1540 # Find a good install program. We prefer a C program (faster),
1541 # so one script is as good as another. But avoid the broken or
1542 # incompatible versions:
1543 # SysV /etc/install, /usr/sbin/install
1544 # SunOS /usr/etc/install
1545 # IRIX /sbin/install
1546 # AIX /bin/install
1547 # AmigaOS /C/install, which installs bootblocks on floppy discs
1548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1551 # OS/2's system install, which has a completely different semantic
1552 # ./install, which can be erroneously created by make from ./install.sh.
1553 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1554 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1555 if test -z "$INSTALL"; then
1556 if test "${ac_cv_path_install+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 else
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560 for as_dir in $PATH
1562 IFS=$as_save_IFS
1563 test -z "$as_dir" && as_dir=.
1564 # Account for people who put trailing slashes in PATH elements.
1565 case $as_dir/ in
1566 ./ | .// | /cC/* | \
1567 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1568 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1569 /usr/ucb/* ) ;;
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1573 # by default.
1574 for ac_prog in ginstall scoinst install; do
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1577 if test $ac_prog = install &&
1578 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1579 # AIX install. It has an incompatible calling convention.
1581 elif test $ac_prog = install &&
1582 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1583 # program-specific install script used by HP pwplus--don't use.
1585 else
1586 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1587 break 3
1590 done
1591 done
1593 esac
1594 done
1598 if test "${ac_cv_path_install+set}" = set; then
1599 INSTALL=$ac_cv_path_install
1600 else
1601 # As a last resort, use the slow shell script. Don't cache a
1602 # value for INSTALL within a source directory, because that will
1603 # break other packages using the cache if that directory is
1604 # removed, or if the value is a relative name.
1605 INSTALL=$ac_install_sh
1608 echo "$as_me:$LINENO: result: $INSTALL" >&5
1609 echo "${ECHO_T}$INSTALL" >&6
1611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1612 # It thinks the first close brace ends the variable substitution.
1613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1617 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1619 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1620 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1621 # Just in case
1622 sleep 1
1623 echo timestamp > conftest.file
1624 # Do `set' in a subshell so we don't clobber the current shell's
1625 # arguments. Must try -L first in case configure is actually a
1626 # symlink; some systems play weird games with the mod time of symlinks
1627 # (eg FreeBSD returns the mod time of the symlink's containing
1628 # directory).
1629 if (
1630 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1631 if test "$*" = "X"; then
1632 # -L didn't work.
1633 set X `ls -t $srcdir/configure conftest.file`
1635 rm -f conftest.file
1636 if test "$*" != "X $srcdir/configure conftest.file" \
1637 && test "$*" != "X conftest.file $srcdir/configure"; then
1639 # If neither matched, then we have a broken ls. This can happen
1640 # if, for instance, CONFIG_SHELL is bash and it inherits a
1641 # broken ls alias from the environment. This has actually
1642 # happened. Such a system could not be considered "sane".
1643 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&5
1645 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1646 alias in your environment" >&2;}
1647 { (exit 1); exit 1; }; }
1650 test "$2" = conftest.file
1652 then
1653 # Ok.
1655 else
1656 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1657 Check your system clock" >&5
1658 echo "$as_me: error: newly created file is older than distributed files!
1659 Check your system clock" >&2;}
1660 { (exit 1); exit 1; }; }
1662 echo "$as_me:$LINENO: result: yes" >&5
1663 echo "${ECHO_T}yes" >&6
1664 test "$program_prefix" != NONE &&
1665 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1666 # Use a double $ so make ignores it.
1667 test "$program_suffix" != NONE &&
1668 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1669 # Double any \ or $. echo might interpret backslashes.
1670 # By default was `s,x,x', remove it if useless.
1671 cat <<\_ACEOF >conftest.sed
1672 s/[\\$]/&&/g;s/;s,x,x,$//
1673 _ACEOF
1674 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1675 rm -f conftest.sed
1677 # expand $ac_aux_dir to an absolute path
1678 am_aux_dir=`cd $ac_aux_dir && pwd`
1680 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1681 # Use eval to expand $SHELL
1682 if eval "$MISSING --run true"; then
1683 am_missing_run="$MISSING --run "
1684 else
1685 am_missing_run=
1686 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1687 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1690 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1691 # We used to keeping the `.' as first argument, in order to
1692 # allow $(mkdir_p) to be used without argument. As in
1693 # $(mkdir_p) $(somedir)
1694 # where $(somedir) is conditionally defined. However this is wrong
1695 # for two reasons:
1696 # 1. if the package is installed by a user who cannot write `.'
1697 # make install will fail,
1698 # 2. the above comment should most certainly read
1699 # $(mkdir_p) $(DESTDIR)$(somedir)
1700 # so it does not work when $(somedir) is undefined and
1701 # $(DESTDIR) is not.
1702 # To support the latter case, we have to write
1703 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1704 # so the `.' trick is pointless.
1705 mkdir_p='mkdir -p --'
1706 else
1707 # On NextStep and OpenStep, the `mkdir' command does not
1708 # recognize any option. It will interpret all options as
1709 # directories to create, and then abort because `.' already
1710 # exists.
1711 for d in ./-p ./--version;
1713 test -d $d && rmdir $d
1714 done
1715 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1716 if test -f "$ac_aux_dir/mkinstalldirs"; then
1717 mkdir_p='$(mkinstalldirs)'
1718 else
1719 mkdir_p='$(install_sh) -d'
1723 for ac_prog in gawk mawk nawk awk
1725 # Extract the first word of "$ac_prog", so it can be a program name with args.
1726 set dummy $ac_prog; ac_word=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_AWK+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 else
1732 if test -n "$AWK"; then
1733 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1734 else
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 for as_dir in $PATH
1738 IFS=$as_save_IFS
1739 test -z "$as_dir" && as_dir=.
1740 for ac_exec_ext in '' $ac_executable_extensions; do
1741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1742 ac_cv_prog_AWK="$ac_prog"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 break 2
1746 done
1747 done
1751 AWK=$ac_cv_prog_AWK
1752 if test -n "$AWK"; then
1753 echo "$as_me:$LINENO: result: $AWK" >&5
1754 echo "${ECHO_T}$AWK" >&6
1755 else
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1760 test -n "$AWK" && break
1761 done
1763 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1764 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1765 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1766 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1768 else
1769 cat >conftest.make <<\_ACEOF
1770 SHELL = /bin/sh
1771 all:
1772 @echo 'ac_maketemp="$(MAKE)"'
1773 _ACEOF
1774 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1775 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1776 if test -n "$ac_maketemp"; then
1777 eval ac_cv_prog_make_${ac_make}_set=yes
1778 else
1779 eval ac_cv_prog_make_${ac_make}_set=no
1781 rm -f conftest.make
1783 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1784 echo "$as_me:$LINENO: result: yes" >&5
1785 echo "${ECHO_T}yes" >&6
1786 SET_MAKE=
1787 else
1788 echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6
1790 SET_MAKE="MAKE=${MAKE-make}"
1793 rm -rf .tst 2>/dev/null
1794 mkdir .tst 2>/dev/null
1795 if test -d .tst; then
1796 am__leading_dot=.
1797 else
1798 am__leading_dot=_
1800 rmdir .tst 2>/dev/null
1802 # test to see if srcdir already configured
1803 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1804 test -f $srcdir/config.status; then
1805 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1806 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1807 { (exit 1); exit 1; }; }
1810 # test whether we have cygpath
1811 if test -z "$CYGPATH_W"; then
1812 if (cygpath --version) >/dev/null 2>/dev/null; then
1813 CYGPATH_W='cygpath -w'
1814 else
1815 CYGPATH_W=echo
1820 # Define the identity of the package.
1821 PACKAGE='autoconf'
1822 VERSION='2.59c'
1825 cat >>confdefs.h <<_ACEOF
1826 #define PACKAGE "$PACKAGE"
1827 _ACEOF
1830 cat >>confdefs.h <<_ACEOF
1831 #define VERSION "$VERSION"
1832 _ACEOF
1834 # Some tools Automake needs.
1836 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1839 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1842 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1845 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1848 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1850 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1852 # Installed binaries are usually stripped using `strip' when the user
1853 # run `make install-strip'. However `strip' might not be the right
1854 # tool to use in cross-compilation environments, therefore Automake
1855 # will honor the `STRIP' environment variable to overrule this program.
1856 if test "$cross_compiling" != no; then
1857 if test -n "$ac_tool_prefix"; then
1858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1859 set dummy ${ac_tool_prefix}strip; ac_word=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_STRIP+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 else
1865 if test -n "$STRIP"; then
1866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1867 else
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 for as_dir in $PATH
1871 IFS=$as_save_IFS
1872 test -z "$as_dir" && as_dir=.
1873 for ac_exec_ext in '' $ac_executable_extensions; do
1874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1875 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1877 break 2
1879 done
1880 done
1884 STRIP=$ac_cv_prog_STRIP
1885 if test -n "$STRIP"; then
1886 echo "$as_me:$LINENO: result: $STRIP" >&5
1887 echo "${ECHO_T}$STRIP" >&6
1888 else
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1894 if test -z "$ac_cv_prog_STRIP"; then
1895 ac_ct_STRIP=$STRIP
1896 # Extract the first word of "strip", so it can be a program name with args.
1897 set dummy strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 else
1903 if test -n "$ac_ct_STRIP"; then
1904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1905 else
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in $PATH
1909 IFS=$as_save_IFS
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1913 ac_cv_prog_ac_ct_STRIP="strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 break 2
1917 done
1918 done
1922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1923 if test -n "$ac_ct_STRIP"; then
1924 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1925 echo "${ECHO_T}$ac_ct_STRIP" >&6
1926 else
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1931 if test "x$ac_ct_STRIP" = x; then
1932 STRIP=":"
1933 else
1934 if test "$build" != "$host"; then
1935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1936 whose name does not start with the host triplet. If you think this
1937 configuration is useful to you, please write to autoconf@gnu.org." >&5
1938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1939 whose name does not start with the host triplet. If you think this
1940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1942 STRIP=$ac_ct_STRIP
1944 else
1945 STRIP="$ac_cv_prog_STRIP"
1949 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951 # We need awk for the "check" target. The system "awk" is bad on
1952 # some platforms.
1953 # Always define AMTAR for backward compatibility.
1955 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1964 # We use `/bin/sh -n script' to check that there are no syntax errors
1965 # in the scripts. Although incredible, there are /bin/sh that go into
1966 # endless loops with `-n', e.g., SunOS's:
1968 # $ uname -a
1969 # SunOS ondine 4.1.3 2 sun4m unknown
1970 # $ cat endless.sh
1971 # while false
1972 # do
1974 # done
1975 # exit 0
1976 # $ time sh endless.sh
1977 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
1978 # $ time sh -nx endless.sh
1979 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
1981 # So before using `/bin/sh -n' to check our scripts, we first check
1982 # that `/bin/sh -n' is not broken to death.
1984 # A script that never returns. We don't care that it never returns,
1985 # broken /bin/sh loop equally with `false', but it makes it easier to
1986 # test the robustness in a good environment: just remove the `-n'.
1987 echo "$as_me:$LINENO: checking whether sh -n works" >&5
1988 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6
1989 if test "${ac_cv_sh_n_works+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 else
1992 cat > conftest.sh <<_CONFEOF_
1993 while :
1996 done
1997 _CONFEOF_
1999 (/bin/sh -n conftest.sh) &
2000 sleep 2
2001 if kill $! >/dev/null 2>&1; then
2002 # We managed to kill the child, which means that we probably
2003 # can't trust `/bin/sh -n', hence the test failed.
2004 ac_cv_sh_n_works=no
2005 else
2006 ac_cv_sh_n_works=yes
2008 rm conftest.sh
2011 echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2012 echo "${ECHO_T}$ac_cv_sh_n_works" >&6
2015 # Initialize the test suite.
2016 ac_config_commands="$ac_config_commands tests/atconfig"
2019 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2021 # Extract the first word of "expr", so it can be a program name with args.
2022 set dummy expr; ac_word=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_path_EXPR+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028 case $EXPR in
2029 [\\/]* | ?:[\\/]*)
2030 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2040 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2044 done
2045 done
2048 esac
2050 EXPR=$ac_cv_path_EXPR
2052 if test -n "$EXPR"; then
2053 echo "$as_me:$LINENO: result: $EXPR" >&5
2054 echo "${ECHO_T}$EXPR" >&6
2055 else
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2062 ## ---- ##
2063 ## M4. ##
2064 ## ---- ##
2066 # We use an absolute name for GNU m4 so even if users have another m4 first in
2067 # their path, the installer can configure with a path that has GNU m4
2068 # first and get that path embedded in the installed autoconf and
2069 # autoheader scripts.
2070 for ac_prog in gm4 gnum4 m4
2072 # Extract the first word of "$ac_prog", so it can be a program name with args.
2073 set dummy $ac_prog; ac_word=$2
2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076 if test "${ac_cv_path_M4+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 else
2079 case $M4 in
2080 [\\/]* | ?:[\\/]*)
2081 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 for as_dir in $PATH
2087 IFS=$as_save_IFS
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2091 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 break 2
2095 done
2096 done
2099 esac
2101 M4=$ac_cv_path_M4
2103 if test -n "$M4"; then
2104 echo "$as_me:$LINENO: result: $M4" >&5
2105 echo "${ECHO_T}$M4" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 test -n "$M4" && break
2112 done
2113 test -n "$M4" || M4="m4"
2115 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2116 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2117 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 else
2120 ac_cv_prog_gnu_m4=no
2121 if test x"$M4" != x; then
2122 case `$M4 --help < /dev/null 2>&1` in
2123 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2124 esac
2127 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2128 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2129 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2130 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2131 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2132 { (exit 1); exit 1; }; }
2135 ## ----------- ##
2136 ## Man pages. ##
2137 ## ----------- ##
2139 ac_config_files="$ac_config_files man/Makefile"
2142 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2146 ## ------ ##
2147 ## Perl. ##
2148 ## ------ ##
2150 # We use an absolute name for perl so the #! line in autoscan will work.
2151 # Extract the first word of "perl", so it can be a program name with args.
2152 set dummy perl; ac_word=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_path_PERL+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 else
2158 case $PERL in
2159 [\\/]* | ?:[\\/]*)
2160 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2166 IFS=$as_save_IFS
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 break 2
2174 done
2175 done
2177 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2179 esac
2181 PERL=$ac_cv_path_PERL
2183 if test -n "$PERL"; then
2184 echo "$as_me:$LINENO: result: $PERL" >&5
2185 echo "${ECHO_T}$PERL" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 if test "$PERL" = no; then
2192 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2193 echo "$as_me: error: perl is not found" >&2;}
2194 { (exit 1); exit 1; }; }
2196 $PERL -e 'require 5.005_03;' || {
2197 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2198 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2199 { (exit 1); exit 1; }; }
2203 ## ------- ##
2204 ## Emacs. ##
2205 ## ------- ##
2207 ac_config_files="$ac_config_files lib/emacs/Makefile"
2209 TEST_EMACS=$EMACS
2210 test x"$TEST_EMACS" = xt && TEST_EMACS=
2211 for ac_prog in emacs xemacs
2213 # Extract the first word of "$ac_prog", so it can be a program name with args.
2214 set dummy $ac_prog; ac_word=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 else
2220 if test -n "$TEST_EMACS"; then
2221 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2222 else
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 for as_dir in $PATH
2226 IFS=$as_save_IFS
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_TEST_EMACS="$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 break 2
2234 done
2235 done
2239 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2240 if test -n "$TEST_EMACS"; then
2241 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2242 echo "${ECHO_T}$TEST_EMACS" >&6
2243 else
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2248 test -n "$TEST_EMACS" && break
2249 done
2250 test -n "$TEST_EMACS" || TEST_EMACS="no"
2253 # autoconf-mode.el and autotest-mode.el do not work with older version of
2254 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2255 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2256 # We detect this problem here.
2257 if test "$TEST_EMACS" != no; then
2258 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2259 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
2260 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 else
2263 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2264 cat >conftest.el << "EOF"
2265 (defvar broken)
2266 (defun broken-mode () (setq broken-defaults `(broken nil)))
2268 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2269 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2270 ac_status=$?
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; then
2273 ac_cv_prog_emacs_ok=yes
2274 else
2275 ac_cv_prog_emacs_ok=no
2278 rm -f conftest.el conftest.elc
2280 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2281 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
2282 if test $ac_cv_prog_emacs_ok = no; then
2283 TEST_EMACS=no
2289 EMACS=$TEST_EMACS
2292 # If set to t, that means we are running in a shell under Emacs.
2293 # If you have an Emacs named "t", then use the full path.
2294 test x"$EMACS" = xt && EMACS=
2295 for ac_prog in emacs xemacs
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_EMACS+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$EMACS"; then
2305 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_EMACS="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 EMACS=$ac_cv_prog_EMACS
2324 if test -n "$EMACS"; then
2325 echo "$as_me:$LINENO: result: $EMACS" >&5
2326 echo "${ECHO_T}$EMACS" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$EMACS" && break
2333 done
2334 test -n "$EMACS" || EMACS="no"
2339 # Check whether --with-lispdir or --without-lispdir was given.
2340 if test "${with_lispdir+set}" = set; then
2341 withval="$with_lispdir"
2342 lispdir="$withval"
2343 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2344 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2345 echo "$as_me:$LINENO: result: $lispdir" >&5
2346 echo "${ECHO_T}$lispdir" >&6
2347 else
2349 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2350 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2351 if test "${am_cv_lispdir+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2353 else
2355 if test $EMACS != "no"; then
2356 if test x${lispdir+set} != xset; then
2357 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2358 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2359 # which is non-obvious for non-emacs users.
2360 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2361 # emacsen earlier and avoid running this altogether.
2362 { (echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
2363 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 am_cv_lispdir=`sed -n \
2368 -e 's,/$,,' \
2369 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2370 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2371 conftest.out`
2372 rm conftest.out
2375 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2378 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2379 echo "${ECHO_T}$am_cv_lispdir" >&6
2380 lispdir="$am_cv_lispdir"
2387 ## ------ ##
2388 ## Grep. ##
2389 ## ------ ##
2390 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2391 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2392 if test "${ac_cv_path_GREP+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 else
2395 # Extract the first word of "grep ggrep" to use in msg output
2396 if test -z "$GREP"; then
2397 set dummy grep ggrep; ac_prog_name=$2
2398 if test "${ac_cv_path_GREP+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 ac_path_GREP_found=false
2402 # Loop through the user's path and test for each of PROGNAME-LIST
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 as_dummy="$PATH:/usr/xpg4/bin"
2405 for as_dir in $as_dummy
2407 IFS=$as_save_IFS
2408 test -z "$as_dir" && as_dir=.
2409 for ac_prog in grep ggrep; do
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2412 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2413 # Check for GNU ac_path_GREP and select it if it is found.
2414 # Check for GNU $ac_path_GREP
2415 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2417 else
2418 ac_count=0
2419 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2420 while :
2422 cat "conftest.in" "conftest.in" >"conftest.tmp"
2423 mv "conftest.tmp" "conftest.in"
2424 cp "conftest.in" "conftest.nl"
2425 echo 'GREP' >> "conftest.nl"
2426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2428 ac_count=`expr $ac_count + 1`
2429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2430 # Best one so far, save it but keep looking for a better one
2431 ac_cv_path_GREP="$ac_path_GREP"
2432 ac_path_GREP_max=$ac_count
2434 # 10*(2^10) chars as input seems more than enough
2435 test $ac_count -gt 10 && break
2436 done
2437 rm -f conftest.*
2441 $ac_path_GREP_found && break 3
2442 done
2443 done
2445 done
2450 GREP="$ac_cv_path_GREP"
2451 if test -z "$GREP"; then
2452 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2453 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2454 { (exit 1); exit 1; }; }
2457 else
2458 ac_cv_path_GREP=$GREP
2463 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2464 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2465 GREP="$ac_cv_path_GREP"
2470 ## ------------ ##
2471 ## Conclusion. ##
2472 ## ------------ ##
2474 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"
2477 cat >confcache <<\_ACEOF
2478 # This file is a shell script that caches the results of configure
2479 # tests run on this system so they can be shared between configure
2480 # scripts and configure runs, see configure's option --config-cache.
2481 # It is not useful on other systems. If it contains results you don't
2482 # want to keep, you may remove or edit it.
2484 # config.status only pays attention to the cache file if you give it
2485 # the --recheck option to rerun configure.
2487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2489 # following values.
2491 _ACEOF
2493 # The following way of writing the cache mishandles newlines in values,
2494 # but we know of no workaround that is simple, portable, and efficient.
2495 # So, don't put newlines in cache variables' values.
2496 # Ultrix sh set writes to stderr and can't be redirected directly,
2497 # and sets the high bit in the cache file unless we assign to the vars.
2499 (set) 2>&1 |
2500 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2501 *ac_space=\ *)
2502 # `set' does not quote correctly, so add quotes (double-quote
2503 # substitution turns \\\\ into \\, and sed turns \\ into \).
2504 sed -n \
2505 "s/'/'\\\\''/g;
2506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2509 # `set' quotes correctly as required by POSIX, so do not add quotes.
2510 sed -n \
2511 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2513 esac;
2515 sed '
2516 t clear
2517 : clear
2518 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2519 t end
2520 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2521 : end' >>confcache
2522 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2523 if test -w $cache_file; then
2524 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2525 cat confcache >$cache_file
2526 else
2527 echo "not updating unwritable cache $cache_file"
2530 rm -f confcache
2532 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2533 # Let make expand exec_prefix.
2534 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2536 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2537 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2538 # trailing colons and then remove the whole line if VPATH becomes empty
2539 # (actually we leave an empty line to preserve line numbers).
2540 if test "x$srcdir" = x.; then
2541 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2542 s/:*\$(srcdir):*/:/;
2543 s/:*\${srcdir}:*/:/;
2544 s/:*@srcdir@:*/:/;
2545 s/^\([^=]*=[ ]*\):*/\1/;
2546 s/:*$//;
2547 s/^[^=]*=[ ]*$//;
2551 # Transform confdefs.h into DEFS.
2552 # Protect against shell expansion while executing Makefile rules.
2553 # Protect against Makefile macro expansion.
2555 # If the first sed substitution is executed (which looks for macros that
2556 # take arguments), then we branch to the quote section. Otherwise,
2557 # look for a macro that doesn't take arguments.
2558 cat >confdef2opt.sed <<\_ACEOF
2559 t clear
2560 : clear
2561 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2562 t quote
2563 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2564 t quote
2566 : quote
2567 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2568 s,\[,\\&,g
2569 s,\],\\&,g
2570 s,\$,$$,g
2572 _ACEOF
2573 # We use echo to avoid assuming a particular line-breaking character.
2574 # The extra dot is to prevent the shell from consuming trailing
2575 # line-breaks from the sub-command output. A line-break within
2576 # single-quotes doesn't work because, if this script is created in a
2577 # platform that uses two characters for line-breaks (e.g., DOS), tr
2578 # would break.
2579 ac_LF_and_DOT=`echo; echo .`
2580 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2581 rm -f confdef2opt.sed
2584 ac_libobjs=
2585 ac_ltlibobjs=
2586 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2587 # 1. Remove the extension, and $U if already installed.
2588 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2589 ac_i=`echo "$ac_i" | sed "$ac_script"`
2590 # 2. Add them.
2591 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2592 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2593 done
2594 LIBOBJS=$ac_libobjs
2596 LTLIBOBJS=$ac_ltlibobjs
2600 : ${CONFIG_STATUS=./config.status}
2601 ac_clean_files_save=$ac_clean_files
2602 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2603 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2604 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2605 cat >$CONFIG_STATUS <<_ACEOF
2606 #! $SHELL
2607 # Generated by $as_me.
2608 # Run this file to recreate the current configuration.
2609 # Compiler output produced by configure, useful for debugging
2610 # configure, is in config.log if it exists.
2612 debug=false
2613 ac_cs_recheck=false
2614 ac_cs_silent=false
2615 SHELL=\${CONFIG_SHELL-$SHELL}
2616 _ACEOF
2618 cat >>$CONFIG_STATUS <<\_ACEOF
2619 ## --------------------- ##
2620 ## M4sh Initialization. ##
2621 ## --------------------- ##
2623 # Be Bourne compatible
2624 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2625 emulate sh
2626 NULLCMD=:
2627 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2628 # is contrary to our usage. Disable this feature.
2629 alias -g '${1+"$@"}'='"$@"'
2630 setopt NO_GLOB_SUBST
2631 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2632 set -o posix
2634 BIN_SH=xpg4; export BIN_SH # for Tru64
2635 DUALCASE=1; export DUALCASE # for MKS sh
2638 # PATH needs CR
2639 # Avoid depending upon Character Ranges.
2640 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2641 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2642 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2643 as_cr_digits='0123456789'
2644 as_cr_alnum=$as_cr_Letters$as_cr_digits
2646 # The user is always right.
2647 if test "${PATH_SEPARATOR+set}" != set; then
2648 echo "#! /bin/sh" >conf$$.sh
2649 echo "exit 0" >>conf$$.sh
2650 chmod +x conf$$.sh
2651 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2652 PATH_SEPARATOR=';'
2653 else
2654 PATH_SEPARATOR=:
2656 rm -f conf$$.sh
2659 # Support unset when possible.
2660 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2661 as_unset=unset
2662 else
2663 as_unset=false
2667 # Find who we are. Look in the path if we contain no path at all
2668 # relative or not.
2669 case $0 in
2670 *[\\/]* ) as_myself=$0 ;;
2671 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH
2674 IFS=$as_save_IFS
2675 test -z "$as_dir" && as_dir=.
2676 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2677 done
2680 esac
2681 # We did not find ourselves, most probably we were run as `sh COMMAND'
2682 # in which case we are not to be found in the path.
2683 if test "x$as_myself" = x; then
2684 as_myself=$0
2686 if test ! -f "$as_myself"; then
2687 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2688 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2689 { (exit 1); exit 1; }; }
2692 # Work around bugs in pre-3.0 UWIN ksh.
2693 for as_var in ENV MAIL MAILPATH
2694 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2695 done
2696 PS1='$ '
2697 PS2='> '
2698 PS4='+ '
2700 # NLS nuisances.
2701 for as_var in \
2702 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2703 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2704 LC_TELEPHONE LC_TIME
2706 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2707 eval $as_var=C; export $as_var
2708 else
2709 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2711 done
2713 # Required to use basename.
2714 if expr a : '\(a\)' >/dev/null 2>&1; then
2715 as_expr=expr
2716 else
2717 as_expr=false
2720 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2721 as_basename=basename
2722 else
2723 as_basename=false
2727 # Name of the executable.
2728 as_me=`$as_basename "$0" ||
2729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2730 X"$0" : 'X\(//\)$' \| \
2731 X"$0" : 'X\(/\)$' \| \
2732 . : '\(.\)' 2>/dev/null ||
2733 echo X/"$0" |
2734 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2735 /^X\/\(\/\/\)$/{ s//\1/; q; }
2736 /^X\/\(\/\).*/{ s//\1/; q; }
2737 s/.*/./; q'`
2742 as_lineno_1=$LINENO
2743 as_lineno_2=$LINENO
2744 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2745 test "x$as_lineno_1" != "x$as_lineno_2" &&
2746 test "x$as_lineno_3" = "x$as_lineno_2" || {
2748 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2749 # uniformly replaced by the line number. The first 'sed' inserts a
2750 # line-number line after each line using $LINENO; the second 'sed'
2751 # does the real work. The second script uses 'N' to pair each
2752 # line-number line with the line containing $LINENO, and appends
2753 # trailing '-' during substitution so that $LINENO is not a special
2754 # case at line end.
2755 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2756 # scripts with optimization help from Paolo Bonzini. Blame Lee
2757 # E. McMahon (1931-1989) for sed's syntax. :-)
2758 sed -n '
2760 /[$]LINENO/=
2761 ' <$as_myself |
2762 sed '
2763 s,[$]LINENO.*,&-,
2764 t lineno
2766 : lineno
2768 : loop
2769 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2770 t loop
2771 s,-\n.*,,
2772 ' >$as_me.lineno &&
2773 chmod +x $as_me.lineno ||
2774 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2775 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2776 { (exit 1); exit 1; }; }
2778 # Don't try to exec as it changes $[0], causing all sort of problems
2779 # (the dirname of $[0] is not the place where we might find the
2780 # original and so on. Autoconf is especially sensible to this).
2781 . ./$as_me.lineno
2782 # Exit status is that of the last command.
2783 exit
2787 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2788 *c*,-n*) ECHO_N= ECHO_C='
2789 ' ECHO_T=' ' ;;
2790 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2791 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2792 esac
2794 if expr a : '\(a\)' >/dev/null 2>&1; then
2795 as_expr=expr
2796 else
2797 as_expr=false
2800 rm -f conf$$ conf$$.exe conf$$.file
2801 echo >conf$$.file
2802 if ln -s conf$$.file conf$$ 2>/dev/null; then
2803 # We could just check for DJGPP; but this test a) works b) is more generic
2804 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2805 if test -f conf$$.exe; then
2806 # Don't use ln at all; we don't have any links
2807 as_ln_s='cp -p'
2808 else
2809 as_ln_s='ln -s'
2811 elif ln conf$$.file conf$$ 2>/dev/null; then
2812 as_ln_s=ln
2813 else
2814 as_ln_s='cp -p'
2816 rm -f conf$$ conf$$.exe conf$$.file
2818 if mkdir -p . 2>/dev/null; then
2819 as_mkdir_p=:
2820 else
2821 test -d ./-p && rmdir ./-p
2822 as_mkdir_p=false
2825 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2826 # systems may use methods other than mode bits to determine executability.
2827 cat >conf$$.file <<_ASEOF
2828 #! /bin/sh
2829 exit 0
2830 _ASEOF
2831 chmod +x conf$$.file
2832 if test -x conf$$.file >/dev/null 2>&1; then
2833 as_executable_p="test -x"
2834 else
2835 as_executable_p=:
2837 rm -f conf$$.file
2839 # Sed expression to map a string onto a valid CPP name.
2840 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2842 # Sed expression to map a string onto a valid variable name.
2843 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2846 # IFS
2847 # We need space, tab and new line, in precisely that order.
2848 as_nl='
2850 IFS=" $as_nl"
2852 # CDPATH.
2853 $as_unset CDPATH
2855 exec 6>&1
2857 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2858 # report actual input values of CONFIG_FILES etc. instead of their
2859 # values after options handling. Logging --version etc. is OK.
2860 exec 5>>config.log
2862 echo
2863 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2864 ## Running $as_me. ##
2865 _ASBOX
2866 } >&5
2867 cat >&5 <<_CSEOF
2869 This file was extended by GNU Autoconf $as_me 2.59c, which was
2870 generated by GNU Autoconf 2.59c. Invocation command line was
2872 CONFIG_FILES = $CONFIG_FILES
2873 CONFIG_HEADERS = $CONFIG_HEADERS
2874 CONFIG_LINKS = $CONFIG_LINKS
2875 CONFIG_COMMANDS = $CONFIG_COMMANDS
2876 $ $0 $@
2878 _CSEOF
2879 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2880 echo >&5
2881 _ACEOF
2883 # Files that config.status was made for.
2884 if test -n "$ac_config_files"; then
2885 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2888 if test -n "$ac_config_headers"; then
2889 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2892 if test -n "$ac_config_links"; then
2893 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2896 if test -n "$ac_config_commands"; then
2897 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2900 cat >>$CONFIG_STATUS <<\_ACEOF
2902 ac_cs_usage="\
2903 \`$as_me' instantiates files from templates according to the
2904 current configuration.
2906 Usage: $0 [OPTIONS] [FILE]...
2908 -h, --help print this help, then exit
2909 -V, --version print version number, then exit
2910 -q, --quiet do not print progress messages
2911 -d, --debug don't remove temporary files
2912 --recheck update $as_me by reconfiguring in the same conditions
2913 --file=FILE[:TEMPLATE]
2914 instantiate the configuration file FILE
2916 Configuration files:
2917 $config_files
2919 Configuration commands:
2920 $config_commands
2922 Report bugs to <bug-autoconf@gnu.org>."
2923 _ACEOF
2925 cat >>$CONFIG_STATUS <<_ACEOF
2926 ac_cs_version="\\
2927 GNU Autoconf config.status 2.59c
2928 configured by $0, generated by GNU Autoconf 2.59c,
2929 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2931 Copyright (C) 2004 Free Software Foundation, Inc.
2932 This config.status script is free software; the Free Software Foundation
2933 gives unlimited permission to copy, distribute and modify it."
2934 srcdir=$srcdir
2935 INSTALL="$INSTALL"
2936 _ACEOF
2938 cat >>$CONFIG_STATUS <<\_ACEOF
2939 # If no file are specified by the user, then we need to provide default
2940 # value. By we need to know if files were specified by the user.
2941 ac_need_defaults=:
2942 while test $# != 0
2944 case $1 in
2945 --*=*)
2946 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2947 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2948 ac_shift=:
2951 ac_option=$1
2952 ac_optarg=$2
2953 ac_shift=shift
2955 *) # This is not an option, so the user has probably given explicit
2956 # arguments.
2957 ac_option=$1
2958 ac_need_defaults=false;;
2959 esac
2961 case $ac_option in
2962 # Handling of the options.
2963 _ACEOF
2964 cat >>$CONFIG_STATUS <<\_ACEOF
2965 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2966 ac_cs_recheck=: ;;
2967 --version | --vers* | -V )
2968 echo "$ac_cs_version"; exit 0 ;;
2969 --he | --h)
2970 # Conflict between --help and --header
2971 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2972 Try \`$0 --help' for more information." >&5
2973 echo "$as_me: error: ambiguous option: $1
2974 Try \`$0 --help' for more information." >&2;}
2975 { (exit 1); exit 1; }; };;
2976 --help | --hel | -h )
2977 echo "$ac_cs_usage"; exit 0 ;;
2978 --debug | --d* | -d )
2979 debug=: ;;
2980 --file | --fil | --fi | --f )
2981 $ac_shift
2982 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2983 ac_need_defaults=false;;
2984 --header | --heade | --head | --hea )
2985 $ac_shift
2986 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2987 ac_need_defaults=false;;
2988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2989 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2990 ac_cs_silent=: ;;
2992 # This is an error.
2993 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2994 Try \`$0 --help' for more information." >&5
2995 echo "$as_me: error: unrecognized option: $1
2996 Try \`$0 --help' for more information." >&2;}
2997 { (exit 1); exit 1; }; } ;;
2999 *) ac_config_targets="$ac_config_targets $1" ;;
3001 esac
3002 shift
3003 done
3005 ac_configure_extra_args=
3007 if $ac_cs_silent; then
3008 exec 6>/dev/null
3009 ac_configure_extra_args="$ac_configure_extra_args --silent"
3012 _ACEOF
3013 cat >>$CONFIG_STATUS <<_ACEOF
3014 if \$ac_cs_recheck; then
3015 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3016 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3019 _ACEOF
3025 cat >>$CONFIG_STATUS <<\_ACEOF
3026 for ac_config_target in $ac_config_targets
3028 case "$ac_config_target" in
3029 # Handling of arguments.
3030 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3031 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3032 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3033 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3034 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3035 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3036 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3037 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3038 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3039 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3040 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3041 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3042 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3043 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3044 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3045 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3046 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3047 { (exit 1); exit 1; }; };;
3048 esac
3049 done
3051 # If the user did not use the arguments to specify the items to instantiate,
3052 # then the envvar interface is used. Set only those that are not.
3053 # We use the long form for the default assignment because of an extremely
3054 # bizarre bug on SunOS 4.1.3.
3055 if $ac_need_defaults; then
3056 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3057 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3060 # Have a temporary directory for convenience. Make it in the build tree
3061 # simply because there is no reason against having it here, and in addition,
3062 # creating and moving files from /tmp can sometimes cause problems.
3063 # Hook for its removal unless debugging.
3064 $debug ||
3066 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3067 trap '{ (exit 1); exit 1; }' 1 2 13 15
3069 # Create a (secure) tmp directory for tmp files.
3072 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3073 test -n "$tmp" && test -d "$tmp"
3074 } ||
3076 tmp=./conf$$-$RANDOM
3077 (umask 077 && mkdir "$tmp")
3078 } ||
3080 echo "$me: cannot create a temporary directory in ." >&2
3081 { (exit 1); exit 1; }
3084 _ACEOF
3086 cat >>$CONFIG_STATUS <<_ACEOF
3089 # CONFIG_FILES section.
3092 # No need to generate the scripts if there are no CONFIG_FILES.
3093 # This happens for instance when ./config.status config.h
3094 if test -n "\$CONFIG_FILES"; then
3095 # Protect against being on the right side of a sed subst in config.status.
3096 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3097 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >"\$tmp/subs.sed" <<\\CEOF
3098 s,@SHELL@,$SHELL,;t t
3099 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3100 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3101 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3102 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3103 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3104 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3105 s,@exec_prefix@,$exec_prefix,;t t
3106 s,@prefix@,$prefix,;t t
3107 s,@program_transform_name@,$program_transform_name,;t t
3108 s,@bindir@,$bindir,;t t
3109 s,@sbindir@,$sbindir,;t t
3110 s,@libexecdir@,$libexecdir,;t t
3111 s,@datadir@,$datadir,;t t
3112 s,@sysconfdir@,$sysconfdir,;t t
3113 s,@sharedstatedir@,$sharedstatedir,;t t
3114 s,@localstatedir@,$localstatedir,;t t
3115 s,@libdir@,$libdir,;t t
3116 s,@includedir@,$includedir,;t t
3117 s,@oldincludedir@,$oldincludedir,;t t
3118 s,@infodir@,$infodir,;t t
3119 s,@mandir@,$mandir,;t t
3120 s,@build_alias@,$build_alias,;t t
3121 s,@host_alias@,$host_alias,;t t
3122 s,@target_alias@,$target_alias,;t t
3123 s,@DEFS@,$DEFS,;t t
3124 s,@ECHO_C@,$ECHO_C,;t t
3125 s,@ECHO_N@,$ECHO_N,;t t
3126 s,@ECHO_T@,$ECHO_T,;t t
3127 s,@LIBS@,$LIBS,;t t
3128 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3129 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3130 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3131 s,@CYGPATH_W@,$CYGPATH_W,;t t
3132 s,@PACKAGE@,$PACKAGE,;t t
3133 s,@VERSION@,$VERSION,;t t
3134 s,@ACLOCAL@,$ACLOCAL,;t t
3135 s,@AUTOCONF@,$AUTOCONF,;t t
3136 s,@AUTOMAKE@,$AUTOMAKE,;t t
3137 s,@AUTOHEADER@,$AUTOHEADER,;t t
3138 s,@MAKEINFO@,$MAKEINFO,;t t
3139 s,@install_sh@,$install_sh,;t t
3140 s,@STRIP@,$STRIP,;t t
3141 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3142 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3143 s,@mkdir_p@,$mkdir_p,;t t
3144 s,@AWK@,$AWK,;t t
3145 s,@SET_MAKE@,$SET_MAKE,;t t
3146 s,@am__leading_dot@,$am__leading_dot,;t t
3147 s,@AMTAR@,$AMTAR,;t t
3148 s,@am__tar@,$am__tar,;t t
3149 s,@am__untar@,$am__untar,;t t
3150 s,@ac_cv_sh_n_works@,$ac_cv_sh_n_works,;t t
3151 s,@EXPR@,$EXPR,;t t
3152 s,@M4@,$M4,;t t
3153 s,@HELP2MAN@,$HELP2MAN,;t t
3154 s,@PERL@,$PERL,;t t
3155 s,@TEST_EMACS@,$TEST_EMACS,;t t
3156 s,@EMACS@,$EMACS,;t t
3157 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
3158 s,@lispdir@,$lispdir,;t t
3159 s,@GREP@,$GREP,;t t
3160 s,@LIBOBJS@,$LIBOBJS,;t t
3161 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3162 CEOF
3164 _ACEOF
3166 cat >>$CONFIG_STATUS <<\_ACEOF
3167 # Split the substitutions into bite-sized pieces for seds with
3168 # small command number limits, like on Digital OSF/1 and HP-UX.
3169 ac_max_sed_lines=48
3170 ac_sed_frag=1 # Number of current file.
3171 ac_beg=1 # First line for current file.
3172 ac_end=$ac_max_sed_lines # Line after last line for current file.
3173 ac_more_lines=:
3174 ac_sed_cmds=
3175 while $ac_more_lines; do
3176 if test $ac_beg -gt 1; then
3177 sed "1,${ac_beg}d; ${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3178 else
3179 sed "${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3181 if test ! -s "$tmp/subs.frag"; then
3182 ac_more_lines=false
3183 else
3184 # The purpose of the label and of the branching condition is to
3185 # speed up the sed processing (if there are no `@' at all, there
3186 # is no need to browse any of the substitutions).
3187 # These are the two extra sed commands mentioned above.
3188 (echo ':t
3189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat "$tmp/subs.frag") >"$tmp/subs-$ac_sed_frag.sed"
3190 if test -z "$ac_sed_cmds"; then
3191 ac_sed_cmds="sed -f '$tmp/subs-$ac_sed_frag.sed'"
3192 else
3193 ac_sed_cmds="$ac_sed_cmds | sed -f '$tmp/subs-$ac_sed_frag.sed'"
3195 ac_sed_frag=`expr $ac_sed_frag + 1`
3196 ac_beg=$ac_end
3197 ac_end=`expr $ac_end + $ac_max_sed_lines`
3199 done
3200 if test -z "$ac_sed_cmds"; then
3201 ac_sed_cmds=cat
3203 fi # test -n "$CONFIG_FILES"
3205 _ACEOF
3206 cat >>$CONFIG_STATUS <<\_ACEOF
3207 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3208 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3209 case $ac_file in
3210 - | *:- | *:-:* ) # input from stdin
3211 cat >"$tmp/stdin"
3212 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3213 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3214 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3216 * ) ac_file_in=$ac_file.in ;;
3217 esac
3219 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3220 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3222 X"$ac_file" : 'X\(//\)[^/]' \| \
3223 X"$ac_file" : 'X\(//\)$' \| \
3224 X"$ac_file" : 'X\(/\)' \| \
3225 . : '\(.\)' 2>/dev/null ||
3226 echo X"$ac_file" |
3227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3229 /^X\(\/\/\)$/{ s//\1/; q; }
3230 /^X\(\/\).*/{ s//\1/; q; }
3231 s/.*/./; q'`
3232 { if $as_mkdir_p; then
3233 test -d "$ac_dir" || mkdir -p "$ac_dir"
3234 else
3235 as_dir="$ac_dir"
3236 as_dirs=
3237 while test ! -d "$as_dir"; do
3238 as_dirs="$as_dir $as_dirs"
3239 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3241 X"$as_dir" : 'X\(//\)[^/]' \| \
3242 X"$as_dir" : 'X\(//\)$' \| \
3243 X"$as_dir" : 'X\(/\)' \| \
3244 . : '\(.\)' 2>/dev/null ||
3245 echo X"$as_dir" |
3246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3247 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3248 /^X\(\/\/\)$/{ s//\1/; q; }
3249 /^X\(\/\).*/{ s//\1/; q; }
3250 s/.*/./; q'`
3251 done
3252 test ! -n "$as_dirs" || mkdir $as_dirs
3253 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3254 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3255 { (exit 1); exit 1; }; }; }
3257 ac_builddir=.
3259 if test "$ac_dir" != .; then
3260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3261 # A "../" for each directory in $ac_dir_suffix.
3262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3263 else
3264 ac_dir_suffix= ac_top_builddir=
3267 case $srcdir in
3268 .) # No --srcdir option. We are building in place.
3269 ac_srcdir=.
3270 if test -z "$ac_top_builddir"; then
3271 ac_top_srcdir=.
3272 else
3273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3274 fi ;;
3275 [\\/]* | ?:[\\/]* ) # Absolute name.
3276 ac_srcdir=$srcdir$ac_dir_suffix;
3277 ac_top_srcdir=$srcdir ;;
3278 *) # Relative name.
3279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3281 esac
3283 # Do not use `cd foo && pwd` to compute absolute names, because
3284 # the directories may not exist.
3285 case `pwd` in
3286 .) ac_abs_builddir="$ac_dir";;
3288 case "$ac_dir" in
3289 .) ac_abs_builddir=`pwd`;;
3290 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3291 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3292 esac;;
3293 esac
3294 case $ac_abs_builddir in
3295 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3297 case ${ac_top_builddir}. in
3298 .) ac_abs_top_builddir=$ac_abs_builddir;;
3299 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3300 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3301 esac;;
3302 esac
3303 case $ac_abs_builddir in
3304 .) ac_abs_srcdir=$ac_srcdir;;
3306 case $ac_srcdir in
3307 .) ac_abs_srcdir=$ac_abs_builddir;;
3308 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3309 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3310 esac;;
3311 esac
3312 case $ac_abs_builddir in
3313 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3315 case $ac_top_srcdir in
3316 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3317 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3318 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3319 esac;;
3320 esac
3323 case $INSTALL in
3324 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3325 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3326 esac
3328 if test x"$ac_file" != x-; then
3329 { echo "$as_me:$LINENO: creating $ac_file" >&5
3330 echo "$as_me: creating $ac_file" >&6;}
3331 rm -f "$ac_file"
3333 # Let's still pretend it is `configure' which instantiates (i.e., don't
3334 # use $as_me), people would be surprised to read:
3335 # /* config.h. Generated by config.status. */
3336 if test x"$ac_file" = x-; then
3337 configure_input=
3338 else
3339 configure_input="$ac_file. "
3341 configure_input=$configure_input"Generated from `echo $ac_file_in |
3342 sed 's,.*/,,'` by configure."
3344 # First look for the input files in the build tree, otherwise in the
3345 # src tree.
3346 ac_file_inputs=`IFS=:
3347 for f in $ac_file_in; do
3348 case $f in
3349 -) echo "$tmp/stdin" ;;
3350 [\\/$]*)
3351 # Absolute (can't be DOS-style, as IFS=:)
3352 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3353 echo "$as_me: error: cannot find input file: $f" >&2;}
3354 { (exit 1); exit 1; }; }
3355 echo "$f";;
3356 *) # Relative
3357 if test -f "$f"; then
3358 # Build tree
3359 echo "$f"
3360 elif test -f "$srcdir/$f"; then
3361 # Source tree
3362 echo "$srcdir/$f"
3363 else
3364 # /dev/null tree
3365 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3366 echo "$as_me: error: cannot find input file: $f" >&2;}
3367 { (exit 1); exit 1; }; }
3368 fi;;
3369 esac
3370 done` || { (exit 1); exit 1; }
3371 _ACEOF
3372 cat >>$CONFIG_STATUS <<_ACEOF
3373 sed "$ac_vpsub
3374 $extrasub
3375 _ACEOF
3376 cat >>$CONFIG_STATUS <<\_ACEOF
3378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3379 s,@configure_input@,$configure_input,;t t
3380 s,@srcdir@,$ac_srcdir,;t t
3381 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3382 s,@top_srcdir@,$ac_top_srcdir,;t t
3383 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3384 s,@builddir@,$ac_builddir,;t t
3385 s,@abs_builddir@,$ac_abs_builddir,;t t
3386 s,@top_builddir@,$ac_top_builddir,;t t
3387 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3388 s,@INSTALL@,$ac_INSTALL,;t t
3389 " $ac_file_inputs | (eval "$ac_sed_cmds") >"$tmp/out"
3390 rm -f "$tmp/stdin"
3391 if test x"$ac_file" != x-; then
3392 mv "$tmp/out" $ac_file
3393 else
3394 cat "$tmp/out"
3395 rm -f "$tmp/out"
3398 done
3399 _ACEOF
3400 cat >>$CONFIG_STATUS <<\_ACEOF
3403 # CONFIG_COMMANDS section.
3405 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3406 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3407 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3408 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3409 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3410 X"$ac_dest" : 'X\(//\)[^/]' \| \
3411 X"$ac_dest" : 'X\(//\)$' \| \
3412 X"$ac_dest" : 'X\(/\)' \| \
3413 . : '\(.\)' 2>/dev/null ||
3414 echo X"$ac_dest" |
3415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3417 /^X\(\/\/\)$/{ s//\1/; q; }
3418 /^X\(\/\).*/{ s//\1/; q; }
3419 s/.*/./; q'`
3420 { if $as_mkdir_p; then
3421 test -d "$ac_dir" || mkdir -p "$ac_dir"
3422 else
3423 as_dir="$ac_dir"
3424 as_dirs=
3425 while test ! -d "$as_dir"; do
3426 as_dirs="$as_dir $as_dirs"
3427 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3429 X"$as_dir" : 'X\(//\)[^/]' \| \
3430 X"$as_dir" : 'X\(//\)$' \| \
3431 X"$as_dir" : 'X\(/\)' \| \
3432 . : '\(.\)' 2>/dev/null ||
3433 echo X"$as_dir" |
3434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3436 /^X\(\/\/\)$/{ s//\1/; q; }
3437 /^X\(\/\).*/{ s//\1/; q; }
3438 s/.*/./; q'`
3439 done
3440 test ! -n "$as_dirs" || mkdir $as_dirs
3441 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3442 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3443 { (exit 1); exit 1; }; }; }
3445 ac_builddir=.
3447 if test "$ac_dir" != .; then
3448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3449 # A "../" for each directory in $ac_dir_suffix.
3450 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3451 else
3452 ac_dir_suffix= ac_top_builddir=
3455 case $srcdir in
3456 .) # No --srcdir option. We are building in place.
3457 ac_srcdir=.
3458 if test -z "$ac_top_builddir"; then
3459 ac_top_srcdir=.
3460 else
3461 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3462 fi ;;
3463 [\\/]* | ?:[\\/]* ) # Absolute name.
3464 ac_srcdir=$srcdir$ac_dir_suffix;
3465 ac_top_srcdir=$srcdir ;;
3466 *) # Relative name.
3467 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3468 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3469 esac
3471 # Do not use `cd foo && pwd` to compute absolute names, because
3472 # the directories may not exist.
3473 case `pwd` in
3474 .) ac_abs_builddir="$ac_dir";;
3476 case "$ac_dir" in
3477 .) ac_abs_builddir=`pwd`;;
3478 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3479 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3480 esac;;
3481 esac
3482 case $ac_abs_builddir in
3483 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3485 case ${ac_top_builddir}. in
3486 .) ac_abs_top_builddir=$ac_abs_builddir;;
3487 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3488 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3489 esac;;
3490 esac
3491 case $ac_abs_builddir in
3492 .) ac_abs_srcdir=$ac_srcdir;;
3494 case $ac_srcdir in
3495 .) ac_abs_srcdir=$ac_abs_builddir;;
3496 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3497 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3498 esac;;
3499 esac
3500 case $ac_abs_builddir in
3501 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3503 case $ac_top_srcdir in
3504 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3505 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3506 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3507 esac;;
3508 esac
3511 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3512 echo "$as_me: executing $ac_dest commands" >&6;}
3513 case $ac_dest in
3514 tests/atconfig ) cat >tests/atconfig <<ATEOF
3515 # Configurable variable values for building test suites.
3516 # Generated by $0.
3517 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3519 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3520 at_testdir='tests'
3521 abs_builddir='$ac_abs_builddir'
3522 at_srcdir='$ac_srcdir'
3523 abs_srcdir='$ac_abs_srcdir'
3524 at_top_srcdir='$ac_top_srcdir'
3525 abs_top_srcdir='$ac_abs_top_srcdir'
3526 at_top_builddir='$ac_top_builddir'
3527 abs_top_builddir='$ac_abs_top_builddir'
3529 AUTOTEST_PATH='tests'
3531 SHELL=\${CONFIG_SHELL-'$SHELL'}
3532 ATEOF
3534 esac
3535 done
3536 _ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3540 { (exit 0); exit 0; }
3541 _ACEOF
3542 chmod +x $CONFIG_STATUS
3543 ac_clean_files=$ac_clean_files_save
3546 # configure is writing to config.log, and then calls config.status.
3547 # config.status does its own redirection, appending to config.log.
3548 # Unfortunately, on DOS this fails, as config.log is still kept open
3549 # by configure, so config.status won't be able to write to it; its
3550 # output is simply discarded. So we exec the FD to /dev/null,
3551 # effectively closing config.log, so it can be properly (re)opened and
3552 # appended to by config.status. When coming back to configure, we
3553 # need to make the FD available again.
3554 if test "$no_create" != yes; then
3555 ac_cs_success=:
3556 ac_config_status_args=
3557 test "$silent" = yes &&
3558 ac_config_status_args="$ac_config_status_args --quiet"
3559 exec 5>/dev/null
3560 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3561 exec 5>>config.log
3562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3563 # would make configure fail if this is the last instruction.
3564 $ac_cs_success || { (exit 1); exit 1; }
3567 # Report the state of this version of Autoconf if this is a beta.
3568 cat <<EOF
3570 You are about to use an experimental version of Autoconf. Be sure to
3571 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3573 Below you will find information on the status of this version of Autoconf.
3577 sed -n '/^\* Status/,$p' $srcdir/BUGS