2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="lisp/gnus.el"
274 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 SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAKEINFO EMACS XEMACS EMACS_FLAVOR lispdir etcdir info_dir HAVE_url URL HAVE_w3_forms W3 FLAGS LATEX WITH_FONTS_bembo WITHOUT_FONTS_bembo WITH_FONTS_pfu WITHOUT_FONTS_pfu WITH_FONTS_bcr WITHOUT_FONTS_bcr USE_FONTS LIBOBJS LTLIBOBJS'
277 # Initialize some variables set by options.
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
289 program_transform_name=s,x,x,
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
349 cache_file=config.cache ;;
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 datadir=$ac_optarg ;;
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
392 -help | --help | --hel | --he | -h)
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
416 -libdir | --libdir | --libdi | --libd)
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 # Obsolete; use --without-fp.
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 sbindir=$ac_optarg ;;
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 sharedstatedir=$ac_optarg ;;
520 -site | --site | --sit)
522 -site=* | --site=* | --sit=*)
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 -version | --version | --versio | --versi | --vers | -V)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
571 # Obsolete; use --with-x.
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
623 eval ac_val=$`echo $ac_var`
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val=$`echo $ac_var`
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664 test "$silent" = yes && exec 6>/dev/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
684 if test ! -r $srcdir/$ac_unique_file; then
688 ac_srcdir_defaulted=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
717 # Report the --help message.
719 if test "$ac_init_help" = "long"; then
720 # Omit some internal or obsolete options to make the list less imposing.
721 # This message is too long to be a string in the A/UX 3.1 sh.
723 \`configure' configures this package to adapt to many kinds of systems.
725 Usage: $0 [OPTION]... [VAR=VALUE]...
727 To assign environment variables (e.g., CC, CFLAGS...), specify them as
728 VAR=VALUE. See below for descriptions of some of the useful variables.
730 Defaults for the options are specified in brackets.
733 -h, --help display this help and exit
734 --help=short display options specific to this package
735 --help=recursive display the short help of all the included packages
736 -V, --version display version information and exit
737 -q, --quiet, --silent do not print \`checking...' messages
738 --cache-file=FILE cache test results in FILE [disabled]
739 -C, --config-cache alias for \`--cache-file=config.cache'
740 -n, --no-create do not create output files
741 --srcdir=DIR find the sources in DIR [configure dir or \`..']
746 Installation directories:
747 --prefix=PREFIX install architecture-independent files in PREFIX
749 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
752 By default, \`make install' will install all the files in
753 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
754 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
755 for instance \`--prefix=\$HOME'.
757 For better control, use the options below.
759 Fine tuning of the installation directories:
760 --bindir=DIR user executables [EPREFIX/bin]
761 --sbindir=DIR system admin executables [EPREFIX/sbin]
762 --libexecdir=DIR program executables [EPREFIX/libexec]
763 --datadir=DIR read-only architecture-independent data [PREFIX/share]
764 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
765 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
766 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
767 --libdir=DIR object code libraries [EPREFIX/lib]
768 --includedir=DIR C header files [PREFIX/include]
769 --oldincludedir=DIR C header files for non-gcc [/usr/include]
770 --infodir=DIR info documentation [PREFIX/info]
771 --mandir=DIR man documentation [PREFIX/man]
778 if test -n "$ac_init_help"; then
783 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
784 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
785 --with-xemacs Use XEmacs to build
786 --with-emacs Use Emacs to build
787 --with-lispdir=DIR Where to install lisp files
788 --with-etcdir=DIR Where to install etc files
789 --with-url=DIR Specify where to find the url package
790 --with-w3=DIR Specify where to find the w3 package
791 --with-fonts Assume all fonts required are available
796 if test "$ac_init_help" = "recursive"; then
797 # If there are subdirs, report their specific --help.
799 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800 test -d $ac_dir || continue
803 if test "$ac_dir" != .; then
804 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
805 # A "../" for each directory in $ac_dir_suffix.
806 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
808 ac_dir_suffix= ac_top_builddir=
812 .) # No --srcdir option. We are building in place.
814 if test -z "$ac_top_builddir"; then
817 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
819 [\\/]* | ?:[\\/]* ) # Absolute path.
820 ac_srcdir=$srcdir$ac_dir_suffix;
821 ac_top_srcdir=$srcdir ;;
823 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
824 ac_top_srcdir=$ac_top_builddir$srcdir ;;
826 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
828 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
829 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
830 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
831 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
834 # Check for guested configure; otherwise get Cygnus style configure.
835 if test -f $ac_srcdir/configure.gnu; then
837 $SHELL $ac_srcdir/configure.gnu --help=recursive
838 elif test -f $ac_srcdir/configure; then
840 $SHELL $ac_srcdir/configure --help=recursive
841 elif test -f $ac_srcdir/configure.ac ||
842 test -f $ac_srcdir/configure.in; then
846 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
852 test -n "$ac_init_help" && exit 0
853 if $ac_init_version; then
856 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
857 Free Software Foundation, Inc.
858 This configure script is free software; the Free Software Foundation
859 gives unlimited permission to copy, distribute and modify it.
865 This file contains any messages produced by compilers while
866 running configure, to aid debugging if configure makes a mistake.
868 It was created by $as_me, which was
869 generated by GNU Autoconf 2.57. Invocation command line was
880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
892 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
903 test -z "$as_dir" && as_dir=.
919 # Keep a trace of the command line.
920 # Strip out --no-create and --no-recursion so they do not pile up.
921 # Strip out --silent because we don't want to record it for future runs.
922 # Also quote any args containing shell meta-characters.
923 # Make two passes to allow for proper duplicate-argument suppression.
928 ac_must_keep_next=false
934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
936 | -silent | --silent | --silen | --sile | --sil)
938 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
939 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
942 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
944 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
945 if test $ac_must_keep_next = true; then
946 ac_must_keep_next=false # Got value, back to normal.
949 *=* | --config-cache | -C | -disable-* | --disable-* \
950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
952 | -with-* | --with-* | -without-* | --without-* | --x)
953 case "$ac_configure_args0 " in
954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
957 -* ) ac_must_keep_next=true ;;
960 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
961 # Get rid of the leading space.
967 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
968 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
970 # When interrupted or exit'd, cleanup temporary files, and complete
971 # config.log. We remove comments because anyway the quotes in there
972 # would cause problems or look ugly.
973 # WARNING: Be sure not to use single quotes in there, as some shells,
974 # such as our DU 5.0 friend, will then `close' the trap.
976 # Save into config.log some information that might help in debugging.
981 ## ---------------- ##
982 ## Cache variables. ##
983 ## ---------------- ##
986 # The following way of writing the cache mishandles newlines in values,
989 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
992 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
993 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
997 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1004 ## ----------------- ##
1005 ## Output variables. ##
1006 ## ----------------- ##
1009 for ac_var in $ac_subst_vars
1011 eval ac_val=$`echo $ac_var`
1012 echo "$ac_var='"'"'$ac_val'"'"'"
1016 if test -n "$ac_subst_files"; then
1023 for ac_var in $ac_subst_files
1025 eval ac_val=$`echo $ac_var`
1026 echo "$ac_var='"'"'$ac_val'"'"'"
1031 if test -s confdefs.h; then
1038 sed "/^$/d" confdefs.h | sort
1041 test "$ac_signal" != 0 &&
1042 echo "$as_me: caught signal $ac_signal"
1043 echo "$as_me: exit $exit_status"
1045 rm -f core core.* *.core &&
1046 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1049 for ac_signal in 1 2 13 15; do
1050 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1054 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1055 rm -rf conftest* confdefs.h
1056 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1059 # Predefined preprocessor variables.
1061 cat >>confdefs.h <<_ACEOF
1062 #define PACKAGE_NAME "$PACKAGE_NAME"
1066 cat >>confdefs.h <<_ACEOF
1067 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1071 cat >>confdefs.h <<_ACEOF
1072 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_STRING "$PACKAGE_STRING"
1081 cat >>confdefs.h <<_ACEOF
1082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1086 # Let the site file select an alternate cache file if it wants to.
1087 # Prefer explicitly selected file to automatically selected ones.
1088 if test -z "$CONFIG_SITE"; then
1089 if test "x$prefix" != xNONE; then
1090 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1092 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1095 for ac_site_file in $CONFIG_SITE; do
1096 if test -r "$ac_site_file"; then
1097 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1098 echo "$as_me: loading site script $ac_site_file" >&6;}
1099 sed 's/^/| /' "$ac_site_file" >&5
1104 if test -r "$cache_file"; then
1105 # Some versions of bash will fail to source /dev/null (special
1106 # files actually), so we avoid doing that.
1107 if test -f "$cache_file"; then
1108 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1109 echo "$as_me: loading cache $cache_file" >&6;}
1111 [\\/]* | ?:[\\/]* ) . $cache_file;;
1112 *) . ./$cache_file;;
1116 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1117 echo "$as_me: creating cache $cache_file" >&6;}
1121 # Check that the precious variables saved in the cache have kept the same
1123 ac_cache_corrupted=false
1124 for ac_var in `(set) 2>&1 |
1125 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1126 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1127 eval ac_new_set=\$ac_env_${ac_var}_set
1128 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1129 eval ac_new_val="\$ac_env_${ac_var}_value"
1130 case $ac_old_set,$ac_new_set in
1132 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1133 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1134 ac_cache_corrupted=: ;;
1136 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1137 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1138 ac_cache_corrupted=: ;;
1141 if test "x$ac_old_val" != "x$ac_new_val"; then
1142 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1143 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1144 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1145 echo "$as_me: former value: $ac_old_val" >&2;}
1146 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1147 echo "$as_me: current value: $ac_new_val" >&2;}
1148 ac_cache_corrupted=:
1151 # Pass precious variables to config.status.
1152 if test "$ac_new_set" = set; then
1154 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1155 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1156 *) ac_arg=$ac_var=$ac_new_val ;;
1158 case " $ac_configure_args " in
1159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1160 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1164 if $ac_cache_corrupted; then
1165 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1166 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1167 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1168 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1169 { (exit 1); exit 1; }; }
1173 ac_cpp='$CPP $CPPFLAGS'
1174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1196 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1197 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1198 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1199 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1200 echo $ECHO_N "(cached) $ECHO_C" >&6
1202 cat >conftest.make <<\_ACEOF
1204 @echo 'ac_maketemp="$(MAKE)"'
1206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1207 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1208 if test -n "$ac_maketemp"; then
1209 eval ac_cv_prog_make_${ac_make}_set=yes
1211 eval ac_cv_prog_make_${ac_make}_set=no
1215 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1216 echo "$as_me:$LINENO: result: yes" >&5
1217 echo "${ECHO_T}yes" >&6
1220 echo "$as_me:$LINENO: result: no" >&5
1221 echo "${ECHO_T}no" >&6
1222 SET_MAKE="MAKE=${MAKE-make}"
1226 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1227 if test -f $ac_dir/install-sh; then
1229 ac_install_sh="$ac_aux_dir/install-sh -c"
1231 elif test -f $ac_dir/install.sh; then
1233 ac_install_sh="$ac_aux_dir/install.sh -c"
1235 elif test -f $ac_dir/shtool; then
1237 ac_install_sh="$ac_aux_dir/shtool install -c"
1241 if test -z "$ac_aux_dir"; then
1242 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1243 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1244 { (exit 1); exit 1; }; }
1246 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1247 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1248 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1250 # Find a good install program. We prefer a C program (faster),
1251 # so one script is as good as another. But avoid the broken or
1252 # incompatible versions:
1253 # SysV /etc/install, /usr/sbin/install
1254 # SunOS /usr/etc/install
1255 # IRIX /sbin/install
1257 # AmigaOS /C/install, which installs bootblocks on floppy discs
1258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1261 # ./install, which can be erroneously created by make from ./install.sh.
1262 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1263 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1264 if test -z "$INSTALL"; then
1265 if test "${ac_cv_path_install+set}" = set; then
1266 echo $ECHO_N "(cached) $ECHO_C" >&6
1268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1272 test -z "$as_dir" && as_dir=.
1273 # Account for people who put trailing slashes in PATH elements.
1275 ./ | .// | /cC/* | \
1276 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1279 # OSF1 and SCO ODT 3.0 have their own names for install.
1280 # Don't use installbsd from OSF since it installs stuff as root
1282 for ac_prog in ginstall scoinst install; do
1283 for ac_exec_ext in '' $ac_executable_extensions; do
1284 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1285 if test $ac_prog = install &&
1286 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1287 # AIX install. It has an incompatible calling convention.
1289 elif test $ac_prog = install &&
1290 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1291 # program-specific install script used by HP pwplus--don't use.
1294 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1306 if test "${ac_cv_path_install+set}" = set; then
1307 INSTALL=$ac_cv_path_install
1309 # As a last resort, use the slow shell script. We don't cache a
1310 # path for INSTALL within a source directory, because that will
1311 # break other packages using the cache if that directory is
1312 # removed, or if the path is relative.
1313 INSTALL=$ac_install_sh
1316 echo "$as_me:$LINENO: result: $INSTALL" >&5
1317 echo "${ECHO_T}$INSTALL" >&6
1319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1320 # It thinks the first close brace ends the variable substitution.
1321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1325 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1328 if test "${EMACS}" = "t"; then
1333 # Check whether --with-xemacs or --without-xemacs was given.
1334 if test "${with_xemacs+set}" = set; then
1335 withval="$with_xemacs"
1336 if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1339 # Check whether --with-emacs or --without-emacs was given.
1340 if test "${with_emacs+set}" = set; then
1341 withval="$with_emacs"
1342 if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1344 # Extract the first word of "makeinfo", so it can be a program name with args.
1345 set dummy makeinfo; ac_word=$2
1346 echo "$as_me:$LINENO: checking for $ac_word" >&5
1347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1348 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
1349 echo $ECHO_N "(cached) $ECHO_C" >&6
1351 if test -n "$MAKEINFO"; then
1352 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358 test -z "$as_dir" && as_dir=.
1359 for ac_exec_ext in '' $ac_executable_extensions; do
1360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1361 ac_cv_prog_MAKEINFO="makeinfo"
1362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1368 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1371 MAKEINFO=$ac_cv_prog_MAKEINFO
1372 if test -n "$MAKEINFO"; then
1373 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
1374 echo "${ECHO_T}$MAKEINFO" >&6
1376 echo "$as_me:$LINENO: result: no" >&5
1377 echo "${ECHO_T}no" >&6
1381 # Extract the first word of "emacs", so it can be a program name with args.
1382 set dummy emacs; ac_word=$2
1383 echo "$as_me:$LINENO: checking for $ac_word" >&5
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385 if test "${ac_cv_prog_EMACS+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 if test -n "$EMACS"; then
1389 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 test -z "$as_dir" && as_dir=.
1396 for ac_exec_ext in '' $ac_executable_extensions; do
1397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398 ac_cv_prog_EMACS="emacs"
1399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1405 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1408 EMACS=$ac_cv_prog_EMACS
1409 if test -n "$EMACS"; then
1410 echo "$as_me:$LINENO: result: $EMACS" >&5
1411 echo "${ECHO_T}$EMACS" >&6
1413 echo "$as_me:$LINENO: result: no" >&5
1414 echo "${ECHO_T}no" >&6
1420 echo "$as_me:$LINENO: checking if $EMACS is really XEmacs" >&5
1421 echo $ECHO_N "checking if $EMACS is really XEmacs... $ECHO_C" >&6
1423 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1424 if test -z ""noecho""; then
1425 echo "$as_me:$LINENO: checking for xemacsp" >&5
1426 echo $ECHO_N "checking for xemacsp... $ECHO_C" >&6
1428 if test "${EMACS_cv_SYS_xemacsp+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 OUTPUT=./conftest-$$
1433 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1434 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1435 retval=`cat ${OUTPUT}`
1436 echo "=> ${retval}" >& 5 2>&1
1438 EMACS_cv_SYS_xemacsp=$retval
1442 xemacsp=${EMACS_cv_SYS_xemacsp}
1443 if test -z ""noecho""; then
1444 echo "$as_me:$LINENO: result: $xemacsp" >&5
1445 echo "${ECHO_T}$xemacsp" >&6
1448 XEMACS=${EMACS_cv_SYS_xemacsp}
1450 if test "$XEMACS" = "yes"; then
1453 echo "$as_me:$LINENO: result: $XEMACS" >&5
1454 echo "${ECHO_T}$XEMACS" >&6
1458 if test "$prefix" = "NONE"; then
1459 echo "$as_me:$LINENO: checking prefix for your Emacs" >&5
1460 echo $ECHO_N "checking prefix for your Emacs... $ECHO_C" >&6
1462 elisp="(expand-file-name \"..\" invocation-directory)"
1463 if test -z ""noecho""; then
1464 echo "$as_me:$LINENO: checking for prefix" >&5
1465 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1467 if test "${EMACS_cv_SYS_prefix+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 OUTPUT=./conftest-$$
1472 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1473 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1474 retval=`cat ${OUTPUT}`
1475 echo "=> ${retval}" >& 5 2>&1
1477 EMACS_cv_SYS_prefix=$retval
1481 prefix=${EMACS_cv_SYS_prefix}
1482 if test -z ""noecho""; then
1483 echo "$as_me:$LINENO: result: $prefix" >&5
1484 echo "${ECHO_T}$prefix" >&6
1487 prefix=${EMACS_cv_SYS_prefix}
1488 echo "$as_me:$LINENO: result: $prefix" >&5
1489 echo "${ECHO_T}$prefix" >&6
1492 # Check whether --with-lispdir or --without-lispdir was given.
1493 if test "${with_lispdir+set}" = set; then
1494 withval="$with_lispdir"
1497 echo "$as_me:$LINENO: checking where .elc files should go" >&5
1498 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1499 if test -z "$lispdir"; then
1501 if test "x$theprefix" = "xNONE"; then
1502 theprefix=$ac_default_prefix
1504 if test "$EMACS_FLAVOR" = "xemacs"; then
1505 datadir="\$(prefix)/lib"
1506 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1508 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
1510 for thedir in share lib; do
1512 if test -d ${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp; then
1513 if test "$EMACS_FLAVOR" = "xemacs"; then
1514 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1516 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
1522 echo "$as_me:$LINENO: result: $lispdir" >&5
1523 echo "${ECHO_T}$lispdir" >&6
1528 # Check whether --with-etcdir or --without-etcdir was given.
1529 if test "${with_etcdir+set}" = set; then
1530 withval="$with_etcdir"
1533 echo "$as_me:$LINENO: checking where etc files should go" >&5
1534 echo $ECHO_N "checking where etc files should go... $ECHO_C" >&6
1535 if test -z "$etcdir"; then
1536 if test "$EMACS_FLAVOR" = "xemacs"; then
1537 etcdir="\$(lispdir)/../../etc"
1539 etcdir="\$(lispdir)/../etc"
1542 echo "$as_me:$LINENO: result: $etcdir" >&5
1543 echo "${ECHO_T}$etcdir" >&6
1547 echo "$as_me:$LINENO: checking where the TeXinfo docs should go" >&5
1548 echo $ECHO_N "checking where the TeXinfo docs should go... $ECHO_C" >&6
1549 if test "$infodir" = "\${prefix}/info"; then
1550 if test "$EMACS_FLAVOR" = "xemacs"; then
1551 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
1553 info_dir="\$(prefix)/info"
1558 echo "$as_me:$LINENO: result: $info_dir" >&5
1559 echo "${ECHO_T}$info_dir" >&6
1563 echo "$as_me:$LINENO: checking for acceptable URL version" >&5
1564 echo $ECHO_N "checking for acceptable URL version... $ECHO_C" >&6
1565 if test "${EMACS_cv_ACCEPTABLE_URL+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 if test -z ""noecho""; then
1571 echo "$as_me:$LINENO: checking for url-retrieve in url" >&5
1572 echo $ECHO_N "checking for url-retrieve in url... $ECHO_C" >&6
1574 library=`echo url | tr _ -`
1576 elisp="(progn (fmakunbound 'url-retrieve) (condition-case nil (progn (require '$library) (fboundp 'url-retrieve)) (error (prog1 nil (message \"$library not found\")))))"
1577 if test -z ""noecho""; then
1578 echo "$as_me:$LINENO: checking for url" >&5
1579 echo $ECHO_N "checking for url... $ECHO_C" >&6
1581 if test "${EMACS_cv_SYS_url+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 OUTPUT=./conftest-$$
1586 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1587 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1588 retval=`cat ${OUTPUT}`
1589 echo "=> ${retval}" >& 5 2>&1
1591 EMACS_cv_SYS_url=$retval
1595 url=${EMACS_cv_SYS_url}
1596 if test -z ""noecho""; then
1597 echo "$as_me:$LINENO: result: $url" >&5
1598 echo "${ECHO_T}$url" >&6
1601 if test "${EMACS_cv_SYS_url}" = "nil"; then
1604 if test "${EMACS_cv_SYS_url}" = "t"; then
1605 EMACS_cv_SYS_url=yes
1607 HAVE_url=${EMACS_cv_SYS_url}
1609 if test -z ""noecho""; then
1610 echo "$as_me:$LINENO: result: $HAVE_url" >&5
1611 echo "${ECHO_T}$HAVE_url" >&6
1614 if test "${HAVE_url}" = "yes"; then
1615 EMACS_cv_ACCEPTABLE_URL=yes
1617 EMACS_cv_ACCEPTABLE_URL=no
1620 if test "${EMACS_cv_ACCEPTABLE_URL}" = "yes"; then
1622 elisp="(file-name-directory (locate-library \"url\"))"
1623 if test -z ""noecho""; then
1624 echo "$as_me:$LINENO: checking for url_dir" >&5
1625 echo $ECHO_N "checking for url_dir... $ECHO_C" >&6
1627 if test "${EMACS_cv_SYS_url_dir+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 OUTPUT=./conftest-$$
1632 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1633 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1634 retval=`cat ${OUTPUT}`
1635 echo "=> ${retval}" >& 5 2>&1
1637 EMACS_cv_SYS_url_dir=$retval
1641 url_dir=${EMACS_cv_SYS_url_dir}
1642 if test -z ""noecho""; then
1643 echo "$as_me:$LINENO: result: $url_dir" >&5
1644 echo "${ECHO_T}$url_dir" >&6
1647 EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
1653 # Check whether --with-url or --without-url was given.
1654 if test "${with_url+set}" = set; then
1656 EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1658 URL=${EMACS_cv_ACCEPTABLE_URL}
1660 echo "$as_me:$LINENO: result: \"${URL}\"" >&5
1661 echo "${ECHO_T}\"${URL}\"" >&6
1664 echo "$as_me:$LINENO: checking for acceptable W3 version" >&5
1665 echo $ECHO_N "checking for acceptable W3 version... $ECHO_C" >&6
1666 if test "${EMACS_cv_ACCEPTABLE_W3+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 if test -z ""noecho""; then
1672 echo "$as_me:$LINENO: checking for w3-form-encode-xwfu in w3_forms" >&5
1673 echo $ECHO_N "checking for w3-form-encode-xwfu in w3_forms... $ECHO_C" >&6
1675 library=`echo w3_forms | tr _ -`
1677 elisp="(progn (fmakunbound 'w3-form-encode-xwfu) (condition-case nil (progn (require '$library) (fboundp 'w3-form-encode-xwfu)) (error (prog1 nil (message \"$library not found\")))))"
1678 if test -z ""noecho""; then
1679 echo "$as_me:$LINENO: checking for w3_forms" >&5
1680 echo $ECHO_N "checking for w3_forms... $ECHO_C" >&6
1682 if test "${EMACS_cv_SYS_w3_forms+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 OUTPUT=./conftest-$$
1687 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1688 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1689 retval=`cat ${OUTPUT}`
1690 echo "=> ${retval}" >& 5 2>&1
1692 EMACS_cv_SYS_w3_forms=$retval
1696 w3_forms=${EMACS_cv_SYS_w3_forms}
1697 if test -z ""noecho""; then
1698 echo "$as_me:$LINENO: result: $w3_forms" >&5
1699 echo "${ECHO_T}$w3_forms" >&6
1702 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
1703 EMACS_cv_SYS_w3_forms=no
1705 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
1706 EMACS_cv_SYS_w3_forms=yes
1708 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
1710 if test -z ""noecho""; then
1711 echo "$as_me:$LINENO: result: $HAVE_w3_forms" >&5
1712 echo "${ECHO_T}$HAVE_w3_forms" >&6
1715 if test "${HAVE_w3_forms}" = "yes"; then
1716 EMACS_cv_ACCEPTABLE_W3=yes
1718 EMACS_cv_ACCEPTABLE_W3=no
1721 if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
1723 elisp="(file-name-directory (locate-library \"w3-forms\"))"
1724 if test -z ""noecho""; then
1725 echo "$as_me:$LINENO: checking for w3_dir" >&5
1726 echo $ECHO_N "checking for w3_dir... $ECHO_C" >&6
1728 if test "${EMACS_cv_SYS_w3_dir+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 OUTPUT=./conftest-$$
1733 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1734 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1735 retval=`cat ${OUTPUT}`
1736 echo "=> ${retval}" >& 5 2>&1
1738 EMACS_cv_SYS_w3_dir=$retval
1742 w3_dir=${EMACS_cv_SYS_w3_dir}
1743 if test -z ""noecho""; then
1744 echo "$as_me:$LINENO: result: $w3_dir" >&5
1745 echo "${ECHO_T}$w3_dir" >&6
1748 EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
1754 # Check whether --with-w3 or --without-w3 was given.
1755 if test "${with_w3+set}" = set; then
1757 EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1759 W3=${EMACS_cv_ACCEPTABLE_W3}
1761 echo "$as_me:$LINENO: result: \"${W3}\"" >&5
1762 echo "${ECHO_T}\"${W3}\"" >&6
1765 echo "$as_me:$LINENO: checking which options to pass on to (X)Emacs" >&5
1766 echo $ECHO_N "checking which options to pass on to (X)Emacs... $ECHO_C" >&6
1767 if test "x$FLAGS" = "x"; then
1768 if test "$EMACS_FLAVOR" = "xemacs"; then
1769 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
1771 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
1776 echo "$as_me:$LINENO: result: $FLAGS" >&5
1777 echo "${ECHO_T}$FLAGS" >&6
1781 test "$LATEX" = t && LATEX=
1782 test "$LATEX" || for ac_prog in latex
1784 # Extract the first word of "$ac_prog", so it can be a program name with args.
1785 set dummy $ac_prog; ac_word=$2
1786 echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 if test "${ac_cv_path_LATEX+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
1796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir=.
1801 for ac_exec_ext in '' $ac_executable_extensions; do
1802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
1804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813 LATEX=$ac_cv_path_LATEX
1815 if test -n "$LATEX"; then
1816 echo "$as_me:$LINENO: result: $LATEX" >&5
1817 echo "${ECHO_T}$LATEX" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$LATEX" && break
1825 test -n "$LATEX" || LATEX="no"
1827 echo "$as_me:$LINENO: checking for available fonts" >&5
1828 echo $ECHO_N "checking for available fonts... $ECHO_C" >&6
1830 # Check whether --with-fonts or --without-fonts was given.
1831 if test "${with_fonts+set}" = set; then
1832 withval="$with_fonts"
1833 USE_FONTS="$withval"
1835 WITH_FONTS_bembo='%'
1836 WITHOUT_FONTS_bembo=
1841 if test -z "${USE_FONTS}"; then
1842 if test "${LATEX}" = no; then
1845 OUTPUT=./conftest-$$
1846 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
1847 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
1848 if test -z "${USE_FONTS}"; then
1849 USE_FONTS="Adobe Bembo"
1851 USE_FONTS="${USE_FONTS}, Adobe Bembo"
1854 WITHOUT_FONTS_bembo='%'
1856 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
1857 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
1858 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
1861 if test -z "${USE_FONTS}"; then
1862 USE_FONTS="Adobe Futura"
1864 USE_FONTS="${USE_FONTS}, Adobe Futura"
1867 WITHOUT_FONTS_pfu='%'
1870 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
1871 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
1872 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
1875 if test -z "${USE_FONTS}"; then
1876 USE_FONTS="Bitstream Courier"
1878 USE_FONTS="${USE_FONTS}, Bitstream Courier"
1881 WITHOUT_FONTS_bcr='%'
1884 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
1886 elif test "${USE_FONTS}" = yes ; then
1888 WITHOUT_FONTS_bembo='%'
1890 WITHOUT_FONTS_pfu='%'
1892 WITHOUT_FONTS_bcr='%'
1900 if test -z "${USE_FONTS}" ; then
1903 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
1904 echo "$as_me:$LINENO: result: \"${USE_FONTS}\"" >&5
1905 echo "${ECHO_T}\"${USE_FONTS}\"" >&6
1906 if test "${USE_FONTS}" = yes ; then
1907 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
1908 elif test "${USE_FONTS}" = no ; then
1911 USE_FONTS="Set in ${USE_FONTS}."
1916 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
1917 cat >confcache <<\_ACEOF
1918 # This file is a shell script that caches the results of configure
1919 # tests run on this system so they can be shared between configure
1920 # scripts and configure runs, see configure's option --config-cache.
1921 # It is not useful on other systems. If it contains results you don't
1922 # want to keep, you may remove or edit it.
1924 # config.status only pays attention to the cache file if you give it
1925 # the --recheck option to rerun configure.
1927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1933 # The following way of writing the cache mishandles newlines in values,
1934 # but we know of no workaround that is simple, portable, and efficient.
1935 # So, don't put newlines in cache variables' values.
1936 # Ultrix sh set writes to stderr and can't be redirected directly,
1937 # and sets the high bit in the cache file unless we assign to the vars.
1940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1942 # `set' does not quote correctly, so add quotes (double-quote
1943 # substitution turns \\\\ into \\, and sed turns \\ into \).
1946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1949 # `set' quotes correctly as required by POSIX, so do not add quotes.
1951 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1960 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1962 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1963 if test -w $cache_file; then
1964 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1965 cat confcache >$cache_file
1967 echo "not updating unwritable cache $cache_file"
1972 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1973 # Let make expand exec_prefix.
1974 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1976 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1977 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1978 # trailing colons and then remove the whole line if VPATH becomes empty
1979 # (actually we leave an empty line to preserve line numbers).
1980 if test "x$srcdir" = x.; then
1981 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1982 s/:*\$(srcdir):*/:/;
1983 s/:*\${srcdir}:*/:/;
1985 s/^\([^=]*=[ ]*\):*/\1/;
1991 # Transform confdefs.h into DEFS.
1992 # Protect against shell expansion while executing Makefile rules.
1993 # Protect against Makefile macro expansion.
1995 # If the first sed substitution is executed (which looks for macros that
1996 # take arguments), then we branch to the quote section. Otherwise,
1997 # look for a macro that doesn't take arguments.
1998 cat >confdef2opt.sed <<\_ACEOF
2001 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2003 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2007 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2013 # We use echo to avoid assuming a particular line-breaking character.
2014 # The extra dot is to prevent the shell from consuming trailing
2015 # line-breaks from the sub-command output. A line-break within
2016 # single-quotes doesn't work because, if this script is created in a
2017 # platform that uses two characters for line-breaks (e.g., DOS), tr
2019 ac_LF_and_DOT=`echo; echo .`
2020 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2021 rm -f confdef2opt.sed
2026 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2027 # 1. Remove the extension, and $U if already installed.
2028 ac_i=`echo "$ac_i" |
2029 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2031 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2032 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2036 LTLIBOBJS=$ac_ltlibobjs
2040 : ${CONFIG_STATUS=./config.status}
2041 ac_clean_files_save=$ac_clean_files
2042 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2043 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2044 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2045 cat >$CONFIG_STATUS <<_ACEOF
2047 # Generated by $as_me.
2048 # Run this file to recreate the current configuration.
2049 # Compiler output produced by configure, useful for debugging
2050 # configure, is in config.log if it exists.
2055 SHELL=\${CONFIG_SHELL-$SHELL}
2058 cat >>$CONFIG_STATUS <<\_ACEOF
2059 ## --------------------- ##
2060 ## M4sh Initialization. ##
2061 ## --------------------- ##
2063 # Be Bourne compatible
2064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2067 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2068 # is contrary to our usage. Disable this feature.
2069 alias -g '${1+"$@"}'='"$@"'
2070 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2074 # Support unset when possible.
2075 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2082 # Work around bugs in pre-3.0 UWIN ksh.
2083 $as_unset ENV MAIL MAILPATH
2090 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2091 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2092 LC_TELEPHONE LC_TIME
2094 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
2095 eval $as_var=C; export $as_var
2101 # Required to use basename.
2102 if expr a : '\(a\)' >/dev/null 2>&1; then
2108 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2109 as_basename=basename
2115 # Name of the executable.
2116 as_me=`$as_basename "$0" ||
2117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2118 X"$0" : 'X\(//\)$' \| \
2119 X"$0" : 'X\(/\)$' \| \
2120 . : '\(.\)' 2>/dev/null ||
2122 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2123 /^X\/\(\/\/\)$/{ s//\1/; q; }
2124 /^X\/\(\/\).*/{ s//\1/; q; }
2128 # PATH needs CR, and LINENO needs CR and PATH.
2129 # Avoid depending upon Character Ranges.
2130 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2131 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2132 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2133 as_cr_digits='0123456789'
2134 as_cr_alnum=$as_cr_Letters$as_cr_digits
2136 # The user is always right.
2137 if test "${PATH_SEPARATOR+set}" != set; then
2138 echo "#! /bin/sh" >conf$$.sh
2139 echo "exit 0" >>conf$$.sh
2141 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2152 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2153 test "x$as_lineno_1" != "x$as_lineno_2" &&
2154 test "x$as_lineno_3" = "x$as_lineno_2" || {
2155 # Find who we are. Look in the path if we contain no path at all
2158 *[\\/]* ) as_myself=$0 ;;
2159 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir=.
2164 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2169 # We did not find ourselves, most probably we were run as `sh COMMAND'
2170 # in which case we are not to be found in the path.
2171 if test "x$as_myself" = x; then
2174 if test ! -f "$as_myself"; then
2175 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2176 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2177 { (exit 1); exit 1; }; }
2179 case $CONFIG_SHELL in
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2185 test -z "$as_dir" && as_dir=.
2186 for as_base in sh bash ksh sh5; do
2189 if ("$as_dir/$as_base" -c '
2192 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2193 test "x$as_lineno_1" != "x$as_lineno_2" &&
2194 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2195 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2196 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2197 CONFIG_SHELL=$as_dir/$as_base
2199 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2207 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2208 # uniformly replaced by the line number. The first 'sed' inserts a
2209 # line-number line before each line; the second 'sed' does the real
2210 # work. The second script uses 'N' to pair each line-number line
2211 # with the numbered line, and appends trailing '-' during
2212 # substitution so that $LINENO is not a special case at line end.
2213 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2214 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2215 sed '=' <$as_myself |
2220 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2223 s,^['$as_cr_digits']*\n,,
2225 chmod +x $as_me.lineno ||
2226 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2227 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2228 { (exit 1); exit 1; }; }
2230 # Don't try to exec as it changes $[0], causing all sort of problems
2231 # (the dirname of $[0] is not the place where we might find the
2232 # original and so on. Autoconf is especially sensible to this).
2234 # Exit status is that of the last command.
2239 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2240 *c*,-n*) ECHO_N= ECHO_C='
2242 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2243 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2246 if expr a : '\(a\)' >/dev/null 2>&1; then
2252 rm -f conf$$ conf$$.exe conf$$.file
2254 if ln -s conf$$.file conf$$ 2>/dev/null; then
2255 # We could just check for DJGPP; but this test a) works b) is more generic
2256 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2257 if test -f conf$$.exe; then
2258 # Don't use ln at all; we don't have any links
2263 elif ln conf$$.file conf$$ 2>/dev/null; then
2268 rm -f conf$$ conf$$.exe conf$$.file
2270 if mkdir -p . 2>/dev/null; then
2276 as_executable_p="test -f"
2278 # Sed expression to map a string onto a valid CPP name.
2279 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2281 # Sed expression to map a string onto a valid variable name.
2282 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2286 # We need space, tab and new line, in precisely that order.
2296 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2297 # report actual input values of CONFIG_FILES etc. instead of their
2298 # values after options handling. Logging --version etc. is OK.
2302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2303 ## Running $as_me. ##
2308 This file was extended by $as_me, which was
2309 generated by GNU Autoconf 2.57. Invocation command line was
2311 CONFIG_FILES = $CONFIG_FILES
2312 CONFIG_HEADERS = $CONFIG_HEADERS
2313 CONFIG_LINKS = $CONFIG_LINKS
2314 CONFIG_COMMANDS = $CONFIG_COMMANDS
2318 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2322 # Files that config.status was made for.
2323 if test -n "$ac_config_files"; then
2324 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2327 if test -n "$ac_config_headers"; then
2328 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2331 if test -n "$ac_config_links"; then
2332 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2335 if test -n "$ac_config_commands"; then
2336 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2339 cat >>$CONFIG_STATUS <<\_ACEOF
2342 \`$as_me' instantiates files from templates according to the
2343 current configuration.
2345 Usage: $0 [OPTIONS] [FILE]...
2347 -h, --help print this help, then exit
2348 -V, --version print version number, then exit
2349 -q, --quiet do not print progress messages
2350 -d, --debug don't remove temporary files
2351 --recheck update $as_me by reconfiguring in the same conditions
2352 --file=FILE[:TEMPLATE]
2353 instantiate the configuration file FILE
2355 Configuration files:
2358 Report bugs to <bug-autoconf@gnu.org>."
2361 cat >>$CONFIG_STATUS <<_ACEOF
2364 configured by $0, generated by GNU Autoconf 2.57,
2365 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2367 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2368 Free Software Foundation, Inc.
2369 This config.status script is free software; the Free Software Foundation
2370 gives unlimited permission to copy, distribute and modify it."
2375 cat >>$CONFIG_STATUS <<\_ACEOF
2376 # If no file are specified by the user, then we need to provide default
2377 # value. By we need to know if files were specified by the user.
2383 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2384 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2392 *) # This is not an option, so the user has probably given explicit
2395 ac_need_defaults=false;;
2399 # Handling of the options.
2401 cat >>$CONFIG_STATUS <<\_ACEOF
2402 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2404 --version | --vers* | -V )
2405 echo "$ac_cs_version"; exit 0 ;;
2407 # Conflict between --help and --header
2408 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2409 Try \`$0 --help' for more information." >&5
2410 echo "$as_me: error: ambiguous option: $1
2411 Try \`$0 --help' for more information." >&2;}
2412 { (exit 1); exit 1; }; };;
2413 --help | --hel | -h )
2414 echo "$ac_cs_usage"; exit 0 ;;
2415 --debug | --d* | -d )
2417 --file | --fil | --fi | --f )
2419 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2420 ac_need_defaults=false;;
2421 --header | --heade | --head | --hea )
2423 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2424 ac_need_defaults=false;;
2425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2426 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2430 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2431 Try \`$0 --help' for more information." >&5
2432 echo "$as_me: error: unrecognized option: $1
2433 Try \`$0 --help' for more information." >&2;}
2434 { (exit 1); exit 1; }; } ;;
2436 *) ac_config_targets="$ac_config_targets $1" ;;
2442 ac_configure_extra_args=
2444 if $ac_cs_silent; then
2446 ac_configure_extra_args="$ac_configure_extra_args --silent"
2450 cat >>$CONFIG_STATUS <<_ACEOF
2451 if \$ac_cs_recheck; then
2452 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2453 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2462 cat >>$CONFIG_STATUS <<\_ACEOF
2463 for ac_config_target in $ac_config_targets
2465 case "$ac_config_target" in
2466 # Handling of arguments.
2467 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2468 "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
2469 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
2470 "texi/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
2471 "texi/gnusconfig.tex" ) CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
2472 "texi/ps/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
2473 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2474 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2475 { (exit 1); exit 1; }; };;
2479 # If the user did not use the arguments to specify the items to instantiate,
2480 # then the envvar interface is used. Set only those that are not.
2481 # We use the long form for the default assignment because of an extremely
2482 # bizarre bug on SunOS 4.1.3.
2483 if $ac_need_defaults; then
2484 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2487 # Have a temporary directory for convenience. Make it in the build tree
2488 # simply because there is no reason to put it here, and in addition,
2489 # creating and moving files from /tmp can sometimes cause problems.
2490 # Create a temporary directory, and hook for its removal unless debugging.
2493 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2494 trap '{ (exit 1); exit 1; }' 1 2 13 15
2497 # Create a (secure) tmp directory for tmp files.
2500 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2501 test -n "$tmp" && test -d "$tmp"
2504 tmp=./confstat$$-$RANDOM
2505 (umask 077 && mkdir $tmp)
2508 echo "$me: cannot create a temporary directory in ." >&2
2509 { (exit 1); exit 1; }
2514 cat >>$CONFIG_STATUS <<_ACEOF
2517 # CONFIG_FILES section.
2520 # No need to generate the scripts if there are no CONFIG_FILES.
2521 # This happens for instance when ./config.status config.h
2522 if test -n "\$CONFIG_FILES"; then
2523 # Protect against being on the right side of a sed subst in config.status.
2524 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2525 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2526 s,@SHELL@,$SHELL,;t t
2527 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2528 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2529 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2530 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2531 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2532 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2533 s,@exec_prefix@,$exec_prefix,;t t
2534 s,@prefix@,$prefix,;t t
2535 s,@program_transform_name@,$program_transform_name,;t t
2536 s,@bindir@,$bindir,;t t
2537 s,@sbindir@,$sbindir,;t t
2538 s,@libexecdir@,$libexecdir,;t t
2539 s,@datadir@,$datadir,;t t
2540 s,@sysconfdir@,$sysconfdir,;t t
2541 s,@sharedstatedir@,$sharedstatedir,;t t
2542 s,@localstatedir@,$localstatedir,;t t
2543 s,@libdir@,$libdir,;t t
2544 s,@includedir@,$includedir,;t t
2545 s,@oldincludedir@,$oldincludedir,;t t
2546 s,@infodir@,$infodir,;t t
2547 s,@mandir@,$mandir,;t t
2548 s,@build_alias@,$build_alias,;t t
2549 s,@host_alias@,$host_alias,;t t
2550 s,@target_alias@,$target_alias,;t t
2552 s,@ECHO_C@,$ECHO_C,;t t
2553 s,@ECHO_N@,$ECHO_N,;t t
2554 s,@ECHO_T@,$ECHO_T,;t t
2556 s,@SET_MAKE@,$SET_MAKE,;t t
2557 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2558 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2559 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2560 s,@MAKEINFO@,$MAKEINFO,;t t
2561 s,@EMACS@,$EMACS,;t t
2562 s,@XEMACS@,$XEMACS,;t t
2563 s,@EMACS_FLAVOR@,$EMACS_FLAVOR,;t t
2564 s,@lispdir@,$lispdir,;t t
2565 s,@etcdir@,$etcdir,;t t
2566 s,@info_dir@,$info_dir,;t t
2567 s,@HAVE_url@,$HAVE_url,;t t
2569 s,@HAVE_w3_forms@,$HAVE_w3_forms,;t t
2571 s,@FLAGS@,$FLAGS,;t t
2572 s,@LATEX@,$LATEX,;t t
2573 s,@WITH_FONTS_bembo@,$WITH_FONTS_bembo,;t t
2574 s,@WITHOUT_FONTS_bembo@,$WITHOUT_FONTS_bembo,;t t
2575 s,@WITH_FONTS_pfu@,$WITH_FONTS_pfu,;t t
2576 s,@WITHOUT_FONTS_pfu@,$WITHOUT_FONTS_pfu,;t t
2577 s,@WITH_FONTS_bcr@,$WITH_FONTS_bcr,;t t
2578 s,@WITHOUT_FONTS_bcr@,$WITHOUT_FONTS_bcr,;t t
2579 s,@USE_FONTS@,$USE_FONTS,;t t
2580 s,@LIBOBJS@,$LIBOBJS,;t t
2581 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2586 cat >>$CONFIG_STATUS <<\_ACEOF
2587 # Split the substitutions into bite-sized pieces for seds with
2588 # small command number limits, like on Digital OSF/1 and HP-UX.
2590 ac_sed_frag=1 # Number of current file.
2591 ac_beg=1 # First line for current file.
2592 ac_end=$ac_max_sed_lines # Line after last line for current file.
2595 while $ac_more_lines; do
2596 if test $ac_beg -gt 1; then
2597 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2599 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2601 if test ! -s $tmp/subs.frag; then
2604 # The purpose of the label and of the branching condition is to
2605 # speed up the sed processing (if there are no `@' at all, there
2606 # is no need to browse any of the substitutions).
2607 # These are the two extra sed commands mentioned above.
2609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2610 if test -z "$ac_sed_cmds"; then
2611 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2613 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2615 ac_sed_frag=`expr $ac_sed_frag + 1`
2617 ac_end=`expr $ac_end + $ac_max_sed_lines`
2620 if test -z "$ac_sed_cmds"; then
2623 fi # test -n "$CONFIG_FILES"
2626 cat >>$CONFIG_STATUS <<\_ACEOF
2627 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2628 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2630 - | *:- | *:-:* ) # input from stdin
2632 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2634 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2635 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2636 * ) ac_file_in=$ac_file.in ;;
2639 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2640 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2642 X"$ac_file" : 'X\(//\)[^/]' \| \
2643 X"$ac_file" : 'X\(//\)$' \| \
2644 X"$ac_file" : 'X\(/\)' \| \
2645 . : '\(.\)' 2>/dev/null ||
2647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2649 /^X\(\/\/\)$/{ s//\1/; q; }
2650 /^X\(\/\).*/{ s//\1/; q; }
2652 { if $as_mkdir_p; then
2657 while test ! -d "$as_dir"; do
2658 as_dirs="$as_dir $as_dirs"
2659 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2661 X"$as_dir" : 'X\(//\)[^/]' \| \
2662 X"$as_dir" : 'X\(//\)$' \| \
2663 X"$as_dir" : 'X\(/\)' \| \
2664 . : '\(.\)' 2>/dev/null ||
2666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2668 /^X\(\/\/\)$/{ s//\1/; q; }
2669 /^X\(\/\).*/{ s//\1/; q; }
2672 test ! -n "$as_dirs" || mkdir $as_dirs
2673 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2674 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2675 { (exit 1); exit 1; }; }; }
2679 if test "$ac_dir" != .; then
2680 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2681 # A "../" for each directory in $ac_dir_suffix.
2682 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2684 ac_dir_suffix= ac_top_builddir=
2688 .) # No --srcdir option. We are building in place.
2690 if test -z "$ac_top_builddir"; then
2693 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2695 [\\/]* | ?:[\\/]* ) # Absolute path.
2696 ac_srcdir=$srcdir$ac_dir_suffix;
2697 ac_top_srcdir=$srcdir ;;
2699 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2700 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2702 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2704 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2705 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2706 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2707 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2711 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2712 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2715 if test x"$ac_file" != x-; then
2716 { echo "$as_me:$LINENO: creating $ac_file" >&5
2717 echo "$as_me: creating $ac_file" >&6;}
2720 # Let's still pretend it is `configure' which instantiates (i.e., don't
2721 # use $as_me), people would be surprised to read:
2722 # /* config.h. Generated by config.status. */
2723 if test x"$ac_file" = x-; then
2726 configure_input="$ac_file. "
2728 configure_input=$configure_input"Generated from `echo $ac_file_in |
2729 sed 's,.*/,,'` by configure."
2731 # First look for the input files in the build tree, otherwise in the
2733 ac_file_inputs=`IFS=:
2734 for f in $ac_file_in; do
2736 -) echo $tmp/stdin ;;
2738 # Absolute (can't be DOS-style, as IFS=:)
2739 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2740 echo "$as_me: error: cannot find input file: $f" >&2;}
2741 { (exit 1); exit 1; }; }
2744 if test -f "$f"; then
2747 elif test -f "$srcdir/$f"; then
2752 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2753 echo "$as_me: error: cannot find input file: $f" >&2;}
2754 { (exit 1); exit 1; }; }
2757 done` || { (exit 1); exit 1; }
2759 cat >>$CONFIG_STATUS <<_ACEOF
2763 cat >>$CONFIG_STATUS <<\_ACEOF
2765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2766 s,@configure_input@,$configure_input,;t t
2767 s,@srcdir@,$ac_srcdir,;t t
2768 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2769 s,@top_srcdir@,$ac_top_srcdir,;t t
2770 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2771 s,@builddir@,$ac_builddir,;t t
2772 s,@abs_builddir@,$ac_abs_builddir,;t t
2773 s,@top_builddir@,$ac_top_builddir,;t t
2774 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2775 s,@INSTALL@,$ac_INSTALL,;t t
2776 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2778 if test x"$ac_file" != x-; then
2779 mv $tmp/out $ac_file
2788 cat >>$CONFIG_STATUS <<\_ACEOF
2790 { (exit 0); exit 0; }
2792 chmod +x $CONFIG_STATUS
2793 ac_clean_files=$ac_clean_files_save
2796 # configure is writing to config.log, and then calls config.status.
2797 # config.status does its own redirection, appending to config.log.
2798 # Unfortunately, on DOS this fails, as config.log is still kept open
2799 # by configure, so config.status won't be able to write to it; its
2800 # output is simply discarded. So we exec the FD to /dev/null,
2801 # effectively closing config.log, so it can be properly (re)opened and
2802 # appended to by config.status. When coming back to configure, we
2803 # need to make the FD available again.
2804 if test "$no_create" != yes; then
2806 ac_config_status_args=
2807 test "$silent" = yes &&
2808 ac_config_status_args="$ac_config_status_args --quiet"
2810 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2812 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2813 # would make configure fail if this is the last instruction.
2814 $ac_cs_success || { (exit 1); exit 1; }