* bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
[autoconf.git] / configure
blob23fed9fd0da52fdc7ec8830c5774349760b254b3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59a for GNU Autoconf 2.59a.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 2004 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
24 DUALCASE=1; export DUALCASE # for MKS sh
27 # PATH needs CR
28 # Avoid depending upon Character Ranges.
29 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32 as_cr_digits='0123456789'
33 as_cr_alnum=$as_cr_Letters$as_cr_digits
35 # The user is always right.
36 if test "${PATH_SEPARATOR+set}" != set; then
37 echo "#! /bin/sh" >conf$$.sh
38 echo "exit 0" >>conf$$.sh
39 chmod +x conf$$.sh
40 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41 PATH_SEPARATOR=';'
42 else
43 PATH_SEPARATOR=:
45 rm -f conf$$.sh
48 # Support unset when possible.
49 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50 as_unset=unset
51 else
52 as_unset=false
56 # Find who we are. Look in the path if we contain no path at all
57 # relative or not.
58 case $0 in
59 *[\\/]* ) as_myself=$0 ;;
60 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61 for as_dir in $PATH
63 IFS=$as_save_IFS
64 test -z "$as_dir" && as_dir=.
65 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66 done
69 esac
70 # We did not find ourselves, most probably we were run as `sh COMMAND'
71 # in which case we are not to be found in the path.
72 if test "x$as_myself" = x; then
73 as_myself=$0
75 if test ! -f "$as_myself"; then
76 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
77 { (exit 1); exit 1; }; }
80 if { $SHELL 2>/dev/null <<\_ASEOF
81 # Be Bourne compatible
82 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
83 emulate sh
84 NULLCMD=:
85 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
86 # is contrary to our usage. Disable this feature.
87 alias -g '${1+"$@"}'='"$@"'
88 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89 set -o posix
91 DUALCASE=1; export DUALCASE # for MKS sh
93 func_return () {
94 (exit $1)
97 func_success () {
98 func_return 0
101 func_failure () {
102 func_return 1
105 func_ret_success () {
106 return 0
109 func_ret_failure () {
110 return 1
113 exitcode=0
114 if func_success; then
116 else
118 exitcode=1
119 echo func_failure succeeded.
123 if func_failure; then
125 exitcode=1
126 echo func_success failed.
130 if func_ret_success; then
132 else
134 exitcode=1
135 echo func_ret_success failed.
139 if func_ret_failure; then
141 exitcode=1
142 echo func_ret_failure succeeded.
146 { (exit $exitcode); exit $exitcode; }
147 _ASEOF
148 }; then
150 else
152 case $CONFIG_SHELL in
154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
155 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
157 IFS=$as_save_IFS
158 test -z "$as_dir" && as_dir=.
159 for as_base in sh bash ksh sh5; do
160 case $as_dir in
162 if { $as_dir/$as_base 2>/dev/null <<\_ASEOF
163 # Be Bourne compatible
164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
165 emulate sh
166 NULLCMD=:
167 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '${1+"$@"}'='"$@"'
170 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
171 set -o posix
173 DUALCASE=1; export DUALCASE # for MKS sh
175 func_return () {
176 (exit $1)
179 func_success () {
180 func_return 0
183 func_failure () {
184 func_return 1
187 func_ret_success () {
188 return 0
191 func_ret_failure () {
192 return 1
195 exitcode=0
196 if func_success; then
198 else
200 exitcode=1
201 echo func_failure succeeded.
205 if func_failure; then
207 exitcode=1
208 echo func_success failed.
212 if func_ret_success; then
214 else
216 exitcode=1
217 echo func_ret_success failed.
221 if func_ret_failure; then
223 exitcode=1
224 echo func_ret_failure succeeded.
228 { (exit $exitcode); exit $exitcode; }
229 _ASEOF
230 }; then
232 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
233 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
234 CONFIG_SHELL=$as_dir/$as_base
235 export CONFIG_SHELL
236 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
240 esac
241 done
242 done
246 echo Found no shell that has working shell functions.
247 echo
248 echo Please tell autoconf@gnu.org about your system.
250 esac
255 # Work around bugs in pre-3.0 UWIN ksh.
256 $as_unset ENV MAIL MAILPATH
257 PS1='$ '
258 PS2='> '
259 PS4='+ '
261 # NLS nuisances.
262 for as_var in \
263 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
264 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
265 LC_TELEPHONE LC_TIME
267 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
268 eval $as_var=C; export $as_var
269 else
270 $as_unset $as_var
272 done
274 # Required to use basename.
275 if expr a : '\(a\)' >/dev/null 2>&1; then
276 as_expr=expr
277 else
278 as_expr=false
281 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
282 as_basename=basename
283 else
284 as_basename=false
288 # Name of the executable.
289 as_me=`$as_basename "$0" ||
290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
291 X"$0" : 'X\(//\)$' \| \
292 X"$0" : 'X\(/\)$' \| \
293 . : '\(.\)' 2>/dev/null ||
294 echo X/"$0" |
295 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
296 /^X\/\(\/\/\)$/{ s//\1/; q; }
297 /^X\/\(\/\).*/{ s//\1/; q; }
298 s/.*/./; q'`
302 as_lineno_1=$LINENO
303 as_lineno_2=$LINENO
304 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
305 test "x$as_lineno_1" != "x$as_lineno_2" &&
306 test "x$as_lineno_3" = "x$as_lineno_2" || {
308 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
309 # uniformly replaced by the line number. The first 'sed' inserts a
310 # line-number line after each line using $LINENO; the second 'sed'
311 # does the real work. The second script uses 'N' to pair each
312 # line-number line with the line containing $LINENO, and appends
313 # trailing '-' during substitution so that $LINENO is not a special
314 # case at line end.
315 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
316 # scripts with optimization help from Paolo Bonzini. Blame Lee
317 # E. McMahon (1931-1989) for sed's syntax. :-)
318 sed -n '
320 /[$]LINENO/=
321 ' <$as_myself |
322 sed '
323 s,[$]LINENO.*,&-,
324 t lineno
326 : lineno
328 : loop
329 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
330 t loop
331 s,-\n.*,,
332 ' >$as_me.lineno &&
333 chmod +x $as_me.lineno ||
334 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
335 { (exit 1); exit 1; }; }
337 # Don't try to exec as it changes $[0], causing all sort of problems
338 # (the dirname of $[0] is not the place where we might find the
339 # original and so on. Autoconf is especially sensible to this).
340 . ./$as_me.lineno
341 # Exit status is that of the last command.
342 exit
346 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
347 *c*,-n*) ECHO_N= ECHO_C='
348 ' ECHO_T=' ' ;;
349 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
350 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
351 esac
353 if expr a : '\(a\)' >/dev/null 2>&1; then
354 as_expr=expr
355 else
356 as_expr=false
359 rm -f conf$$ conf$$.exe conf$$.file
360 echo >conf$$.file
361 if ln -s conf$$.file conf$$ 2>/dev/null; then
362 # We could just check for DJGPP; but this test a) works b) is more generic
363 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
364 if test -f conf$$.exe; then
365 # Don't use ln at all; we don't have any links
366 as_ln_s='cp -p'
367 else
368 as_ln_s='ln -s'
370 elif ln conf$$.file conf$$ 2>/dev/null; then
371 as_ln_s=ln
372 else
373 as_ln_s='cp -p'
375 rm -f conf$$ conf$$.exe conf$$.file
377 if mkdir -p . 2>/dev/null; then
378 as_mkdir_p=:
379 else
380 test -d ./-p && rmdir ./-p
381 as_mkdir_p=false
384 as_executable_p="test -f"
386 # Sed expression to map a string onto a valid CPP name.
387 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
389 # Sed expression to map a string onto a valid variable name.
390 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
393 # IFS
394 # We need space, tab and new line, in precisely that order.
395 as_nl='
397 IFS=" $as_nl"
399 # CDPATH.
400 $as_unset CDPATH
403 # Name of the host.
404 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
405 # so uname gets run too.
406 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 exec 6>&1
411 # Initializations.
413 ac_default_prefix=/usr/local
414 ac_config_libobj_dir=.
415 cross_compiling=no
416 subdirs=
417 MFLAGS=
418 MAKEFLAGS=
419 SHELL=${CONFIG_SHELL-/bin/sh}
421 # Maximum number of lines to put in a shell here document.
422 # This variable seems obsolete. It should probably be removed, and
423 # only ac_max_sed_lines should be used.
424 : ${ac_max_here_lines=38}
426 # Identity of this package.
427 PACKAGE_NAME='GNU Autoconf'
428 PACKAGE_TARNAME='autoconf'
429 PACKAGE_VERSION='2.59a'
430 PACKAGE_STRING='GNU Autoconf 2.59a'
431 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
433 ac_unique_file="ChangeLog"
434 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot ac_cv_sh_n_works EXPR M4 HELP2MAN PERL TEST_EMACS EMACS EMACSLOADPATH lispdir LIBOBJS LTLIBOBJS'
435 ac_subst_files=''
437 # Initialize some variables set by options.
438 ac_init_help=
439 ac_init_version=false
440 # The variables have the same names as the options, with
441 # dashes changed to underlines.
442 cache_file=/dev/null
443 exec_prefix=NONE
444 no_create=
445 no_recursion=
446 prefix=NONE
447 program_prefix=NONE
448 program_suffix=NONE
449 program_transform_name=s,x,x,
450 silent=
451 site=
452 srcdir=
453 verbose=
454 x_includes=NONE
455 x_libraries=NONE
457 # Installation directory options.
458 # These are left unexpanded so users can "make install exec_prefix=/foo"
459 # and all the variables that are supposed to be based on exec_prefix
460 # by default will actually change.
461 # Use braces instead of parens because sh, perl, etc. also accept them.
462 bindir='${exec_prefix}/bin'
463 sbindir='${exec_prefix}/sbin'
464 libexecdir='${exec_prefix}/libexec'
465 datadir='${prefix}/share'
466 sysconfdir='${prefix}/etc'
467 sharedstatedir='${prefix}/com'
468 localstatedir='${prefix}/var'
469 libdir='${exec_prefix}/lib'
470 includedir='${prefix}/include'
471 oldincludedir='/usr/include'
472 infodir='${prefix}/info'
473 mandir='${prefix}/man'
475 ac_prev=
476 for ac_option
478 # If the previous option needs an argument, assign it.
479 if test -n "$ac_prev"; then
480 eval "$ac_prev=\$ac_option"
481 ac_prev=
482 continue
485 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
487 # Accept the important Cygnus configure options, so we can diagnose typos.
489 case $ac_option in
491 -bindir | --bindir | --bindi | --bind | --bin | --bi)
492 ac_prev=bindir ;;
493 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
494 bindir=$ac_optarg ;;
496 -build | --build | --buil | --bui | --bu)
497 ac_prev=build_alias ;;
498 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
499 build_alias=$ac_optarg ;;
501 -cache-file | --cache-file | --cache-fil | --cache-fi \
502 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
503 ac_prev=cache_file ;;
504 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
505 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
506 cache_file=$ac_optarg ;;
508 --config-cache | -C)
509 cache_file=config.cache ;;
511 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
512 ac_prev=datadir ;;
513 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
514 | --da=*)
515 datadir=$ac_optarg ;;
517 -disable-* | --disable-*)
518 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
519 # Reject names that are not valid shell variable names.
520 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
521 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
522 { (exit 1); exit 1; }; }
523 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
524 eval "enable_$ac_feature=no" ;;
526 -enable-* | --enable-*)
527 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
528 # Reject names that are not valid shell variable names.
529 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
530 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
531 { (exit 1); exit 1; }; }
532 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
533 case $ac_option in
534 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
535 *) ac_optarg=yes ;;
536 esac
537 eval "enable_$ac_feature='$ac_optarg'" ;;
539 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
540 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
541 | --exec | --exe | --ex)
542 ac_prev=exec_prefix ;;
543 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
544 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
545 | --exec=* | --exe=* | --ex=*)
546 exec_prefix=$ac_optarg ;;
548 -gas | --gas | --ga | --g)
549 # Obsolete; use --with-gas.
550 with_gas=yes ;;
552 -help | --help | --hel | --he | -h)
553 ac_init_help=long ;;
554 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
555 ac_init_help=recursive ;;
556 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
557 ac_init_help=short ;;
559 -host | --host | --hos | --ho)
560 ac_prev=host_alias ;;
561 -host=* | --host=* | --hos=* | --ho=*)
562 host_alias=$ac_optarg ;;
564 -includedir | --includedir | --includedi | --included | --include \
565 | --includ | --inclu | --incl | --inc)
566 ac_prev=includedir ;;
567 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
568 | --includ=* | --inclu=* | --incl=* | --inc=*)
569 includedir=$ac_optarg ;;
571 -infodir | --infodir | --infodi | --infod | --info | --inf)
572 ac_prev=infodir ;;
573 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
574 infodir=$ac_optarg ;;
576 -libdir | --libdir | --libdi | --libd)
577 ac_prev=libdir ;;
578 -libdir=* | --libdir=* | --libdi=* | --libd=*)
579 libdir=$ac_optarg ;;
581 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
582 | --libexe | --libex | --libe)
583 ac_prev=libexecdir ;;
584 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
585 | --libexe=* | --libex=* | --libe=*)
586 libexecdir=$ac_optarg ;;
588 -localstatedir | --localstatedir | --localstatedi | --localstated \
589 | --localstate | --localstat | --localsta | --localst \
590 | --locals | --local | --loca | --loc | --lo)
591 ac_prev=localstatedir ;;
592 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
593 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
594 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
595 localstatedir=$ac_optarg ;;
597 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
598 ac_prev=mandir ;;
599 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
600 mandir=$ac_optarg ;;
602 -nfp | --nfp | --nf)
603 # Obsolete; use --without-fp.
604 with_fp=no ;;
606 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
607 | --no-cr | --no-c | -n)
608 no_create=yes ;;
610 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
611 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
612 no_recursion=yes ;;
614 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
615 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
616 | --oldin | --oldi | --old | --ol | --o)
617 ac_prev=oldincludedir ;;
618 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
619 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
620 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
621 oldincludedir=$ac_optarg ;;
623 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
624 ac_prev=prefix ;;
625 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
626 prefix=$ac_optarg ;;
628 -program-prefix | --program-prefix | --program-prefi | --program-pref \
629 | --program-pre | --program-pr | --program-p)
630 ac_prev=program_prefix ;;
631 -program-prefix=* | --program-prefix=* | --program-prefi=* \
632 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
633 program_prefix=$ac_optarg ;;
635 -program-suffix | --program-suffix | --program-suffi | --program-suff \
636 | --program-suf | --program-su | --program-s)
637 ac_prev=program_suffix ;;
638 -program-suffix=* | --program-suffix=* | --program-suffi=* \
639 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
640 program_suffix=$ac_optarg ;;
642 -program-transform-name | --program-transform-name \
643 | --program-transform-nam | --program-transform-na \
644 | --program-transform-n | --program-transform- \
645 | --program-transform | --program-transfor \
646 | --program-transfo | --program-transf \
647 | --program-trans | --program-tran \
648 | --progr-tra | --program-tr | --program-t)
649 ac_prev=program_transform_name ;;
650 -program-transform-name=* | --program-transform-name=* \
651 | --program-transform-nam=* | --program-transform-na=* \
652 | --program-transform-n=* | --program-transform-=* \
653 | --program-transform=* | --program-transfor=* \
654 | --program-transfo=* | --program-transf=* \
655 | --program-trans=* | --program-tran=* \
656 | --progr-tra=* | --program-tr=* | --program-t=*)
657 program_transform_name=$ac_optarg ;;
659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
660 | -silent | --silent | --silen | --sile | --sil)
661 silent=yes ;;
663 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
664 ac_prev=sbindir ;;
665 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
666 | --sbi=* | --sb=*)
667 sbindir=$ac_optarg ;;
669 -sharedstatedir | --sharedstatedir | --sharedstatedi \
670 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
671 | --sharedst | --shareds | --shared | --share | --shar \
672 | --sha | --sh)
673 ac_prev=sharedstatedir ;;
674 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
675 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
676 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
677 | --sha=* | --sh=*)
678 sharedstatedir=$ac_optarg ;;
680 -site | --site | --sit)
681 ac_prev=site ;;
682 -site=* | --site=* | --sit=*)
683 site=$ac_optarg ;;
685 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
686 ac_prev=srcdir ;;
687 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
688 srcdir=$ac_optarg ;;
690 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
691 | --syscon | --sysco | --sysc | --sys | --sy)
692 ac_prev=sysconfdir ;;
693 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
694 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
695 sysconfdir=$ac_optarg ;;
697 -target | --target | --targe | --targ | --tar | --ta | --t)
698 ac_prev=target_alias ;;
699 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
700 target_alias=$ac_optarg ;;
702 -v | -verbose | --verbose | --verbos | --verbo | --verb)
703 verbose=yes ;;
705 -version | --version | --versio | --versi | --vers | -V)
706 ac_init_version=: ;;
708 -with-* | --with-*)
709 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
710 # Reject names that are not valid shell variable names.
711 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
712 { echo "$as_me: error: invalid package name: $ac_package" >&2
713 { (exit 1); exit 1; }; }
714 ac_package=`echo $ac_package| sed 's/-/_/g'`
715 case $ac_option in
716 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
717 *) ac_optarg=yes ;;
718 esac
719 eval "with_$ac_package='$ac_optarg'" ;;
721 -without-* | --without-*)
722 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
723 # Reject names that are not valid shell variable names.
724 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
725 { echo "$as_me: error: invalid package name: $ac_package" >&2
726 { (exit 1); exit 1; }; }
727 ac_package=`echo $ac_package | sed 's/-/_/g'`
728 eval "with_$ac_package=no" ;;
730 --x)
731 # Obsolete; use --with-x.
732 with_x=yes ;;
734 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
735 | --x-incl | --x-inc | --x-in | --x-i)
736 ac_prev=x_includes ;;
737 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
738 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
739 x_includes=$ac_optarg ;;
741 -x-libraries | --x-libraries | --x-librarie | --x-librari \
742 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
743 ac_prev=x_libraries ;;
744 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
745 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
746 x_libraries=$ac_optarg ;;
748 -*) { echo "$as_me: error: unrecognized option: $ac_option
749 Try \`$0 --help' for more information." >&2
750 { (exit 1); exit 1; }; }
753 *=*)
754 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
757 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
758 { (exit 1); exit 1; }; }
759 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
760 eval "$ac_envvar='$ac_optarg'"
761 export $ac_envvar ;;
764 # FIXME: should be removed in autoconf 3.0.
765 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
766 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
767 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
768 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
771 esac
772 done
774 if test -n "$ac_prev"; then
775 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
776 { echo "$as_me: error: missing argument to $ac_option" >&2
777 { (exit 1); exit 1; }; }
780 # Be sure to have absolute paths.
781 for ac_var in exec_prefix prefix
783 eval ac_val=$`echo $ac_var`
784 case $ac_val in
785 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
786 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
787 { (exit 1); exit 1; }; };;
788 esac
789 done
791 # Be sure to have absolute paths.
792 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
793 localstatedir libdir includedir oldincludedir infodir mandir
795 eval ac_val=$`echo $ac_var`
796 case $ac_val in
797 [\\/$]* | ?:[\\/]* ) ;;
798 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
799 { (exit 1); exit 1; }; };;
800 esac
801 done
803 # There might be people who depend on the old broken behavior: `$host'
804 # used to hold the argument of --host etc.
805 # FIXME: To remove some day.
806 build=$build_alias
807 host=$host_alias
808 target=$target_alias
810 # FIXME: To remove some day.
811 if test "x$host_alias" != x; then
812 if test "x$build_alias" = x; then
813 cross_compiling=maybe
814 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
815 If a cross compiler is detected then cross compile mode will be used." >&2
816 elif test "x$build_alias" != "x$host_alias"; then
817 cross_compiling=yes
821 ac_tool_prefix=
822 test -n "$host_alias" && ac_tool_prefix=$host_alias-
824 test "$silent" = yes && exec 6>/dev/null
827 # Find the source files, if location was not specified.
828 if test -z "$srcdir"; then
829 ac_srcdir_defaulted=yes
830 # Try the directory containing this script, then its parent.
831 ac_confdir=`(dirname "$0") 2>/dev/null ||
832 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
833 X"$0" : 'X\(//\)[^/]' \| \
834 X"$0" : 'X\(//\)$' \| \
835 X"$0" : 'X\(/\)' \| \
836 . : '\(.\)' 2>/dev/null ||
837 echo X"$0" |
838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
840 /^X\(\/\/\)$/{ s//\1/; q; }
841 /^X\(\/\).*/{ s//\1/; q; }
842 s/.*/./; q'`
843 srcdir=$ac_confdir
844 if test ! -r $srcdir/$ac_unique_file; then
845 srcdir=..
847 else
848 ac_srcdir_defaulted=no
850 if test ! -r $srcdir/$ac_unique_file; then
851 if test "$ac_srcdir_defaulted" = yes; then
852 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
853 { (exit 1); exit 1; }; }
854 else
855 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
856 { (exit 1); exit 1; }; }
859 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
860 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
861 { (exit 1); exit 1; }; }
862 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
863 ac_env_build_alias_set=${build_alias+set}
864 ac_env_build_alias_value=$build_alias
865 ac_cv_env_build_alias_set=${build_alias+set}
866 ac_cv_env_build_alias_value=$build_alias
867 ac_env_host_alias_set=${host_alias+set}
868 ac_env_host_alias_value=$host_alias
869 ac_cv_env_host_alias_set=${host_alias+set}
870 ac_cv_env_host_alias_value=$host_alias
871 ac_env_target_alias_set=${target_alias+set}
872 ac_env_target_alias_value=$target_alias
873 ac_cv_env_target_alias_set=${target_alias+set}
874 ac_cv_env_target_alias_value=$target_alias
875 ac_env_EMACS_set=${EMACS+set}
876 ac_env_EMACS_value=$EMACS
877 ac_cv_env_EMACS_set=${EMACS+set}
878 ac_cv_env_EMACS_value=$EMACS
879 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
880 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
881 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
882 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
885 # Report the --help message.
887 if test "$ac_init_help" = "long"; then
888 # Omit some internal or obsolete options to make the list less imposing.
889 # This message is too long to be a string in the A/UX 3.1 sh.
890 cat <<_ACEOF
891 \`configure' configures GNU Autoconf 2.59a to adapt to many kinds of systems.
893 Usage: $0 [OPTION]... [VAR=VALUE]...
895 To assign environment variables (e.g., CC, CFLAGS...), specify them as
896 VAR=VALUE. See below for descriptions of some of the useful variables.
898 Defaults for the options are specified in brackets.
900 Configuration:
901 -h, --help display this help and exit
902 --help=short display options specific to this package
903 --help=recursive display the short help of all the included packages
904 -V, --version display version information and exit
905 -q, --quiet, --silent do not print \`checking...' messages
906 --cache-file=FILE cache test results in FILE [disabled]
907 -C, --config-cache alias for \`--cache-file=config.cache'
908 -n, --no-create do not create output files
909 --srcdir=DIR find the sources in DIR [configure dir or \`..']
911 _ACEOF
913 cat <<_ACEOF
914 Installation directories:
915 --prefix=PREFIX install architecture-independent files in PREFIX
916 [$ac_default_prefix]
917 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
918 [PREFIX]
920 By default, \`make install' will install all the files in
921 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
922 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
923 for instance \`--prefix=\$HOME'.
925 For better control, use the options below.
927 Fine tuning of the installation directories:
928 --bindir=DIR user executables [EPREFIX/bin]
929 --sbindir=DIR system admin executables [EPREFIX/sbin]
930 --libexecdir=DIR program executables [EPREFIX/libexec]
931 --datadir=DIR read-only architecture-independent data [PREFIX/share]
932 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
933 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
934 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
935 --libdir=DIR object code libraries [EPREFIX/lib]
936 --includedir=DIR C header files [PREFIX/include]
937 --oldincludedir=DIR C header files for non-gcc [/usr/include]
938 --infodir=DIR info documentation [PREFIX/info]
939 --mandir=DIR man documentation [PREFIX/man]
940 _ACEOF
942 cat <<\_ACEOF
944 Program names:
945 --program-prefix=PREFIX prepend PREFIX to installed program names
946 --program-suffix=SUFFIX append SUFFIX to installed program names
947 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
948 _ACEOF
951 if test -n "$ac_init_help"; then
952 case $ac_init_help in
953 short | recursive ) echo "Configuration of GNU Autoconf 2.59a:";;
954 esac
955 cat <<\_ACEOF
957 Optional Packages:
958 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
959 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
960 --with-lispdir override the default lisp directory
962 Some influential environment variables:
963 EMACS the Emacs editor command
964 EMACSLOADPATH
965 the Emacs library search path
967 Use these variables to override the choices made by `configure' or to help
968 it to find libraries and programs with nonstandard names/locations.
970 Report bugs to <bug-autoconf@gnu.org>.
971 _ACEOF
974 if test "$ac_init_help" = "recursive"; then
975 # If there are subdirs, report their specific --help.
976 ac_popdir=`pwd`
977 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
978 test -d $ac_dir || continue
979 ac_builddir=.
981 if test "$ac_dir" != .; then
982 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
983 # A "../" for each directory in $ac_dir_suffix.
984 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
985 else
986 ac_dir_suffix= ac_top_builddir=
989 case $srcdir in
990 .) # No --srcdir option. We are building in place.
991 ac_srcdir=.
992 if test -z "$ac_top_builddir"; then
993 ac_top_srcdir=.
994 else
995 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
996 fi ;;
997 [\\/]* | ?:[\\/]* ) # Absolute path.
998 ac_srcdir=$srcdir$ac_dir_suffix;
999 ac_top_srcdir=$srcdir ;;
1000 *) # Relative path.
1001 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1002 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1003 esac
1005 # Do not use `cd foo && pwd` to compute absolute paths, because
1006 # the directories may not exist.
1007 case `pwd` in
1008 .) ac_abs_builddir="$ac_dir";;
1010 case "$ac_dir" in
1011 .) ac_abs_builddir=`pwd`;;
1012 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1013 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1014 esac;;
1015 esac
1016 case $ac_abs_builddir in
1017 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1019 case ${ac_top_builddir}. in
1020 .) ac_abs_top_builddir=$ac_abs_builddir;;
1021 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1022 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1023 esac;;
1024 esac
1025 case $ac_abs_builddir in
1026 .) ac_abs_srcdir=$ac_srcdir;;
1028 case $ac_srcdir in
1029 .) ac_abs_srcdir=$ac_abs_builddir;;
1030 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1031 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1032 esac;;
1033 esac
1034 case $ac_abs_builddir in
1035 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1037 case $ac_top_srcdir in
1038 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1039 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1040 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1041 esac;;
1042 esac
1044 cd $ac_dir
1045 # Check for guested configure; otherwise get Cygnus style configure.
1046 if test -f $ac_srcdir/configure.gnu; then
1047 echo
1048 $SHELL $ac_srcdir/configure.gnu --help=recursive
1049 elif test -f $ac_srcdir/configure; then
1050 echo
1051 $SHELL $ac_srcdir/configure --help=recursive
1052 elif test -f $ac_srcdir/configure.ac ||
1053 test -f $ac_srcdir/configure.in; then
1054 echo
1055 $ac_configure --help
1056 else
1057 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1059 cd $ac_popdir
1060 done
1063 test -n "$ac_init_help" && exit 0
1064 if $ac_init_version; then
1065 cat <<\_ACEOF
1066 GNU Autoconf configure 2.59a
1067 generated by GNU Autoconf 2.59a
1069 Copyright (C) 2004 Free Software Foundation, Inc.
1070 This configure script is free software; the Free Software Foundation
1071 gives unlimited permission to copy, distribute and modify it.
1072 _ACEOF
1073 exit 0
1075 exec 5>config.log
1076 cat >&5 <<_ACEOF
1077 This file contains any messages produced by compilers while
1078 running configure, to aid debugging if configure makes a mistake.
1080 It was created by GNU Autoconf $as_me 2.59a, which was
1081 generated by GNU Autoconf 2.59a. Invocation command line was
1083 $ $0 $@
1085 _ACEOF
1087 cat <<_ASUNAME
1088 ## --------- ##
1089 ## Platform. ##
1090 ## --------- ##
1092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1099 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1104 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1109 _ASUNAME
1111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1112 for as_dir in $PATH
1114 IFS=$as_save_IFS
1115 test -z "$as_dir" && as_dir=.
1116 echo "PATH: $as_dir"
1117 done
1119 } >&5
1121 cat >&5 <<_ACEOF
1124 ## ----------- ##
1125 ## Core tests. ##
1126 ## ----------- ##
1128 _ACEOF
1131 # Keep a trace of the command line.
1132 # Strip out --no-create and --no-recursion so they do not pile up.
1133 # Strip out --silent because we don't want to record it for future runs.
1134 # Also quote any args containing shell meta-characters.
1135 # Make two passes to allow for proper duplicate-argument suppression.
1136 ac_configure_args=
1137 ac_configure_args0=
1138 ac_configure_args1=
1139 ac_sep=
1140 ac_must_keep_next=false
1141 for ac_pass in 1 2
1143 for ac_arg
1145 case $ac_arg in
1146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1149 continue ;;
1150 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1151 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1152 esac
1153 case $ac_pass in
1154 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1156 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1157 if test $ac_must_keep_next = true; then
1158 ac_must_keep_next=false # Got value, back to normal.
1159 else
1160 case $ac_arg in
1161 *=* | --config-cache | -C | -disable-* | --disable-* \
1162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1164 | -with-* | --with-* | -without-* | --without-* | --x)
1165 case "$ac_configure_args0 " in
1166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1167 esac
1169 -* ) ac_must_keep_next=true ;;
1170 esac
1172 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1173 # Get rid of the leading space.
1174 ac_sep=" "
1176 esac
1177 done
1178 done
1179 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1180 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1182 # When interrupted or exit'd, cleanup temporary files, and complete
1183 # config.log. We remove comments because anyway the quotes in there
1184 # would cause problems or look ugly.
1185 # WARNING: Be sure not to use single quotes in there, as some shells,
1186 # such as our DU 5.0 friend, will then `close' the trap.
1187 trap 'exit_status=$?
1188 # Save into config.log some information that might help in debugging.
1190 echo
1192 cat <<\_ASBOX
1193 ## ---------------- ##
1194 ## Cache variables. ##
1195 ## ---------------- ##
1196 _ASBOX
1197 echo
1198 # The following way of writing the cache mishandles newlines in values,
1200 (set) 2>&1 |
1201 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1202 *ac_space=\ *)
1203 sed -n \
1204 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1208 sed -n \
1209 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1211 esac;
1213 echo
1215 cat <<\_ASBOX
1216 ## ----------------- ##
1217 ## Output variables. ##
1218 ## ----------------- ##
1219 _ASBOX
1220 echo
1221 for ac_var in $ac_subst_vars
1223 eval ac_val=$`echo $ac_var`
1224 echo "$ac_var='"'"'$ac_val'"'"'"
1225 done | sort
1226 echo
1228 if test -n "$ac_subst_files"; then
1229 cat <<\_ASBOX
1230 ## ------------- ##
1231 ## Output files. ##
1232 ## ------------- ##
1233 _ASBOX
1234 echo
1235 for ac_var in $ac_subst_files
1237 eval ac_val=$`echo $ac_var`
1238 echo "$ac_var='"'"'$ac_val'"'"'"
1239 done | sort
1240 echo
1243 if test -s confdefs.h; then
1244 cat <<\_ASBOX
1245 ## ----------- ##
1246 ## confdefs.h. ##
1247 ## ----------- ##
1248 _ASBOX
1249 echo
1250 sed "/^$/d" confdefs.h | sort
1251 echo
1253 test "$ac_signal" != 0 &&
1254 echo "$as_me: caught signal $ac_signal"
1255 echo "$as_me: exit $exit_status"
1256 } >&5
1257 rm -f core *.core &&
1258 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1259 exit $exit_status
1261 for ac_signal in 1 2 13 15; do
1262 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1263 done
1264 ac_signal=0
1266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1267 rm -f -r conftest* confdefs.h
1268 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1269 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1270 ac_space=' '
1271 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
1273 # Predefined preprocessor variables.
1275 cat >>confdefs.h <<_ACEOF
1276 #define PACKAGE_NAME "$PACKAGE_NAME"
1277 _ACEOF
1280 cat >>confdefs.h <<_ACEOF
1281 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1282 _ACEOF
1285 cat >>confdefs.h <<_ACEOF
1286 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1287 _ACEOF
1290 cat >>confdefs.h <<_ACEOF
1291 #define PACKAGE_STRING "$PACKAGE_STRING"
1292 _ACEOF
1295 cat >>confdefs.h <<_ACEOF
1296 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1297 _ACEOF
1300 # Let the site file select an alternate cache file if it wants to.
1301 # Prefer explicitly selected file to automatically selected ones.
1302 if test -z "$CONFIG_SITE"; then
1303 if test "x$prefix" != xNONE; then
1304 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1305 else
1306 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1309 for ac_site_file in $CONFIG_SITE; do
1310 if test -r "$ac_site_file"; then
1311 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1312 echo "$as_me: loading site script $ac_site_file" >&6;}
1313 sed 's/^/| /' "$ac_site_file" >&5
1314 . "$ac_site_file"
1316 done
1318 if test -r "$cache_file"; then
1319 # Some versions of bash will fail to source /dev/null (special
1320 # files actually), so we avoid doing that.
1321 if test -f "$cache_file"; then
1322 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1323 echo "$as_me: loading cache $cache_file" >&6;}
1324 case $cache_file in
1325 [\\/]* | ?:[\\/]* ) . $cache_file;;
1326 *) . ./$cache_file;;
1327 esac
1329 else
1330 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1331 echo "$as_me: creating cache $cache_file" >&6;}
1332 >$cache_file
1335 # Check that the precious variables saved in the cache have kept the same
1336 # value.
1337 ac_cache_corrupted=false
1338 for ac_var in `(set) 2>&1 |
1339 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1340 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1341 eval ac_new_set=\$ac_env_${ac_var}_set
1342 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1343 eval ac_new_val="\$ac_env_${ac_var}_value"
1344 case $ac_old_set,$ac_new_set in
1345 set,)
1346 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1347 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1348 ac_cache_corrupted=: ;;
1349 ,set)
1350 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1351 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1352 ac_cache_corrupted=: ;;
1353 ,);;
1355 if test "x$ac_old_val" != "x$ac_new_val"; then
1356 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1357 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1358 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1359 echo "$as_me: former value: $ac_old_val" >&2;}
1360 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1361 echo "$as_me: current value: $ac_new_val" >&2;}
1362 ac_cache_corrupted=:
1363 fi;;
1364 esac
1365 # Pass precious variables to config.status.
1366 if test "$ac_new_set" = set; then
1367 case $ac_new_val in
1368 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1369 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1370 *) ac_arg=$ac_var=$ac_new_val ;;
1371 esac
1372 case " $ac_configure_args " in
1373 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1374 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1375 esac
1377 done
1378 if $ac_cache_corrupted; then
1379 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1380 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1381 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1382 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1383 { (exit 1); exit 1; }; }
1386 ac_ext=c
1387 ac_cpp='$CPP $CPPFLAGS'
1388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1420 ac_aux_dir=
1421 for ac_dir in config $srcdir/config; do
1422 if test -f $ac_dir/install-sh; then
1423 ac_aux_dir=$ac_dir
1424 ac_install_sh="$ac_aux_dir/install-sh -c"
1425 break
1426 elif test -f $ac_dir/install.sh; then
1427 ac_aux_dir=$ac_dir
1428 ac_install_sh="$ac_aux_dir/install.sh -c"
1429 break
1430 elif test -f $ac_dir/shtool; then
1431 ac_aux_dir=$ac_dir
1432 ac_install_sh="$ac_aux_dir/shtool install -c"
1433 break
1435 done
1436 if test -z "$ac_aux_dir"; then
1437 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1438 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1439 { (exit 1); exit 1; }; }
1441 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1442 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1443 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1445 ac_config_files="$ac_config_files config/Makefile"
1448 am__api_version="1.8"
1449 # Find a good install program. We prefer a C program (faster),
1450 # so one script is as good as another. But avoid the broken or
1451 # incompatible versions:
1452 # SysV /etc/install, /usr/sbin/install
1453 # SunOS /usr/etc/install
1454 # IRIX /sbin/install
1455 # AIX /bin/install
1456 # AmigaOS /C/install, which installs bootblocks on floppy discs
1457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1460 # OS/2's system install, which has a completely different semantic
1461 # ./install, which can be erroneously created by make from ./install.sh.
1462 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1463 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1464 if test -z "$INSTALL"; then
1465 if test "${ac_cv_path_install+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1469 for as_dir in $PATH
1471 IFS=$as_save_IFS
1472 test -z "$as_dir" && as_dir=.
1473 # Account for people who put trailing slashes in PATH elements.
1474 case $as_dir/ in
1475 ./ | .// | /cC/* | \
1476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1477 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1478 /usr/ucb/* ) ;;
1480 # OSF1 and SCO ODT 3.0 have their own names for install.
1481 # Don't use installbsd from OSF since it installs stuff as root
1482 # by default.
1483 for ac_prog in ginstall scoinst install; do
1484 for ac_exec_ext in '' $ac_executable_extensions; do
1485 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1486 if test $ac_prog = install &&
1487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1488 # AIX install. It has an incompatible calling convention.
1490 elif test $ac_prog = install &&
1491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1492 # program-specific install script used by HP pwplus--don't use.
1494 else
1495 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1496 break 3
1499 done
1500 done
1502 esac
1503 done
1507 if test "${ac_cv_path_install+set}" = set; then
1508 INSTALL=$ac_cv_path_install
1509 else
1510 # As a last resort, use the slow shell script. We don't cache a
1511 # path for INSTALL within a source directory, because that will
1512 # break other packages using the cache if that directory is
1513 # removed, or if the path is relative.
1514 INSTALL=$ac_install_sh
1517 echo "$as_me:$LINENO: result: $INSTALL" >&5
1518 echo "${ECHO_T}$INSTALL" >&6
1520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1521 # It thinks the first close brace ends the variable substitution.
1522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1526 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1528 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1529 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1530 # Just in case
1531 sleep 1
1532 echo timestamp > conftest.file
1533 # Do `set' in a subshell so we don't clobber the current shell's
1534 # arguments. Must try -L first in case configure is actually a
1535 # symlink; some systems play weird games with the mod time of symlinks
1536 # (eg FreeBSD returns the mod time of the symlink's containing
1537 # directory).
1538 if (
1539 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1540 if test "$*" = "X"; then
1541 # -L didn't work.
1542 set X `ls -t $srcdir/configure conftest.file`
1544 rm -f conftest.file
1545 if test "$*" != "X $srcdir/configure conftest.file" \
1546 && test "$*" != "X conftest.file $srcdir/configure"; then
1548 # If neither matched, then we have a broken ls. This can happen
1549 # if, for instance, CONFIG_SHELL is bash and it inherits a
1550 # broken ls alias from the environment. This has actually
1551 # happened. Such a system could not be considered "sane".
1552 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1553 alias in your environment" >&5
1554 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1555 alias in your environment" >&2;}
1556 { (exit 1); exit 1; }; }
1559 test "$2" = conftest.file
1561 then
1562 # Ok.
1564 else
1565 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1566 Check your system clock" >&5
1567 echo "$as_me: error: newly created file is older than distributed files!
1568 Check your system clock" >&2;}
1569 { (exit 1); exit 1; }; }
1571 echo "$as_me:$LINENO: result: yes" >&5
1572 echo "${ECHO_T}yes" >&6
1573 test "$program_prefix" != NONE &&
1574 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1575 # Use a double $ so make ignores it.
1576 test "$program_suffix" != NONE &&
1577 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1578 # Double any \ or $. echo might interpret backslashes.
1579 # By default was `s,x,x', remove it if useless.
1580 cat <<\_ACEOF >conftest.sed
1581 s/[\\$]/&&/g;s/;s,x,x,$//
1582 _ACEOF
1583 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1584 rm -f conftest.sed
1586 # expand $ac_aux_dir to an absolute path
1587 am_aux_dir=`cd $ac_aux_dir && pwd`
1589 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1590 # Use eval to expand $SHELL
1591 if eval "$MISSING --run true"; then
1592 am_missing_run="$MISSING --run "
1593 else
1594 am_missing_run=
1595 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1596 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1599 if mkdir -p -- . 2>/dev/null; then
1600 # Keeping the `.' argument allows $(mkdir_p) to be used without
1601 # argument. Indeed, we sometimes output rules like
1602 # $(mkdir_p) $(somedir)
1603 # where $(somedir) is conditionally defined.
1604 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1605 # expensive solution, as it forces Make to start a sub-shell.)
1606 mkdir_p='mkdir -p -- .'
1607 else
1608 # On NextStep and OpenStep, the `mkdir' command does not
1609 # recognize any option. It will interpret all options as
1610 # directories to create, and then abort because `.' already
1611 # exists.
1612 for d in ./-p ./--;
1614 test -d $d && rmdir $d
1615 done
1616 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1617 if test -f "$ac_aux_dir/mkinstalldirs"; then
1618 mkdir_p='$(mkinstalldirs)'
1619 else
1620 mkdir_p='$(install_sh) -d'
1624 for ac_prog in gawk mawk nawk awk
1626 # Extract the first word of "$ac_prog", so it can be a program name with args.
1627 set dummy $ac_prog; ac_word=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_AWK+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633 if test -n "$AWK"; then
1634 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1635 else
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637 for as_dir in $PATH
1639 IFS=$as_save_IFS
1640 test -z "$as_dir" && as_dir=.
1641 for ac_exec_ext in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_AWK="$ac_prog"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645 break 2
1647 done
1648 done
1652 AWK=$ac_cv_prog_AWK
1653 if test -n "$AWK"; then
1654 echo "$as_me:$LINENO: result: $AWK" >&5
1655 echo "${ECHO_T}$AWK" >&6
1656 else
1657 echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6
1661 test -n "$AWK" && break
1662 done
1664 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1665 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1666 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1667 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 cat >conftest.make <<\_ACEOF
1671 all:
1672 @echo 'ac_maketemp="$(MAKE)"'
1673 _ACEOF
1674 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1675 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1676 if test -n "$ac_maketemp"; then
1677 eval ac_cv_prog_make_${ac_make}_set=yes
1678 else
1679 eval ac_cv_prog_make_${ac_make}_set=no
1681 rm -f conftest.make
1683 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 SET_MAKE=
1687 else
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1690 SET_MAKE="MAKE=${MAKE-make}"
1693 rm -rf .tst 2>/dev/null
1694 mkdir .tst 2>/dev/null
1695 if test -d .tst; then
1696 am__leading_dot=.
1697 else
1698 am__leading_dot=_
1700 rmdir .tst 2>/dev/null
1702 # test to see if srcdir already configured
1703 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1704 test -f $srcdir/config.status; then
1705 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1706 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1707 { (exit 1); exit 1; }; }
1710 # test whether we have cygpath
1711 if test -z "$CYGPATH_W"; then
1712 if (cygpath --version) >/dev/null 2>/dev/null; then
1713 CYGPATH_W='cygpath -w'
1714 else
1715 CYGPATH_W=echo
1720 # Define the identity of the package.
1721 PACKAGE='autoconf'
1722 VERSION='2.59a'
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE "$PACKAGE"
1727 _ACEOF
1730 cat >>confdefs.h <<_ACEOF
1731 #define VERSION "$VERSION"
1732 _ACEOF
1734 # Some tools Automake needs.
1736 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1739 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1742 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1745 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1748 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1751 AMTAR=${AMTAR-"${am_missing_run}tar"}
1753 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1755 # Installed binaries are usually stripped using `strip' when the user
1756 # run `make install-strip'. However `strip' might not be the right
1757 # tool to use in cross-compilation environments, therefore Automake
1758 # will honor the `STRIP' environment variable to overrule this program.
1759 if test "$cross_compiling" != no; then
1760 if test -n "$ac_tool_prefix"; then
1761 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1762 set dummy ${ac_tool_prefix}strip; ac_word=$2
1763 echo "$as_me:$LINENO: checking for $ac_word" >&5
1764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1765 if test "${ac_cv_prog_STRIP+set}" = set; then
1766 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 else
1768 if test -n "$STRIP"; then
1769 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1770 else
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1772 for as_dir in $PATH
1774 IFS=$as_save_IFS
1775 test -z "$as_dir" && as_dir=.
1776 for ac_exec_ext in '' $ac_executable_extensions; do
1777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1778 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780 break 2
1782 done
1783 done
1787 STRIP=$ac_cv_prog_STRIP
1788 if test -n "$STRIP"; then
1789 echo "$as_me:$LINENO: result: $STRIP" >&5
1790 echo "${ECHO_T}$STRIP" >&6
1791 else
1792 echo "$as_me:$LINENO: result: no" >&5
1793 echo "${ECHO_T}no" >&6
1797 if test -z "$ac_cv_prog_STRIP"; then
1798 ac_ct_STRIP=$STRIP
1799 # Extract the first word of "strip", so it can be a program name with args.
1800 set dummy strip; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 else
1806 if test -n "$ac_ct_STRIP"; then
1807 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1808 else
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 for as_dir in $PATH
1812 IFS=$as_save_IFS
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_ac_ct_STRIP="strip"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818 break 2
1820 done
1821 done
1823 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1826 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1827 if test -n "$ac_ct_STRIP"; then
1828 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1829 echo "${ECHO_T}$ac_ct_STRIP" >&6
1830 else
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1835 STRIP=$ac_ct_STRIP
1836 else
1837 STRIP="$ac_cv_prog_STRIP"
1841 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1843 # We need awk for the "check" target. The system "awk" is bad on
1844 # some platforms.
1849 # We use `/bin/sh -n script' to check that there are no syntax errors
1850 # in the scripts. Although incredible, there are /bin/sh that go into
1851 # endless loops with `-n', e.g., SunOS's:
1853 # $ uname -a
1854 # SunOS ondine 4.1.3 2 sun4m unknown
1855 # $ cat endless.sh
1856 # while false
1857 # do
1859 # done
1860 # exit 0
1861 # $ time sh endless.sh
1862 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
1863 # $ time sh -nx endless.sh
1864 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
1866 # So before using `/bin/sh -n' to check our scripts, we first check
1867 # that `/bin/sh -n' is not broken to death.
1869 # A script that never returns. We don't care that it never returns,
1870 # broken /bin/sh loop equally with `false', but it makes it easier to
1871 # test the robustness in a good environment: just remove the `-n'.
1872 echo "$as_me:$LINENO: checking whether sh -n works" >&5
1873 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6
1874 if test "${ac_cv_sh_n_works+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 cat > conftest.sh <<_CONFEOF_
1878 while :
1881 done
1882 _CONFEOF_
1884 (/bin/sh -n conftest.sh) &
1885 sleep 2
1886 if kill $! >/dev/null 2>&1; then
1887 # We managed to kill the child, which means that we probably
1888 # can't trust `/bin/sh -n', hence the test failed.
1889 ac_cv_sh_n_works=no
1890 else
1891 ac_cv_sh_n_works=yes
1893 rm conftest.sh
1896 echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
1897 echo "${ECHO_T}$ac_cv_sh_n_works" >&6
1900 # Initialize the test suite and build position independent wrappers.
1901 ac_config_commands="$ac_config_commands tests/atconfig"
1904 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
1906 ac_config_files="$ac_config_files tests/autoconf:tests/wrapper.in"
1908 ac_config_files="$ac_config_files tests/autoheader:tests/wrapper.in"
1910 ac_config_files="$ac_config_files tests/autom4te:tests/wrapper.in"
1912 ac_config_files="$ac_config_files tests/autoreconf:tests/wrapper.in"
1914 ac_config_files="$ac_config_files tests/autoscan:tests/wrapper.in"
1916 ac_config_files="$ac_config_files tests/autoupdate:tests/wrapper.in"
1918 ac_config_files="$ac_config_files tests/ifnames:tests/wrapper.in"
1920 # Extract the first word of "expr", so it can be a program name with args.
1921 set dummy expr; ac_word=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_path_EXPR+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 else
1927 case $EXPR in
1928 [\\/]* | ?:[\\/]*)
1929 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 for as_dir in $PATH
1935 IFS=$as_save_IFS
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 break 2
1943 done
1944 done
1947 esac
1949 EXPR=$ac_cv_path_EXPR
1951 if test -n "$EXPR"; then
1952 echo "$as_me:$LINENO: result: $EXPR" >&5
1953 echo "${ECHO_T}$EXPR" >&6
1954 else
1955 echo "$as_me:$LINENO: result: no" >&5
1956 echo "${ECHO_T}no" >&6
1961 ## ---- ##
1962 ## M4. ##
1963 ## ---- ##
1965 # We use a path for GNU m4 so even if users have another m4 first in
1966 # their path, the installer can configure with a path that has GNU m4
1967 # first and get that path embedded in the installed autoconf and
1968 # autoheader scripts.
1969 for ac_prog in gm4 gnum4 m4
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_path_M4+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978 case $M4 in
1979 [\\/]* | ?:[\\/]*)
1980 ac_cv_path_M4="$M4" # Let the user override the test with a path.
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 for as_dir in $PATH
1986 IFS=$as_save_IFS
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
1991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 break 2
1994 done
1995 done
1998 esac
2000 M4=$ac_cv_path_M4
2002 if test -n "$M4"; then
2003 echo "$as_me:$LINENO: result: $M4" >&5
2004 echo "${ECHO_T}$M4" >&6
2005 else
2006 echo "$as_me:$LINENO: result: no" >&5
2007 echo "${ECHO_T}no" >&6
2010 test -n "$M4" && break
2011 done
2012 test -n "$M4" || M4="m4"
2014 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2015 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2016 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019 ac_cv_prog_gnu_m4=no
2020 if test x"$M4" != x; then
2021 case `$M4 --help < /dev/null 2>&1` in
2022 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2023 esac
2026 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2027 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2028 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2029 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2030 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2031 { (exit 1); exit 1; }; }
2034 ## ----------- ##
2035 ## Man pages. ##
2036 ## ----------- ##
2038 ac_config_files="$ac_config_files man/Makefile"
2041 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2045 ## ------ ##
2046 ## Perl. ##
2047 ## ------ ##
2049 # We use a path for perl so the #! line in autoscan will work.
2050 # Extract the first word of "perl", so it can be a program name with args.
2051 set dummy perl; ac_word=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_path_PERL+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 else
2057 case $PERL in
2058 [\\/]* | ?:[\\/]*)
2059 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2
2073 done
2074 done
2076 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2078 esac
2080 PERL=$ac_cv_path_PERL
2082 if test -n "$PERL"; then
2083 echo "$as_me:$LINENO: result: $PERL" >&5
2084 echo "${ECHO_T}$PERL" >&6
2085 else
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2090 if test "$PERL" = no; then
2091 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2092 echo "$as_me: error: perl is not found" >&2;}
2093 { (exit 1); exit 1; }; }
2095 $PERL -e 'require 5.005_03;' || {
2096 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2097 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2098 { (exit 1); exit 1; }; }
2102 ## ------- ##
2103 ## Emacs. ##
2104 ## ------- ##
2106 ac_config_files="$ac_config_files lib/emacs/Makefile"
2108 TEST_EMACS=$EMACS
2109 test x"$TEST_EMACS" = xt && TEST_EMACS=
2110 for ac_prog in emacs xemacs
2112 # Extract the first word of "$ac_prog", so it can be a program name with args.
2113 set dummy $ac_prog; ac_word=$2
2114 echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2116 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119 if test -n "$TEST_EMACS"; then
2120 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2129 ac_cv_prog_TEST_EMACS="$ac_prog"
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 break 2
2133 done
2134 done
2138 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2139 if test -n "$TEST_EMACS"; then
2140 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2141 echo "${ECHO_T}$TEST_EMACS" >&6
2142 else
2143 echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6
2147 test -n "$TEST_EMACS" && break
2148 done
2149 test -n "$TEST_EMACS" || TEST_EMACS="no"
2152 # autoconf-mode.el and autotest-mode.el do not work with older version of
2153 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2154 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2155 # We detect this problem here.
2156 if test "$TEST_EMACS" != no; then
2157 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2158 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
2159 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 else
2162 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2163 cat >conftest.el << "EOF"
2164 (defvar broken)
2165 (defun broken-mode () (setq broken-defaults `(broken nil)))
2167 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2168 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2169 ac_status=$?
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); }; then
2172 ac_cv_prog_emacs_ok=yes
2173 else
2174 ac_cv_prog_emacs_ok=no
2177 rm -f conftest.el conftest.elc
2179 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2180 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
2181 if test $ac_cv_prog_emacs_ok = no; then
2182 TEST_EMACS=no
2188 EMACS=$TEST_EMACS
2191 # If set to t, that means we are running in a shell under Emacs.
2192 # If you have an Emacs named "t", then use the full path.
2193 test x"$EMACS" = xt && EMACS=
2194 for ac_prog in emacs xemacs
2196 # Extract the first word of "$ac_prog", so it can be a program name with args.
2197 set dummy $ac_prog; ac_word=$2
2198 echo "$as_me:$LINENO: checking for $ac_word" >&5
2199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2200 if test "${ac_cv_prog_EMACS+set}" = set; then
2201 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 else
2203 if test -n "$EMACS"; then
2204 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2205 else
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2209 IFS=$as_save_IFS
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 ac_cv_prog_EMACS="$ac_prog"
2214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 break 2
2217 done
2218 done
2222 EMACS=$ac_cv_prog_EMACS
2223 if test -n "$EMACS"; then
2224 echo "$as_me:$LINENO: result: $EMACS" >&5
2225 echo "${ECHO_T}$EMACS" >&6
2226 else
2227 echo "$as_me:$LINENO: result: no" >&5
2228 echo "${ECHO_T}no" >&6
2231 test -n "$EMACS" && break
2232 done
2233 test -n "$EMACS" || EMACS="no"
2238 # Check whether --with-lispdir or --without-lispdir was given.
2239 if test "${with_lispdir+set}" = set; then
2240 withval="$with_lispdir"
2241 lispdir="$withval"
2242 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2243 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2244 echo "$as_me:$LINENO: result: $lispdir" >&5
2245 echo "${ECHO_T}$lispdir" >&6
2246 else
2248 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2249 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2250 if test "${am_cv_lispdir+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 else
2254 if test $EMACS != "no"; then
2255 if test x${lispdir+set} != xset; then
2256 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2257 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2258 # which is non-obvious for non-emacs users.
2259 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2260 # emacsen earlier and avoid running this altogether.
2261 { (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
2262 ($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
2263 ac_status=$?
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }
2266 am_cv_lispdir=`sed -n \
2267 -e 's,/$,,' \
2268 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2269 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2270 conftest.out`
2271 rm conftest.out
2274 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2277 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2278 echo "${ECHO_T}$am_cv_lispdir" >&6
2279 lispdir="$am_cv_lispdir"
2286 ## ------------ ##
2287 ## Conclusion. ##
2288 ## ------------ ##
2290 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"
2293 cat >confcache <<\_ACEOF
2294 # This file is a shell script that caches the results of configure
2295 # tests run on this system so they can be shared between configure
2296 # scripts and configure runs, see configure's option --config-cache.
2297 # It is not useful on other systems. If it contains results you don't
2298 # want to keep, you may remove or edit it.
2300 # config.status only pays attention to the cache file if you give it
2301 # the --recheck option to rerun configure.
2303 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2305 # following values.
2307 _ACEOF
2309 # The following way of writing the cache mishandles newlines in values,
2310 # but we know of no workaround that is simple, portable, and efficient.
2311 # So, don't put newlines in cache variables' values.
2312 # Ultrix sh set writes to stderr and can't be redirected directly,
2313 # and sets the high bit in the cache file unless we assign to the vars.
2315 (set) 2>&1 |
2316 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2317 *ac_space=\ *)
2318 # `set' does not quote correctly, so add quotes (double-quote
2319 # substitution turns \\\\ into \\, and sed turns \\ into \).
2320 sed -n \
2321 "s/'/'\\\\''/g;
2322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2325 # `set' quotes correctly as required by POSIX, so do not add quotes.
2326 sed -n \
2327 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2329 esac;
2331 sed '
2332 t clear
2333 : clear
2334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2335 t end
2336 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2337 : end' >>confcache
2338 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2339 if test -w $cache_file; then
2340 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2341 cat confcache >$cache_file
2342 else
2343 echo "not updating unwritable cache $cache_file"
2346 rm -f confcache
2348 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2349 # Let make expand exec_prefix.
2350 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2352 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2353 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2354 # trailing colons and then remove the whole line if VPATH becomes empty
2355 # (actually we leave an empty line to preserve line numbers).
2356 if test "x$srcdir" = x.; then
2357 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2358 s/:*\$(srcdir):*/:/;
2359 s/:*\${srcdir}:*/:/;
2360 s/:*@srcdir@:*/:/;
2361 s/^\([^=]*=[ ]*\):*/\1/;
2362 s/:*$//;
2363 s/^[^=]*=[ ]*$//;
2367 # Transform confdefs.h into DEFS.
2368 # Protect against shell expansion while executing Makefile rules.
2369 # Protect against Makefile macro expansion.
2371 # If the first sed substitution is executed (which looks for macros that
2372 # take arguments), then we branch to the quote section. Otherwise,
2373 # look for a macro that doesn't take arguments.
2374 cat >confdef2opt.sed <<\_ACEOF
2375 t clear
2376 : clear
2377 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2378 t quote
2379 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2380 t quote
2382 : quote
2383 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2384 s,\[,\\&,g
2385 s,\],\\&,g
2386 s,\$,$$,g
2388 _ACEOF
2389 # We use echo to avoid assuming a particular line-breaking character.
2390 # The extra dot is to prevent the shell from consuming trailing
2391 # line-breaks from the sub-command output. A line-break within
2392 # single-quotes doesn't work because, if this script is created in a
2393 # platform that uses two characters for line-breaks (e.g., DOS), tr
2394 # would break.
2395 ac_LF_and_DOT=`echo; echo .`
2396 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2397 rm -f confdef2opt.sed
2400 ac_libobjs=
2401 ac_ltlibobjs=
2402 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2403 # 1. Remove the extension, and $U if already installed.
2404 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2405 ac_i=`echo "$ac_i" | sed "$ac_script"`
2406 # 2. Add them.
2407 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2408 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2409 done
2410 LIBOBJS=$ac_libobjs
2412 LTLIBOBJS=$ac_ltlibobjs
2416 : ${CONFIG_STATUS=./config.status}
2417 ac_clean_files_save=$ac_clean_files
2418 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2419 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2420 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2421 cat >$CONFIG_STATUS <<_ACEOF
2422 #! $SHELL
2423 # Generated by $as_me.
2424 # Run this file to recreate the current configuration.
2425 # Compiler output produced by configure, useful for debugging
2426 # configure, is in config.log if it exists.
2428 debug=false
2429 ac_cs_recheck=false
2430 ac_cs_silent=false
2431 SHELL=\${CONFIG_SHELL-$SHELL}
2432 _ACEOF
2434 cat >>$CONFIG_STATUS <<\_ACEOF
2435 ## --------------------- ##
2436 ## M4sh Initialization. ##
2437 ## --------------------- ##
2439 # Be Bourne compatible
2440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2441 emulate sh
2442 NULLCMD=:
2443 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2444 # is contrary to our usage. Disable this feature.
2445 alias -g '${1+"$@"}'='"$@"'
2446 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2447 set -o posix
2449 DUALCASE=1; export DUALCASE # for MKS sh
2452 # PATH needs CR
2453 # Avoid depending upon Character Ranges.
2454 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2455 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2456 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2457 as_cr_digits='0123456789'
2458 as_cr_alnum=$as_cr_Letters$as_cr_digits
2460 # The user is always right.
2461 if test "${PATH_SEPARATOR+set}" != set; then
2462 echo "#! /bin/sh" >conf$$.sh
2463 echo "exit 0" >>conf$$.sh
2464 chmod +x conf$$.sh
2465 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2466 PATH_SEPARATOR=';'
2467 else
2468 PATH_SEPARATOR=:
2470 rm -f conf$$.sh
2473 # Support unset when possible.
2474 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2475 as_unset=unset
2476 else
2477 as_unset=false
2481 # Find who we are. Look in the path if we contain no path at all
2482 # relative or not.
2483 case $0 in
2484 *[\\/]* ) as_myself=$0 ;;
2485 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 for as_dir in $PATH
2488 IFS=$as_save_IFS
2489 test -z "$as_dir" && as_dir=.
2490 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2491 done
2494 esac
2495 # We did not find ourselves, most probably we were run as `sh COMMAND'
2496 # in which case we are not to be found in the path.
2497 if test "x$as_myself" = x; then
2498 as_myself=$0
2500 if test ! -f "$as_myself"; then
2501 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2502 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2503 { (exit 1); exit 1; }; }
2506 if { $SHELL 2>/dev/null <<\_ASEOF
2507 # Be Bourne compatible
2508 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2509 emulate sh
2510 NULLCMD=:
2511 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2512 # is contrary to our usage. Disable this feature.
2513 alias -g '${1+"$@"}'='"$@"'
2514 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2515 set -o posix
2517 DUALCASE=1; export DUALCASE # for MKS sh
2519 func_return () {
2520 (exit $1)
2523 func_success () {
2524 func_return 0
2527 func_failure () {
2528 func_return 1
2531 func_ret_success () {
2532 return 0
2535 func_ret_failure () {
2536 return 1
2539 exitcode=0
2540 if func_success; then
2542 else
2544 exitcode=1
2545 echo func_failure succeeded.
2549 if func_failure; then
2551 exitcode=1
2552 echo func_success failed.
2556 if func_ret_success; then
2558 else
2560 exitcode=1
2561 echo func_ret_success failed.
2565 if func_ret_failure; then
2567 exitcode=1
2568 echo func_ret_failure succeeded.
2572 { (exit $exitcode); exit $exitcode; }
2573 _ASEOF
2574 }; then
2576 else
2578 case $CONFIG_SHELL in
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2583 IFS=$as_save_IFS
2584 test -z "$as_dir" && as_dir=.
2585 for as_base in sh bash ksh sh5; do
2586 case $as_dir in
2588 if { $as_dir/$as_base 2>/dev/null <<\_ASEOF
2589 # Be Bourne compatible
2590 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2591 emulate sh
2592 NULLCMD=:
2593 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2594 # is contrary to our usage. Disable this feature.
2595 alias -g '${1+"$@"}'='"$@"'
2596 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2597 set -o posix
2599 DUALCASE=1; export DUALCASE # for MKS sh
2601 func_return () {
2602 (exit $1)
2605 func_success () {
2606 func_return 0
2609 func_failure () {
2610 func_return 1
2613 func_ret_success () {
2614 return 0
2617 func_ret_failure () {
2618 return 1
2621 exitcode=0
2622 if func_success; then
2624 else
2626 exitcode=1
2627 echo func_failure succeeded.
2631 if func_failure; then
2633 exitcode=1
2634 echo func_success failed.
2638 if func_ret_success; then
2640 else
2642 exitcode=1
2643 echo func_ret_success failed.
2647 if func_ret_failure; then
2649 exitcode=1
2650 echo func_ret_failure succeeded.
2654 { (exit $exitcode); exit $exitcode; }
2655 _ASEOF
2656 }; then
2658 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2659 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2660 CONFIG_SHELL=$as_dir/$as_base
2661 export CONFIG_SHELL
2662 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
2666 esac
2667 done
2668 done
2672 esac
2677 # Work around bugs in pre-3.0 UWIN ksh.
2678 $as_unset ENV MAIL MAILPATH
2679 PS1='$ '
2680 PS2='> '
2681 PS4='+ '
2683 # NLS nuisances.
2684 for as_var in \
2685 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2686 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2687 LC_TELEPHONE LC_TIME
2689 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2690 eval $as_var=C; export $as_var
2691 else
2692 $as_unset $as_var
2694 done
2696 # Required to use basename.
2697 if expr a : '\(a\)' >/dev/null 2>&1; then
2698 as_expr=expr
2699 else
2700 as_expr=false
2703 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2704 as_basename=basename
2705 else
2706 as_basename=false
2710 # Name of the executable.
2711 as_me=`$as_basename "$0" ||
2712 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2713 X"$0" : 'X\(//\)$' \| \
2714 X"$0" : 'X\(/\)$' \| \
2715 . : '\(.\)' 2>/dev/null ||
2716 echo X/"$0" |
2717 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2718 /^X\/\(\/\/\)$/{ s//\1/; q; }
2719 /^X\/\(\/\).*/{ s//\1/; q; }
2720 s/.*/./; q'`
2724 as_lineno_1=$LINENO
2725 as_lineno_2=$LINENO
2726 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2727 test "x$as_lineno_1" != "x$as_lineno_2" &&
2728 test "x$as_lineno_3" = "x$as_lineno_2" || {
2730 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2731 # uniformly replaced by the line number. The first 'sed' inserts a
2732 # line-number line after each line using $LINENO; the second 'sed'
2733 # does the real work. The second script uses 'N' to pair each
2734 # line-number line with the line containing $LINENO, and appends
2735 # trailing '-' during substitution so that $LINENO is not a special
2736 # case at line end.
2737 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2738 # scripts with optimization help from Paolo Bonzini. Blame Lee
2739 # E. McMahon (1931-1989) for sed's syntax. :-)
2740 sed -n '
2742 /[$]LINENO/=
2743 ' <$as_myself |
2744 sed '
2745 s,[$]LINENO.*,&-,
2746 t lineno
2748 : lineno
2750 : loop
2751 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2752 t loop
2753 s,-\n.*,,
2754 ' >$as_me.lineno &&
2755 chmod +x $as_me.lineno ||
2756 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2757 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2758 { (exit 1); exit 1; }; }
2760 # Don't try to exec as it changes $[0], causing all sort of problems
2761 # (the dirname of $[0] is not the place where we might find the
2762 # original and so on. Autoconf is especially sensible to this).
2763 . ./$as_me.lineno
2764 # Exit status is that of the last command.
2765 exit
2769 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2770 *c*,-n*) ECHO_N= ECHO_C='
2771 ' ECHO_T=' ' ;;
2772 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2773 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2774 esac
2776 if expr a : '\(a\)' >/dev/null 2>&1; then
2777 as_expr=expr
2778 else
2779 as_expr=false
2782 rm -f conf$$ conf$$.exe conf$$.file
2783 echo >conf$$.file
2784 if ln -s conf$$.file conf$$ 2>/dev/null; then
2785 # We could just check for DJGPP; but this test a) works b) is more generic
2786 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2787 if test -f conf$$.exe; then
2788 # Don't use ln at all; we don't have any links
2789 as_ln_s='cp -p'
2790 else
2791 as_ln_s='ln -s'
2793 elif ln conf$$.file conf$$ 2>/dev/null; then
2794 as_ln_s=ln
2795 else
2796 as_ln_s='cp -p'
2798 rm -f conf$$ conf$$.exe conf$$.file
2800 if mkdir -p . 2>/dev/null; then
2801 as_mkdir_p=:
2802 else
2803 test -d ./-p && rmdir ./-p
2804 as_mkdir_p=false
2807 as_executable_p="test -f"
2809 # Sed expression to map a string onto a valid CPP name.
2810 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2812 # Sed expression to map a string onto a valid variable name.
2813 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2816 # IFS
2817 # We need space, tab and new line, in precisely that order.
2818 as_nl='
2820 IFS=" $as_nl"
2822 # CDPATH.
2823 $as_unset CDPATH
2825 exec 6>&1
2827 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2828 # report actual input values of CONFIG_FILES etc. instead of their
2829 # values after options handling. Logging --version etc. is OK.
2830 exec 5>>config.log
2832 echo
2833 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2834 ## Running $as_me. ##
2835 _ASBOX
2836 } >&5
2837 cat >&5 <<_CSEOF
2839 This file was extended by GNU Autoconf $as_me 2.59a, which was
2840 generated by GNU Autoconf 2.59a. Invocation command line was
2842 CONFIG_FILES = $CONFIG_FILES
2843 CONFIG_HEADERS = $CONFIG_HEADERS
2844 CONFIG_LINKS = $CONFIG_LINKS
2845 CONFIG_COMMANDS = $CONFIG_COMMANDS
2846 $ $0 $@
2848 _CSEOF
2849 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2850 echo >&5
2851 _ACEOF
2853 # Files that config.status was made for.
2854 if test -n "$ac_config_files"; then
2855 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2858 if test -n "$ac_config_headers"; then
2859 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2862 if test -n "$ac_config_links"; then
2863 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2866 if test -n "$ac_config_commands"; then
2867 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2870 cat >>$CONFIG_STATUS <<\_ACEOF
2872 ac_cs_usage="\
2873 \`$as_me' instantiates files from templates according to the
2874 current configuration.
2876 Usage: $0 [OPTIONS] [FILE]...
2878 -h, --help print this help, then exit
2879 -V, --version print version number, then exit
2880 -q, --quiet do not print progress messages
2881 -d, --debug don't remove temporary files
2882 --recheck update $as_me by reconfiguring in the same conditions
2883 --file=FILE[:TEMPLATE]
2884 instantiate the configuration file FILE
2886 Configuration files:
2887 $config_files
2889 Configuration commands:
2890 $config_commands
2892 Report bugs to <bug-autoconf@gnu.org>."
2893 _ACEOF
2895 cat >>$CONFIG_STATUS <<_ACEOF
2896 ac_cs_version="\\
2897 GNU Autoconf config.status 2.59a
2898 configured by $0, generated by GNU Autoconf 2.59a,
2899 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2901 Copyright (C) 2003 Free Software Foundation, Inc.
2902 This config.status script is free software; the Free Software Foundation
2903 gives unlimited permission to copy, distribute and modify it."
2904 srcdir=$srcdir
2905 INSTALL="$INSTALL"
2906 _ACEOF
2908 cat >>$CONFIG_STATUS <<\_ACEOF
2909 # If no file are specified by the user, then we need to provide default
2910 # value. By we need to know if files were specified by the user.
2911 ac_need_defaults=:
2912 while test $# != 0
2914 case $1 in
2915 --*=*)
2916 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2917 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2918 ac_shift=:
2921 ac_option=$1
2922 ac_optarg=$2
2923 ac_shift=shift
2925 *) # This is not an option, so the user has probably given explicit
2926 # arguments.
2927 ac_option=$1
2928 ac_need_defaults=false;;
2929 esac
2931 case $ac_option in
2932 # Handling of the options.
2933 _ACEOF
2934 cat >>$CONFIG_STATUS <<\_ACEOF
2935 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2936 ac_cs_recheck=: ;;
2937 --version | --vers* | -V )
2938 echo "$ac_cs_version"; exit 0 ;;
2939 --he | --h)
2940 # Conflict between --help and --header
2941 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2942 Try \`$0 --help' for more information." >&5
2943 echo "$as_me: error: ambiguous option: $1
2944 Try \`$0 --help' for more information." >&2;}
2945 { (exit 1); exit 1; }; };;
2946 --help | --hel | -h )
2947 echo "$ac_cs_usage"; exit 0 ;;
2948 --debug | --d* | -d )
2949 debug=: ;;
2950 --file | --fil | --fi | --f )
2951 $ac_shift
2952 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2953 ac_need_defaults=false;;
2954 --header | --heade | --head | --hea )
2955 $ac_shift
2956 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2957 ac_need_defaults=false;;
2958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2959 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2960 ac_cs_silent=: ;;
2962 # This is an error.
2963 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2964 Try \`$0 --help' for more information." >&5
2965 echo "$as_me: error: unrecognized option: $1
2966 Try \`$0 --help' for more information." >&2;}
2967 { (exit 1); exit 1; }; } ;;
2969 *) ac_config_targets="$ac_config_targets $1" ;;
2971 esac
2972 shift
2973 done
2975 ac_configure_extra_args=
2977 if $ac_cs_silent; then
2978 exec 6>/dev/null
2979 ac_configure_extra_args="$ac_configure_extra_args --silent"
2982 _ACEOF
2983 cat >>$CONFIG_STATUS <<_ACEOF
2984 if \$ac_cs_recheck; then
2985 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2986 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2989 _ACEOF
2995 cat >>$CONFIG_STATUS <<\_ACEOF
2996 for ac_config_target in $ac_config_targets
2998 case "$ac_config_target" in
2999 # Handling of arguments.
3000 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3001 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3002 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3003 "tests/autoconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoconf:tests/wrapper.in" ;;
3004 "tests/autoheader" ) CONFIG_FILES="$CONFIG_FILES tests/autoheader:tests/wrapper.in" ;;
3005 "tests/autom4te" ) CONFIG_FILES="$CONFIG_FILES tests/autom4te:tests/wrapper.in" ;;
3006 "tests/autoreconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoreconf:tests/wrapper.in" ;;
3007 "tests/autoscan" ) CONFIG_FILES="$CONFIG_FILES tests/autoscan:tests/wrapper.in" ;;
3008 "tests/autoupdate" ) CONFIG_FILES="$CONFIG_FILES tests/autoupdate:tests/wrapper.in" ;;
3009 "tests/ifnames" ) CONFIG_FILES="$CONFIG_FILES tests/ifnames:tests/wrapper.in" ;;
3010 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3011 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3012 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3013 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3014 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3015 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3016 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3017 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3018 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3019 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3020 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3021 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3022 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3023 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3024 { (exit 1); exit 1; }; };;
3025 esac
3026 done
3028 # If the user did not use the arguments to specify the items to instantiate,
3029 # then the envvar interface is used. Set only those that are not.
3030 # We use the long form for the default assignment because of an extremely
3031 # bizarre bug on SunOS 4.1.3.
3032 if $ac_need_defaults; then
3033 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3034 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3037 # Have a temporary directory for convenience. Make it in the build tree
3038 # simply because there is no reason to put it here, and in addition,
3039 # creating and moving files from /tmp can sometimes cause problems.
3040 # Create a temporary directory, and hook for its removal unless debugging.
3041 $debug ||
3043 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
3044 trap '{ (exit 1); exit 1; }' 1 2 13 15
3047 # Create a (secure) tmp directory for tmp files.
3050 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3051 test -n "$tmp" && test -d "$tmp"
3052 } ||
3054 tmp=./confstat$$-$RANDOM
3055 (umask 077 && mkdir $tmp)
3056 } ||
3058 echo "$me: cannot create a temporary directory in ." >&2
3059 { (exit 1); exit 1; }
3062 _ACEOF
3064 cat >>$CONFIG_STATUS <<_ACEOF
3067 # CONFIG_FILES section.
3070 # No need to generate the scripts if there are no CONFIG_FILES.
3071 # This happens for instance when ./config.status config.h
3072 if test -n "\$CONFIG_FILES"; then
3073 # Protect against being on the right side of a sed subst in config.status.
3074 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3075 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3076 s,@SHELL@,$SHELL,;t t
3077 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3078 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3079 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3080 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3081 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3082 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3083 s,@exec_prefix@,$exec_prefix,;t t
3084 s,@prefix@,$prefix,;t t
3085 s,@program_transform_name@,$program_transform_name,;t t
3086 s,@bindir@,$bindir,;t t
3087 s,@sbindir@,$sbindir,;t t
3088 s,@libexecdir@,$libexecdir,;t t
3089 s,@datadir@,$datadir,;t t
3090 s,@sysconfdir@,$sysconfdir,;t t
3091 s,@sharedstatedir@,$sharedstatedir,;t t
3092 s,@localstatedir@,$localstatedir,;t t
3093 s,@libdir@,$libdir,;t t
3094 s,@includedir@,$includedir,;t t
3095 s,@oldincludedir@,$oldincludedir,;t t
3096 s,@infodir@,$infodir,;t t
3097 s,@mandir@,$mandir,;t t
3098 s,@build_alias@,$build_alias,;t t
3099 s,@host_alias@,$host_alias,;t t
3100 s,@target_alias@,$target_alias,;t t
3101 s,@DEFS@,$DEFS,;t t
3102 s,@ECHO_C@,$ECHO_C,;t t
3103 s,@ECHO_N@,$ECHO_N,;t t
3104 s,@ECHO_T@,$ECHO_T,;t t
3105 s,@LIBS@,$LIBS,;t t
3106 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3107 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3108 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3109 s,@CYGPATH_W@,$CYGPATH_W,;t t
3110 s,@PACKAGE@,$PACKAGE,;t t
3111 s,@VERSION@,$VERSION,;t t
3112 s,@ACLOCAL@,$ACLOCAL,;t t
3113 s,@AUTOCONF@,$AUTOCONF,;t t
3114 s,@AUTOMAKE@,$AUTOMAKE,;t t
3115 s,@AUTOHEADER@,$AUTOHEADER,;t t
3116 s,@MAKEINFO@,$MAKEINFO,;t t
3117 s,@AMTAR@,$AMTAR,;t t
3118 s,@install_sh@,$install_sh,;t t
3119 s,@STRIP@,$STRIP,;t t
3120 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3121 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3122 s,@mkdir_p@,$mkdir_p,;t t
3123 s,@AWK@,$AWK,;t t
3124 s,@SET_MAKE@,$SET_MAKE,;t t
3125 s,@am__leading_dot@,$am__leading_dot,;t t
3126 s,@ac_cv_sh_n_works@,$ac_cv_sh_n_works,;t t
3127 s,@EXPR@,$EXPR,;t t
3128 s,@M4@,$M4,;t t
3129 s,@HELP2MAN@,$HELP2MAN,;t t
3130 s,@PERL@,$PERL,;t t
3131 s,@TEST_EMACS@,$TEST_EMACS,;t t
3132 s,@EMACS@,$EMACS,;t t
3133 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
3134 s,@lispdir@,$lispdir,;t t
3135 s,@LIBOBJS@,$LIBOBJS,;t t
3136 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3137 CEOF
3139 _ACEOF
3141 cat >>$CONFIG_STATUS <<\_ACEOF
3142 # Split the substitutions into bite-sized pieces for seds with
3143 # small command number limits, like on Digital OSF/1 and HP-UX.
3144 ac_max_sed_lines=48
3145 ac_sed_frag=1 # Number of current file.
3146 ac_beg=1 # First line for current file.
3147 ac_end=$ac_max_sed_lines # Line after last line for current file.
3148 ac_more_lines=:
3149 ac_sed_cmds=
3150 while $ac_more_lines; do
3151 if test $ac_beg -gt 1; then
3152 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3153 else
3154 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3156 if test ! -s $tmp/subs.frag; then
3157 ac_more_lines=false
3158 else
3159 # The purpose of the label and of the branching condition is to
3160 # speed up the sed processing (if there are no `@' at all, there
3161 # is no need to browse any of the substitutions).
3162 # These are the two extra sed commands mentioned above.
3163 (echo ':t
3164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3165 if test -z "$ac_sed_cmds"; then
3166 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3167 else
3168 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3170 ac_sed_frag=`expr $ac_sed_frag + 1`
3171 ac_beg=$ac_end
3172 ac_end=`expr $ac_end + $ac_max_sed_lines`
3174 done
3175 if test -z "$ac_sed_cmds"; then
3176 ac_sed_cmds=cat
3178 fi # test -n "$CONFIG_FILES"
3180 _ACEOF
3181 cat >>$CONFIG_STATUS <<\_ACEOF
3182 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3183 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3184 case $ac_file in
3185 - | *:- | *:-:* ) # input from stdin
3186 cat >$tmp/stdin
3187 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3188 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3189 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3191 * ) ac_file_in=$ac_file.in ;;
3192 esac
3194 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3195 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3197 X"$ac_file" : 'X\(//\)[^/]' \| \
3198 X"$ac_file" : 'X\(//\)$' \| \
3199 X"$ac_file" : 'X\(/\)' \| \
3200 . : '\(.\)' 2>/dev/null ||
3201 echo X"$ac_file" |
3202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3204 /^X\(\/\/\)$/{ s//\1/; q; }
3205 /^X\(\/\).*/{ s//\1/; q; }
3206 s/.*/./; q'`
3207 { if $as_mkdir_p; then
3208 test -d "$ac_dir" || mkdir -p "$ac_dir"
3209 else
3210 as_dir="$ac_dir"
3211 as_dirs=
3212 while test ! -d "$as_dir"; do
3213 as_dirs="$as_dir $as_dirs"
3214 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3216 X"$as_dir" : 'X\(//\)[^/]' \| \
3217 X"$as_dir" : 'X\(//\)$' \| \
3218 X"$as_dir" : 'X\(/\)' \| \
3219 . : '\(.\)' 2>/dev/null ||
3220 echo X"$as_dir" |
3221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3223 /^X\(\/\/\)$/{ s//\1/; q; }
3224 /^X\(\/\).*/{ s//\1/; q; }
3225 s/.*/./; q'`
3226 done
3227 test ! -n "$as_dirs" || mkdir $as_dirs
3228 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3230 { (exit 1); exit 1; }; }; }
3232 ac_builddir=.
3234 if test "$ac_dir" != .; then
3235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3236 # A "../" for each directory in $ac_dir_suffix.
3237 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3238 else
3239 ac_dir_suffix= ac_top_builddir=
3242 case $srcdir in
3243 .) # No --srcdir option. We are building in place.
3244 ac_srcdir=.
3245 if test -z "$ac_top_builddir"; then
3246 ac_top_srcdir=.
3247 else
3248 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3249 fi ;;
3250 [\\/]* | ?:[\\/]* ) # Absolute path.
3251 ac_srcdir=$srcdir$ac_dir_suffix;
3252 ac_top_srcdir=$srcdir ;;
3253 *) # Relative path.
3254 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3255 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3256 esac
3258 # Do not use `cd foo && pwd` to compute absolute paths, because
3259 # the directories may not exist.
3260 case `pwd` in
3261 .) ac_abs_builddir="$ac_dir";;
3263 case "$ac_dir" in
3264 .) ac_abs_builddir=`pwd`;;
3265 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3266 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3267 esac;;
3268 esac
3269 case $ac_abs_builddir in
3270 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3272 case ${ac_top_builddir}. in
3273 .) ac_abs_top_builddir=$ac_abs_builddir;;
3274 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3275 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3276 esac;;
3277 esac
3278 case $ac_abs_builddir in
3279 .) ac_abs_srcdir=$ac_srcdir;;
3281 case $ac_srcdir in
3282 .) ac_abs_srcdir=$ac_abs_builddir;;
3283 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3284 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3285 esac;;
3286 esac
3287 case $ac_abs_builddir in
3288 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3290 case $ac_top_srcdir in
3291 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3292 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3293 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3294 esac;;
3295 esac
3298 case $INSTALL in
3299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3300 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3301 esac
3303 if test x"$ac_file" != x-; then
3304 { echo "$as_me:$LINENO: creating $ac_file" >&5
3305 echo "$as_me: creating $ac_file" >&6;}
3306 rm -f "$ac_file"
3308 # Let's still pretend it is `configure' which instantiates (i.e., don't
3309 # use $as_me), people would be surprised to read:
3310 # /* config.h. Generated by config.status. */
3311 if test x"$ac_file" = x-; then
3312 configure_input=
3313 else
3314 configure_input="$ac_file. "
3316 configure_input=$configure_input"Generated from `echo $ac_file_in |
3317 sed 's,.*/,,'` by configure."
3319 # First look for the input files in the build tree, otherwise in the
3320 # src tree.
3321 ac_file_inputs=`IFS=:
3322 for f in $ac_file_in; do
3323 case $f in
3324 -) echo $tmp/stdin ;;
3325 [\\/$]*)
3326 # Absolute (can't be DOS-style, as IFS=:)
3327 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3328 echo "$as_me: error: cannot find input file: $f" >&2;}
3329 { (exit 1); exit 1; }; }
3330 echo "$f";;
3331 *) # Relative
3332 if test -f "$f"; then
3333 # Build tree
3334 echo "$f"
3335 elif test -f "$srcdir/$f"; then
3336 # Source tree
3337 echo "$srcdir/$f"
3338 else
3339 # /dev/null tree
3340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3341 echo "$as_me: error: cannot find input file: $f" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi;;
3344 esac
3345 done` || { (exit 1); exit 1; }
3346 _ACEOF
3347 cat >>$CONFIG_STATUS <<_ACEOF
3348 sed "$ac_vpsub
3349 $extrasub
3350 _ACEOF
3351 cat >>$CONFIG_STATUS <<\_ACEOF
3353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3354 s,@configure_input@,$configure_input,;t t
3355 s,@srcdir@,$ac_srcdir,;t t
3356 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3357 s,@top_srcdir@,$ac_top_srcdir,;t t
3358 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3359 s,@builddir@,$ac_builddir,;t t
3360 s,@abs_builddir@,$ac_abs_builddir,;t t
3361 s,@top_builddir@,$ac_top_builddir,;t t
3362 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3363 s,@INSTALL@,$ac_INSTALL,;t t
3364 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3365 rm -f $tmp/stdin
3366 if test x"$ac_file" != x-; then
3367 mv $tmp/out $ac_file
3368 else
3369 cat $tmp/out
3370 rm -f $tmp/out
3373 # Run the commands associated with the file.
3374 case $ac_file in
3375 tests/autoconf ) chmod +x tests/autoconf ;;
3376 tests/autoheader ) chmod +x tests/autoheader ;;
3377 tests/autom4te ) chmod +x tests/autom4te ;;
3378 tests/autoreconf ) chmod +x tests/autoreconf ;;
3379 tests/autoscan ) chmod +x tests/autoscan ;;
3380 tests/autoupdate ) chmod +x tests/autoupdate ;;
3381 tests/ifnames ) chmod +x tests/ifnames ;;
3382 esac
3383 done
3384 _ACEOF
3385 cat >>$CONFIG_STATUS <<\_ACEOF
3388 # CONFIG_COMMANDS section.
3390 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3391 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3392 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3393 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3394 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3395 X"$ac_dest" : 'X\(//\)[^/]' \| \
3396 X"$ac_dest" : 'X\(//\)$' \| \
3397 X"$ac_dest" : 'X\(/\)' \| \
3398 . : '\(.\)' 2>/dev/null ||
3399 echo X"$ac_dest" |
3400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3402 /^X\(\/\/\)$/{ s//\1/; q; }
3403 /^X\(\/\).*/{ s//\1/; q; }
3404 s/.*/./; q'`
3405 { if $as_mkdir_p; then
3406 test -d "$ac_dir" || mkdir -p "$ac_dir"
3407 else
3408 as_dir="$ac_dir"
3409 as_dirs=
3410 while test ! -d "$as_dir"; do
3411 as_dirs="$as_dir $as_dirs"
3412 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3414 X"$as_dir" : 'X\(//\)[^/]' \| \
3415 X"$as_dir" : 'X\(//\)$' \| \
3416 X"$as_dir" : 'X\(/\)' \| \
3417 . : '\(.\)' 2>/dev/null ||
3418 echo X"$as_dir" |
3419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3421 /^X\(\/\/\)$/{ s//\1/; q; }
3422 /^X\(\/\).*/{ s//\1/; q; }
3423 s/.*/./; q'`
3424 done
3425 test ! -n "$as_dirs" || mkdir $as_dirs
3426 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3427 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3428 { (exit 1); exit 1; }; }; }
3430 ac_builddir=.
3432 if test "$ac_dir" != .; then
3433 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3434 # A "../" for each directory in $ac_dir_suffix.
3435 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3436 else
3437 ac_dir_suffix= ac_top_builddir=
3440 case $srcdir in
3441 .) # No --srcdir option. We are building in place.
3442 ac_srcdir=.
3443 if test -z "$ac_top_builddir"; then
3444 ac_top_srcdir=.
3445 else
3446 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3447 fi ;;
3448 [\\/]* | ?:[\\/]* ) # Absolute path.
3449 ac_srcdir=$srcdir$ac_dir_suffix;
3450 ac_top_srcdir=$srcdir ;;
3451 *) # Relative path.
3452 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3453 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3454 esac
3456 # Do not use `cd foo && pwd` to compute absolute paths, because
3457 # the directories may not exist.
3458 case `pwd` in
3459 .) ac_abs_builddir="$ac_dir";;
3461 case "$ac_dir" in
3462 .) ac_abs_builddir=`pwd`;;
3463 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3464 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3465 esac;;
3466 esac
3467 case $ac_abs_builddir in
3468 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3470 case ${ac_top_builddir}. in
3471 .) ac_abs_top_builddir=$ac_abs_builddir;;
3472 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3473 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3474 esac;;
3475 esac
3476 case $ac_abs_builddir in
3477 .) ac_abs_srcdir=$ac_srcdir;;
3479 case $ac_srcdir in
3480 .) ac_abs_srcdir=$ac_abs_builddir;;
3481 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3482 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3483 esac;;
3484 esac
3485 case $ac_abs_builddir in
3486 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3488 case $ac_top_srcdir in
3489 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3490 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3491 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3492 esac;;
3493 esac
3496 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3497 echo "$as_me: executing $ac_dest commands" >&6;}
3498 case $ac_dest in
3499 tests/atconfig ) cat >tests/atconfig <<ATEOF
3500 # Configurable variable values for building test suites.
3501 # Generated by $0.
3502 # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
3504 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3505 at_testdir='tests'
3506 abs_builddir='$ac_abs_builddir'
3507 at_srcdir='$ac_srcdir'
3508 abs_srcdir='$ac_abs_srcdir'
3509 at_top_srcdir='$ac_top_srcdir'
3510 abs_top_srcdir='$ac_abs_top_srcdir'
3511 at_top_builddir='$ac_top_builddir'
3512 abs_top_builddir='$ac_abs_top_builddir'
3514 AUTOTEST_PATH='tests'
3516 SHELL=\${CONFIG_SHELL-'$SHELL'}
3517 ATEOF
3519 esac
3520 done
3521 _ACEOF
3523 cat >>$CONFIG_STATUS <<\_ACEOF
3525 { (exit 0); exit 0; }
3526 _ACEOF
3527 chmod +x $CONFIG_STATUS
3528 ac_clean_files=$ac_clean_files_save
3531 # configure is writing to config.log, and then calls config.status.
3532 # config.status does its own redirection, appending to config.log.
3533 # Unfortunately, on DOS this fails, as config.log is still kept open
3534 # by configure, so config.status won't be able to write to it; its
3535 # output is simply discarded. So we exec the FD to /dev/null,
3536 # effectively closing config.log, so it can be properly (re)opened and
3537 # appended to by config.status. When coming back to configure, we
3538 # need to make the FD available again.
3539 if test "$no_create" != yes; then
3540 ac_cs_success=:
3541 ac_config_status_args=
3542 test "$silent" = yes &&
3543 ac_config_status_args="$ac_config_status_args --quiet"
3544 exec 5>/dev/null
3545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3546 exec 5>>config.log
3547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3548 # would make configure fail if this is the last instruction.
3549 $ac_cs_success || { (exit 1); exit 1; }
3552 # Report the state of this version of Autoconf if this is a beta.
3553 cat <<EOF
3555 You are about to use an experimental version of Autoconf. Be sure to
3556 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3558 Below you will find information on the status of this version of Autoconf.
3562 sed -n '/^\* Status/,$p' $srcdir/BUGS