2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="lisp/gnus.el"
275 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'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
718 # Report the --help message.
720 if test "$ac_init_help" = "long"; then
721 # Omit some internal or obsolete options to make the list less imposing.
722 # This message is too long to be a string in the A/UX 3.1 sh.
724 \`configure' configures this package to adapt to many kinds of systems.
726 Usage: $0 [OPTION]... [VAR=VALUE]...
728 To assign environment variables (e.g., CC, CFLAGS...), specify them as
729 VAR=VALUE. See below for descriptions of some of the useful variables.
731 Defaults for the options are specified in brackets.
734 -h, --help display this help and exit
735 --help=short display options specific to this package
736 --help=recursive display the short help of all the included packages
737 -V, --version display version information and exit
738 -q, --quiet, --silent do not print \`checking...' messages
739 --cache-file=FILE cache test results in FILE [disabled]
740 -C, --config-cache alias for \`--cache-file=config.cache'
741 -n, --no-create do not create output files
742 --srcdir=DIR find the sources in DIR [configure dir or \`..']
747 Installation directories:
748 --prefix=PREFIX install architecture-independent files in PREFIX
750 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
753 By default, \`make install' will install all the files in
754 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
755 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
756 for instance \`--prefix=\$HOME'.
758 For better control, use the options below.
760 Fine tuning of the installation directories:
761 --bindir=DIR user executables [EPREFIX/bin]
762 --sbindir=DIR system admin executables [EPREFIX/sbin]
763 --libexecdir=DIR program executables [EPREFIX/libexec]
764 --datadir=DIR read-only architecture-independent data [PREFIX/share]
765 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
766 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
767 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
768 --libdir=DIR object code libraries [EPREFIX/lib]
769 --includedir=DIR C header files [PREFIX/include]
770 --oldincludedir=DIR C header files for non-gcc [/usr/include]
771 --infodir=DIR info documentation [PREFIX/info]
772 --mandir=DIR man documentation [PREFIX/man]
779 if test -n "$ac_init_help"; then
784 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
785 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
786 --with-xemacs Use XEmacs to build
787 --with-emacs Use Emacs to build
788 --with-lispdir=DIR Where to install lisp files
789 --with-etcdir=DIR Where to install etc files
790 --with-url=DIR Specify where to find the url package
791 --with-w3=DIR Specify where to find the w3 package
792 --with-fonts Assume all fonts required are available
797 if test "$ac_init_help" = "recursive"; then
798 # If there are subdirs, report their specific --help.
800 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
801 test -d $ac_dir || continue
804 if test "$ac_dir" != .; then
805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
806 # A "../" for each directory in $ac_dir_suffix.
807 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
809 ac_dir_suffix= ac_top_builddir=
813 .) # No --srcdir option. We are building in place.
815 if test -z "$ac_top_builddir"; then
818 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
820 [\\/]* | ?:[\\/]* ) # Absolute path.
821 ac_srcdir=$srcdir$ac_dir_suffix;
822 ac_top_srcdir=$srcdir ;;
824 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
825 ac_top_srcdir=$ac_top_builddir$srcdir ;;
828 # Do not use `cd foo && pwd` to compute absolute paths, because
829 # the directories may not exist.
831 .) ac_abs_builddir="$ac_dir";;
834 .) ac_abs_builddir=`pwd`;;
835 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
836 *) ac_abs_builddir=`pwd`/"$ac_dir";;
839 case $ac_abs_builddir in
840 .) ac_abs_top_builddir=${ac_top_builddir}.;;
842 case ${ac_top_builddir}. in
843 .) ac_abs_top_builddir=$ac_abs_builddir;;
844 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
845 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
848 case $ac_abs_builddir in
849 .) ac_abs_srcdir=$ac_srcdir;;
852 .) ac_abs_srcdir=$ac_abs_builddir;;
853 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
854 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
857 case $ac_abs_builddir in
858 .) ac_abs_top_srcdir=$ac_top_srcdir;;
860 case $ac_top_srcdir in
861 .) ac_abs_top_srcdir=$ac_abs_builddir;;
862 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
863 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
868 # Check for guested configure; otherwise get Cygnus style configure.
869 if test -f $ac_srcdir/configure.gnu; then
871 $SHELL $ac_srcdir/configure.gnu --help=recursive
872 elif test -f $ac_srcdir/configure; then
874 $SHELL $ac_srcdir/configure --help=recursive
875 elif test -f $ac_srcdir/configure.ac ||
876 test -f $ac_srcdir/configure.in; then
880 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
886 test -n "$ac_init_help" && exit 0
887 if $ac_init_version; then
890 Copyright (C) 2003 Free Software Foundation, Inc.
891 This configure script is free software; the Free Software Foundation
892 gives unlimited permission to copy, distribute and modify it.
898 This file contains any messages produced by compilers while
899 running configure, to aid debugging if configure makes a mistake.
901 It was created by $as_me, which was
902 generated by GNU Autoconf 2.59. Invocation command line was
913 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
914 uname -m = `(uname -m) 2>/dev/null || echo unknown`
915 uname -r = `(uname -r) 2>/dev/null || echo unknown`
916 uname -s = `(uname -s) 2>/dev/null || echo unknown`
917 uname -v = `(uname -v) 2>/dev/null || echo unknown`
919 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
920 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
922 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
923 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
924 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
925 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
926 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
927 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
928 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
936 test -z "$as_dir" && as_dir=.
952 # Keep a trace of the command line.
953 # Strip out --no-create and --no-recursion so they do not pile up.
954 # Strip out --silent because we don't want to record it for future runs.
955 # Also quote any args containing shell meta-characters.
956 # Make two passes to allow for proper duplicate-argument suppression.
961 ac_must_keep_next=false
967 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
968 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
969 | -silent | --silent | --silen | --sile | --sil)
971 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
972 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
975 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
977 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
978 if test $ac_must_keep_next = true; then
979 ac_must_keep_next=false # Got value, back to normal.
982 *=* | --config-cache | -C | -disable-* | --disable-* \
983 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
984 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
985 | -with-* | --with-* | -without-* | --without-* | --x)
986 case "$ac_configure_args0 " in
987 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
990 -* ) ac_must_keep_next=true ;;
993 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
994 # Get rid of the leading space.
1000 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1001 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1003 # When interrupted or exit'd, cleanup temporary files, and complete
1004 # config.log. We remove comments because anyway the quotes in there
1005 # would cause problems or look ugly.
1006 # WARNING: Be sure not to use single quotes in there, as some shells,
1007 # such as our DU 5.0 friend, will then `close' the trap.
1008 trap 'exit_status=$?
1009 # Save into config.log some information that might help in debugging.
1014 ## ---------------- ##
1015 ## Cache variables. ##
1016 ## ---------------- ##
1019 # The following way of writing the cache mishandles newlines in values,
1022 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1025 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1030 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1037 ## ----------------- ##
1038 ## Output variables. ##
1039 ## ----------------- ##
1042 for ac_var in $ac_subst_vars
1044 eval ac_val=$`echo $ac_var`
1045 echo "$ac_var='"'"'$ac_val'"'"'"
1049 if test -n "$ac_subst_files"; then
1056 for ac_var in $ac_subst_files
1058 eval ac_val=$`echo $ac_var`
1059 echo "$ac_var='"'"'$ac_val'"'"'"
1064 if test -s confdefs.h; then
1071 sed "/^$/d" confdefs.h | sort
1074 test "$ac_signal" != 0 &&
1075 echo "$as_me: caught signal $ac_signal"
1076 echo "$as_me: exit $exit_status"
1078 rm -f core *.core &&
1079 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1082 for ac_signal in 1 2 13 15; do
1083 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1088 rm -rf conftest* confdefs.h
1089 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1092 # Predefined preprocessor variables.
1094 cat >>confdefs.h <<_ACEOF
1095 #define PACKAGE_NAME "$PACKAGE_NAME"
1099 cat >>confdefs.h <<_ACEOF
1100 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1104 cat >>confdefs.h <<_ACEOF
1105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1109 cat >>confdefs.h <<_ACEOF
1110 #define PACKAGE_STRING "$PACKAGE_STRING"
1114 cat >>confdefs.h <<_ACEOF
1115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1119 # Let the site file select an alternate cache file if it wants to.
1120 # Prefer explicitly selected file to automatically selected ones.
1121 if test -z "$CONFIG_SITE"; then
1122 if test "x$prefix" != xNONE; then
1123 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1125 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1128 for ac_site_file in $CONFIG_SITE; do
1129 if test -r "$ac_site_file"; then
1130 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1131 echo "$as_me: loading site script $ac_site_file" >&6;}
1132 sed 's/^/| /' "$ac_site_file" >&5
1137 if test -r "$cache_file"; then
1138 # Some versions of bash will fail to source /dev/null (special
1139 # files actually), so we avoid doing that.
1140 if test -f "$cache_file"; then
1141 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1142 echo "$as_me: loading cache $cache_file" >&6;}
1144 [\\/]* | ?:[\\/]* ) . $cache_file;;
1145 *) . ./$cache_file;;
1149 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1150 echo "$as_me: creating cache $cache_file" >&6;}
1154 # Check that the precious variables saved in the cache have kept the same
1156 ac_cache_corrupted=false
1157 for ac_var in `(set) 2>&1 |
1158 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1159 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1160 eval ac_new_set=\$ac_env_${ac_var}_set
1161 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1162 eval ac_new_val="\$ac_env_${ac_var}_value"
1163 case $ac_old_set,$ac_new_set in
1165 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1166 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1167 ac_cache_corrupted=: ;;
1169 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1170 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1171 ac_cache_corrupted=: ;;
1174 if test "x$ac_old_val" != "x$ac_new_val"; then
1175 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1176 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1177 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1178 echo "$as_me: former value: $ac_old_val" >&2;}
1179 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1180 echo "$as_me: current value: $ac_new_val" >&2;}
1181 ac_cache_corrupted=:
1184 # Pass precious variables to config.status.
1185 if test "$ac_new_set" = set; then
1187 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1188 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1189 *) ac_arg=$ac_var=$ac_new_val ;;
1191 case " $ac_configure_args " in
1192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1193 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1197 if $ac_cache_corrupted; then
1198 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1199 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1200 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1201 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1202 { (exit 1); exit 1; }; }
1206 ac_cpp='$CPP $CPPFLAGS'
1207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1229 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1230 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1231 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1232 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1233 echo $ECHO_N "(cached) $ECHO_C" >&6
1235 cat >conftest.make <<\_ACEOF
1237 @echo 'ac_maketemp="$(MAKE)"'
1239 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1240 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1241 if test -n "$ac_maketemp"; then
1242 eval ac_cv_prog_make_${ac_make}_set=yes
1244 eval ac_cv_prog_make_${ac_make}_set=no
1248 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1249 echo "$as_me:$LINENO: result: yes" >&5
1250 echo "${ECHO_T}yes" >&6
1253 echo "$as_me:$LINENO: result: no" >&5
1254 echo "${ECHO_T}no" >&6
1255 SET_MAKE="MAKE=${MAKE-make}"
1259 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1260 if test -f $ac_dir/install-sh; then
1262 ac_install_sh="$ac_aux_dir/install-sh -c"
1264 elif test -f $ac_dir/install.sh; then
1266 ac_install_sh="$ac_aux_dir/install.sh -c"
1268 elif test -f $ac_dir/shtool; then
1270 ac_install_sh="$ac_aux_dir/shtool install -c"
1274 if test -z "$ac_aux_dir"; then
1275 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1276 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1277 { (exit 1); exit 1; }; }
1279 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1280 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1281 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1283 # Find a good install program. We prefer a C program (faster),
1284 # so one script is as good as another. But avoid the broken or
1285 # incompatible versions:
1286 # SysV /etc/install, /usr/sbin/install
1287 # SunOS /usr/etc/install
1288 # IRIX /sbin/install
1290 # AmigaOS /C/install, which installs bootblocks on floppy discs
1291 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1292 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1293 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1294 # OS/2's system install, which has a completely different semantic
1295 # ./install, which can be erroneously created by make from ./install.sh.
1296 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1297 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1298 if test -z "$INSTALL"; then
1299 if test "${ac_cv_path_install+set}" = set; then
1300 echo $ECHO_N "(cached) $ECHO_C" >&6
1302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1306 test -z "$as_dir" && as_dir=.
1307 # Account for people who put trailing slashes in PATH elements.
1309 ./ | .// | /cC/* | \
1310 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1311 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1314 # OSF1 and SCO ODT 3.0 have their own names for install.
1315 # Don't use installbsd from OSF since it installs stuff as root
1317 for ac_prog in ginstall scoinst install; do
1318 for ac_exec_ext in '' $ac_executable_extensions; do
1319 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1320 if test $ac_prog = install &&
1321 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1322 # AIX install. It has an incompatible calling convention.
1324 elif test $ac_prog = install &&
1325 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1326 # program-specific install script used by HP pwplus--don't use.
1329 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1341 if test "${ac_cv_path_install+set}" = set; then
1342 INSTALL=$ac_cv_path_install
1344 # As a last resort, use the slow shell script. We don't cache a
1345 # path for INSTALL within a source directory, because that will
1346 # break other packages using the cache if that directory is
1347 # removed, or if the path is relative.
1348 INSTALL=$ac_install_sh
1351 echo "$as_me:$LINENO: result: $INSTALL" >&5
1352 echo "${ECHO_T}$INSTALL" >&6
1354 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1355 # It thinks the first close brace ends the variable substitution.
1356 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1360 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1363 if test "${EMACS}" = "t"; then
1368 # Check whether --with-xemacs or --without-xemacs was given.
1369 if test "${with_xemacs+set}" = set; then
1370 withval="$with_xemacs"
1371 if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1374 # Check whether --with-emacs or --without-emacs was given.
1375 if test "${with_emacs+set}" = set; then
1376 withval="$with_emacs"
1377 if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1379 # Extract the first word of "makeinfo", so it can be a program name with args.
1380 set dummy makeinfo; ac_word=$2
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 if test -n "$MAKEINFO"; then
1387 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 for ac_exec_ext in '' $ac_executable_extensions; do
1395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1396 ac_cv_prog_MAKEINFO="makeinfo"
1397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1406 MAKEINFO=$ac_cv_prog_MAKEINFO
1407 if test -n "$MAKEINFO"; then
1408 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
1409 echo "${ECHO_T}$MAKEINFO" >&6
1411 echo "$as_me:$LINENO: result: no" >&5
1412 echo "${ECHO_T}no" >&6
1416 # Extract the first word of "emacs", so it can be a program name with args.
1417 set dummy emacs; ac_word=$2
1418 echo "$as_me:$LINENO: checking for $ac_word" >&5
1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1420 if test "${ac_cv_prog_EMACS+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 if test -n "$EMACS"; then
1424 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir=.
1431 for ac_exec_ext in '' $ac_executable_extensions; do
1432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1433 ac_cv_prog_EMACS="emacs"
1434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1440 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1443 EMACS=$ac_cv_prog_EMACS
1444 if test -n "$EMACS"; then
1445 echo "$as_me:$LINENO: result: $EMACS" >&5
1446 echo "${ECHO_T}$EMACS" >&6
1448 echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1455 echo "$as_me:$LINENO: checking if $EMACS is really XEmacs" >&5
1456 echo $ECHO_N "checking if $EMACS is really XEmacs... $ECHO_C" >&6
1458 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1459 if test -z ""noecho""; then
1460 echo "$as_me:$LINENO: checking for xemacsp" >&5
1461 echo $ECHO_N "checking for xemacsp... $ECHO_C" >&6
1463 if test "${EMACS_cv_SYS_xemacsp+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 OUTPUT=./conftest-$$
1468 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1469 ${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
1470 retval=`cat ${OUTPUT}`
1471 echo "=> ${retval}" >& 5 2>&1
1473 EMACS_cv_SYS_xemacsp=$retval
1477 xemacsp=${EMACS_cv_SYS_xemacsp}
1478 if test -z ""noecho""; then
1479 echo "$as_me:$LINENO: result: $xemacsp" >&5
1480 echo "${ECHO_T}$xemacsp" >&6
1483 XEMACS=${EMACS_cv_SYS_xemacsp}
1485 if test "$XEMACS" = "yes"; then
1488 echo "$as_me:$LINENO: result: $XEMACS" >&5
1489 echo "${ECHO_T}$XEMACS" >&6
1493 if test "$prefix" = "NONE"; then
1494 echo "$as_me:$LINENO: checking prefix for your Emacs" >&5
1495 echo $ECHO_N "checking prefix for your Emacs... $ECHO_C" >&6
1497 elisp="(expand-file-name \"..\" invocation-directory)"
1498 if test -z ""noecho""; then
1499 echo "$as_me:$LINENO: checking for prefix" >&5
1500 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1502 if test "${EMACS_cv_SYS_prefix+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 OUTPUT=./conftest-$$
1507 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1508 ${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
1509 retval=`cat ${OUTPUT}`
1510 echo "=> ${retval}" >& 5 2>&1
1512 EMACS_cv_SYS_prefix=$retval
1516 prefix=${EMACS_cv_SYS_prefix}
1517 if test -z ""noecho""; then
1518 echo "$as_me:$LINENO: result: $prefix" >&5
1519 echo "${ECHO_T}$prefix" >&6
1522 prefix=${EMACS_cv_SYS_prefix}
1523 echo "$as_me:$LINENO: result: $prefix" >&5
1524 echo "${ECHO_T}$prefix" >&6
1527 # Check whether --with-lispdir or --without-lispdir was given.
1528 if test "${with_lispdir+set}" = set; then
1529 withval="$with_lispdir"
1532 echo "$as_me:$LINENO: checking where .elc files should go" >&5
1533 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1534 if test -z "$lispdir"; then
1536 if test "x$theprefix" = "xNONE"; then
1537 theprefix=$ac_default_prefix
1539 if test "$EMACS_FLAVOR" = "xemacs"; then
1540 datadir="\$(prefix)/lib"
1541 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1543 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
1545 for thedir in share lib; do
1547 if test -d ${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp; then
1548 if test "$EMACS_FLAVOR" = "xemacs"; then
1549 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1551 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
1557 echo "$as_me:$LINENO: result: $lispdir" >&5
1558 echo "${ECHO_T}$lispdir" >&6
1563 # Check whether --with-etcdir or --without-etcdir was given.
1564 if test "${with_etcdir+set}" = set; then
1565 withval="$with_etcdir"
1568 echo "$as_me:$LINENO: checking where etc files should go" >&5
1569 echo $ECHO_N "checking where etc files should go... $ECHO_C" >&6
1570 if test -z "$etcdir"; then
1571 if test "$EMACS_FLAVOR" = "xemacs"; then
1572 etcdir="\$(lispdir)/../../etc"
1574 etcdir="\$(lispdir)/../../etc"
1577 echo "$as_me:$LINENO: result: $etcdir" >&5
1578 echo "${ECHO_T}$etcdir" >&6
1582 echo "$as_me:$LINENO: checking where the TeXinfo docs should go" >&5
1583 echo $ECHO_N "checking where the TeXinfo docs should go... $ECHO_C" >&6
1584 if test "$infodir" = "\${prefix}/info"; then
1585 if test "$EMACS_FLAVOR" = "xemacs"; then
1586 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
1588 info_dir="\$(prefix)/info"
1593 echo "$as_me:$LINENO: result: $info_dir" >&5
1594 echo "${ECHO_T}$info_dir" >&6
1598 echo "$as_me:$LINENO: checking for acceptable URL version" >&5
1599 echo $ECHO_N "checking for acceptable URL version... $ECHO_C" >&6
1600 if test "${EMACS_cv_ACCEPTABLE_URL+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -z ""noecho""; then
1606 echo "$as_me:$LINENO: checking for url-retrieve in url" >&5
1607 echo $ECHO_N "checking for url-retrieve in url... $ECHO_C" >&6
1609 library=`echo url | tr _ -`
1611 elisp="(progn (fmakunbound 'url-retrieve) (condition-case nil (progn (require '$library) (fboundp 'url-retrieve)) (error (prog1 nil (message \"$library not found\")))))"
1612 if test -z ""noecho""; then
1613 echo "$as_me:$LINENO: checking for url" >&5
1614 echo $ECHO_N "checking for url... $ECHO_C" >&6
1616 if test "${EMACS_cv_SYS_url+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 OUTPUT=./conftest-$$
1621 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1622 ${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
1623 retval=`cat ${OUTPUT}`
1624 echo "=> ${retval}" >& 5 2>&1
1626 EMACS_cv_SYS_url=$retval
1630 url=${EMACS_cv_SYS_url}
1631 if test -z ""noecho""; then
1632 echo "$as_me:$LINENO: result: $url" >&5
1633 echo "${ECHO_T}$url" >&6
1636 if test "${EMACS_cv_SYS_url}" = "nil"; then
1639 if test "${EMACS_cv_SYS_url}" = "t"; then
1640 EMACS_cv_SYS_url=yes
1642 HAVE_url=${EMACS_cv_SYS_url}
1644 if test -z ""noecho""; then
1645 echo "$as_me:$LINENO: result: $HAVE_url" >&5
1646 echo "${ECHO_T}$HAVE_url" >&6
1649 if test "${HAVE_url}" = "yes"; then
1650 EMACS_cv_ACCEPTABLE_URL=yes
1652 EMACS_cv_ACCEPTABLE_URL=no
1655 if test "${EMACS_cv_ACCEPTABLE_URL}" = "yes"; then
1657 elisp="(file-name-directory (locate-library \"url\"))"
1658 if test -z ""noecho""; then
1659 echo "$as_me:$LINENO: checking for url_dir" >&5
1660 echo $ECHO_N "checking for url_dir... $ECHO_C" >&6
1662 if test "${EMACS_cv_SYS_url_dir+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 OUTPUT=./conftest-$$
1667 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1668 ${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
1669 retval=`cat ${OUTPUT}`
1670 echo "=> ${retval}" >& 5 2>&1
1672 EMACS_cv_SYS_url_dir=$retval
1676 url_dir=${EMACS_cv_SYS_url_dir}
1677 if test -z ""noecho""; then
1678 echo "$as_me:$LINENO: result: $url_dir" >&5
1679 echo "${ECHO_T}$url_dir" >&6
1682 EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
1688 # Check whether --with-url or --without-url was given.
1689 if test "${with_url+set}" = set; then
1691 EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1693 URL=${EMACS_cv_ACCEPTABLE_URL}
1695 echo "$as_me:$LINENO: result: \"${URL}\"" >&5
1696 echo "${ECHO_T}\"${URL}\"" >&6
1699 echo "$as_me:$LINENO: checking for acceptable W3 version" >&5
1700 echo $ECHO_N "checking for acceptable W3 version... $ECHO_C" >&6
1701 if test "${EMACS_cv_ACCEPTABLE_W3+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -z ""noecho""; then
1707 echo "$as_me:$LINENO: checking for w3-form-encode-xwfu in w3_forms" >&5
1708 echo $ECHO_N "checking for w3-form-encode-xwfu in w3_forms... $ECHO_C" >&6
1710 library=`echo w3_forms | tr _ -`
1712 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\")))))"
1713 if test -z ""noecho""; then
1714 echo "$as_me:$LINENO: checking for w3_forms" >&5
1715 echo $ECHO_N "checking for w3_forms... $ECHO_C" >&6
1717 if test "${EMACS_cv_SYS_w3_forms+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 OUTPUT=./conftest-$$
1722 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1723 ${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
1724 retval=`cat ${OUTPUT}`
1725 echo "=> ${retval}" >& 5 2>&1
1727 EMACS_cv_SYS_w3_forms=$retval
1731 w3_forms=${EMACS_cv_SYS_w3_forms}
1732 if test -z ""noecho""; then
1733 echo "$as_me:$LINENO: result: $w3_forms" >&5
1734 echo "${ECHO_T}$w3_forms" >&6
1737 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
1738 EMACS_cv_SYS_w3_forms=no
1740 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
1741 EMACS_cv_SYS_w3_forms=yes
1743 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
1745 if test -z ""noecho""; then
1746 echo "$as_me:$LINENO: result: $HAVE_w3_forms" >&5
1747 echo "${ECHO_T}$HAVE_w3_forms" >&6
1750 if test "${HAVE_w3_forms}" = "yes"; then
1751 EMACS_cv_ACCEPTABLE_W3=yes
1753 EMACS_cv_ACCEPTABLE_W3=no
1756 if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
1758 elisp="(file-name-directory (locate-library \"w3-forms\"))"
1759 if test -z ""noecho""; then
1760 echo "$as_me:$LINENO: checking for w3_dir" >&5
1761 echo $ECHO_N "checking for w3_dir... $ECHO_C" >&6
1763 if test "${EMACS_cv_SYS_w3_dir+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 OUTPUT=./conftest-$$
1768 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1769 ${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
1770 retval=`cat ${OUTPUT}`
1771 echo "=> ${retval}" >& 5 2>&1
1773 EMACS_cv_SYS_w3_dir=$retval
1777 w3_dir=${EMACS_cv_SYS_w3_dir}
1778 if test -z ""noecho""; then
1779 echo "$as_me:$LINENO: result: $w3_dir" >&5
1780 echo "${ECHO_T}$w3_dir" >&6
1783 EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
1789 # Check whether --with-w3 or --without-w3 was given.
1790 if test "${with_w3+set}" = set; then
1792 EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1794 W3=${EMACS_cv_ACCEPTABLE_W3}
1796 echo "$as_me:$LINENO: result: \"${W3}\"" >&5
1797 echo "${ECHO_T}\"${W3}\"" >&6
1800 echo "$as_me:$LINENO: checking which options to pass on to (X)Emacs" >&5
1801 echo $ECHO_N "checking which options to pass on to (X)Emacs... $ECHO_C" >&6
1802 if test "x$FLAGS" = "x"; then
1803 if test "$EMACS_FLAVOR" = "xemacs"; then
1804 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
1806 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
1811 echo "$as_me:$LINENO: result: $FLAGS" >&5
1812 echo "${ECHO_T}$FLAGS" >&6
1816 test "$LATEX" = t && LATEX=
1817 test "$LATEX" || for ac_prog in latex
1819 # Extract the first word of "$ac_prog", so it can be a program name with args.
1820 set dummy $ac_prog; ac_word=$2
1821 echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1823 if test "${ac_cv_path_LATEX+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 LATEX=$ac_cv_path_LATEX
1850 if test -n "$LATEX"; then
1851 echo "$as_me:$LINENO: result: $LATEX" >&5
1852 echo "${ECHO_T}$LATEX" >&6
1854 echo "$as_me:$LINENO: result: no" >&5
1855 echo "${ECHO_T}no" >&6
1858 test -n "$LATEX" && break
1860 test -n "$LATEX" || LATEX="no"
1862 echo "$as_me:$LINENO: checking for available fonts" >&5
1863 echo $ECHO_N "checking for available fonts... $ECHO_C" >&6
1865 # Check whether --with-fonts or --without-fonts was given.
1866 if test "${with_fonts+set}" = set; then
1867 withval="$with_fonts"
1868 USE_FONTS="$withval"
1870 WITH_FONTS_bembo='%'
1871 WITHOUT_FONTS_bembo=
1876 if test -z "${USE_FONTS}"; then
1877 if test "${LATEX}" = no; then
1880 OUTPUT=./conftest-$$
1881 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
1882 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
1883 if test -z "${USE_FONTS}"; then
1884 USE_FONTS="Adobe Bembo"
1886 USE_FONTS="${USE_FONTS}, Adobe Bembo"
1889 WITHOUT_FONTS_bembo='%'
1891 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
1892 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
1893 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
1896 if test -z "${USE_FONTS}"; then
1897 USE_FONTS="Adobe Futura"
1899 USE_FONTS="${USE_FONTS}, Adobe Futura"
1902 WITHOUT_FONTS_pfu='%'
1905 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
1906 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
1907 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
1910 if test -z "${USE_FONTS}"; then
1911 USE_FONTS="Bitstream Courier"
1913 USE_FONTS="${USE_FONTS}, Bitstream Courier"
1916 WITHOUT_FONTS_bcr='%'
1919 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
1921 elif test "${USE_FONTS}" = yes ; then
1923 WITHOUT_FONTS_bembo='%'
1925 WITHOUT_FONTS_pfu='%'
1927 WITHOUT_FONTS_bcr='%'
1935 if test -z "${USE_FONTS}" ; then
1938 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
1939 echo "$as_me:$LINENO: result: \"${USE_FONTS}\"" >&5
1940 echo "${ECHO_T}\"${USE_FONTS}\"" >&6
1941 if test "${USE_FONTS}" = yes ; then
1942 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
1943 elif test "${USE_FONTS}" = no ; then
1946 USE_FONTS="Set in ${USE_FONTS}."
1951 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
1952 cat >confcache <<\_ACEOF
1953 # This file is a shell script that caches the results of configure
1954 # tests run on this system so they can be shared between configure
1955 # scripts and configure runs, see configure's option --config-cache.
1956 # It is not useful on other systems. If it contains results you don't
1957 # want to keep, you may remove or edit it.
1959 # config.status only pays attention to the cache file if you give it
1960 # the --recheck option to rerun configure.
1962 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1963 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1968 # The following way of writing the cache mishandles newlines in values,
1969 # but we know of no workaround that is simple, portable, and efficient.
1970 # So, don't put newlines in cache variables' values.
1971 # Ultrix sh set writes to stderr and can't be redirected directly,
1972 # and sets the high bit in the cache file unless we assign to the vars.
1975 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1977 # `set' does not quote correctly, so add quotes (double-quote
1978 # substitution turns \\\\ into \\, and sed turns \\ into \).
1981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1984 # `set' quotes correctly as required by POSIX, so do not add quotes.
1986 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1995 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1997 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1998 if test -w $cache_file; then
1999 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2000 cat confcache >$cache_file
2002 echo "not updating unwritable cache $cache_file"
2007 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2008 # Let make expand exec_prefix.
2009 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2011 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2012 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2013 # trailing colons and then remove the whole line if VPATH becomes empty
2014 # (actually we leave an empty line to preserve line numbers).
2015 if test "x$srcdir" = x.; then
2016 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2017 s/:*\$(srcdir):*/:/;
2018 s/:*\${srcdir}:*/:/;
2020 s/^\([^=]*=[ ]*\):*/\1/;
2026 # Transform confdefs.h into DEFS.
2027 # Protect against shell expansion while executing Makefile rules.
2028 # Protect against Makefile macro expansion.
2030 # If the first sed substitution is executed (which looks for macros that
2031 # take arguments), then we branch to the quote section. Otherwise,
2032 # look for a macro that doesn't take arguments.
2033 cat >confdef2opt.sed <<\_ACEOF
2036 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2038 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2042 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2048 # We use echo to avoid assuming a particular line-breaking character.
2049 # The extra dot is to prevent the shell from consuming trailing
2050 # line-breaks from the sub-command output. A line-break within
2051 # single-quotes doesn't work because, if this script is created in a
2052 # platform that uses two characters for line-breaks (e.g., DOS), tr
2054 ac_LF_and_DOT=`echo; echo .`
2055 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2056 rm -f confdef2opt.sed
2061 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2062 # 1. Remove the extension, and $U if already installed.
2063 ac_i=`echo "$ac_i" |
2064 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2066 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2067 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2071 LTLIBOBJS=$ac_ltlibobjs
2075 : ${CONFIG_STATUS=./config.status}
2076 ac_clean_files_save=$ac_clean_files
2077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2078 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2079 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2080 cat >$CONFIG_STATUS <<_ACEOF
2082 # Generated by $as_me.
2083 # Run this file to recreate the current configuration.
2084 # Compiler output produced by configure, useful for debugging
2085 # configure, is in config.log if it exists.
2090 SHELL=\${CONFIG_SHELL-$SHELL}
2093 cat >>$CONFIG_STATUS <<\_ACEOF
2094 ## --------------------- ##
2095 ## M4sh Initialization. ##
2096 ## --------------------- ##
2098 # Be Bourne compatible
2099 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2102 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2103 # is contrary to our usage. Disable this feature.
2104 alias -g '${1+"$@"}'='"$@"'
2105 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2108 DUALCASE=1; export DUALCASE # for MKS sh
2110 # Support unset when possible.
2111 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2118 # Work around bugs in pre-3.0 UWIN ksh.
2119 $as_unset ENV MAIL MAILPATH
2126 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2127 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2128 LC_TELEPHONE LC_TIME
2130 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2131 eval $as_var=C; export $as_var
2137 # Required to use basename.
2138 if expr a : '\(a\)' >/dev/null 2>&1; then
2144 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2145 as_basename=basename
2151 # Name of the executable.
2152 as_me=`$as_basename "$0" ||
2153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2154 X"$0" : 'X\(//\)$' \| \
2155 X"$0" : 'X\(/\)$' \| \
2156 . : '\(.\)' 2>/dev/null ||
2158 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2159 /^X\/\(\/\/\)$/{ s//\1/; q; }
2160 /^X\/\(\/\).*/{ s//\1/; q; }
2164 # PATH needs CR, and LINENO needs CR and PATH.
2165 # Avoid depending upon Character Ranges.
2166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2169 as_cr_digits='0123456789'
2170 as_cr_alnum=$as_cr_Letters$as_cr_digits
2172 # The user is always right.
2173 if test "${PATH_SEPARATOR+set}" != set; then
2174 echo "#! /bin/sh" >conf$$.sh
2175 echo "exit 0" >>conf$$.sh
2177 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2188 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2189 test "x$as_lineno_1" != "x$as_lineno_2" &&
2190 test "x$as_lineno_3" = "x$as_lineno_2" || {
2191 # Find who we are. Look in the path if we contain no path at all
2194 *[\\/]* ) as_myself=$0 ;;
2195 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2205 # We did not find ourselves, most probably we were run as `sh COMMAND'
2206 # in which case we are not to be found in the path.
2207 if test "x$as_myself" = x; then
2210 if test ! -f "$as_myself"; then
2211 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2212 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2213 { (exit 1); exit 1; }; }
2215 case $CONFIG_SHELL in
2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2221 test -z "$as_dir" && as_dir=.
2222 for as_base in sh bash ksh sh5; do
2225 if ("$as_dir/$as_base" -c '
2228 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2229 test "x$as_lineno_1" != "x$as_lineno_2" &&
2230 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2231 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2232 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2233 CONFIG_SHELL=$as_dir/$as_base
2235 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2243 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2244 # uniformly replaced by the line number. The first 'sed' inserts a
2245 # line-number line before each line; the second 'sed' does the real
2246 # work. The second script uses 'N' to pair each line-number line
2247 # with the numbered line, and appends trailing '-' during
2248 # substitution so that $LINENO is not a special case at line end.
2249 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2250 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2251 sed '=' <$as_myself |
2256 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2259 s,^['$as_cr_digits']*\n,,
2261 chmod +x $as_me.lineno ||
2262 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2263 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2264 { (exit 1); exit 1; }; }
2266 # Don't try to exec as it changes $[0], causing all sort of problems
2267 # (the dirname of $[0] is not the place where we might find the
2268 # original and so on. Autoconf is especially sensible to this).
2270 # Exit status is that of the last command.
2275 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2276 *c*,-n*) ECHO_N= ECHO_C='
2278 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2279 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2282 if expr a : '\(a\)' >/dev/null 2>&1; then
2288 rm -f conf$$ conf$$.exe conf$$.file
2290 if ln -s conf$$.file conf$$ 2>/dev/null; then
2291 # We could just check for DJGPP; but this test a) works b) is more generic
2292 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2293 if test -f conf$$.exe; then
2294 # Don't use ln at all; we don't have any links
2299 elif ln conf$$.file conf$$ 2>/dev/null; then
2304 rm -f conf$$ conf$$.exe conf$$.file
2306 if mkdir -p . 2>/dev/null; then
2309 test -d ./-p && rmdir ./-p
2313 as_executable_p="test -f"
2315 # Sed expression to map a string onto a valid CPP name.
2316 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2318 # Sed expression to map a string onto a valid variable name.
2319 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2323 # We need space, tab and new line, in precisely that order.
2333 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2334 # report actual input values of CONFIG_FILES etc. instead of their
2335 # values after options handling. Logging --version etc. is OK.
2339 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2340 ## Running $as_me. ##
2345 This file was extended by $as_me, which was
2346 generated by GNU Autoconf 2.59. Invocation command line was
2348 CONFIG_FILES = $CONFIG_FILES
2349 CONFIG_HEADERS = $CONFIG_HEADERS
2350 CONFIG_LINKS = $CONFIG_LINKS
2351 CONFIG_COMMANDS = $CONFIG_COMMANDS
2355 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2359 # Files that config.status was made for.
2360 if test -n "$ac_config_files"; then
2361 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2364 if test -n "$ac_config_headers"; then
2365 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2368 if test -n "$ac_config_links"; then
2369 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2372 if test -n "$ac_config_commands"; then
2373 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2376 cat >>$CONFIG_STATUS <<\_ACEOF
2379 \`$as_me' instantiates files from templates according to the
2380 current configuration.
2382 Usage: $0 [OPTIONS] [FILE]...
2384 -h, --help print this help, then exit
2385 -V, --version print version number, then exit
2386 -q, --quiet do not print progress messages
2387 -d, --debug don't remove temporary files
2388 --recheck update $as_me by reconfiguring in the same conditions
2389 --file=FILE[:TEMPLATE]
2390 instantiate the configuration file FILE
2392 Configuration files:
2395 Report bugs to <bug-autoconf@gnu.org>."
2398 cat >>$CONFIG_STATUS <<_ACEOF
2401 configured by $0, generated by GNU Autoconf 2.59,
2402 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2404 Copyright (C) 2003 Free Software Foundation, Inc.
2405 This config.status script is free software; the Free Software Foundation
2406 gives unlimited permission to copy, distribute and modify it."
2411 cat >>$CONFIG_STATUS <<\_ACEOF
2412 # If no file are specified by the user, then we need to provide default
2413 # value. By we need to know if files were specified by the user.
2419 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2420 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2428 *) # This is not an option, so the user has probably given explicit
2431 ac_need_defaults=false;;
2435 # Handling of the options.
2437 cat >>$CONFIG_STATUS <<\_ACEOF
2438 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2440 --version | --vers* | -V )
2441 echo "$ac_cs_version"; exit 0 ;;
2443 # Conflict between --help and --header
2444 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2445 Try \`$0 --help' for more information." >&5
2446 echo "$as_me: error: ambiguous option: $1
2447 Try \`$0 --help' for more information." >&2;}
2448 { (exit 1); exit 1; }; };;
2449 --help | --hel | -h )
2450 echo "$ac_cs_usage"; exit 0 ;;
2451 --debug | --d* | -d )
2453 --file | --fil | --fi | --f )
2455 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2456 ac_need_defaults=false;;
2457 --header | --heade | --head | --hea )
2459 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2460 ac_need_defaults=false;;
2461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2462 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2466 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2467 Try \`$0 --help' for more information." >&5
2468 echo "$as_me: error: unrecognized option: $1
2469 Try \`$0 --help' for more information." >&2;}
2470 { (exit 1); exit 1; }; } ;;
2472 *) ac_config_targets="$ac_config_targets $1" ;;
2478 ac_configure_extra_args=
2480 if $ac_cs_silent; then
2482 ac_configure_extra_args="$ac_configure_extra_args --silent"
2486 cat >>$CONFIG_STATUS <<_ACEOF
2487 if \$ac_cs_recheck; then
2488 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2489 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2498 cat >>$CONFIG_STATUS <<\_ACEOF
2499 for ac_config_target in $ac_config_targets
2501 case "$ac_config_target" in
2502 # Handling of arguments.
2503 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2504 "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
2505 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
2506 "texi/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
2507 "texi/gnusconfig.tex" ) CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
2508 "texi/ps/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
2509 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2510 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2511 { (exit 1); exit 1; }; };;
2515 # If the user did not use the arguments to specify the items to instantiate,
2516 # then the envvar interface is used. Set only those that are not.
2517 # We use the long form for the default assignment because of an extremely
2518 # bizarre bug on SunOS 4.1.3.
2519 if $ac_need_defaults; then
2520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2523 # Have a temporary directory for convenience. Make it in the build tree
2524 # simply because there is no reason to put it here, and in addition,
2525 # creating and moving files from /tmp can sometimes cause problems.
2526 # Create a temporary directory, and hook for its removal unless debugging.
2529 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2530 trap '{ (exit 1); exit 1; }' 1 2 13 15
2533 # Create a (secure) tmp directory for tmp files.
2536 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2537 test -n "$tmp" && test -d "$tmp"
2540 tmp=./confstat$$-$RANDOM
2541 (umask 077 && mkdir $tmp)
2544 echo "$me: cannot create a temporary directory in ." >&2
2545 { (exit 1); exit 1; }
2550 cat >>$CONFIG_STATUS <<_ACEOF
2553 # CONFIG_FILES section.
2556 # No need to generate the scripts if there are no CONFIG_FILES.
2557 # This happens for instance when ./config.status config.h
2558 if test -n "\$CONFIG_FILES"; then
2559 # Protect against being on the right side of a sed subst in config.status.
2560 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2561 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2562 s,@SHELL@,$SHELL,;t t
2563 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2564 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2565 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2566 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2567 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2568 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2569 s,@exec_prefix@,$exec_prefix,;t t
2570 s,@prefix@,$prefix,;t t
2571 s,@program_transform_name@,$program_transform_name,;t t
2572 s,@bindir@,$bindir,;t t
2573 s,@sbindir@,$sbindir,;t t
2574 s,@libexecdir@,$libexecdir,;t t
2575 s,@datadir@,$datadir,;t t
2576 s,@sysconfdir@,$sysconfdir,;t t
2577 s,@sharedstatedir@,$sharedstatedir,;t t
2578 s,@localstatedir@,$localstatedir,;t t
2579 s,@libdir@,$libdir,;t t
2580 s,@includedir@,$includedir,;t t
2581 s,@oldincludedir@,$oldincludedir,;t t
2582 s,@infodir@,$infodir,;t t
2583 s,@mandir@,$mandir,;t t
2584 s,@build_alias@,$build_alias,;t t
2585 s,@host_alias@,$host_alias,;t t
2586 s,@target_alias@,$target_alias,;t t
2588 s,@ECHO_C@,$ECHO_C,;t t
2589 s,@ECHO_N@,$ECHO_N,;t t
2590 s,@ECHO_T@,$ECHO_T,;t t
2592 s,@SET_MAKE@,$SET_MAKE,;t t
2593 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2594 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2595 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2596 s,@MAKEINFO@,$MAKEINFO,;t t
2597 s,@EMACS@,$EMACS,;t t
2598 s,@XEMACS@,$XEMACS,;t t
2599 s,@EMACS_FLAVOR@,$EMACS_FLAVOR,;t t
2600 s,@lispdir@,$lispdir,;t t
2601 s,@etcdir@,$etcdir,;t t
2602 s,@info_dir@,$info_dir,;t t
2603 s,@HAVE_url@,$HAVE_url,;t t
2605 s,@HAVE_w3_forms@,$HAVE_w3_forms,;t t
2607 s,@FLAGS@,$FLAGS,;t t
2608 s,@LATEX@,$LATEX,;t t
2609 s,@WITH_FONTS_bembo@,$WITH_FONTS_bembo,;t t
2610 s,@WITHOUT_FONTS_bembo@,$WITHOUT_FONTS_bembo,;t t
2611 s,@WITH_FONTS_pfu@,$WITH_FONTS_pfu,;t t
2612 s,@WITHOUT_FONTS_pfu@,$WITHOUT_FONTS_pfu,;t t
2613 s,@WITH_FONTS_bcr@,$WITH_FONTS_bcr,;t t
2614 s,@WITHOUT_FONTS_bcr@,$WITHOUT_FONTS_bcr,;t t
2615 s,@USE_FONTS@,$USE_FONTS,;t t
2616 s,@LIBOBJS@,$LIBOBJS,;t t
2617 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2622 cat >>$CONFIG_STATUS <<\_ACEOF
2623 # Split the substitutions into bite-sized pieces for seds with
2624 # small command number limits, like on Digital OSF/1 and HP-UX.
2626 ac_sed_frag=1 # Number of current file.
2627 ac_beg=1 # First line for current file.
2628 ac_end=$ac_max_sed_lines # Line after last line for current file.
2631 while $ac_more_lines; do
2632 if test $ac_beg -gt 1; then
2633 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2635 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2637 if test ! -s $tmp/subs.frag; then
2640 # The purpose of the label and of the branching condition is to
2641 # speed up the sed processing (if there are no `@' at all, there
2642 # is no need to browse any of the substitutions).
2643 # These are the two extra sed commands mentioned above.
2645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2646 if test -z "$ac_sed_cmds"; then
2647 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2649 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2651 ac_sed_frag=`expr $ac_sed_frag + 1`
2653 ac_end=`expr $ac_end + $ac_max_sed_lines`
2656 if test -z "$ac_sed_cmds"; then
2659 fi # test -n "$CONFIG_FILES"
2662 cat >>$CONFIG_STATUS <<\_ACEOF
2663 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2664 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2666 - | *:- | *:-:* ) # input from stdin
2668 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2669 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2670 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2671 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2672 * ) ac_file_in=$ac_file.in ;;
2675 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2676 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2678 X"$ac_file" : 'X\(//\)[^/]' \| \
2679 X"$ac_file" : 'X\(//\)$' \| \
2680 X"$ac_file" : 'X\(/\)' \| \
2681 . : '\(.\)' 2>/dev/null ||
2683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2685 /^X\(\/\/\)$/{ s//\1/; q; }
2686 /^X\(\/\).*/{ s//\1/; q; }
2688 { if $as_mkdir_p; then
2693 while test ! -d "$as_dir"; do
2694 as_dirs="$as_dir $as_dirs"
2695 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2697 X"$as_dir" : 'X\(//\)[^/]' \| \
2698 X"$as_dir" : 'X\(//\)$' \| \
2699 X"$as_dir" : 'X\(/\)' \| \
2700 . : '\(.\)' 2>/dev/null ||
2702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2704 /^X\(\/\/\)$/{ s//\1/; q; }
2705 /^X\(\/\).*/{ s//\1/; q; }
2708 test ! -n "$as_dirs" || mkdir $as_dirs
2709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2711 { (exit 1); exit 1; }; }; }
2715 if test "$ac_dir" != .; then
2716 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2717 # A "../" for each directory in $ac_dir_suffix.
2718 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2720 ac_dir_suffix= ac_top_builddir=
2724 .) # No --srcdir option. We are building in place.
2726 if test -z "$ac_top_builddir"; then
2729 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2731 [\\/]* | ?:[\\/]* ) # Absolute path.
2732 ac_srcdir=$srcdir$ac_dir_suffix;
2733 ac_top_srcdir=$srcdir ;;
2735 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2736 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2739 # Do not use `cd foo && pwd` to compute absolute paths, because
2740 # the directories may not exist.
2742 .) ac_abs_builddir="$ac_dir";;
2745 .) ac_abs_builddir=`pwd`;;
2746 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2747 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2750 case $ac_abs_builddir in
2751 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2753 case ${ac_top_builddir}. in
2754 .) ac_abs_top_builddir=$ac_abs_builddir;;
2755 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2756 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2759 case $ac_abs_builddir in
2760 .) ac_abs_srcdir=$ac_srcdir;;
2763 .) ac_abs_srcdir=$ac_abs_builddir;;
2764 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2765 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2768 case $ac_abs_builddir in
2769 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2771 case $ac_top_srcdir in
2772 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2773 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2774 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2780 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2781 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2784 if test x"$ac_file" != x-; then
2785 { echo "$as_me:$LINENO: creating $ac_file" >&5
2786 echo "$as_me: creating $ac_file" >&6;}
2789 # Let's still pretend it is `configure' which instantiates (i.e., don't
2790 # use $as_me), people would be surprised to read:
2791 # /* config.h. Generated by config.status. */
2792 if test x"$ac_file" = x-; then
2795 configure_input="$ac_file. "
2797 configure_input=$configure_input"Generated from `echo $ac_file_in |
2798 sed 's,.*/,,'` by configure."
2800 # First look for the input files in the build tree, otherwise in the
2802 ac_file_inputs=`IFS=:
2803 for f in $ac_file_in; do
2805 -) echo $tmp/stdin ;;
2807 # Absolute (can't be DOS-style, as IFS=:)
2808 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2809 echo "$as_me: error: cannot find input file: $f" >&2;}
2810 { (exit 1); exit 1; }; }
2813 if test -f "$f"; then
2816 elif test -f "$srcdir/$f"; then
2821 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2822 echo "$as_me: error: cannot find input file: $f" >&2;}
2823 { (exit 1); exit 1; }; }
2826 done` || { (exit 1); exit 1; }
2828 cat >>$CONFIG_STATUS <<_ACEOF
2832 cat >>$CONFIG_STATUS <<\_ACEOF
2834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2835 s,@configure_input@,$configure_input,;t t
2836 s,@srcdir@,$ac_srcdir,;t t
2837 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2838 s,@top_srcdir@,$ac_top_srcdir,;t t
2839 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2840 s,@builddir@,$ac_builddir,;t t
2841 s,@abs_builddir@,$ac_abs_builddir,;t t
2842 s,@top_builddir@,$ac_top_builddir,;t t
2843 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2844 s,@INSTALL@,$ac_INSTALL,;t t
2845 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2847 if test x"$ac_file" != x-; then
2848 mv $tmp/out $ac_file
2857 cat >>$CONFIG_STATUS <<\_ACEOF
2859 { (exit 0); exit 0; }
2861 chmod +x $CONFIG_STATUS
2862 ac_clean_files=$ac_clean_files_save
2865 # configure is writing to config.log, and then calls config.status.
2866 # config.status does its own redirection, appending to config.log.
2867 # Unfortunately, on DOS this fails, as config.log is still kept open
2868 # by configure, so config.status won't be able to write to it; its
2869 # output is simply discarded. So we exec the FD to /dev/null,
2870 # effectively closing config.log, so it can be properly (re)opened and
2871 # appended to by config.status. When coming back to configure, we
2872 # need to make the FD available again.
2873 if test "$no_create" != yes; then
2875 ac_config_status_args=
2876 test "$silent" = yes &&
2877 ac_config_status_args="$ac_config_status_args --quiet"
2879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2882 # would make configure fail if this is the last instruction.
2883 $ac_cs_success || { (exit 1); exit 1; }