* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
[autoconf.git] / configure
blob05b8fa627c1e357ee3c62df23d28e45b43d9bc0d
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 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
8 # 2003, 2004 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
25 DUALCASE=1; export DUALCASE # for MKS sh
28 # PATH needs CR
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
40 chmod +x conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42 PATH_SEPARATOR=';'
43 else
44 PATH_SEPARATOR=:
46 rm -f conf$$.sh
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51 as_unset=unset
52 else
53 as_unset=false
57 # Find who we are. Look in the path if we contain no path at all
58 # relative or not.
59 case $0 in
60 *[\\/]* ) as_myself=$0 ;;
61 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62 for as_dir in $PATH
64 IFS=$as_save_IFS
65 test -z "$as_dir" && as_dir=.
66 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
67 done
70 esac
71 # We did not find ourselves, most probably we were run as `sh COMMAND'
72 # in which case we are not to be found in the path.
73 if test "x$as_myself" = x; then
74 as_myself=$0
76 if test ! -f "$as_myself"; then
77 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
78 { (exit 1); exit 1; }; }
81 # Work around bugs in pre-3.0 UWIN ksh.
82 $as_unset ENV MAIL MAILPATH
83 PS1='$ '
84 PS2='> '
85 PS4='+ '
87 # NLS nuisances.
88 for as_var in \
89 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
90 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
91 LC_TELEPHONE LC_TIME
93 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
94 eval $as_var=C; export $as_var
95 else
96 $as_unset $as_var
98 done
100 # Required to use basename.
101 if expr a : '\(a\)' >/dev/null 2>&1; then
102 as_expr=expr
103 else
104 as_expr=false
107 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
108 as_basename=basename
109 else
110 as_basename=false
114 # Name of the executable.
115 as_me=`$as_basename "$0" ||
116 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117 X"$0" : 'X\(//\)$' \| \
118 X"$0" : 'X\(/\)$' \| \
119 . : '\(.\)' 2>/dev/null ||
120 echo X/"$0" |
121 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
122 /^X\/\(\/\/\)$/{ s//\1/; q; }
123 /^X\/\(\/\).*/{ s//\1/; q; }
124 s/.*/./; q'`
128 if test "x$CONFIG_SHELL" = x; then
129 if (eval ":") 2>/dev/null; then
130 as_have_required=yes
131 else
132 as_have_required=no
135 if test $as_have_required = yes && (eval ":
136 (func_return () {
137 (exit \$1)
139 func_success () {
140 func_return 0
142 func_failure () {
143 func_return 1
145 func_ret_success () {
146 return 0
148 func_ret_failure () {
149 return 1
152 exitcode=0
153 if func_success; then
155 else
156 exitcode=1
157 echo func_failure succeeded.
160 if func_failure; then
161 exitcode=1
162 echo func_success failed.
165 if func_ret_success; then
167 else
168 exitcode=1
169 echo func_ret_success failed.
172 if func_ret_failure; then
173 exitcode=1
174 echo func_ret_failure succeeded.
177 test \$exitcode = 0) || { (exit 1); exit 1; }
180 as_lineno_1=\$LINENO
181 as_lineno_2=\$LINENO
182 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
183 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
184 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
185 ") 2> /dev/null; then
187 else
188 as_candidate_shells="$SHELL"
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 IFS=$as_save_IFS
193 test -z "$as_dir" && as_dir=.
194 case $as_dir in
196 for as_base in sh bash ksh sh5; do
197 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
198 done
199 esac
200 done
203 for as_shell in $as_candidate_shells; do
204 if { $as_shell 2> /dev/null <<\_ASEOF
205 # Be Bourne compatible
206 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
207 emulate sh
208 NULLCMD=:
209 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
210 # is contrary to our usage. Disable this feature.
211 alias -g '${1+"$@"}'='"$@"'
212 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
213 set -o posix
215 DUALCASE=1; export DUALCASE # for MKS sh
218 _ASEOF
219 }; then
220 CONFIG_SHELL=$as_shell
221 as_have_required=yes
222 if { $as_shell 2> /dev/null <<\_ASEOF
223 # Be Bourne compatible
224 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
225 emulate sh
226 NULLCMD=:
227 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
228 # is contrary to our usage. Disable this feature.
229 alias -g '${1+"$@"}'='"$@"'
230 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
231 set -o posix
233 DUALCASE=1; export DUALCASE # for MKS sh
236 (func_return () {
237 (exit $1)
239 func_success () {
240 func_return 0
242 func_failure () {
243 func_return 1
245 func_ret_success () {
246 return 0
248 func_ret_failure () {
249 return 1
252 exitcode=0
253 if func_success; then
255 else
256 exitcode=1
257 echo func_failure succeeded.
260 if func_failure; then
261 exitcode=1
262 echo func_success failed.
265 if func_ret_success; then
267 else
268 exitcode=1
269 echo func_ret_success failed.
272 if func_ret_failure; then
273 exitcode=1
274 echo func_ret_failure succeeded.
277 test $exitcode = 0) || { (exit 1); exit 1; }
280 as_lineno_1=$LINENO
281 as_lineno_2=$LINENO
282 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
283 test "x$as_lineno_1" != "x$as_lineno_2" &&
284 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
286 _ASEOF
287 }; then
288 break
293 done
295 if test "x$CONFIG_SHELL" != x; then
296 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
297 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
298 export CONFIG_SHELL
299 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
303 if test $as_have_required = no; then
304 echo This script requires a shell more modern than all the
305 echo shells that I found on your system. Please install a
306 echo modern shell, or manually run the script under such a
307 echo shell if you do have one.
308 { (exit 1); exit 1; }
318 (eval "func_return () {
319 (exit \$1)
321 func_success () {
322 func_return 0
324 func_failure () {
325 func_return 1
327 func_ret_success () {
328 return 0
330 func_ret_failure () {
331 return 1
334 exitcode=0
335 if func_success; then
337 else
338 exitcode=1
339 echo func_failure succeeded.
342 if func_failure; then
343 exitcode=1
344 echo func_success failed.
347 if func_ret_success; then
349 else
350 exitcode=1
351 echo func_ret_success failed.
354 if func_ret_failure; then
355 exitcode=1
356 echo func_ret_failure succeeded.
359 test \$exitcode = 0") || {
360 echo No shell found that supports shell functions.
361 echo Please tell autoconf@gnu.org about your system,
362 echo including any error possibly output before this
363 echo message
368 as_lineno_1=$LINENO
369 as_lineno_2=$LINENO
370 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
371 test "x$as_lineno_1" != "x$as_lineno_2" &&
372 test "x$as_lineno_3" = "x$as_lineno_2" || {
374 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
375 # uniformly replaced by the line number. The first 'sed' inserts a
376 # line-number line after each line using $LINENO; the second 'sed'
377 # does the real work. The second script uses 'N' to pair each
378 # line-number line with the line containing $LINENO, and appends
379 # trailing '-' during substitution so that $LINENO is not a special
380 # case at line end.
381 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
382 # scripts with optimization help from Paolo Bonzini. Blame Lee
383 # E. McMahon (1931-1989) for sed's syntax. :-)
384 sed -n '
386 /[$]LINENO/=
387 ' <$as_myself |
388 sed '
389 s,[$]LINENO.*,&-,
390 t lineno
392 : lineno
394 : loop
395 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
396 t loop
397 s,-\n.*,,
398 ' >$as_me.lineno &&
399 chmod +x $as_me.lineno ||
400 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
401 { (exit 1); exit 1; }; }
403 # Don't try to exec as it changes $[0], causing all sort of problems
404 # (the dirname of $[0] is not the place where we might find the
405 # original and so on. Autoconf is especially sensible to this).
406 . ./$as_me.lineno
407 # Exit status is that of the last command.
408 exit
412 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
413 *c*,-n*) ECHO_N= ECHO_C='
414 ' ECHO_T=' ' ;;
415 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
416 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
417 esac
419 if expr a : '\(a\)' >/dev/null 2>&1; then
420 as_expr=expr
421 else
422 as_expr=false
425 rm -f conf$$ conf$$.exe conf$$.file
426 echo >conf$$.file
427 if ln -s conf$$.file conf$$ 2>/dev/null; then
428 # We could just check for DJGPP; but this test a) works b) is more generic
429 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
430 if test -f conf$$.exe; then
431 # Don't use ln at all; we don't have any links
432 as_ln_s='cp -p'
433 else
434 as_ln_s='ln -s'
436 elif ln conf$$.file conf$$ 2>/dev/null; then
437 as_ln_s=ln
438 else
439 as_ln_s='cp -p'
441 rm -f conf$$ conf$$.exe conf$$.file
443 if mkdir -p . 2>/dev/null; then
444 as_mkdir_p=:
445 else
446 test -d ./-p && rmdir ./-p
447 as_mkdir_p=false
450 as_executable_p="test -f"
452 # Sed expression to map a string onto a valid CPP name.
453 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
455 # Sed expression to map a string onto a valid variable name.
456 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
459 # IFS
460 # We need space, tab and new line, in precisely that order.
461 as_nl='
463 IFS=" $as_nl"
465 # CDPATH.
466 $as_unset CDPATH
469 # Name of the host.
470 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
471 # so uname gets run too.
472 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
474 exec 6>&1
477 # Initializations.
479 ac_default_prefix=/usr/local
480 ac_config_libobj_dir=.
481 cross_compiling=no
482 subdirs=
483 MFLAGS=
484 MAKEFLAGS=
485 SHELL=${CONFIG_SHELL-/bin/sh}
487 # Maximum number of lines to put in a shell here document.
488 # This variable seems obsolete. It should probably be removed, and
489 # only ac_max_sed_lines should be used.
490 : ${ac_max_here_lines=38}
492 # Identity of this package.
493 PACKAGE_NAME='GNU Autoconf'
494 PACKAGE_TARNAME='autoconf'
495 PACKAGE_VERSION='2.59a'
496 PACKAGE_STRING='GNU Autoconf 2.59a'
497 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
499 ac_unique_file="ChangeLog"
500 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'
501 ac_subst_files=''
503 # Initialize some variables set by options.
504 ac_init_help=
505 ac_init_version=false
506 # The variables have the same names as the options, with
507 # dashes changed to underlines.
508 cache_file=/dev/null
509 exec_prefix=NONE
510 no_create=
511 no_recursion=
512 prefix=NONE
513 program_prefix=NONE
514 program_suffix=NONE
515 program_transform_name=s,x,x,
516 silent=
517 site=
518 srcdir=
519 verbose=
520 x_includes=NONE
521 x_libraries=NONE
523 # Installation directory options.
524 # These are left unexpanded so users can "make install exec_prefix=/foo"
525 # and all the variables that are supposed to be based on exec_prefix
526 # by default will actually change.
527 # Use braces instead of parens because sh, perl, etc. also accept them.
528 bindir='${exec_prefix}/bin'
529 sbindir='${exec_prefix}/sbin'
530 libexecdir='${exec_prefix}/libexec'
531 datadir='${prefix}/share'
532 sysconfdir='${prefix}/etc'
533 sharedstatedir='${prefix}/com'
534 localstatedir='${prefix}/var'
535 libdir='${exec_prefix}/lib'
536 includedir='${prefix}/include'
537 oldincludedir='/usr/include'
538 infodir='${prefix}/info'
539 mandir='${prefix}/man'
541 ac_prev=
542 for ac_option
544 # If the previous option needs an argument, assign it.
545 if test -n "$ac_prev"; then
546 eval "$ac_prev=\$ac_option"
547 ac_prev=
548 continue
551 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
553 # Accept the important Cygnus configure options, so we can diagnose typos.
555 case $ac_option in
557 -bindir | --bindir | --bindi | --bind | --bin | --bi)
558 ac_prev=bindir ;;
559 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
560 bindir=$ac_optarg ;;
562 -build | --build | --buil | --bui | --bu)
563 ac_prev=build_alias ;;
564 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
565 build_alias=$ac_optarg ;;
567 -cache-file | --cache-file | --cache-fil | --cache-fi \
568 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
569 ac_prev=cache_file ;;
570 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
571 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
572 cache_file=$ac_optarg ;;
574 --config-cache | -C)
575 cache_file=config.cache ;;
577 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
578 ac_prev=datadir ;;
579 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
580 | --da=*)
581 datadir=$ac_optarg ;;
583 -disable-* | --disable-*)
584 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
585 # Reject names that are not valid shell variable names.
586 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
587 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
588 { (exit 1); exit 1; }; }
589 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
590 eval "enable_$ac_feature=no" ;;
592 -enable-* | --enable-*)
593 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
596 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
597 { (exit 1); exit 1; }; }
598 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
599 case $ac_option in
600 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 *) ac_optarg=yes ;;
602 esac
603 eval "enable_$ac_feature='$ac_optarg'" ;;
605 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
606 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
607 | --exec | --exe | --ex)
608 ac_prev=exec_prefix ;;
609 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
610 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
611 | --exec=* | --exe=* | --ex=*)
612 exec_prefix=$ac_optarg ;;
614 -gas | --gas | --ga | --g)
615 # Obsolete; use --with-gas.
616 with_gas=yes ;;
618 -help | --help | --hel | --he | -h)
619 ac_init_help=long ;;
620 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
621 ac_init_help=recursive ;;
622 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
623 ac_init_help=short ;;
625 -host | --host | --hos | --ho)
626 ac_prev=host_alias ;;
627 -host=* | --host=* | --hos=* | --ho=*)
628 host_alias=$ac_optarg ;;
630 -includedir | --includedir | --includedi | --included | --include \
631 | --includ | --inclu | --incl | --inc)
632 ac_prev=includedir ;;
633 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
634 | --includ=* | --inclu=* | --incl=* | --inc=*)
635 includedir=$ac_optarg ;;
637 -infodir | --infodir | --infodi | --infod | --info | --inf)
638 ac_prev=infodir ;;
639 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
640 infodir=$ac_optarg ;;
642 -libdir | --libdir | --libdi | --libd)
643 ac_prev=libdir ;;
644 -libdir=* | --libdir=* | --libdi=* | --libd=*)
645 libdir=$ac_optarg ;;
647 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
648 | --libexe | --libex | --libe)
649 ac_prev=libexecdir ;;
650 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
651 | --libexe=* | --libex=* | --libe=*)
652 libexecdir=$ac_optarg ;;
654 -localstatedir | --localstatedir | --localstatedi | --localstated \
655 | --localstate | --localstat | --localsta | --localst \
656 | --locals | --local | --loca | --loc | --lo)
657 ac_prev=localstatedir ;;
658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
659 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
660 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
661 localstatedir=$ac_optarg ;;
663 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
664 ac_prev=mandir ;;
665 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
666 mandir=$ac_optarg ;;
668 -nfp | --nfp | --nf)
669 # Obsolete; use --without-fp.
670 with_fp=no ;;
672 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
673 | --no-cr | --no-c | -n)
674 no_create=yes ;;
676 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
677 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
678 no_recursion=yes ;;
680 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
681 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
682 | --oldin | --oldi | --old | --ol | --o)
683 ac_prev=oldincludedir ;;
684 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
685 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
686 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
687 oldincludedir=$ac_optarg ;;
689 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
690 ac_prev=prefix ;;
691 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
692 prefix=$ac_optarg ;;
694 -program-prefix | --program-prefix | --program-prefi | --program-pref \
695 | --program-pre | --program-pr | --program-p)
696 ac_prev=program_prefix ;;
697 -program-prefix=* | --program-prefix=* | --program-prefi=* \
698 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
699 program_prefix=$ac_optarg ;;
701 -program-suffix | --program-suffix | --program-suffi | --program-suff \
702 | --program-suf | --program-su | --program-s)
703 ac_prev=program_suffix ;;
704 -program-suffix=* | --program-suffix=* | --program-suffi=* \
705 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
706 program_suffix=$ac_optarg ;;
708 -program-transform-name | --program-transform-name \
709 | --program-transform-nam | --program-transform-na \
710 | --program-transform-n | --program-transform- \
711 | --program-transform | --program-transfor \
712 | --program-transfo | --program-transf \
713 | --program-trans | --program-tran \
714 | --progr-tra | --program-tr | --program-t)
715 ac_prev=program_transform_name ;;
716 -program-transform-name=* | --program-transform-name=* \
717 | --program-transform-nam=* | --program-transform-na=* \
718 | --program-transform-n=* | --program-transform-=* \
719 | --program-transform=* | --program-transfor=* \
720 | --program-transfo=* | --program-transf=* \
721 | --program-trans=* | --program-tran=* \
722 | --progr-tra=* | --program-tr=* | --program-t=*)
723 program_transform_name=$ac_optarg ;;
725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
726 | -silent | --silent | --silen | --sile | --sil)
727 silent=yes ;;
729 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
730 ac_prev=sbindir ;;
731 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
732 | --sbi=* | --sb=*)
733 sbindir=$ac_optarg ;;
735 -sharedstatedir | --sharedstatedir | --sharedstatedi \
736 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
737 | --sharedst | --shareds | --shared | --share | --shar \
738 | --sha | --sh)
739 ac_prev=sharedstatedir ;;
740 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
741 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
742 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
743 | --sha=* | --sh=*)
744 sharedstatedir=$ac_optarg ;;
746 -site | --site | --sit)
747 ac_prev=site ;;
748 -site=* | --site=* | --sit=*)
749 site=$ac_optarg ;;
751 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
752 ac_prev=srcdir ;;
753 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
754 srcdir=$ac_optarg ;;
756 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
757 | --syscon | --sysco | --sysc | --sys | --sy)
758 ac_prev=sysconfdir ;;
759 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
760 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
761 sysconfdir=$ac_optarg ;;
763 -target | --target | --targe | --targ | --tar | --ta | --t)
764 ac_prev=target_alias ;;
765 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
766 target_alias=$ac_optarg ;;
768 -v | -verbose | --verbose | --verbos | --verbo | --verb)
769 verbose=yes ;;
771 -version | --version | --versio | --versi | --vers | -V)
772 ac_init_version=: ;;
774 -with-* | --with-*)
775 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
778 { echo "$as_me: error: invalid package name: $ac_package" >&2
779 { (exit 1); exit 1; }; }
780 ac_package=`echo $ac_package| sed 's/-/_/g'`
781 case $ac_option in
782 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
783 *) ac_optarg=yes ;;
784 esac
785 eval "with_$ac_package='$ac_optarg'" ;;
787 -without-* | --without-*)
788 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid package name: $ac_package" >&2
792 { (exit 1); exit 1; }; }
793 ac_package=`echo $ac_package | sed 's/-/_/g'`
794 eval "with_$ac_package=no" ;;
796 --x)
797 # Obsolete; use --with-x.
798 with_x=yes ;;
800 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
801 | --x-incl | --x-inc | --x-in | --x-i)
802 ac_prev=x_includes ;;
803 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
804 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
805 x_includes=$ac_optarg ;;
807 -x-libraries | --x-libraries | --x-librarie | --x-librari \
808 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
809 ac_prev=x_libraries ;;
810 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
811 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
812 x_libraries=$ac_optarg ;;
814 -*) { echo "$as_me: error: unrecognized option: $ac_option
815 Try \`$0 --help' for more information." >&2
816 { (exit 1); exit 1; }; }
819 *=*)
820 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
823 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
824 { (exit 1); exit 1; }; }
825 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
826 eval "$ac_envvar='$ac_optarg'"
827 export $ac_envvar ;;
830 # FIXME: should be removed in autoconf 3.0.
831 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
832 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
834 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
837 esac
838 done
840 if test -n "$ac_prev"; then
841 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
842 { echo "$as_me: error: missing argument to $ac_option" >&2
843 { (exit 1); exit 1; }; }
846 # Be sure to have absolute paths.
847 for ac_var in exec_prefix prefix
849 eval ac_val=$`echo $ac_var`
850 case $ac_val in
851 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
852 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
853 { (exit 1); exit 1; }; };;
854 esac
855 done
857 # Be sure to have absolute paths.
858 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
859 localstatedir libdir includedir oldincludedir infodir mandir
861 eval ac_val=$`echo $ac_var`
862 case $ac_val in
863 [\\/$]* | ?:[\\/]* ) ;;
864 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
865 { (exit 1); exit 1; }; };;
866 esac
867 done
869 # There might be people who depend on the old broken behavior: `$host'
870 # used to hold the argument of --host etc.
871 # FIXME: To remove some day.
872 build=$build_alias
873 host=$host_alias
874 target=$target_alias
876 # FIXME: To remove some day.
877 if test "x$host_alias" != x; then
878 if test "x$build_alias" = x; then
879 cross_compiling=maybe
880 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
881 If a cross compiler is detected then cross compile mode will be used." >&2
882 elif test "x$build_alias" != "x$host_alias"; then
883 cross_compiling=yes
887 ac_tool_prefix=
888 test -n "$host_alias" && ac_tool_prefix=$host_alias-
890 test "$silent" = yes && exec 6>/dev/null
893 # Find the source files, if location was not specified.
894 if test -z "$srcdir"; then
895 ac_srcdir_defaulted=yes
896 # Try the directory containing this script, then its parent.
897 ac_confdir=`(dirname "$0") 2>/dev/null ||
898 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
899 X"$0" : 'X\(//\)[^/]' \| \
900 X"$0" : 'X\(//\)$' \| \
901 X"$0" : 'X\(/\)' \| \
902 . : '\(.\)' 2>/dev/null ||
903 echo X"$0" |
904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
905 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
906 /^X\(\/\/\)$/{ s//\1/; q; }
907 /^X\(\/\).*/{ s//\1/; q; }
908 s/.*/./; q'`
909 srcdir=$ac_confdir
910 if test ! -r $srcdir/$ac_unique_file; then
911 srcdir=..
913 else
914 ac_srcdir_defaulted=no
916 if test ! -r $srcdir/$ac_unique_file; then
917 if test "$ac_srcdir_defaulted" = yes; then
918 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
919 { (exit 1); exit 1; }; }
920 else
921 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
922 { (exit 1); exit 1; }; }
925 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
926 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
927 { (exit 1); exit 1; }; }
928 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
929 ac_env_build_alias_set=${build_alias+set}
930 ac_env_build_alias_value=$build_alias
931 ac_cv_env_build_alias_set=${build_alias+set}
932 ac_cv_env_build_alias_value=$build_alias
933 ac_env_host_alias_set=${host_alias+set}
934 ac_env_host_alias_value=$host_alias
935 ac_cv_env_host_alias_set=${host_alias+set}
936 ac_cv_env_host_alias_value=$host_alias
937 ac_env_target_alias_set=${target_alias+set}
938 ac_env_target_alias_value=$target_alias
939 ac_cv_env_target_alias_set=${target_alias+set}
940 ac_cv_env_target_alias_value=$target_alias
941 ac_env_EMACS_set=${EMACS+set}
942 ac_env_EMACS_value=$EMACS
943 ac_cv_env_EMACS_set=${EMACS+set}
944 ac_cv_env_EMACS_value=$EMACS
945 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
946 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
947 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
948 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
956 cat <<_ACEOF
957 \`configure' configures GNU Autoconf 2.59a to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
966 Configuration:
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
977 _ACEOF
979 cat <<_ACEOF
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
982 [$ac_default_prefix]
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
984 [PREFIX]
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1006 _ACEOF
1008 cat <<\_ACEOF
1010 Program names:
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1014 _ACEOF
1017 if test -n "$ac_init_help"; then
1018 case $ac_init_help in
1019 short | recursive ) echo "Configuration of GNU Autoconf 2.59a:";;
1020 esac
1021 cat <<\_ACEOF
1023 Optional Packages:
1024 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1025 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1026 --with-lispdir override the default lisp directory
1028 Some influential environment variables:
1029 EMACS the Emacs editor command
1030 EMACSLOADPATH
1031 the Emacs library search path
1033 Use these variables to override the choices made by `configure' or to help
1034 it to find libraries and programs with nonstandard names/locations.
1036 Report bugs to <bug-autoconf@gnu.org>.
1037 _ACEOF
1040 if test "$ac_init_help" = "recursive"; then
1041 # If there are subdirs, report their specific --help.
1042 ac_popdir=`pwd`
1043 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1044 test -d $ac_dir || continue
1045 ac_builddir=.
1047 if test "$ac_dir" != .; then
1048 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1049 # A "../" for each directory in $ac_dir_suffix.
1050 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051 else
1052 ac_dir_suffix= ac_top_builddir=
1055 case $srcdir in
1056 .) # No --srcdir option. We are building in place.
1057 ac_srcdir=.
1058 if test -z "$ac_top_builddir"; then
1059 ac_top_srcdir=.
1060 else
1061 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1062 fi ;;
1063 [\\/]* | ?:[\\/]* ) # Absolute path.
1064 ac_srcdir=$srcdir$ac_dir_suffix;
1065 ac_top_srcdir=$srcdir ;;
1066 *) # Relative path.
1067 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1068 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1069 esac
1071 # Do not use `cd foo && pwd` to compute absolute paths, because
1072 # the directories may not exist.
1073 case `pwd` in
1074 .) ac_abs_builddir="$ac_dir";;
1076 case "$ac_dir" in
1077 .) ac_abs_builddir=`pwd`;;
1078 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1079 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1080 esac;;
1081 esac
1082 case $ac_abs_builddir in
1083 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1085 case ${ac_top_builddir}. in
1086 .) ac_abs_top_builddir=$ac_abs_builddir;;
1087 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1089 esac;;
1090 esac
1091 case $ac_abs_builddir in
1092 .) ac_abs_srcdir=$ac_srcdir;;
1094 case $ac_srcdir in
1095 .) ac_abs_srcdir=$ac_abs_builddir;;
1096 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1097 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1098 esac;;
1099 esac
1100 case $ac_abs_builddir in
1101 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1103 case $ac_top_srcdir in
1104 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1105 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1107 esac;;
1108 esac
1110 cd $ac_dir
1111 # Check for guested configure; otherwise get Cygnus style configure.
1112 if test -f $ac_srcdir/configure.gnu; then
1113 echo
1114 $SHELL $ac_srcdir/configure.gnu --help=recursive
1115 elif test -f $ac_srcdir/configure; then
1116 echo
1117 $SHELL $ac_srcdir/configure --help=recursive
1118 elif test -f $ac_srcdir/configure.ac ||
1119 test -f $ac_srcdir/configure.in; then
1120 echo
1121 $ac_configure --help
1122 else
1123 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1125 cd $ac_popdir
1126 done
1129 test -n "$ac_init_help" && exit 0
1130 if $ac_init_version; then
1131 cat <<\_ACEOF
1132 GNU Autoconf configure 2.59a
1133 generated by GNU Autoconf 2.59a
1135 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1136 2003, 2004 Free Software Foundation, Inc.
1137 This configure script is free software; the Free Software Foundation
1138 gives unlimited permission to copy, distribute and modify it.
1139 _ACEOF
1140 exit 0
1142 exec 5>config.log
1143 cat >&5 <<_ACEOF
1144 This file contains any messages produced by compilers while
1145 running configure, to aid debugging if configure makes a mistake.
1147 It was created by GNU Autoconf $as_me 2.59a, which was
1148 generated by GNU Autoconf 2.59a. Invocation command line was
1150 $ $0 $@
1152 _ACEOF
1154 cat <<_ASUNAME
1155 ## --------- ##
1156 ## Platform. ##
1157 ## --------- ##
1159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1171 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1176 _ASUNAME
1178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1179 for as_dir in $PATH
1181 IFS=$as_save_IFS
1182 test -z "$as_dir" && as_dir=.
1183 echo "PATH: $as_dir"
1184 done
1186 } >&5
1188 cat >&5 <<_ACEOF
1191 ## ----------- ##
1192 ## Core tests. ##
1193 ## ----------- ##
1195 _ACEOF
1198 # Keep a trace of the command line.
1199 # Strip out --no-create and --no-recursion so they do not pile up.
1200 # Strip out --silent because we don't want to record it for future runs.
1201 # Also quote any args containing shell meta-characters.
1202 # Make two passes to allow for proper duplicate-argument suppression.
1203 ac_configure_args=
1204 ac_configure_args0=
1205 ac_configure_args1=
1206 ac_sep=
1207 ac_must_keep_next=false
1208 for ac_pass in 1 2
1210 for ac_arg
1212 case $ac_arg in
1213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1215 | -silent | --silent | --silen | --sile | --sil)
1216 continue ;;
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1219 esac
1220 case $ac_pass in
1221 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1223 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1224 if test $ac_must_keep_next = true; then
1225 ac_must_keep_next=false # Got value, back to normal.
1226 else
1227 case $ac_arg in
1228 *=* | --config-cache | -C | -disable-* | --disable-* \
1229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1231 | -with-* | --with-* | -without-* | --without-* | --x)
1232 case "$ac_configure_args0 " in
1233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1234 esac
1236 -* ) ac_must_keep_next=true ;;
1237 esac
1239 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1240 # Get rid of the leading space.
1241 ac_sep=" "
1243 esac
1244 done
1245 done
1246 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1247 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1249 # When interrupted or exit'd, cleanup temporary files, and complete
1250 # config.log. We remove comments because anyway the quotes in there
1251 # would cause problems or look ugly.
1252 # WARNING: Be sure not to use single quotes in there, as some shells,
1253 # such as our DU 5.0 friend, will then `close' the trap.
1254 trap 'exit_status=$?
1255 # Save into config.log some information that might help in debugging.
1257 echo
1259 cat <<\_ASBOX
1260 ## ---------------- ##
1261 ## Cache variables. ##
1262 ## ---------------- ##
1263 _ASBOX
1264 echo
1265 # The following way of writing the cache mishandles newlines in values,
1267 (set) 2>&1 |
1268 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1269 *ac_space=\ *)
1270 sed -n \
1271 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 sed -n \
1276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1278 esac;
1280 echo
1282 cat <<\_ASBOX
1283 ## ----------------- ##
1284 ## Output variables. ##
1285 ## ----------------- ##
1286 _ASBOX
1287 echo
1288 for ac_var in $ac_subst_vars
1290 eval ac_val=$`echo $ac_var`
1291 echo "$ac_var='"'"'$ac_val'"'"'"
1292 done | sort
1293 echo
1295 if test -n "$ac_subst_files"; then
1296 cat <<\_ASBOX
1297 ## ------------- ##
1298 ## Output files. ##
1299 ## ------------- ##
1300 _ASBOX
1301 echo
1302 for ac_var in $ac_subst_files
1304 eval ac_val=$`echo $ac_var`
1305 echo "$ac_var='"'"'$ac_val'"'"'"
1306 done | sort
1307 echo
1310 if test -s confdefs.h; then
1311 cat <<\_ASBOX
1312 ## ----------- ##
1313 ## confdefs.h. ##
1314 ## ----------- ##
1315 _ASBOX
1316 echo
1317 sed "/^$/d" confdefs.h | sort
1318 echo
1320 test "$ac_signal" != 0 &&
1321 echo "$as_me: caught signal $ac_signal"
1322 echo "$as_me: exit $exit_status"
1323 } >&5
1324 rm -f core *.core &&
1325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1326 exit $exit_status
1328 for ac_signal in 1 2 13 15; do
1329 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1330 done
1331 ac_signal=0
1333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1334 rm -f -r conftest* confdefs.h
1335 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1336 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1337 ac_space=' '
1338 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
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 _ACEOF
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 _ACEOF
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 _ACEOF
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 _ACEOF
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 _ACEOF
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 else
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1381 . "$ac_site_file"
1383 done
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1391 case $cache_file in
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1394 esac
1396 else
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1399 >$cache_file
1402 # Check that the precious variables saved in the cache have kept the same
1403 # value.
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1412 set,)
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1416 ,set)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,);;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1430 fi;;
1431 esac
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1434 case $ac_new_val in
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1438 esac
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 esac
1444 done
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1453 ac_ext=c
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 ac_aux_dir=
1488 for ac_dir in config $srcdir/config; do
1489 if test -f $ac_dir/install-sh; then
1490 ac_aux_dir=$ac_dir
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 break
1493 elif test -f $ac_dir/install.sh; then
1494 ac_aux_dir=$ac_dir
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 break
1497 elif test -f $ac_dir/shtool; then
1498 ac_aux_dir=$ac_dir
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1500 break
1502 done
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 ac_config_files="$ac_config_files config/Makefile"
1515 am__api_version="1.8"
1516 # Find a good install program. We prefer a C program (faster),
1517 # so one script is as good as another. But avoid the broken or
1518 # incompatible versions:
1519 # SysV /etc/install, /usr/sbin/install
1520 # SunOS /usr/etc/install
1521 # IRIX /sbin/install
1522 # AIX /bin/install
1523 # AmigaOS /C/install, which installs bootblocks on floppy discs
1524 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1525 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1526 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1527 # OS/2's system install, which has a completely different semantic
1528 # ./install, which can be erroneously created by make from ./install.sh.
1529 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1530 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1531 if test -z "$INSTALL"; then
1532 if test "${ac_cv_path_install+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1534 else
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 for as_dir in $PATH
1538 IFS=$as_save_IFS
1539 test -z "$as_dir" && as_dir=.
1540 # Account for people who put trailing slashes in PATH elements.
1541 case $as_dir/ in
1542 ./ | .// | /cC/* | \
1543 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1544 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1545 /usr/ucb/* ) ;;
1547 # OSF1 and SCO ODT 3.0 have their own names for install.
1548 # Don't use installbsd from OSF since it installs stuff as root
1549 # by default.
1550 for ac_prog in ginstall scoinst install; do
1551 for ac_exec_ext in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1553 if test $ac_prog = install &&
1554 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1555 # AIX install. It has an incompatible calling convention.
1557 elif test $ac_prog = install &&
1558 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1559 # program-specific install script used by HP pwplus--don't use.
1561 else
1562 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1563 break 3
1566 done
1567 done
1569 esac
1570 done
1574 if test "${ac_cv_path_install+set}" = set; then
1575 INSTALL=$ac_cv_path_install
1576 else
1577 # As a last resort, use the slow shell script. We don't cache a
1578 # path for INSTALL within a source directory, because that will
1579 # break other packages using the cache if that directory is
1580 # removed, or if the path is relative.
1581 INSTALL=$ac_install_sh
1584 echo "$as_me:$LINENO: result: $INSTALL" >&5
1585 echo "${ECHO_T}$INSTALL" >&6
1587 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1588 # It thinks the first close brace ends the variable substitution.
1589 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1591 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1593 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1595 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1596 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1597 # Just in case
1598 sleep 1
1599 echo timestamp > conftest.file
1600 # Do `set' in a subshell so we don't clobber the current shell's
1601 # arguments. Must try -L first in case configure is actually a
1602 # symlink; some systems play weird games with the mod time of symlinks
1603 # (eg FreeBSD returns the mod time of the symlink's containing
1604 # directory).
1605 if (
1606 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1607 if test "$*" = "X"; then
1608 # -L didn't work.
1609 set X `ls -t $srcdir/configure conftest.file`
1611 rm -f conftest.file
1612 if test "$*" != "X $srcdir/configure conftest.file" \
1613 && test "$*" != "X conftest.file $srcdir/configure"; then
1615 # If neither matched, then we have a broken ls. This can happen
1616 # if, for instance, CONFIG_SHELL is bash and it inherits a
1617 # broken ls alias from the environment. This has actually
1618 # happened. Such a system could not be considered "sane".
1619 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1620 alias in your environment" >&5
1621 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1622 alias in your environment" >&2;}
1623 { (exit 1); exit 1; }; }
1626 test "$2" = conftest.file
1628 then
1629 # Ok.
1631 else
1632 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1633 Check your system clock" >&5
1634 echo "$as_me: error: newly created file is older than distributed files!
1635 Check your system clock" >&2;}
1636 { (exit 1); exit 1; }; }
1638 echo "$as_me:$LINENO: result: yes" >&5
1639 echo "${ECHO_T}yes" >&6
1640 test "$program_prefix" != NONE &&
1641 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1642 # Use a double $ so make ignores it.
1643 test "$program_suffix" != NONE &&
1644 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1645 # Double any \ or $. echo might interpret backslashes.
1646 # By default was `s,x,x', remove it if useless.
1647 cat <<\_ACEOF >conftest.sed
1648 s/[\\$]/&&/g;s/;s,x,x,$//
1649 _ACEOF
1650 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1651 rm -f conftest.sed
1653 # expand $ac_aux_dir to an absolute path
1654 am_aux_dir=`cd $ac_aux_dir && pwd`
1656 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1657 # Use eval to expand $SHELL
1658 if eval "$MISSING --run true"; then
1659 am_missing_run="$MISSING --run "
1660 else
1661 am_missing_run=
1662 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1663 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1666 if mkdir -p -- . 2>/dev/null; then
1667 # Keeping the `.' argument allows $(mkdir_p) to be used without
1668 # argument. Indeed, we sometimes output rules like
1669 # $(mkdir_p) $(somedir)
1670 # where $(somedir) is conditionally defined.
1671 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1672 # expensive solution, as it forces Make to start a sub-shell.)
1673 mkdir_p='mkdir -p -- .'
1674 else
1675 # On NextStep and OpenStep, the `mkdir' command does not
1676 # recognize any option. It will interpret all options as
1677 # directories to create, and then abort because `.' already
1678 # exists.
1679 for d in ./-p ./--;
1681 test -d $d && rmdir $d
1682 done
1683 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1684 if test -f "$ac_aux_dir/mkinstalldirs"; then
1685 mkdir_p='$(mkinstalldirs)'
1686 else
1687 mkdir_p='$(install_sh) -d'
1691 for ac_prog in gawk mawk nawk awk
1693 # Extract the first word of "$ac_prog", so it can be a program name with args.
1694 set dummy $ac_prog; ac_word=$2
1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697 if test "${ac_cv_prog_AWK+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1699 else
1700 if test -n "$AWK"; then
1701 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1702 else
1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 for as_dir in $PATH
1706 IFS=$as_save_IFS
1707 test -z "$as_dir" && as_dir=.
1708 for ac_exec_ext in '' $ac_executable_extensions; do
1709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710 ac_cv_prog_AWK="$ac_prog"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1712 break 2
1714 done
1715 done
1719 AWK=$ac_cv_prog_AWK
1720 if test -n "$AWK"; then
1721 echo "$as_me:$LINENO: result: $AWK" >&5
1722 echo "${ECHO_T}$AWK" >&6
1723 else
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1728 test -n "$AWK" && break
1729 done
1731 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1732 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1733 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1734 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 else
1737 cat >conftest.make <<\_ACEOF
1738 all:
1739 @echo 'ac_maketemp="$(MAKE)"'
1740 _ACEOF
1741 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1742 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1743 if test -n "$ac_maketemp"; then
1744 eval ac_cv_prog_make_${ac_make}_set=yes
1745 else
1746 eval ac_cv_prog_make_${ac_make}_set=no
1748 rm -f conftest.make
1750 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1751 echo "$as_me:$LINENO: result: yes" >&5
1752 echo "${ECHO_T}yes" >&6
1753 SET_MAKE=
1754 else
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1757 SET_MAKE="MAKE=${MAKE-make}"
1760 rm -rf .tst 2>/dev/null
1761 mkdir .tst 2>/dev/null
1762 if test -d .tst; then
1763 am__leading_dot=.
1764 else
1765 am__leading_dot=_
1767 rmdir .tst 2>/dev/null
1769 # test to see if srcdir already configured
1770 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1771 test -f $srcdir/config.status; then
1772 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1773 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1774 { (exit 1); exit 1; }; }
1777 # test whether we have cygpath
1778 if test -z "$CYGPATH_W"; then
1779 if (cygpath --version) >/dev/null 2>/dev/null; then
1780 CYGPATH_W='cygpath -w'
1781 else
1782 CYGPATH_W=echo
1787 # Define the identity of the package.
1788 PACKAGE='autoconf'
1789 VERSION='2.59a'
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE "$PACKAGE"
1794 _ACEOF
1797 cat >>confdefs.h <<_ACEOF
1798 #define VERSION "$VERSION"
1799 _ACEOF
1801 # Some tools Automake needs.
1803 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1806 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1809 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1812 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1815 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1818 AMTAR=${AMTAR-"${am_missing_run}tar"}
1820 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1822 # Installed binaries are usually stripped using `strip' when the user
1823 # run `make install-strip'. However `strip' might not be the right
1824 # tool to use in cross-compilation environments, therefore Automake
1825 # will honor the `STRIP' environment variable to overrule this program.
1826 if test "$cross_compiling" != no; then
1827 if test -n "$ac_tool_prefix"; then
1828 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1829 set dummy ${ac_tool_prefix}strip; ac_word=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_STRIP+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 else
1835 if test -n "$STRIP"; then
1836 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1837 else
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
1849 done
1850 done
1854 STRIP=$ac_cv_prog_STRIP
1855 if test -n "$STRIP"; then
1856 echo "$as_me:$LINENO: result: $STRIP" >&5
1857 echo "${ECHO_T}$STRIP" >&6
1858 else
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1864 if test -z "$ac_cv_prog_STRIP"; then
1865 ac_ct_STRIP=$STRIP
1866 # Extract the first word of "strip", so it can be a program name with args.
1867 set dummy strip; ac_word=$2
1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 else
1873 if test -n "$ac_ct_STRIP"; then
1874 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1875 else
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 for as_dir in $PATH
1879 IFS=$as_save_IFS
1880 test -z "$as_dir" && as_dir=.
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883 ac_cv_prog_ac_ct_STRIP="strip"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 break 2
1887 done
1888 done
1890 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1893 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1894 if test -n "$ac_ct_STRIP"; then
1895 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1896 echo "${ECHO_T}$ac_ct_STRIP" >&6
1897 else
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1902 STRIP=$ac_ct_STRIP
1903 else
1904 STRIP="$ac_cv_prog_STRIP"
1908 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1910 # We need awk for the "check" target. The system "awk" is bad on
1911 # some platforms.
1916 # We use `/bin/sh -n script' to check that there are no syntax errors
1917 # in the scripts. Although incredible, there are /bin/sh that go into
1918 # endless loops with `-n', e.g., SunOS's:
1920 # $ uname -a
1921 # SunOS ondine 4.1.3 2 sun4m unknown
1922 # $ cat endless.sh
1923 # while false
1924 # do
1926 # done
1927 # exit 0
1928 # $ time sh endless.sh
1929 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
1930 # $ time sh -nx endless.sh
1931 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
1933 # So before using `/bin/sh -n' to check our scripts, we first check
1934 # that `/bin/sh -n' is not broken to death.
1936 # A script that never returns. We don't care that it never returns,
1937 # broken /bin/sh loop equally with `false', but it makes it easier to
1938 # test the robustness in a good environment: just remove the `-n'.
1939 echo "$as_me:$LINENO: checking whether sh -n works" >&5
1940 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6
1941 if test "${ac_cv_sh_n_works+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 else
1944 cat > conftest.sh <<_CONFEOF_
1945 while :
1948 done
1949 _CONFEOF_
1951 (/bin/sh -n conftest.sh) &
1952 sleep 2
1953 if kill $! >/dev/null 2>&1; then
1954 # We managed to kill the child, which means that we probably
1955 # can't trust `/bin/sh -n', hence the test failed.
1956 ac_cv_sh_n_works=no
1957 else
1958 ac_cv_sh_n_works=yes
1960 rm conftest.sh
1963 echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
1964 echo "${ECHO_T}$ac_cv_sh_n_works" >&6
1967 # Initialize the test suite and build position independent wrappers.
1968 ac_config_commands="$ac_config_commands tests/atconfig"
1971 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
1973 ac_config_files="$ac_config_files tests/autoconf:tests/wrapper.in"
1975 ac_config_files="$ac_config_files tests/autoheader:tests/wrapper.in"
1977 ac_config_files="$ac_config_files tests/autom4te:tests/wrapper.in"
1979 ac_config_files="$ac_config_files tests/autoreconf:tests/wrapper.in"
1981 ac_config_files="$ac_config_files tests/autoscan:tests/wrapper.in"
1983 ac_config_files="$ac_config_files tests/autoupdate:tests/wrapper.in"
1985 ac_config_files="$ac_config_files tests/ifnames:tests/wrapper.in"
1987 # Extract the first word of "expr", so it can be a program name with args.
1988 set dummy expr; ac_word=$2
1989 echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1991 if test "${ac_cv_path_EXPR+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 else
1994 case $EXPR in
1995 [\\/]* | ?:[\\/]*)
1996 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 for as_dir in $PATH
2002 IFS=$as_save_IFS
2003 test -z "$as_dir" && as_dir=.
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2006 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2008 break 2
2010 done
2011 done
2014 esac
2016 EXPR=$ac_cv_path_EXPR
2018 if test -n "$EXPR"; then
2019 echo "$as_me:$LINENO: result: $EXPR" >&5
2020 echo "${ECHO_T}$EXPR" >&6
2021 else
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2028 ## ---- ##
2029 ## M4. ##
2030 ## ---- ##
2032 # We use a path for GNU m4 so even if users have another m4 first in
2033 # their path, the installer can configure with a path that has GNU m4
2034 # first and get that path embedded in the installed autoconf and
2035 # autoheader scripts.
2036 for ac_prog in gm4 gnum4 m4
2038 # Extract the first word of "$ac_prog", so it can be a program name with args.
2039 set dummy $ac_prog; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_path_M4+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 case $M4 in
2046 [\\/]* | ?:[\\/]*)
2047 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 for as_dir in $PATH
2053 IFS=$as_save_IFS
2054 test -z "$as_dir" && as_dir=.
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2059 break 2
2061 done
2062 done
2065 esac
2067 M4=$ac_cv_path_M4
2069 if test -n "$M4"; then
2070 echo "$as_me:$LINENO: result: $M4" >&5
2071 echo "${ECHO_T}$M4" >&6
2072 else
2073 echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2077 test -n "$M4" && break
2078 done
2079 test -n "$M4" || M4="m4"
2081 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2082 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2083 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086 ac_cv_prog_gnu_m4=no
2087 if test x"$M4" != x; then
2088 case `$M4 --help < /dev/null 2>&1` in
2089 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2090 esac
2093 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2094 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2095 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2096 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2097 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2098 { (exit 1); exit 1; }; }
2101 ## ----------- ##
2102 ## Man pages. ##
2103 ## ----------- ##
2105 ac_config_files="$ac_config_files man/Makefile"
2108 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2112 ## ------ ##
2113 ## Perl. ##
2114 ## ------ ##
2116 # We use a path for perl so the #! line in autoscan will work.
2117 # Extract the first word of "perl", so it can be a program name with args.
2118 set dummy perl; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_path_PERL+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124 case $PERL in
2125 [\\/]* | ?:[\\/]*)
2126 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 for as_dir in $PATH
2132 IFS=$as_save_IFS
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 break 2
2140 done
2141 done
2143 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2145 esac
2147 PERL=$ac_cv_path_PERL
2149 if test -n "$PERL"; then
2150 echo "$as_me:$LINENO: result: $PERL" >&5
2151 echo "${ECHO_T}$PERL" >&6
2152 else
2153 echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2157 if test "$PERL" = no; then
2158 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2159 echo "$as_me: error: perl is not found" >&2;}
2160 { (exit 1); exit 1; }; }
2162 $PERL -e 'require 5.005_03;' || {
2163 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2164 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2165 { (exit 1); exit 1; }; }
2169 ## ------- ##
2170 ## Emacs. ##
2171 ## ------- ##
2173 ac_config_files="$ac_config_files lib/emacs/Makefile"
2175 TEST_EMACS=$EMACS
2176 test x"$TEST_EMACS" = xt && TEST_EMACS=
2177 for ac_prog in emacs xemacs
2179 # Extract the first word of "$ac_prog", so it can be a program name with args.
2180 set dummy $ac_prog; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test -n "$TEST_EMACS"; then
2187 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_TEST_EMACS="$ac_prog"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2200 done
2201 done
2205 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2206 if test -n "$TEST_EMACS"; then
2207 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2208 echo "${ECHO_T}$TEST_EMACS" >&6
2209 else
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2214 test -n "$TEST_EMACS" && break
2215 done
2216 test -n "$TEST_EMACS" || TEST_EMACS="no"
2219 # autoconf-mode.el and autotest-mode.el do not work with older version of
2220 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2221 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2222 # We detect this problem here.
2223 if test "$TEST_EMACS" != no; then
2224 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2225 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
2226 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else
2229 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2230 cat >conftest.el << "EOF"
2231 (defvar broken)
2232 (defun broken-mode () (setq broken-defaults `(broken nil)))
2234 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2235 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2236 ac_status=$?
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; then
2239 ac_cv_prog_emacs_ok=yes
2240 else
2241 ac_cv_prog_emacs_ok=no
2244 rm -f conftest.el conftest.elc
2246 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2247 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
2248 if test $ac_cv_prog_emacs_ok = no; then
2249 TEST_EMACS=no
2255 EMACS=$TEST_EMACS
2258 # If set to t, that means we are running in a shell under Emacs.
2259 # If you have an Emacs named "t", then use the full path.
2260 test x"$EMACS" = xt && EMACS=
2261 for ac_prog in emacs xemacs
2263 # Extract the first word of "$ac_prog", so it can be a program name with args.
2264 set dummy $ac_prog; ac_word=$2
2265 echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267 if test "${ac_cv_prog_EMACS+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 else
2270 if test -n "$EMACS"; then
2271 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2272 else
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 for as_dir in $PATH
2276 IFS=$as_save_IFS
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280 ac_cv_prog_EMACS="$ac_prog"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 break 2
2284 done
2285 done
2289 EMACS=$ac_cv_prog_EMACS
2290 if test -n "$EMACS"; then
2291 echo "$as_me:$LINENO: result: $EMACS" >&5
2292 echo "${ECHO_T}$EMACS" >&6
2293 else
2294 echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6
2298 test -n "$EMACS" && break
2299 done
2300 test -n "$EMACS" || EMACS="no"
2305 # Check whether --with-lispdir or --without-lispdir was given.
2306 if test "${with_lispdir+set}" = set; then
2307 withval="$with_lispdir"
2308 lispdir="$withval"
2309 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2310 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2311 echo "$as_me:$LINENO: result: $lispdir" >&5
2312 echo "${ECHO_T}$lispdir" >&6
2313 else
2315 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2316 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2317 if test "${am_cv_lispdir+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 else
2321 if test $EMACS != "no"; then
2322 if test x${lispdir+set} != xset; then
2323 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2324 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2325 # which is non-obvious for non-emacs users.
2326 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2327 # emacsen earlier and avoid running this altogether.
2328 { (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
2329 ($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
2330 ac_status=$?
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2333 am_cv_lispdir=`sed -n \
2334 -e 's,/$,,' \
2335 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2336 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2337 conftest.out`
2338 rm conftest.out
2341 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2344 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2345 echo "${ECHO_T}$am_cv_lispdir" >&6
2346 lispdir="$am_cv_lispdir"
2353 ## ------------ ##
2354 ## Conclusion. ##
2355 ## ------------ ##
2357 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"
2360 cat >confcache <<\_ACEOF
2361 # This file is a shell script that caches the results of configure
2362 # tests run on this system so they can be shared between configure
2363 # scripts and configure runs, see configure's option --config-cache.
2364 # It is not useful on other systems. If it contains results you don't
2365 # want to keep, you may remove or edit it.
2367 # config.status only pays attention to the cache file if you give it
2368 # the --recheck option to rerun configure.
2370 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2371 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2372 # following values.
2374 _ACEOF
2376 # The following way of writing the cache mishandles newlines in values,
2377 # but we know of no workaround that is simple, portable, and efficient.
2378 # So, don't put newlines in cache variables' values.
2379 # Ultrix sh set writes to stderr and can't be redirected directly,
2380 # and sets the high bit in the cache file unless we assign to the vars.
2382 (set) 2>&1 |
2383 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2384 *ac_space=\ *)
2385 # `set' does not quote correctly, so add quotes (double-quote
2386 # substitution turns \\\\ into \\, and sed turns \\ into \).
2387 sed -n \
2388 "s/'/'\\\\''/g;
2389 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2392 # `set' quotes correctly as required by POSIX, so do not add quotes.
2393 sed -n \
2394 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2396 esac;
2398 sed '
2399 t clear
2400 : clear
2401 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2402 t end
2403 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2404 : end' >>confcache
2405 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2406 if test -w $cache_file; then
2407 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2408 cat confcache >$cache_file
2409 else
2410 echo "not updating unwritable cache $cache_file"
2413 rm -f confcache
2415 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2416 # Let make expand exec_prefix.
2417 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2419 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2420 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2421 # trailing colons and then remove the whole line if VPATH becomes empty
2422 # (actually we leave an empty line to preserve line numbers).
2423 if test "x$srcdir" = x.; then
2424 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2425 s/:*\$(srcdir):*/:/;
2426 s/:*\${srcdir}:*/:/;
2427 s/:*@srcdir@:*/:/;
2428 s/^\([^=]*=[ ]*\):*/\1/;
2429 s/:*$//;
2430 s/^[^=]*=[ ]*$//;
2434 # Transform confdefs.h into DEFS.
2435 # Protect against shell expansion while executing Makefile rules.
2436 # Protect against Makefile macro expansion.
2438 # If the first sed substitution is executed (which looks for macros that
2439 # take arguments), then we branch to the quote section. Otherwise,
2440 # look for a macro that doesn't take arguments.
2441 cat >confdef2opt.sed <<\_ACEOF
2442 t clear
2443 : clear
2444 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2445 t quote
2446 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2447 t quote
2449 : quote
2450 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2451 s,\[,\\&,g
2452 s,\],\\&,g
2453 s,\$,$$,g
2455 _ACEOF
2456 # We use echo to avoid assuming a particular line-breaking character.
2457 # The extra dot is to prevent the shell from consuming trailing
2458 # line-breaks from the sub-command output. A line-break within
2459 # single-quotes doesn't work because, if this script is created in a
2460 # platform that uses two characters for line-breaks (e.g., DOS), tr
2461 # would break.
2462 ac_LF_and_DOT=`echo; echo .`
2463 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2464 rm -f confdef2opt.sed
2467 ac_libobjs=
2468 ac_ltlibobjs=
2469 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2470 # 1. Remove the extension, and $U if already installed.
2471 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2472 ac_i=`echo "$ac_i" | sed "$ac_script"`
2473 # 2. Add them.
2474 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2475 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2476 done
2477 LIBOBJS=$ac_libobjs
2479 LTLIBOBJS=$ac_ltlibobjs
2483 : ${CONFIG_STATUS=./config.status}
2484 ac_clean_files_save=$ac_clean_files
2485 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2486 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2487 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2488 cat >$CONFIG_STATUS <<_ACEOF
2489 #! $SHELL
2490 # Generated by $as_me.
2491 # Run this file to recreate the current configuration.
2492 # Compiler output produced by configure, useful for debugging
2493 # configure, is in config.log if it exists.
2495 debug=false
2496 ac_cs_recheck=false
2497 ac_cs_silent=false
2498 SHELL=\${CONFIG_SHELL-$SHELL}
2499 _ACEOF
2501 cat >>$CONFIG_STATUS <<\_ACEOF
2502 ## --------------------- ##
2503 ## M4sh Initialization. ##
2504 ## --------------------- ##
2506 # Be Bourne compatible
2507 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2508 emulate sh
2509 NULLCMD=:
2510 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2511 # is contrary to our usage. Disable this feature.
2512 alias -g '${1+"$@"}'='"$@"'
2513 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2514 set -o posix
2516 DUALCASE=1; export DUALCASE # for MKS sh
2519 # PATH needs CR
2520 # Avoid depending upon Character Ranges.
2521 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2522 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2523 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2524 as_cr_digits='0123456789'
2525 as_cr_alnum=$as_cr_Letters$as_cr_digits
2527 # The user is always right.
2528 if test "${PATH_SEPARATOR+set}" != set; then
2529 echo "#! /bin/sh" >conf$$.sh
2530 echo "exit 0" >>conf$$.sh
2531 chmod +x conf$$.sh
2532 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2533 PATH_SEPARATOR=';'
2534 else
2535 PATH_SEPARATOR=:
2537 rm -f conf$$.sh
2540 # Support unset when possible.
2541 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2542 as_unset=unset
2543 else
2544 as_unset=false
2548 # Find who we are. Look in the path if we contain no path at all
2549 # relative or not.
2550 case $0 in
2551 *[\\/]* ) as_myself=$0 ;;
2552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 for as_dir in $PATH
2555 IFS=$as_save_IFS
2556 test -z "$as_dir" && as_dir=.
2557 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2558 done
2561 esac
2562 # We did not find ourselves, most probably we were run as `sh COMMAND'
2563 # in which case we are not to be found in the path.
2564 if test "x$as_myself" = x; then
2565 as_myself=$0
2567 if test ! -f "$as_myself"; then
2568 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2569 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2570 { (exit 1); exit 1; }; }
2573 # Work around bugs in pre-3.0 UWIN ksh.
2574 $as_unset ENV MAIL MAILPATH
2575 PS1='$ '
2576 PS2='> '
2577 PS4='+ '
2579 # NLS nuisances.
2580 for as_var in \
2581 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2582 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2583 LC_TELEPHONE LC_TIME
2585 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2586 eval $as_var=C; export $as_var
2587 else
2588 $as_unset $as_var
2590 done
2592 # Required to use basename.
2593 if expr a : '\(a\)' >/dev/null 2>&1; then
2594 as_expr=expr
2595 else
2596 as_expr=false
2599 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2600 as_basename=basename
2601 else
2602 as_basename=false
2606 # Name of the executable.
2607 as_me=`$as_basename "$0" ||
2608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2609 X"$0" : 'X\(//\)$' \| \
2610 X"$0" : 'X\(/\)$' \| \
2611 . : '\(.\)' 2>/dev/null ||
2612 echo X/"$0" |
2613 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2614 /^X\/\(\/\/\)$/{ s//\1/; q; }
2615 /^X\/\(\/\).*/{ s//\1/; q; }
2616 s/.*/./; q'`
2621 as_lineno_1=$LINENO
2622 as_lineno_2=$LINENO
2623 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2624 test "x$as_lineno_1" != "x$as_lineno_2" &&
2625 test "x$as_lineno_3" = "x$as_lineno_2" || {
2627 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2628 # uniformly replaced by the line number. The first 'sed' inserts a
2629 # line-number line after each line using $LINENO; the second 'sed'
2630 # does the real work. The second script uses 'N' to pair each
2631 # line-number line with the line containing $LINENO, and appends
2632 # trailing '-' during substitution so that $LINENO is not a special
2633 # case at line end.
2634 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2635 # scripts with optimization help from Paolo Bonzini. Blame Lee
2636 # E. McMahon (1931-1989) for sed's syntax. :-)
2637 sed -n '
2639 /[$]LINENO/=
2640 ' <$as_myself |
2641 sed '
2642 s,[$]LINENO.*,&-,
2643 t lineno
2645 : lineno
2647 : loop
2648 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2649 t loop
2650 s,-\n.*,,
2651 ' >$as_me.lineno &&
2652 chmod +x $as_me.lineno ||
2653 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2654 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2655 { (exit 1); exit 1; }; }
2657 # Don't try to exec as it changes $[0], causing all sort of problems
2658 # (the dirname of $[0] is not the place where we might find the
2659 # original and so on. Autoconf is especially sensible to this).
2660 . ./$as_me.lineno
2661 # Exit status is that of the last command.
2662 exit
2666 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2667 *c*,-n*) ECHO_N= ECHO_C='
2668 ' ECHO_T=' ' ;;
2669 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2670 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2671 esac
2673 if expr a : '\(a\)' >/dev/null 2>&1; then
2674 as_expr=expr
2675 else
2676 as_expr=false
2679 rm -f conf$$ conf$$.exe conf$$.file
2680 echo >conf$$.file
2681 if ln -s conf$$.file conf$$ 2>/dev/null; then
2682 # We could just check for DJGPP; but this test a) works b) is more generic
2683 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2684 if test -f conf$$.exe; then
2685 # Don't use ln at all; we don't have any links
2686 as_ln_s='cp -p'
2687 else
2688 as_ln_s='ln -s'
2690 elif ln conf$$.file conf$$ 2>/dev/null; then
2691 as_ln_s=ln
2692 else
2693 as_ln_s='cp -p'
2695 rm -f conf$$ conf$$.exe conf$$.file
2697 if mkdir -p . 2>/dev/null; then
2698 as_mkdir_p=:
2699 else
2700 test -d ./-p && rmdir ./-p
2701 as_mkdir_p=false
2704 as_executable_p="test -f"
2706 # Sed expression to map a string onto a valid CPP name.
2707 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2709 # Sed expression to map a string onto a valid variable name.
2710 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2713 # IFS
2714 # We need space, tab and new line, in precisely that order.
2715 as_nl='
2717 IFS=" $as_nl"
2719 # CDPATH.
2720 $as_unset CDPATH
2722 exec 6>&1
2724 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2725 # report actual input values of CONFIG_FILES etc. instead of their
2726 # values after options handling. Logging --version etc. is OK.
2727 exec 5>>config.log
2729 echo
2730 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2731 ## Running $as_me. ##
2732 _ASBOX
2733 } >&5
2734 cat >&5 <<_CSEOF
2736 This file was extended by GNU Autoconf $as_me 2.59a, which was
2737 generated by GNU Autoconf 2.59a. Invocation command line was
2739 CONFIG_FILES = $CONFIG_FILES
2740 CONFIG_HEADERS = $CONFIG_HEADERS
2741 CONFIG_LINKS = $CONFIG_LINKS
2742 CONFIG_COMMANDS = $CONFIG_COMMANDS
2743 $ $0 $@
2745 _CSEOF
2746 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2747 echo >&5
2748 _ACEOF
2750 # Files that config.status was made for.
2751 if test -n "$ac_config_files"; then
2752 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2755 if test -n "$ac_config_headers"; then
2756 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2759 if test -n "$ac_config_links"; then
2760 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2763 if test -n "$ac_config_commands"; then
2764 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2767 cat >>$CONFIG_STATUS <<\_ACEOF
2769 ac_cs_usage="\
2770 \`$as_me' instantiates files from templates according to the
2771 current configuration.
2773 Usage: $0 [OPTIONS] [FILE]...
2775 -h, --help print this help, then exit
2776 -V, --version print version number, then exit
2777 -q, --quiet do not print progress messages
2778 -d, --debug don't remove temporary files
2779 --recheck update $as_me by reconfiguring in the same conditions
2780 --file=FILE[:TEMPLATE]
2781 instantiate the configuration file FILE
2783 Configuration files:
2784 $config_files
2786 Configuration commands:
2787 $config_commands
2789 Report bugs to <bug-autoconf@gnu.org>."
2790 _ACEOF
2792 cat >>$CONFIG_STATUS <<_ACEOF
2793 ac_cs_version="\\
2794 GNU Autoconf config.status 2.59a
2795 configured by $0, generated by GNU Autoconf 2.59a,
2796 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2798 Copyright (C) 2004 Free Software Foundation, Inc.
2799 This config.status script is free software; the Free Software Foundation
2800 gives unlimited permission to copy, distribute and modify it."
2801 srcdir=$srcdir
2802 INSTALL="$INSTALL"
2803 _ACEOF
2805 cat >>$CONFIG_STATUS <<\_ACEOF
2806 # If no file are specified by the user, then we need to provide default
2807 # value. By we need to know if files were specified by the user.
2808 ac_need_defaults=:
2809 while test $# != 0
2811 case $1 in
2812 --*=*)
2813 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2814 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2815 ac_shift=:
2818 ac_option=$1
2819 ac_optarg=$2
2820 ac_shift=shift
2822 *) # This is not an option, so the user has probably given explicit
2823 # arguments.
2824 ac_option=$1
2825 ac_need_defaults=false;;
2826 esac
2828 case $ac_option in
2829 # Handling of the options.
2830 _ACEOF
2831 cat >>$CONFIG_STATUS <<\_ACEOF
2832 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2833 ac_cs_recheck=: ;;
2834 --version | --vers* | -V )
2835 echo "$ac_cs_version"; exit 0 ;;
2836 --he | --h)
2837 # Conflict between --help and --header
2838 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2839 Try \`$0 --help' for more information." >&5
2840 echo "$as_me: error: ambiguous option: $1
2841 Try \`$0 --help' for more information." >&2;}
2842 { (exit 1); exit 1; }; };;
2843 --help | --hel | -h )
2844 echo "$ac_cs_usage"; exit 0 ;;
2845 --debug | --d* | -d )
2846 debug=: ;;
2847 --file | --fil | --fi | --f )
2848 $ac_shift
2849 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2850 ac_need_defaults=false;;
2851 --header | --heade | --head | --hea )
2852 $ac_shift
2853 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2854 ac_need_defaults=false;;
2855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2856 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2857 ac_cs_silent=: ;;
2859 # This is an error.
2860 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2861 Try \`$0 --help' for more information." >&5
2862 echo "$as_me: error: unrecognized option: $1
2863 Try \`$0 --help' for more information." >&2;}
2864 { (exit 1); exit 1; }; } ;;
2866 *) ac_config_targets="$ac_config_targets $1" ;;
2868 esac
2869 shift
2870 done
2872 ac_configure_extra_args=
2874 if $ac_cs_silent; then
2875 exec 6>/dev/null
2876 ac_configure_extra_args="$ac_configure_extra_args --silent"
2879 _ACEOF
2880 cat >>$CONFIG_STATUS <<_ACEOF
2881 if \$ac_cs_recheck; then
2882 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2883 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2886 _ACEOF
2892 cat >>$CONFIG_STATUS <<\_ACEOF
2893 for ac_config_target in $ac_config_targets
2895 case "$ac_config_target" in
2896 # Handling of arguments.
2897 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
2898 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2899 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
2900 "tests/autoconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoconf:tests/wrapper.in" ;;
2901 "tests/autoheader" ) CONFIG_FILES="$CONFIG_FILES tests/autoheader:tests/wrapper.in" ;;
2902 "tests/autom4te" ) CONFIG_FILES="$CONFIG_FILES tests/autom4te:tests/wrapper.in" ;;
2903 "tests/autoreconf" ) CONFIG_FILES="$CONFIG_FILES tests/autoreconf:tests/wrapper.in" ;;
2904 "tests/autoscan" ) CONFIG_FILES="$CONFIG_FILES tests/autoscan:tests/wrapper.in" ;;
2905 "tests/autoupdate" ) CONFIG_FILES="$CONFIG_FILES tests/autoupdate:tests/wrapper.in" ;;
2906 "tests/ifnames" ) CONFIG_FILES="$CONFIG_FILES tests/ifnames:tests/wrapper.in" ;;
2907 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
2908 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
2909 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2910 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2911 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2912 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
2913 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
2914 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
2915 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
2916 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
2917 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
2918 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
2919 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2920 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2921 { (exit 1); exit 1; }; };;
2922 esac
2923 done
2925 # If the user did not use the arguments to specify the items to instantiate,
2926 # then the envvar interface is used. Set only those that are not.
2927 # We use the long form for the default assignment because of an extremely
2928 # bizarre bug on SunOS 4.1.3.
2929 if $ac_need_defaults; then
2930 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2931 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2934 # Have a temporary directory for convenience. Make it in the build tree
2935 # simply because there is no reason to put it here, and in addition,
2936 # creating and moving files from /tmp can sometimes cause problems.
2937 # Create a temporary directory, and hook for its removal unless debugging.
2938 $debug ||
2940 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2941 trap '{ (exit 1); exit 1; }' 1 2 13 15
2944 # Create a (secure) tmp directory for tmp files.
2947 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2948 test -n "$tmp" && test -d "$tmp"
2949 } ||
2951 tmp=./confstat$$-$RANDOM
2952 (umask 077 && mkdir $tmp)
2953 } ||
2955 echo "$me: cannot create a temporary directory in ." >&2
2956 { (exit 1); exit 1; }
2959 _ACEOF
2961 cat >>$CONFIG_STATUS <<_ACEOF
2964 # CONFIG_FILES section.
2967 # No need to generate the scripts if there are no CONFIG_FILES.
2968 # This happens for instance when ./config.status config.h
2969 if test -n "\$CONFIG_FILES"; then
2970 # Protect against being on the right side of a sed subst in config.status.
2971 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2972 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2973 s,@SHELL@,$SHELL,;t t
2974 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2975 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2976 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2977 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2978 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2979 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2980 s,@exec_prefix@,$exec_prefix,;t t
2981 s,@prefix@,$prefix,;t t
2982 s,@program_transform_name@,$program_transform_name,;t t
2983 s,@bindir@,$bindir,;t t
2984 s,@sbindir@,$sbindir,;t t
2985 s,@libexecdir@,$libexecdir,;t t
2986 s,@datadir@,$datadir,;t t
2987 s,@sysconfdir@,$sysconfdir,;t t
2988 s,@sharedstatedir@,$sharedstatedir,;t t
2989 s,@localstatedir@,$localstatedir,;t t
2990 s,@libdir@,$libdir,;t t
2991 s,@includedir@,$includedir,;t t
2992 s,@oldincludedir@,$oldincludedir,;t t
2993 s,@infodir@,$infodir,;t t
2994 s,@mandir@,$mandir,;t t
2995 s,@build_alias@,$build_alias,;t t
2996 s,@host_alias@,$host_alias,;t t
2997 s,@target_alias@,$target_alias,;t t
2998 s,@DEFS@,$DEFS,;t t
2999 s,@ECHO_C@,$ECHO_C,;t t
3000 s,@ECHO_N@,$ECHO_N,;t t
3001 s,@ECHO_T@,$ECHO_T,;t t
3002 s,@LIBS@,$LIBS,;t t
3003 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3004 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3005 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3006 s,@CYGPATH_W@,$CYGPATH_W,;t t
3007 s,@PACKAGE@,$PACKAGE,;t t
3008 s,@VERSION@,$VERSION,;t t
3009 s,@ACLOCAL@,$ACLOCAL,;t t
3010 s,@AUTOCONF@,$AUTOCONF,;t t
3011 s,@AUTOMAKE@,$AUTOMAKE,;t t
3012 s,@AUTOHEADER@,$AUTOHEADER,;t t
3013 s,@MAKEINFO@,$MAKEINFO,;t t
3014 s,@AMTAR@,$AMTAR,;t t
3015 s,@install_sh@,$install_sh,;t t
3016 s,@STRIP@,$STRIP,;t t
3017 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3018 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3019 s,@mkdir_p@,$mkdir_p,;t t
3020 s,@AWK@,$AWK,;t t
3021 s,@SET_MAKE@,$SET_MAKE,;t t
3022 s,@am__leading_dot@,$am__leading_dot,;t t
3023 s,@ac_cv_sh_n_works@,$ac_cv_sh_n_works,;t t
3024 s,@EXPR@,$EXPR,;t t
3025 s,@M4@,$M4,;t t
3026 s,@HELP2MAN@,$HELP2MAN,;t t
3027 s,@PERL@,$PERL,;t t
3028 s,@TEST_EMACS@,$TEST_EMACS,;t t
3029 s,@EMACS@,$EMACS,;t t
3030 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
3031 s,@lispdir@,$lispdir,;t t
3032 s,@LIBOBJS@,$LIBOBJS,;t t
3033 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3034 CEOF
3036 _ACEOF
3038 cat >>$CONFIG_STATUS <<\_ACEOF
3039 # Split the substitutions into bite-sized pieces for seds with
3040 # small command number limits, like on Digital OSF/1 and HP-UX.
3041 ac_max_sed_lines=48
3042 ac_sed_frag=1 # Number of current file.
3043 ac_beg=1 # First line for current file.
3044 ac_end=$ac_max_sed_lines # Line after last line for current file.
3045 ac_more_lines=:
3046 ac_sed_cmds=
3047 while $ac_more_lines; do
3048 if test $ac_beg -gt 1; then
3049 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3050 else
3051 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3053 if test ! -s $tmp/subs.frag; then
3054 ac_more_lines=false
3055 else
3056 # The purpose of the label and of the branching condition is to
3057 # speed up the sed processing (if there are no `@' at all, there
3058 # is no need to browse any of the substitutions).
3059 # These are the two extra sed commands mentioned above.
3060 (echo ':t
3061 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3062 if test -z "$ac_sed_cmds"; then
3063 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3064 else
3065 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3067 ac_sed_frag=`expr $ac_sed_frag + 1`
3068 ac_beg=$ac_end
3069 ac_end=`expr $ac_end + $ac_max_sed_lines`
3071 done
3072 if test -z "$ac_sed_cmds"; then
3073 ac_sed_cmds=cat
3075 fi # test -n "$CONFIG_FILES"
3077 _ACEOF
3078 cat >>$CONFIG_STATUS <<\_ACEOF
3079 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3080 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3081 case $ac_file in
3082 - | *:- | *:-:* ) # input from stdin
3083 cat >$tmp/stdin
3084 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3085 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3086 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3087 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3088 * ) ac_file_in=$ac_file.in ;;
3089 esac
3091 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3092 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3093 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3094 X"$ac_file" : 'X\(//\)[^/]' \| \
3095 X"$ac_file" : 'X\(//\)$' \| \
3096 X"$ac_file" : 'X\(/\)' \| \
3097 . : '\(.\)' 2>/dev/null ||
3098 echo X"$ac_file" |
3099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3101 /^X\(\/\/\)$/{ s//\1/; q; }
3102 /^X\(\/\).*/{ s//\1/; q; }
3103 s/.*/./; q'`
3104 { if $as_mkdir_p; then
3105 test -d "$ac_dir" || mkdir -p "$ac_dir"
3106 else
3107 as_dir="$ac_dir"
3108 as_dirs=
3109 while test ! -d "$as_dir"; do
3110 as_dirs="$as_dir $as_dirs"
3111 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3113 X"$as_dir" : 'X\(//\)[^/]' \| \
3114 X"$as_dir" : 'X\(//\)$' \| \
3115 X"$as_dir" : 'X\(/\)' \| \
3116 . : '\(.\)' 2>/dev/null ||
3117 echo X"$as_dir" |
3118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3120 /^X\(\/\/\)$/{ s//\1/; q; }
3121 /^X\(\/\).*/{ s//\1/; q; }
3122 s/.*/./; q'`
3123 done
3124 test ! -n "$as_dirs" || mkdir $as_dirs
3125 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3127 { (exit 1); exit 1; }; }; }
3129 ac_builddir=.
3131 if test "$ac_dir" != .; then
3132 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3133 # A "../" for each directory in $ac_dir_suffix.
3134 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3135 else
3136 ac_dir_suffix= ac_top_builddir=
3139 case $srcdir in
3140 .) # No --srcdir option. We are building in place.
3141 ac_srcdir=.
3142 if test -z "$ac_top_builddir"; then
3143 ac_top_srcdir=.
3144 else
3145 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3146 fi ;;
3147 [\\/]* | ?:[\\/]* ) # Absolute path.
3148 ac_srcdir=$srcdir$ac_dir_suffix;
3149 ac_top_srcdir=$srcdir ;;
3150 *) # Relative path.
3151 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3152 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3153 esac
3155 # Do not use `cd foo && pwd` to compute absolute paths, because
3156 # the directories may not exist.
3157 case `pwd` in
3158 .) ac_abs_builddir="$ac_dir";;
3160 case "$ac_dir" in
3161 .) ac_abs_builddir=`pwd`;;
3162 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3163 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3164 esac;;
3165 esac
3166 case $ac_abs_builddir in
3167 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3169 case ${ac_top_builddir}. in
3170 .) ac_abs_top_builddir=$ac_abs_builddir;;
3171 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3172 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3173 esac;;
3174 esac
3175 case $ac_abs_builddir in
3176 .) ac_abs_srcdir=$ac_srcdir;;
3178 case $ac_srcdir in
3179 .) ac_abs_srcdir=$ac_abs_builddir;;
3180 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3181 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3182 esac;;
3183 esac
3184 case $ac_abs_builddir in
3185 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3187 case $ac_top_srcdir in
3188 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3189 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3190 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3191 esac;;
3192 esac
3195 case $INSTALL in
3196 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3197 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3198 esac
3200 if test x"$ac_file" != x-; then
3201 { echo "$as_me:$LINENO: creating $ac_file" >&5
3202 echo "$as_me: creating $ac_file" >&6;}
3203 rm -f "$ac_file"
3205 # Let's still pretend it is `configure' which instantiates (i.e., don't
3206 # use $as_me), people would be surprised to read:
3207 # /* config.h. Generated by config.status. */
3208 if test x"$ac_file" = x-; then
3209 configure_input=
3210 else
3211 configure_input="$ac_file. "
3213 configure_input=$configure_input"Generated from `echo $ac_file_in |
3214 sed 's,.*/,,'` by configure."
3216 # First look for the input files in the build tree, otherwise in the
3217 # src tree.
3218 ac_file_inputs=`IFS=:
3219 for f in $ac_file_in; do
3220 case $f in
3221 -) echo $tmp/stdin ;;
3222 [\\/$]*)
3223 # Absolute (can't be DOS-style, as IFS=:)
3224 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3225 echo "$as_me: error: cannot find input file: $f" >&2;}
3226 { (exit 1); exit 1; }; }
3227 echo "$f";;
3228 *) # Relative
3229 if test -f "$f"; then
3230 # Build tree
3231 echo "$f"
3232 elif test -f "$srcdir/$f"; then
3233 # Source tree
3234 echo "$srcdir/$f"
3235 else
3236 # /dev/null tree
3237 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3238 echo "$as_me: error: cannot find input file: $f" >&2;}
3239 { (exit 1); exit 1; }; }
3240 fi;;
3241 esac
3242 done` || { (exit 1); exit 1; }
3243 _ACEOF
3244 cat >>$CONFIG_STATUS <<_ACEOF
3245 sed "$ac_vpsub
3246 $extrasub
3247 _ACEOF
3248 cat >>$CONFIG_STATUS <<\_ACEOF
3250 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3251 s,@configure_input@,$configure_input,;t t
3252 s,@srcdir@,$ac_srcdir,;t t
3253 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3254 s,@top_srcdir@,$ac_top_srcdir,;t t
3255 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3256 s,@builddir@,$ac_builddir,;t t
3257 s,@abs_builddir@,$ac_abs_builddir,;t t
3258 s,@top_builddir@,$ac_top_builddir,;t t
3259 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3260 s,@INSTALL@,$ac_INSTALL,;t t
3261 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3262 rm -f $tmp/stdin
3263 if test x"$ac_file" != x-; then
3264 mv $tmp/out $ac_file
3265 else
3266 cat $tmp/out
3267 rm -f $tmp/out
3270 # Run the commands associated with the file.
3271 case $ac_file in
3272 tests/autoconf ) chmod +x tests/autoconf ;;
3273 tests/autoheader ) chmod +x tests/autoheader ;;
3274 tests/autom4te ) chmod +x tests/autom4te ;;
3275 tests/autoreconf ) chmod +x tests/autoreconf ;;
3276 tests/autoscan ) chmod +x tests/autoscan ;;
3277 tests/autoupdate ) chmod +x tests/autoupdate ;;
3278 tests/ifnames ) chmod +x tests/ifnames ;;
3279 esac
3280 done
3281 _ACEOF
3282 cat >>$CONFIG_STATUS <<\_ACEOF
3285 # CONFIG_COMMANDS section.
3287 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3288 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3289 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3290 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3291 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3292 X"$ac_dest" : 'X\(//\)[^/]' \| \
3293 X"$ac_dest" : 'X\(//\)$' \| \
3294 X"$ac_dest" : 'X\(/\)' \| \
3295 . : '\(.\)' 2>/dev/null ||
3296 echo X"$ac_dest" |
3297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3299 /^X\(\/\/\)$/{ s//\1/; q; }
3300 /^X\(\/\).*/{ s//\1/; q; }
3301 s/.*/./; q'`
3302 { if $as_mkdir_p; then
3303 test -d "$ac_dir" || mkdir -p "$ac_dir"
3304 else
3305 as_dir="$ac_dir"
3306 as_dirs=
3307 while test ! -d "$as_dir"; do
3308 as_dirs="$as_dir $as_dirs"
3309 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3311 X"$as_dir" : 'X\(//\)[^/]' \| \
3312 X"$as_dir" : 'X\(//\)$' \| \
3313 X"$as_dir" : 'X\(/\)' \| \
3314 . : '\(.\)' 2>/dev/null ||
3315 echo X"$as_dir" |
3316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3318 /^X\(\/\/\)$/{ s//\1/; q; }
3319 /^X\(\/\).*/{ s//\1/; q; }
3320 s/.*/./; q'`
3321 done
3322 test ! -n "$as_dirs" || mkdir $as_dirs
3323 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3324 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3325 { (exit 1); exit 1; }; }; }
3327 ac_builddir=.
3329 if test "$ac_dir" != .; then
3330 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3331 # A "../" for each directory in $ac_dir_suffix.
3332 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3333 else
3334 ac_dir_suffix= ac_top_builddir=
3337 case $srcdir in
3338 .) # No --srcdir option. We are building in place.
3339 ac_srcdir=.
3340 if test -z "$ac_top_builddir"; then
3341 ac_top_srcdir=.
3342 else
3343 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3344 fi ;;
3345 [\\/]* | ?:[\\/]* ) # Absolute path.
3346 ac_srcdir=$srcdir$ac_dir_suffix;
3347 ac_top_srcdir=$srcdir ;;
3348 *) # Relative path.
3349 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3350 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3351 esac
3353 # Do not use `cd foo && pwd` to compute absolute paths, because
3354 # the directories may not exist.
3355 case `pwd` in
3356 .) ac_abs_builddir="$ac_dir";;
3358 case "$ac_dir" in
3359 .) ac_abs_builddir=`pwd`;;
3360 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3361 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3362 esac;;
3363 esac
3364 case $ac_abs_builddir in
3365 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3367 case ${ac_top_builddir}. in
3368 .) ac_abs_top_builddir=$ac_abs_builddir;;
3369 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3370 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3371 esac;;
3372 esac
3373 case $ac_abs_builddir in
3374 .) ac_abs_srcdir=$ac_srcdir;;
3376 case $ac_srcdir in
3377 .) ac_abs_srcdir=$ac_abs_builddir;;
3378 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3379 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3380 esac;;
3381 esac
3382 case $ac_abs_builddir in
3383 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3385 case $ac_top_srcdir in
3386 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3387 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3388 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3389 esac;;
3390 esac
3393 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3394 echo "$as_me: executing $ac_dest commands" >&6;}
3395 case $ac_dest in
3396 tests/atconfig ) cat >tests/atconfig <<ATEOF
3397 # Configurable variable values for building test suites.
3398 # Generated by $0.
3399 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3401 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3402 at_testdir='tests'
3403 abs_builddir='$ac_abs_builddir'
3404 at_srcdir='$ac_srcdir'
3405 abs_srcdir='$ac_abs_srcdir'
3406 at_top_srcdir='$ac_top_srcdir'
3407 abs_top_srcdir='$ac_abs_top_srcdir'
3408 at_top_builddir='$ac_top_builddir'
3409 abs_top_builddir='$ac_abs_top_builddir'
3411 AUTOTEST_PATH='tests'
3413 SHELL=\${CONFIG_SHELL-'$SHELL'}
3414 ATEOF
3416 esac
3417 done
3418 _ACEOF
3420 cat >>$CONFIG_STATUS <<\_ACEOF
3422 { (exit 0); exit 0; }
3423 _ACEOF
3424 chmod +x $CONFIG_STATUS
3425 ac_clean_files=$ac_clean_files_save
3428 # configure is writing to config.log, and then calls config.status.
3429 # config.status does its own redirection, appending to config.log.
3430 # Unfortunately, on DOS this fails, as config.log is still kept open
3431 # by configure, so config.status won't be able to write to it; its
3432 # output is simply discarded. So we exec the FD to /dev/null,
3433 # effectively closing config.log, so it can be properly (re)opened and
3434 # appended to by config.status. When coming back to configure, we
3435 # need to make the FD available again.
3436 if test "$no_create" != yes; then
3437 ac_cs_success=:
3438 ac_config_status_args=
3439 test "$silent" = yes &&
3440 ac_config_status_args="$ac_config_status_args --quiet"
3441 exec 5>/dev/null
3442 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3443 exec 5>>config.log
3444 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3445 # would make configure fail if this is the last instruction.
3446 $ac_cs_success || { (exit 1); exit 1; }
3449 # Report the state of this version of Autoconf if this is a beta.
3450 cat <<EOF
3452 You are about to use an experimental version of Autoconf. Be sure to
3453 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3455 Below you will find information on the status of this version of Autoconf.
3459 sed -n '/^\* Status/,$p' $srcdir/BUGS