2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57e for GNU Autoconf 2.57f.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 # Support unset when possible.
26 if ((MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C
; export $as_var
52 # Required to use basename.
53 if expr a
: '\(a\)' >/dev
/null
2>&1; then
59 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me
=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits
='0123456789'
85 as_cr_alnum
=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
103 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself
=$0 ;;
110 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir
=.
115 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x
; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
132 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir
=.
136 for as_base
in sh bash ksh sh5
; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
145 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
146 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
147 CONFIG_SHELL
=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x
$as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c
*,-n*) ECHO_N
= ECHO_C
='
191 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
192 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
195 if expr a
: '\(a\)' >/dev
/null
2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.
file
203 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe
; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.
file conf$$
2>/dev
/null
; then
217 rm -f conf$$ conf$$.exe conf$$.
file
219 if mkdir
-p .
2>/dev
/null
; then
226 as_executable_p
="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix
=/usr
/local
256 ac_config_libobj_dir
=.
261 SHELL
=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME
='GNU Autoconf'
270 PACKAGE_TARNAME
='autoconf'
271 PACKAGE_VERSION
='2.57f'
272 PACKAGE_STRING
='GNU Autoconf 2.57f'
273 PACKAGE_BUGREPORT
='bug-autoconf@gnu.org'
275 ac_unique_file
="ChangeLog"
276 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 AWK SET_MAKE am__leading_dot EXPR M4 HELP2MAN PERL TEST_EMACS EMACS EMACSLOADPATH lispdir LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version
=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name
=s
,x
,x
,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir
='${exec_prefix}/bin'
305 sbindir
='${exec_prefix}/sbin'
306 libexecdir
='${exec_prefix}/libexec'
307 datadir
='${prefix}/share'
308 sysconfdir
='${prefix}/etc'
309 sharedstatedir
='${prefix}/com'
310 localstatedir
='${prefix}/var'
311 libdir
='${exec_prefix}/lib'
312 includedir
='${prefix}/include'
313 oldincludedir
='/usr/include'
314 infodir
='${prefix}/info'
315 mandir
='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
335 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
338 -build |
--build |
--buil |
--bui |
--bu)
339 ac_prev
=build_alias
;;
340 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
341 build_alias
=$ac_optarg ;;
343 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
344 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
345 ac_prev
=cache_file
;;
346 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
347 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
348 cache_file
=$ac_optarg ;;
351 cache_file
=config.cache
;;
353 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
355 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
357 datadir
=$ac_optarg ;;
359 -disable-* |
--disable-*)
360 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* |
--enable-*)
369 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
382 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
383 |
--exec |
--exe |
--ex)
384 ac_prev
=exec_prefix
;;
385 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
386 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
387 |
--exec=* |
--exe=* |
--ex=*)
388 exec_prefix
=$ac_optarg ;;
390 -gas |
--gas |
--ga |
--g)
391 # Obsolete; use --with-gas.
394 -help |
--help |
--hel |
--he |
-h)
396 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
397 ac_init_help
=recursive
;;
398 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
399 ac_init_help
=short
;;
401 -host |
--host |
--hos |
--ho)
402 ac_prev
=host_alias
;;
403 -host=* |
--host=* |
--hos=* |
--ho=*)
404 host_alias
=$ac_optarg ;;
406 -includedir |
--includedir |
--includedi |
--included |
--include \
407 |
--includ |
--inclu |
--incl |
--inc)
408 ac_prev
=includedir
;;
409 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
410 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
411 includedir
=$ac_optarg ;;
413 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
415 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
416 infodir
=$ac_optarg ;;
418 -libdir |
--libdir |
--libdi |
--libd)
420 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
423 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
424 |
--libexe |
--libex |
--libe)
425 ac_prev
=libexecdir
;;
426 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
427 |
--libexe=* |
--libex=* |
--libe=*)
428 libexecdir
=$ac_optarg ;;
430 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
431 |
--localstate |
--localstat |
--localsta |
--localst \
432 |
--locals |
--local |
--loca |
--loc |
--lo)
433 ac_prev
=localstatedir
;;
434 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
435 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
436 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
437 localstatedir
=$ac_optarg ;;
439 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
441 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
445 # Obsolete; use --without-fp.
448 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
449 |
--no-cr |
--no-c |
-n)
452 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
453 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
456 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
457 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
458 |
--oldin |
--oldi |
--old |
--ol |
--o)
459 ac_prev
=oldincludedir
;;
460 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
461 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
462 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
463 oldincludedir
=$ac_optarg ;;
465 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
467 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
470 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
471 |
--program-pre |
--program-pr |
--program-p)
472 ac_prev
=program_prefix
;;
473 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
474 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
475 program_prefix
=$ac_optarg ;;
477 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
478 |
--program-suf |
--program-su |
--program-s)
479 ac_prev
=program_suffix
;;
480 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
481 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
482 program_suffix
=$ac_optarg ;;
484 -program-transform-name |
--program-transform-name \
485 |
--program-transform-nam |
--program-transform-na \
486 |
--program-transform-n |
--program-transform- \
487 |
--program-transform |
--program-transfor \
488 |
--program-transfo |
--program-transf \
489 |
--program-trans |
--program-tran \
490 |
--progr-tra |
--program-tr |
--program-t)
491 ac_prev
=program_transform_name
;;
492 -program-transform-name=* |
--program-transform-name=* \
493 |
--program-transform-nam=* |
--program-transform-na=* \
494 |
--program-transform-n=* |
--program-transform-=* \
495 |
--program-transform=* |
--program-transfor=* \
496 |
--program-transfo=* |
--program-transf=* \
497 |
--program-trans=* |
--program-tran=* \
498 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
499 program_transform_name
=$ac_optarg ;;
501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
502 |
-silent |
--silent |
--silen |
--sile |
--sil)
505 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
507 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
509 sbindir
=$ac_optarg ;;
511 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
512 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
513 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
515 ac_prev
=sharedstatedir
;;
516 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
517 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
518 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
520 sharedstatedir
=$ac_optarg ;;
522 -site |
--site |
--sit)
524 -site=* |
--site=* |
--sit=*)
527 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
529 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
532 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
533 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
534 ac_prev
=sysconfdir
;;
535 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
536 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
537 sysconfdir
=$ac_optarg ;;
539 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
540 ac_prev
=target_alias
;;
541 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
542 target_alias
=$ac_optarg ;;
544 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
547 -version |
--version |
--versio |
--versi |
--vers |
-V)
551 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package
=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* |
--without-*)
564 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package
=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
577 |
--x-incl |
--x-inc |
--x-in |
--x-i)
578 ac_prev
=x_includes
;;
579 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
580 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
581 x_includes
=$ac_optarg ;;
583 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
584 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
585 ac_prev
=x_libraries
;;
586 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
587 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
588 x_libraries
=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var
in exec_prefix prefix
625 eval ac_val
=$
`echo $ac_var`
627 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val
=$
`echo $ac_var`
639 [\\/$
]* | ?
:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x
; then
654 if test "x$build_alias" = x
; then
655 cross_compiling
=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
666 test "$silent" = yes && exec 6>/dev
/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted
=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir
=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted
=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set
=${build_alias+set}
706 ac_env_build_alias_value
=$build_alias
707 ac_cv_env_build_alias_set
=${build_alias+set}
708 ac_cv_env_build_alias_value
=$build_alias
709 ac_env_host_alias_set
=${host_alias+set}
710 ac_env_host_alias_value
=$host_alias
711 ac_cv_env_host_alias_set
=${host_alias+set}
712 ac_cv_env_host_alias_value
=$host_alias
713 ac_env_target_alias_set
=${target_alias+set}
714 ac_env_target_alias_value
=$target_alias
715 ac_cv_env_target_alias_set
=${target_alias+set}
716 ac_cv_env_target_alias_value
=$target_alias
717 ac_env_EMACS_set
=${EMACS+set}
718 ac_env_EMACS_value
=$EMACS
719 ac_cv_env_EMACS_set
=${EMACS+set}
720 ac_cv_env_EMACS_value
=$EMACS
721 ac_env_EMACSLOADPATH_set
=${EMACSLOADPATH+set}
722 ac_env_EMACSLOADPATH_value
=$EMACSLOADPATH
723 ac_cv_env_EMACSLOADPATH_set
=${EMACSLOADPATH+set}
724 ac_cv_env_EMACSLOADPATH_value
=$EMACSLOADPATH
727 # Report the --help message.
729 if test "$ac_init_help" = "long"; then
730 # Omit some internal or obsolete options to make the list less imposing.
731 # This message is too long to be a string in the A/UX 3.1 sh.
733 \`configure' configures GNU Autoconf 2.57f to adapt to many kinds of systems.
735 Usage: $0 [OPTION]... [VAR=VALUE]...
737 To assign environment variables (e.g., CC, CFLAGS...), specify them as
738 VAR=VALUE. See below for descriptions of some of the useful variables.
740 Defaults for the options are specified in brackets.
743 -h, --help display this help and exit
744 --help=short display options specific to this package
745 --help=recursive display the short help of all the included packages
746 -V, --version display version information and exit
747 -q, --quiet, --silent do not print \`checking...' messages
748 --cache-file=FILE cache test results in FILE [disabled]
749 -C, --config-cache alias for \`--cache-file=config.cache'
750 -n, --no-create do not create output files
751 --srcdir=DIR find the sources in DIR [configure dir or \`..']
756 Installation directories:
757 --prefix=PREFIX install architecture-independent files in PREFIX
759 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
762 By default, \`make install' will install all the files in
763 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
764 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
765 for instance \`--prefix=\$HOME'.
767 For better control, use the options below.
769 Fine tuning of the installation directories:
770 --bindir=DIR user executables [EPREFIX/bin]
771 --sbindir=DIR system admin executables [EPREFIX/sbin]
772 --libexecdir=DIR program executables [EPREFIX/libexec]
773 --datadir=DIR read-only architecture-independent data [PREFIX/share]
774 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
775 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
776 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
777 --libdir=DIR object code libraries [EPREFIX/lib]
778 --includedir=DIR C header files [PREFIX/include]
779 --oldincludedir=DIR C header files for non-gcc [/usr/include]
780 --infodir=DIR info documentation [PREFIX/info]
781 --mandir=DIR man documentation [PREFIX/man]
787 --program-prefix=PREFIX prepend PREFIX to installed program names
788 --program-suffix=SUFFIX append SUFFIX to installed program names
789 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
793 if test -n "$ac_init_help"; then
794 case $ac_init_help in
795 short | recursive
) echo "Configuration of GNU Autoconf 2.57f:";;
800 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
801 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
802 --with-lispdir Override the default lisp directory
804 Some influential environment variables
:
805 EMACS the Emacs editor
command
807 the Emacs library search path
809 Use these variables to override the choices made by
`configure' or to help
810 it to find libraries and programs with nonstandard names/locations.
812 Report bugs to <bug-autoconf@gnu.org>.
816 if test "$ac_init_help" = "recursive"; then
817 # If there are subdirs, report their specific --help.
819 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
820 test -d $ac_dir || continue
823 if test "$ac_dir" != .; then
824 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
825 # A "../" for each directory in $ac_dir_suffix.
826 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
828 ac_dir_suffix= ac_top_builddir=
832 .) # No --srcdir option. We are building in place.
834 if test -z "$ac_top_builddir"; then
837 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
839 [\\/]* | ?:[\\/]* ) # Absolute path.
840 ac_srcdir=$srcdir$ac_dir_suffix;
841 ac_top_srcdir=$srcdir ;;
843 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
844 ac_top_srcdir=$ac_top_builddir$srcdir ;;
846 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
848 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
849 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
850 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
851 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
854 # Check for guested configure; otherwise get Cygnus style configure.
855 if test -f $ac_srcdir/configure.gnu; then
857 $SHELL $ac_srcdir/configure.gnu --help=recursive
858 elif test -f $ac_srcdir/configure; then
860 $SHELL $ac_srcdir/configure --help=recursive
861 elif test -f $ac_srcdir/configure.ac ||
862 test -f $ac_srcdir/configure.in; then
866 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
872 test -n "$ac_init_help" && exit 0
873 if $ac_init_version; then
875 GNU Autoconf configure 2.57f
876 generated by GNU Autoconf 2.57e
878 Copyright (C) 2003 Free Software Foundation, Inc.
879 This configure script is free software; the Free Software Foundation
880 gives unlimited permission to copy, distribute and modify it.
886 This file contains any messages produced by compilers while
887 running configure, to aid debugging if configure makes a mistake.
889 It was created by GNU Autoconf $as_me 2.57f, which was
890 generated by GNU Autoconf 2.57e. Invocation command line was
901 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
902 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
903 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
904 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
905 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
907 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
908 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
910 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
911 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
912 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
913 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
914 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
915 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
916 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
924 test -z "$as_dir" && as_dir=.
940 # Keep a trace of the command line.
941 # Strip out --no-create and --no-recursion so they do not pile up.
942 # Strip out --silent because we don't want to record it for future runs.
943 # Also quote any args containing shell meta-characters.
944 # Make two passes to allow for proper duplicate-argument suppression.
949 ac_must_keep_next=false
955 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
957 | -silent | --silent | --silen | --sile | --sil)
959 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
960 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
963 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
965 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
966 if test $ac_must_keep_next = true; then
967 ac_must_keep_next=false # Got value, back to normal.
970 *=* | --config-cache | -C | -disable-* | --disable-* \
971 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
972 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
973 | -with-* | --with-* | -without-* | --without-* | --x)
974 case "$ac_configure_args0 " in
975 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
978 -* ) ac_must_keep_next=true ;;
981 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
982 # Get rid of the leading space.
988 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
989 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
991 # When interrupted or exit'd, cleanup temporary files, and complete
992 # config.log. We remove comments because anyway the quotes in there
993 # would cause problems or look ugly.
994 # WARNING: Be sure not to use single quotes in there, as some shells,
995 # such as our DU 5.0 friend, will then `close
' the trap.
997 # Save into config.log some information that might help in debugging.
1002 ## ---------------- ##
1003 ## Cache variables. ##
1004 ## ---------------- ##
1007 # The following way of writing the cache mishandles newlines in values,
1010 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1013 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1018 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1025 ## ----------------- ##
1026 ## Output variables. ##
1027 ## ----------------- ##
1030 for ac_var
in $ac_subst_vars
1032 eval ac_val
=$
`echo $ac_var`
1033 echo "$ac_var='"'"'$ac_val'"'"'"
1037 if test -n "$ac_subst_files"; then
1044 for ac_var
in $ac_subst_files
1046 eval ac_val
=$
`echo $ac_var`
1047 echo "$ac_var='"'"'$ac_val'"'"'"
1052 if test -s confdefs.h
; then
1059 sed "/^$/d" confdefs.h |
sort
1062 test "$ac_signal" != 0 &&
1063 echo "$as_me: caught signal $ac_signal"
1064 echo "$as_me: exit $exit_status"
1066 rm -f core core.
* *.core
&&
1067 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1070 for ac_signal in 1 2 13 15; do
1071 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1075 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1076 rm -rf conftest* confdefs.h
1077 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1080 # Predefined preprocessor variables.
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_NAME "$PACKAGE_NAME"
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1092 cat >>confdefs.h <<_ACEOF
1093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1097 cat >>confdefs.h <<_ACEOF
1098 #define PACKAGE_STRING "$PACKAGE_STRING"
1102 cat >>confdefs.h <<_ACEOF
1103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1107 # Let the site file select an alternate cache file if it wants to.
1108 # Prefer explicitly selected file to automatically selected ones.
1109 if test -z "$CONFIG_SITE"; then
1110 if test "x$prefix" != xNONE; then
1111 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1113 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1116 for ac_site_file in $CONFIG_SITE; do
1117 if test -r "$ac_site_file"; then
1118 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1119 echo "$as_me: loading site script $ac_site_file" >&6;}
1120 sed 's
/^
/|
/' "$ac_site_file" >&5
1125 if test -r "$cache_file"; then
1126 # Some versions of bash will fail to source /dev/null (special
1127 # files actually), so we avoid doing that.
1128 if test -f "$cache_file"; then
1129 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1130 echo "$as_me: loading cache $cache_file" >&6;}
1132 [\\/]* | ?:[\\/]* ) . $cache_file;;
1133 *) . ./$cache_file;;
1137 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1138 echo "$as_me: creating cache $cache_file" >&6;}
1142 # Check that the precious variables saved in the cache have kept the same
1144 ac_cache_corrupted=false
1145 for ac_var in `(set) 2>&1 |
1146 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1147 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1148 eval ac_new_set=\$ac_env_${ac_var}_set
1149 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1150 eval ac_new_val="\$ac_env_${ac_var}_value"
1151 case $ac_old_set,$ac_new_set in
1153 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1154 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1155 ac_cache_corrupted=: ;;
1157 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1158 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1159 ac_cache_corrupted=: ;;
1162 if test "x$ac_old_val" != "x$ac_new_val"; then
1163 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1164 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1165 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1166 echo "$as_me: former value: $ac_old_val" >&2;}
1167 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1168 echo "$as_me: current value: $ac_new_val" >&2;}
1169 ac_cache_corrupted=:
1172 # Pass precious variables to config.status.
1173 if test "$ac_new_set" = set; then
1175 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1176 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1177 *) ac_arg=$ac_var=$ac_new_val ;;
1179 case " $ac_configure_args " in
1180 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1181 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1185 if $ac_cache_corrupted; then
1186 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1187 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1188 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1189 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1190 { (exit 1); exit 1; }; }
1194 ac_cpp='$CPP $CPPFLAGS'
1195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1196 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1228 for ac_dir in config $srcdir/config; do
1229 if test -f $ac_dir/install-sh; then
1231 ac_install_sh="$ac_aux_dir/install-sh -c"
1233 elif test -f $ac_dir/install.sh; then
1235 ac_install_sh="$ac_aux_dir/install.sh -c"
1237 elif test -f $ac_dir/shtool; then
1239 ac_install_sh="$ac_aux_dir/shtool install -c"
1243 if test -z "$ac_aux_dir"; then
1244 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1245 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1246 { (exit 1); exit 1; }; }
1248 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1249 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1250 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1252 ac_config_files="$ac_config_files config/Makefile"
1255 am__api_version="1.7a"
1256 # Find a good install program. We prefer a C program (faster),
1257 # so one script is as good as another. But avoid the broken or
1258 # incompatible versions:
1259 # SysV /etc/install, /usr/sbin/install
1260 # SunOS /usr/etc/install
1261 # IRIX /sbin/install
1263 # AmigaOS /C/install, which installs bootblocks on floppy discs
1264 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1267 # OS/2's system install, which has a completely different semantic
1268 # ./install, which can be erroneously created by make from ./install.sh.
1269 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1270 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1271 if test -z "$INSTALL"; then
1272 if test "${ac_cv_path_install+set}" = set; then
1273 echo $ECHO_N "(cached) $ECHO_C" >&6
1275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1279 test -z "$as_dir" && as_dir
=.
1280 # Account for people who put trailing slashes in PATH elements.
1282 .
/ | .
// |
/cC
/* | \
1283 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1284 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1287 # OSF1 and SCO ODT 3.0 have their own names for install.
1288 # Don't use installbsd from OSF since it installs stuff as root
1290 for ac_prog
in ginstall scoinst
install; do
1291 for ac_exec_ext
in '' $ac_executable_extensions; do
1292 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1293 if test $ac_prog = install &&
1294 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1295 # AIX install. It has an incompatible calling convention.
1297 elif test $ac_prog = install &&
1298 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1299 # program-specific install script used by HP pwplus--don't use.
1302 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1314 if test "${ac_cv_path_install+set}" = set; then
1315 INSTALL
=$ac_cv_path_install
1317 # As a last resort, use the slow shell script. We don't cache a
1318 # path for INSTALL within a source directory, because that will
1319 # break other packages using the cache if that directory is
1320 # removed, or if the path is relative.
1321 INSTALL
=$ac_install_sh
1324 echo "$as_me:$LINENO: result: $INSTALL" >&5
1325 echo "${ECHO_T}$INSTALL" >&6
1327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1328 # It thinks the first close brace ends the variable substitution.
1329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1331 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1333 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1335 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1336 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1339 echo timestamp
> conftest.
file
1340 # Do `set' in a subshell so we don't clobber the current shell's
1341 # arguments. Must try -L first in case configure is actually a
1342 # symlink; some systems play weird games with the mod time of symlinks
1343 # (eg FreeBSD returns the mod time of the symlink's containing
1346 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1347 if test "$*" = "X"; then
1349 set X
`ls -t $srcdir/configure conftest.file`
1352 if test "$*" != "X $srcdir/configure conftest.file" \
1353 && test "$*" != "X conftest.file $srcdir/configure"; then
1355 # If neither matched, then we have a broken ls. This can happen
1356 # if, for instance, CONFIG_SHELL is bash and it inherits a
1357 # broken ls alias from the environment. This has actually
1358 # happened. Such a system could not be considered "sane".
1359 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1360 alias in your environment" >&5
1361 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1362 alias in your environment" >&2;}
1363 { (exit 1); exit 1; }; }
1366 test "$2" = conftest.
file
1372 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1373 Check your system clock" >&5
1374 echo "$as_me: error: newly created file is older than distributed files!
1375 Check your system clock" >&2;}
1376 { (exit 1); exit 1; }; }
1378 echo "$as_me:$LINENO: result: yes" >&5
1379 echo "${ECHO_T}yes" >&6
1380 test "$program_prefix" != NONE
&&
1381 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1382 # Use a double $ so make ignores it.
1383 test "$program_suffix" != NONE
&&
1384 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1385 # Double any \ or $. echo might interpret backslashes.
1386 # By default was `s,x,x', remove it if useless.
1387 cat <<\_ACEOF
>conftest.
sed
1388 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1390 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1393 # expand $ac_aux_dir to an absolute path
1394 am_aux_dir
=`cd $ac_aux_dir && pwd`
1396 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1397 # Use eval to expand $SHELL
1398 if eval "$MISSING --run true"; then
1399 am_missing_run
="$MISSING --run "
1402 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1403 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1406 for ac_prog
in gawk mawk nawk
awk
1408 # Extract the first word of "$ac_prog", so it can be a program name with args.
1409 set dummy
$ac_prog; ac_word
=$2
1410 echo "$as_me:$LINENO: checking for $ac_word" >&5
1411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412 if test "${ac_cv_prog_AWK+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 if test -n "$AWK"; then
1416 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir
=.
1423 for ac_exec_ext
in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 ac_cv_prog_AWK
="$ac_prog"
1426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1435 if test -n "$AWK"; then
1436 echo "$as_me:$LINENO: result: $AWK" >&5
1437 echo "${ECHO_T}$AWK" >&6
1439 echo "$as_me:$LINENO: result: no" >&5
1440 echo "${ECHO_T}no" >&6
1443 test -n "$AWK" && break
1446 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1447 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1448 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1449 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1450 echo $ECHO_N "(cached) $ECHO_C" >&6
1452 cat >conftest.
make <<\_ACEOF
1454 @
echo 'ac_maketemp="$(MAKE)"'
1456 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1457 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1458 if test -n "$ac_maketemp"; then
1459 eval ac_cv_prog_make_
${ac_make}_set
=yes
1461 eval ac_cv_prog_make_
${ac_make}_set
=no
1465 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1466 echo "$as_me:$LINENO: result: yes" >&5
1467 echo "${ECHO_T}yes" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1472 SET_MAKE
="MAKE=${MAKE-make}"
1475 rm -rf .tst
2>/dev
/null
1476 mkdir .tst
2>/dev
/null
1477 if test -d .tst
; then
1482 rmdir .tst
2>/dev
/null
1484 # test to see if srcdir already configured
1485 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1486 test -f $srcdir/config.status
; then
1487 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1488 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1489 { (exit 1); exit 1; }; }
1492 # test whether we have cygpath
1493 if test -z "$CYGPATH_W"; then
1494 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1495 CYGPATH_W
='cygpath -w'
1502 # Define the identity of the package.
1507 cat >>confdefs.h
<<_ACEOF
1508 #define PACKAGE "$PACKAGE"
1512 cat >>confdefs.h
<<_ACEOF
1513 #define VERSION "$VERSION"
1516 # Some tools Automake needs.
1518 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1521 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1524 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1527 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1530 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1533 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1535 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1537 # Installed binaries are usually stripped using `strip' when the user
1538 # run `make install-strip'. However `strip' might not be the right
1539 # tool to use in cross-compilation environments, therefore Automake
1540 # will honor the `STRIP' environment variable to overrule this program.
1541 if test "$cross_compiling" != no
; then
1542 if test -n "$ac_tool_prefix"; then
1543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1544 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547 if test "${ac_cv_prog_STRIP+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 if test -n "$STRIP"; then
1551 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir
=.
1558 for ac_exec_ext
in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1569 STRIP
=$ac_cv_prog_STRIP
1570 if test -n "$STRIP"; then
1571 echo "$as_me:$LINENO: result: $STRIP" >&5
1572 echo "${ECHO_T}$STRIP" >&6
1574 echo "$as_me:$LINENO: result: no" >&5
1575 echo "${ECHO_T}no" >&6
1579 if test -z "$ac_cv_prog_STRIP"; then
1581 # Extract the first word of "strip", so it can be a program name with args.
1582 set dummy strip
; ac_word
=$2
1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 if test -n "$ac_ct_STRIP"; then
1589 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1595 test -z "$as_dir" && as_dir
=.
1596 for ac_exec_ext
in '' $ac_executable_extensions; do
1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598 ac_cv_prog_ac_ct_STRIP
="strip"
1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1608 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1609 if test -n "$ac_ct_STRIP"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1611 echo "${ECHO_T}$ac_ct_STRIP" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1619 STRIP
="$ac_cv_prog_STRIP"
1623 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1625 # We need awk for the "check" target. The system "awk" is bad on
1631 # Initialize the test suite and build position independent wrappers.
1632 ac_config_commands
="$ac_config_commands tests/atconfig"
1635 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
1637 ac_config_files
="$ac_config_files tests/autoconf:tests/wrapper.in"
1639 ac_config_files
="$ac_config_files tests/autoheader:tests/wrapper.in"
1641 ac_config_files
="$ac_config_files tests/autom4te:tests/wrapper.in"
1643 ac_config_files
="$ac_config_files tests/autoreconf:tests/wrapper.in"
1645 ac_config_files
="$ac_config_files tests/autoscan:tests/wrapper.in"
1647 ac_config_files
="$ac_config_files tests/autoupdate:tests/wrapper.in"
1649 ac_config_files
="$ac_config_files tests/ifnames:tests/wrapper.in"
1651 # Extract the first word of "expr", so it can be a program name with args.
1652 set dummy
expr; ac_word
=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_path_EXPR+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 ac_cv_path_EXPR
="$EXPR" # Let the user override the test with a path.
1663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir
=.
1668 for ac_exec_ext
in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_path_EXPR
="$as_dir/$ac_word$ac_exec_ext"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 EXPR
=$ac_cv_path_EXPR
1682 if test -n "$EXPR"; then
1683 echo "$as_me:$LINENO: result: $EXPR" >&5
1684 echo "${ECHO_T}$EXPR" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1696 # We use a path for GNU m4 so even if users have another m4 first in
1697 # their path, the installer can configure with a path that has GNU m4
1698 # first and get that path embedded in the installed autoconf and
1699 # autoheader scripts.
1700 for ac_prog
in gm4 gnum4
m4
1702 # Extract the first word of "$ac_prog", so it can be a program name with args.
1703 set dummy
$ac_prog; ac_word
=$2
1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706 if test "${ac_cv_path_M4+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
1714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir
=.
1719 for ac_exec_ext
in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733 if test -n "$M4"; then
1734 echo "$as_me:$LINENO: result: $M4" >&5
1735 echo "${ECHO_T}$M4" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1741 test -n "$M4" && break
1743 test -n "$M4" || M4
="m4"
1745 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
1746 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
1747 if test "${ac_cv_prog_gnu_m4+set}" = set; then
1748 echo $ECHO_N "(cached) $ECHO_C" >&6
1750 ac_cv_prog_gnu_m4
=no
1751 if test x
"$M4" != x
; then
1752 case `$M4 --help < /dev/null 2>&1` in
1753 *reload-state
*) ac_cv_prog_gnu_m4
=yes ;;
1757 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
1758 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
1759 if test x
"$ac_cv_prog_gnu_m4" != xyes
; then
1760 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
1761 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
1762 { (exit 1); exit 1; }; }
1769 ac_config_files
="$ac_config_files man/Makefile"
1772 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
1780 # We use a path for perl so the #! line in autoscan will work.
1781 # Extract the first word of "perl", so it can be a program name with args.
1782 set dummy perl
; ac_word
=$2
1783 echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1785 if test "${ac_cv_path_PERL+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
1793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir
=.
1798 for ac_exec_ext
in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
1811 PERL
=$ac_cv_path_PERL
1813 if test -n "$PERL"; then
1814 echo "$as_me:$LINENO: result: $PERL" >&5
1815 echo "${ECHO_T}$PERL" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1821 if test "$PERL" = no
; then
1822 { { echo "$as_me:$LINENO: error: perl is not found" >&5
1823 echo "$as_me: error: perl is not found" >&2;}
1824 { (exit 1); exit 1; }; }
1826 $PERL -e 'require 5.005_03;' ||
{
1827 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
1828 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
1829 { (exit 1); exit 1; }; }
1837 ac_config_files
="$ac_config_files lib/emacs/Makefile"
1840 test x
"$TEST_EMACS" = xt
&& TEST_EMACS
=
1841 for ac_prog
in emacs xemacs
1843 # Extract the first word of "$ac_prog", so it can be a program name with args.
1844 set dummy
$ac_prog; ac_word
=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$TEST_EMACS"; then
1851 ac_cv_prog_TEST_EMACS
="$TEST_EMACS" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 for ac_exec_ext
in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_TEST_EMACS
="$ac_prog"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 TEST_EMACS
=$ac_cv_prog_TEST_EMACS
1870 if test -n "$TEST_EMACS"; then
1871 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
1872 echo "${ECHO_T}$TEST_EMACS" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1878 test -n "$TEST_EMACS" && break
1880 test -n "$TEST_EMACS" || TEST_EMACS
="no"
1883 # autoconf-mode.el and autotest-mode.el do not work with older version of
1884 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
1885 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
1886 # We detect this problem here.
1887 if test "$TEST_EMACS" != no
; then
1888 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
1889 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
1890 if test "${ac_cv_prog_emacs_ok+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
1894 cat >conftest.el
<< "EOF"
1896 (defun broken-mode
() (setq broken-defaults
`(broken nil)))
1898 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
1899 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902 (exit $ac_status); }; then
1903 ac_cv_prog_emacs_ok=yes
1905 ac_cv_prog_emacs_ok=no
1908 rm -f conftest.el conftest.elc
1910 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
1911 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
1912 if test $ac_cv_prog_emacs_ok = no; then
1923 # Check whether --with-lispdir or --without-lispdir was given.
1924 if test "${with_lispdir+set}" = set; then
1925 withval="$with_lispdir"
1927 echo "$as_me:$LINENO: checking where .elc files should go" >&5
1928 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1929 echo "$as_me:$LINENO: result: $lispdir" >&5
1930 echo "${ECHO_T}$lispdir" >&6
1933 # If set to t, that means we are running in a shell under Emacs.
1934 # If you have an Emacs named "t", then use the full path.
1935 test x"$EMACS" = xt && EMACS=
1936 for ac_prog in emacs xemacs
1938 # Extract the first word of "$ac_prog", so it can be a program name with args.
1939 set dummy $ac_prog; ac_word=$2
1940 echo "$as_me:$LINENO: checking for $ac_word" >&5
1941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1942 if test "${ac_cv_prog_EMACS+set}" = set; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 if test -n "$EMACS"; then
1946 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 test -z "$as_dir" && as_dir=.
1953 for ac_exec_ext in '' $ac_executable_extensions; do
1954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1955 ac_cv_prog_EMACS="$ac_prog"
1956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964 EMACS=$ac_cv_prog_EMACS
1965 if test -n "$EMACS"; then
1966 echo "$as_me:$LINENO: result: $EMACS" >&5
1967 echo "${ECHO_T}$EMACS" >&6
1969 echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1973 test -n "$EMACS" && break
1975 test -n "$EMACS" || EMACS="no"
1979 if test $EMACS != "no"; then
1980 if test x${lispdir+set} != xset; then
1981 echo "$as_me:$LINENO: checking where .elc files should go" >&5
1982 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1983 if test "${am_cv_lispdir+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
1987 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
1988 # which is non-obvious for non-emacs users.
1989 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
1990 # emacsen earlier and avoid running this altogether.
1991 { (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
1992 ($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
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }
1996 am_cv_lispdir=`sed -n \
1998 -e '/.*\/lib\/x\?emacs\/site-lisp$/{s,.*/lib/\(x\?emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
1999 -e '/.*\/share\/x\?emacs\/site-lisp$/{s,.*/share/\(x\?emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2002 if test -z "$am_cv_lispdir"; then
2003 am_cv_lispdir='${datadir}/emacs/site-lisp'
2007 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2008 echo "${ECHO_T}$am_cv_lispdir" >&6
2009 lispdir="$am_cv_lispdir"
2022 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"
2025 cat >confcache <<\_ACEOF
2026 # This file is a shell script that caches the results of configure
2027 # tests run on this system so they can be shared between configure
2028 # scripts and configure runs, see configure's option --config-cache.
2029 # It is not useful on other systems. If it contains results you don't
2030 # want to keep, you may remove or edit it.
2032 # config.status only pays attention to the cache file if you give it
2033 # the --recheck option to rerun configure.
2035 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2036 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2041 # The following way of writing the cache mishandles newlines in values,
2042 # but we know of no workaround that is simple, portable, and efficient.
2043 # So, don't put newlines in cache variables' values.
2044 # Ultrix sh set writes to stderr and can't be redirected directly,
2045 # and sets the high bit in the cache file unless we assign to the vars.
2048 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2050 # `set' does not quote correctly, so add quotes (double-quote
2051 # substitution turns \\\\ into \\, and sed turns \\ into \).
2054 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2057 # `set' quotes correctly as required by POSIX, so do not add quotes.
2059 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2066 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2068 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2070 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
2071 if test -w $cache_file; then
2072 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2073 cat confcache
>$cache_file
2075 echo "not updating unwritable cache $cache_file"
2080 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2081 # Let make expand exec_prefix.
2082 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2084 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2085 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2086 # trailing colons and then remove the whole line if VPATH becomes empty
2087 # (actually we leave an empty line to preserve line numbers).
2088 if test "x$srcdir" = x.
; then
2089 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
2090 s/:*\$(srcdir):*/:/;
2091 s/:*\${srcdir}:*/:/;
2093 s/^\([^=]*=[ ]*\):*/\1/;
2099 # Transform confdefs.h into DEFS.
2100 # Protect against shell expansion while executing Makefile rules.
2101 # Protect against Makefile macro expansion.
2103 # If the first sed substitution is executed (which looks for macros that
2104 # take arguments), then we branch to the quote section. Otherwise,
2105 # look for a macro that doesn't take arguments.
2106 cat >confdef2opt.
sed <<\_ACEOF
2109 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2111 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2115 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2121 # We use echo to avoid assuming a particular line-breaking character.
2122 # The extra dot is to prevent the shell from consuming trailing
2123 # line-breaks from the sub-command output. A line-break within
2124 # single-quotes doesn't work because, if this script is created in a
2125 # platform that uses two characters for line-breaks (e.g., DOS), tr
2127 ac_LF_and_DOT=`echo; echo .
`
2128 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
2129 rm -f confdef2opt.sed
2134 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2135 # 1. Remove the extension, and $U if already installed.
2136 ac_i=`echo "$ac_i" |
2137 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2139 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2140 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2144 LTLIBOBJS=$ac_ltlibobjs
2148 : ${CONFIG_STATUS=./config.status}
2149 ac_clean_files_save=$ac_clean_files
2150 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2151 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2152 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2153 cat >$CONFIG_STATUS <<_ACEOF
2155 # Generated by $as_me.
2156 # Run this file to recreate the current configuration.
2157 # Compiler output produced by configure, useful for debugging
2158 # configure, is in config.log if it exists.
2163 SHELL=\${CONFIG_SHELL-$SHELL}
2166 cat >>$CONFIG_STATUS <<\_ACEOF
2167 ## --------------------- ##
2168 ## M4sh Initialization. ##
2169 ## --------------------- ##
2171 # Be Bourne compatible
2172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2175 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2176 # is contrary to our usage. Disable this feature.
2177 alias -g '${1+"$@"}'='"$@"'
2178 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2182 # Support unset when possible.
2183 if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2190 # Work around bugs in pre-3.0 UWIN ksh.
2191 $as_unset ENV MAIL MAILPATH
2198 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2199 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2200 LC_TELEPHONE LC_TIME
2202 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
2203 eval $as_var=C; export $as_var
2209 # Required to use basename.
2210 if expr a : '\(a\)' >/dev/null 2>&1; then
2216 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2217 as_basename=basename
2223 # Name of the executable.
2224 as_me=`$as_basename "$0" ||
2225 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2226 X
"$0" : 'X\(//\)$' \| \
2227 X
"$0" : 'X\(/\)$' \| \
2228 .
: '\(.\)' 2>/dev
/null ||
2230 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2231 /^X\/\(\/\/\)$/{ s//\1/; q; }
2232 /^X\/\(\/\).*/{ s//\1/; q; }
2236 # PATH needs CR, and LINENO needs CR and PATH.
2237 # Avoid depending upon Character Ranges.
2238 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2239 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2240 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2241 as_cr_digits='0123456789'
2242 as_cr_alnum=$as_cr_Letters$as_cr_digits
2244 # The user is always right.
2245 if test "${PATH_SEPARATOR+set}" != set; then
2246 echo "#! /bin/sh" >conf$$.sh
2247 echo "exit 0" >>conf$$.sh
2249 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2260 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
2261 test "x$as_lineno_1" != "x$as_lineno_2" &&
2262 test "x$as_lineno_3" = "x$as_lineno_2" || {
2263 # Find who we are. Look in the path if we contain no path at all
2266 *[\\/]* ) as_myself=$0 ;;
2267 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2277 # We did not find ourselves, most probably we were run as `sh COMMAND
'
2278 # in which case we are not to be found in the path.
2279 if test "x$as_myself" = x; then
2282 if test ! -f "$as_myself"; then
2283 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2284 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2285 { (exit 1); exit 1; }; }
2287 case $CONFIG_SHELL in
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2293 test -z "$as_dir" && as_dir=.
2294 for as_base in sh bash ksh sh5; do
2297 if ("$as_dir/$as_base" -c '
2300 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
2301 test "x$as_lineno_1" != "x$as_lineno_2" &&
2302 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2303 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2304 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2305 CONFIG_SHELL=$as_dir/$as_base
2307 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2315 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2316 # uniformly replaced by the line number. The first 'sed' inserts a
2317 # line-number line before each line; the second 'sed' does the real
2318 # work. The second script uses 'N
' to pair each line-number line
2319 # with the numbered line, and appends trailing '-' during
2320 # substitution so that $LINENO is not a special case at line end.
2321 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2322 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
2323 sed '=' <$as_myself |
2328 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2331 s,^['$as_cr_digits']*\n,,
2333 chmod +x
$as_me.lineno ||
2334 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2335 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2336 { (exit 1); exit 1; }; }
2338 # Don't try to exec as it changes $[0], causing all sort of problems
2339 # (the dirname of $[0] is not the place where we might find the
2340 # original and so on. Autoconf is especially sensible to this).
2342 # Exit status is that of the last command.
2347 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2348 *c
*,-n*) ECHO_N
= ECHO_C
='
2350 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
2351 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
2354 if expr a
: '\(a\)' >/dev
/null
2>&1; then
2360 rm -f conf$$ conf$$.exe conf$$.
file
2362 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
2363 # We could just check for DJGPP; but this test a) works b) is more generic
2364 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2365 if test -f conf$$.exe
; then
2366 # Don't use ln at all; we don't have any links
2371 elif ln conf$$.
file conf$$
2>/dev
/null
; then
2376 rm -f conf$$ conf$$.exe conf$$.
file
2378 if mkdir
-p .
2>/dev
/null
; then
2385 as_executable_p
="test -f"
2387 # Sed expression to map a string onto a valid CPP name.
2388 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2390 # Sed expression to map a string onto a valid variable name.
2391 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2395 # We need space, tab and new line, in precisely that order.
2405 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2406 # report actual input values of CONFIG_FILES etc. instead of their
2407 # values after options handling. Logging --version etc. is OK.
2411 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2412 ## Running $as_me. ##
2417 This file was extended by GNU Autoconf $as_me 2.57f, which was
2418 generated by GNU Autoconf 2.57e. Invocation command line was
2420 CONFIG_FILES = $CONFIG_FILES
2421 CONFIG_HEADERS = $CONFIG_HEADERS
2422 CONFIG_LINKS = $CONFIG_LINKS
2423 CONFIG_COMMANDS = $CONFIG_COMMANDS
2427 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2431 # Files that config.status was made for.
2432 if test -n "$ac_config_files"; then
2433 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2436 if test -n "$ac_config_headers"; then
2437 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2440 if test -n "$ac_config_links"; then
2441 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2444 if test -n "$ac_config_commands"; then
2445 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2448 cat >>$CONFIG_STATUS <<\_ACEOF
2451 \`$as_me' instantiates files from templates according to the
2452 current configuration.
2454 Usage: $0 [OPTIONS] [FILE]...
2456 -h, --help print this help, then exit
2457 -V, --version print version number, then exit
2458 -q, --quiet do not print progress messages
2459 -d, --debug don't remove temporary files
2460 --recheck update $as_me by reconfiguring in the same conditions
2461 --file=FILE[:TEMPLATE]
2462 instantiate the configuration file FILE
2464 Configuration files:
2467 Configuration commands:
2470 Report bugs to <bug-autoconf@gnu.org>."
2473 cat >>$CONFIG_STATUS <<_ACEOF
2475 GNU Autoconf config.status 2.57f
2476 configured by $0, generated by GNU Autoconf 2.57e,
2477 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2479 Copyright (C) 2003 Free Software Foundation, Inc.
2480 This config.status script is free software; the Free Software Foundation
2481 gives unlimited permission to copy, distribute and modify it."
2486 cat >>$CONFIG_STATUS <<\_ACEOF
2487 # If no file are specified by the user, then we need to provide default
2488 # value. By we need to know if files were specified by the user.
2494 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
2495 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
2503 *) # This is not an option, so the user has probably given explicit
2506 ac_need_defaults
=false
;;
2510 # Handling of the options.
2512 cat >>$CONFIG_STATUS <<\_ACEOF
2513 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
2515 --version |
--vers* |
-V )
2516 echo "$ac_cs_version"; exit 0 ;;
2518 # Conflict between --help and --header
2519 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2520 Try \`$0 --help' for more information." >&5
2521 echo "$as_me: error: ambiguous option: $1
2522 Try \`$0 --help' for more information." >&2;}
2523 { (exit 1); exit 1; }; };;
2524 --help |
--hel |
-h )
2525 echo "$ac_cs_usage"; exit 0 ;;
2526 --debug |
--d* |
-d )
2528 --file |
--fil |
--fi |
--f )
2530 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
2531 ac_need_defaults
=false
;;
2532 --header |
--heade |
--head |
--hea )
2534 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
2535 ac_need_defaults
=false
;;
2536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2537 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
2541 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2542 Try \`$0 --help' for more information." >&5
2543 echo "$as_me: error: unrecognized option: $1
2544 Try \`$0 --help' for more information." >&2;}
2545 { (exit 1); exit 1; }; } ;;
2547 *) ac_config_targets
="$ac_config_targets $1" ;;
2553 ac_configure_extra_args
=
2555 if $ac_cs_silent; then
2557 ac_configure_extra_args
="$ac_configure_extra_args --silent"
2561 cat >>$CONFIG_STATUS <<_ACEOF
2562 if \$ac_cs_recheck; then
2563 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2564 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2573 cat >>$CONFIG_STATUS <<\_ACEOF
2574 for ac_config_target
in $ac_config_targets
2576 case "$ac_config_target" in
2577 # Handling of arguments.
2578 "config/Makefile" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
2579 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
2580 "tests/atlocal" ) CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
2581 "tests/autoconf" ) CONFIG_FILES
="$CONFIG_FILES tests/autoconf:tests/wrapper.in" ;;
2582 "tests/autoheader" ) CONFIG_FILES
="$CONFIG_FILES tests/autoheader:tests/wrapper.in" ;;
2583 "tests/autom4te" ) CONFIG_FILES
="$CONFIG_FILES tests/autom4te:tests/wrapper.in" ;;
2584 "tests/autoreconf" ) CONFIG_FILES
="$CONFIG_FILES tests/autoreconf:tests/wrapper.in" ;;
2585 "tests/autoscan" ) CONFIG_FILES
="$CONFIG_FILES tests/autoscan:tests/wrapper.in" ;;
2586 "tests/autoupdate" ) CONFIG_FILES
="$CONFIG_FILES tests/autoupdate:tests/wrapper.in" ;;
2587 "tests/ifnames" ) CONFIG_FILES
="$CONFIG_FILES tests/ifnames:tests/wrapper.in" ;;
2588 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
2589 "lib/emacs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/emacs/Makefile" ;;
2590 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
2591 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
2592 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
2593 "lib/Autom4te/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Autom4te/Makefile" ;;
2594 "lib/autoscan/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/autoscan/Makefile" ;;
2595 "lib/m4sugar/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/m4sugar/Makefile" ;;
2596 "lib/autoconf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/autoconf/Makefile" ;;
2597 "lib/autotest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/autotest/Makefile" ;;
2598 "bin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES bin/Makefile" ;;
2599 "tests/atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
2600 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2601 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2602 { (exit 1); exit 1; }; };;
2606 # If the user did not use the arguments to specify the items to instantiate,
2607 # then the envvar interface is used. Set only those that are not.
2608 # We use the long form for the default assignment because of an extremely
2609 # bizarre bug on SunOS 4.1.3.
2610 if $ac_need_defaults; then
2611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
2612 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
2615 # Have a temporary directory for convenience. Make it in the build tree
2616 # simply because there is no reason to put it here, and in addition,
2617 # creating and moving files from /tmp can sometimes cause problems.
2618 # Create a temporary directory, and hook for its removal unless debugging.
2621 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2622 trap '{ (exit 1); exit 1; }' 1 2 13 15
2625 # Create a (secure) tmp directory for tmp files.
2628 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2629 test -n "$tmp" && test -d "$tmp"
2632 tmp
=.
/confstat$$
-$RANDOM
2633 (umask 077 && mkdir
$tmp)
2636 echo "$me: cannot create a temporary directory in ." >&2
2637 { (exit 1); exit 1; }
2642 cat >>$CONFIG_STATUS <<_ACEOF
2645 # CONFIG_FILES section.
2648 # No need to generate the scripts if there are no CONFIG_FILES.
2649 # This happens for instance when ./config.status config.h
2650 if test -n "\$CONFIG_FILES"; then
2651 # Protect against being on the right side of a sed subst in config.status.
2652 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2653 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2654 s,@SHELL@,$SHELL,;t t
2655 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2656 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2657 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2658 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2659 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2660 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2661 s,@exec_prefix@,$exec_prefix,;t t
2662 s,@prefix@,$prefix,;t t
2663 s,@program_transform_name@,$program_transform_name,;t t
2664 s,@bindir@,$bindir,;t t
2665 s,@sbindir@,$sbindir,;t t
2666 s,@libexecdir@,$libexecdir,;t t
2667 s,@datadir@,$datadir,;t t
2668 s,@sysconfdir@,$sysconfdir,;t t
2669 s,@sharedstatedir@,$sharedstatedir,;t t
2670 s,@localstatedir@,$localstatedir,;t t
2671 s,@libdir@,$libdir,;t t
2672 s,@includedir@,$includedir,;t t
2673 s,@oldincludedir@,$oldincludedir,;t t
2674 s,@infodir@,$infodir,;t t
2675 s,@mandir@,$mandir,;t t
2676 s,@build_alias@,$build_alias,;t t
2677 s,@host_alias@,$host_alias,;t t
2678 s,@target_alias@,$target_alias,;t t
2680 s,@ECHO_C@,$ECHO_C,;t t
2681 s,@ECHO_N@,$ECHO_N,;t t
2682 s,@ECHO_T@,$ECHO_T,;t t
2684 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2685 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2686 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2687 s,@CYGPATH_W@,$CYGPATH_W,;t t
2688 s,@PACKAGE@,$PACKAGE,;t t
2689 s,@VERSION@,$VERSION,;t t
2690 s,@ACLOCAL@,$ACLOCAL,;t t
2691 s,@AUTOCONF@,$AUTOCONF,;t t
2692 s,@AUTOMAKE@,$AUTOMAKE,;t t
2693 s,@AUTOHEADER@,$AUTOHEADER,;t t
2694 s,@MAKEINFO@,$MAKEINFO,;t t
2695 s,@AMTAR@,$AMTAR,;t t
2696 s,@install_sh@,$install_sh,;t t
2697 s,@STRIP@,$STRIP,;t t
2698 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2699 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2701 s,@SET_MAKE@,$SET_MAKE,;t t
2702 s,@am__leading_dot@,$am__leading_dot,;t t
2705 s,@HELP2MAN@,$HELP2MAN,;t t
2707 s,@TEST_EMACS@,$TEST_EMACS,;t t
2708 s,@EMACS@,$EMACS,;t t
2709 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
2710 s,@lispdir@,$lispdir,;t t
2711 s,@LIBOBJS@,$LIBOBJS,;t t
2712 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2717 cat >>$CONFIG_STATUS <<\_ACEOF
2718 # Split the substitutions into bite-sized pieces for seds with
2719 # small command number limits, like on Digital OSF/1 and HP-UX.
2721 ac_sed_frag
=1 # Number of current file.
2722 ac_beg
=1 # First line for current file.
2723 ac_end
=$ac_max_sed_lines # Line after last line for current file.
2726 while $ac_more_lines; do
2727 if test $ac_beg -gt 1; then
2728 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
2730 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
2732 if test ! -s $tmp/subs.frag
; then
2735 # The purpose of the label and of the branching condition is to
2736 # speed up the sed processing (if there are no `@' at all, there
2737 # is no need to browse any of the substitutions).
2738 # These are the two extra sed commands mentioned above.
2740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
2741 if test -z "$ac_sed_cmds"; then
2742 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
2744 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2746 ac_sed_frag
=`expr $ac_sed_frag + 1`
2748 ac_end
=`expr $ac_end + $ac_max_sed_lines`
2751 if test -z "$ac_sed_cmds"; then
2754 fi # test -n "$CONFIG_FILES"
2757 cat >>$CONFIG_STATUS <<\_ACEOF
2758 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
2759 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2761 - |
*:- |
*:-:* ) # input from stdin
2763 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
2764 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
2765 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
2766 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
2767 * ) ac_file_in
=$ac_file.
in ;;
2770 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2771 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
2772 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2773 X"$ac_file" : 'X\(//\)[^/]' \| \
2774 X"$ac_file" : 'X\(//\)$' \| \
2775 X"$ac_file" : 'X\(/\)' \| \
2776 . : '\(.\)' 2>/dev/null ||
2778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2779 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2780 /^X\(\/\/\)$/{ s//\1/; q; }
2781 /^X\(\/\).*/{ s//\1/; q; }
2783 { if $as_mkdir_p; then
2788 while test ! -d "$as_dir"; do
2789 as_dirs
="$as_dir $as_dirs"
2790 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
2791 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2792 X"$as_dir" : 'X\(//\)[^/]' \| \
2793 X"$as_dir" : 'X\(//\)$' \| \
2794 X"$as_dir" : 'X\(/\)' \| \
2795 . : '\(.\)' 2>/dev/null ||
2797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2799 /^X\(\/\/\)$/{ s//\1/; q; }
2800 /^X\(\/\).*/{ s//\1/; q; }
2803 test ! -n "$as_dirs" || mkdir
$as_dirs
2804 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2805 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2806 { (exit 1); exit 1; }; }; }
2810 if test "$ac_dir" != .
; then
2811 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2812 # A "../" for each directory in $ac_dir_suffix.
2813 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2815 ac_dir_suffix
= ac_top_builddir
=
2819 .
) # No --srcdir option. We are building in place.
2821 if test -z "$ac_top_builddir"; then
2824 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
2826 [\\/]* | ?
:[\\/]* ) # Absolute path.
2827 ac_srcdir
=$srcdir$ac_dir_suffix;
2828 ac_top_srcdir
=$srcdir ;;
2830 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
2831 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
2833 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2835 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
2836 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2837 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2838 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2842 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
2843 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
2846 if test x
"$ac_file" != x-
; then
2847 { echo "$as_me:$LINENO: creating $ac_file" >&5
2848 echo "$as_me: creating $ac_file" >&6;}
2851 # Let's still pretend it is `configure' which instantiates (i.e., don't
2852 # use $as_me), people would be surprised to read:
2853 # /* config.h. Generated by config.status. */
2854 if test x
"$ac_file" = x-
; then
2857 configure_input
="$ac_file. "
2859 configure_input
=$configure_input"Generated from `echo $ac_file_in |
2860 sed 's,.*/,,'` by configure."
2862 # First look for the input files in the build tree, otherwise in the
2864 ac_file_inputs
=`IFS=:
2865 for f in $ac_file_in; do
2867 -) echo $tmp/stdin ;;
2869 # Absolute (can't be DOS-style, as IFS=:)
2870 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2871 echo "$as_me: error: cannot find input file: $f" >&2;}
2872 { (exit 1); exit 1; }; }
2875 if test -f "$f"; then
2878 elif test -f "$srcdir/$f"; then
2883 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2884 echo "$as_me: error: cannot find input file: $f" >&2;}
2885 { (exit 1); exit 1; }; }
2888 done` ||
{ (exit 1); exit 1; }
2890 cat >>$CONFIG_STATUS <<_ACEOF
2894 cat >>$CONFIG_STATUS <<\_ACEOF
2896 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
2897 s
,@configure_input@
,$configure_input,;t t
2898 s
,@srcdir@
,$ac_srcdir,;t t
2899 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
2900 s
,@top_srcdir@
,$ac_top_srcdir,;t t
2901 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
2902 s
,@builddir@
,$ac_builddir,;t t
2903 s
,@abs_builddir@
,$ac_abs_builddir,;t t
2904 s
,@top_builddir@
,$ac_top_builddir,;t t
2905 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
2906 s
,@INSTALL@
,$ac_INSTALL,;t t
2907 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2909 if test x"$ac_file" != x-; then
2910 mv $tmp/out $ac_file
2916 # Run the commands associated with the file.
2918 tests/autoconf ) chmod +x tests/autoconf ;;
2919 tests/autoheader ) chmod +x tests/autoheader ;;
2920 tests/autom4te ) chmod +x tests/autom4te ;;
2921 tests/autoreconf ) chmod +x tests/autoreconf ;;
2922 tests/autoscan ) chmod +x tests/autoscan ;;
2923 tests/autoupdate ) chmod +x tests/autoupdate ;;
2924 tests/ifnames ) chmod +x tests/ifnames ;;
2928 cat >>$CONFIG_STATUS <<\_ACEOF
2931 # CONFIG_COMMANDS section.
2933 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
2934 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2935 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2936 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2937 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2938 X"$ac_dest" : 'X\(//\)[^/]' \| \
2939 X"$ac_dest" : 'X\(//\)$' \| \
2940 X"$ac_dest" : 'X\(/\)' \| \
2941 . : '\(.\)' 2>/dev/null ||
2943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2944 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2945 /^X\(\/\/\)$/{ s//\1/; q; }
2946 /^X\(\/\).*/{ s//\1/; q; }
2950 if test "$ac_dir" != .; then
2951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2952 # A "..
/" for each directory in $ac_dir_suffix.
2953 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2955 ac_dir_suffix= ac_top_builddir=
2959 .) # No --srcdir option. We are building in place.
2961 if test -z "$ac_top_builddir"; then
2964 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2966 [\\/]* | ?:[\\/]* ) # Absolute path.
2967 ac_srcdir=$srcdir$ac_dir_suffix;
2968 ac_top_srcdir=$srcdir ;;
2970 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2971 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2973 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2975 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2976 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2977 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2978 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2981 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
2982 echo "$as_me: executing
$ac_dest commands
" >&6;}
2984 tests/atconfig ) cat >tests/atconfig <<ATEOF
2985 # Configurable variable values for building test suites.
2987 # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
2989 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
2991 abs_builddir='$ac_abs_builddir'
2992 at_srcdir='$ac_srcdir'
2993 abs_srcdir='$ac_abs_srcdir'
2994 at_top_srcdir='$ac_top_srcdir'
2995 abs_top_srcdir='$ac_abs_top_srcdir'
2996 at_top_builddir='$ac_top_builddir'
2997 abs_top_builddir='$ac_abs_top_builddir'
2999 AUTOTEST_PATH='tests'
3001 SHELL=\${CONFIG_SHELL-'$SHELL'}
3008 cat >>$CONFIG_STATUS <<\_ACEOF
3010 { (exit 0); exit 0; }
3012 chmod +x $CONFIG_STATUS
3013 ac_clean_files=$ac_clean_files_save
3016 # configure is writing to config.log, and then calls config.status.
3017 # config.status does its own redirection, appending to config.log.
3018 # Unfortunately, on DOS this fails, as config.log is still kept open
3019 # by configure, so config.status won't be able to write to it; its
3020 # output is simply discarded. So we exec the FD to /dev/null,
3021 # effectively closing config.log, so it can be properly (re)opened and
3022 # appended to by config.status. When coming back to configure, we
3023 # need to make the FD available again.
3024 if test "$no_create" != yes; then
3026 ac_config_status_args=
3027 test "$silent" = yes &&
3028 ac_config_status_args="$ac_config_status_args --quiet"
3030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3033 # would make configure fail if this is the last instruction.
3034 $ac_cs_success || { (exit 1); exit 1; }
3037 # Report the state of this version of Autoconf if this is a beta.
3040 You are about to use an experimental version of Autoconf. Be sure to
3041 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3043 Below you will find information on the status of this version of Autoconf.
3047 sed -n '/^\* Status/,$p' $srcdir/BUGS