2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
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.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Name of the executable.
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a : '\(a\)' >/dev/null 2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.file
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.file conf$$ 2>/dev/null; then
56 rm -f conf$$ conf$$.exe conf$$.file
58 as_executable_p="test -f"
60 # Support unset when possible.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix=/usr/local
100 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file="lisp/gnus.el"
109 # Initialize some variables set by options.
111 ac_init_version=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
121 program_transform_name=s,x,x,
129 # Installation directory options.
130 # These are left unexpanded so users can "make install exec_prefix=/foo"
131 # and all the variables that are supposed to be based on exec_prefix
132 # by default will actually change.
133 # Use braces instead of parens because sh, perl, etc. also accept them.
134 bindir='${exec_prefix}/bin'
135 sbindir='${exec_prefix}/sbin'
136 libexecdir='${exec_prefix}/libexec'
137 datadir='${prefix}/share'
138 sysconfdir='${prefix}/etc'
139 sharedstatedir='${prefix}/com'
140 localstatedir='${prefix}/var'
141 libdir='${exec_prefix}/lib'
142 includedir='${prefix}/include'
143 oldincludedir='/usr/include'
144 infodir='${prefix}/info'
145 mandir='${prefix}/man'
147 # Identity of this package.
157 # If the previous option needs an argument, assign it.
158 if test -n "$ac_prev"; then
159 eval "$ac_prev=\$ac_option"
164 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
166 # Accept the important Cygnus configure options, so we can diagnose typos.
170 -bindir | --bindir | --bindi | --bind | --bin | --bi)
172 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
175 -build | --build | --buil | --bui | --bu)
176 ac_prev=build_alias ;;
177 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
178 build_alias=$ac_optarg ;;
180 -cache-file | --cache-file | --cache-fil | --cache-fi \
181 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
182 ac_prev=cache_file ;;
183 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
184 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
185 cache_file=$ac_optarg ;;
188 cache_file=config.cache ;;
190 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
192 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
194 datadir=$ac_optarg ;;
196 -disable-* | --disable-*)
197 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198 # Reject names that are not valid shell variable names.
199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201 { (exit 1); exit 1; }; }
202 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
203 eval "enable_$ac_feature=no" ;;
205 -enable-* | --enable-*)
206 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207 # Reject names that are not valid shell variable names.
208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210 { (exit 1); exit 1; }; }
211 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
213 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216 eval "enable_$ac_feature='$ac_optarg'" ;;
218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
220 | --exec | --exe | --ex)
221 ac_prev=exec_prefix ;;
222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
224 | --exec=* | --exe=* | --ex=*)
225 exec_prefix=$ac_optarg ;;
227 -gas | --gas | --ga | --g)
228 # Obsolete; use --with-gas.
231 -help | --help | --hel | --he | -h)
233 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
234 ac_init_help=recursive ;;
235 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
236 ac_init_help=short ;;
238 -host | --host | --hos | --ho)
239 ac_prev=host_alias ;;
240 -host=* | --host=* | --hos=* | --ho=*)
241 host_alias=$ac_optarg ;;
243 -includedir | --includedir | --includedi | --included | --include \
244 | --includ | --inclu | --incl | --inc)
245 ac_prev=includedir ;;
246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247 | --includ=* | --inclu=* | --incl=* | --inc=*)
248 includedir=$ac_optarg ;;
250 -infodir | --infodir | --infodi | --infod | --info | --inf)
252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253 infodir=$ac_optarg ;;
255 -libdir | --libdir | --libdi | --libd)
257 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261 | --libexe | --libex | --libe)
262 ac_prev=libexecdir ;;
263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264 | --libexe=* | --libex=* | --libe=*)
265 libexecdir=$ac_optarg ;;
267 -localstatedir | --localstatedir | --localstatedi | --localstated \
268 | --localstate | --localstat | --localsta | --localst \
269 | --locals | --local | --loca | --loc | --lo)
270 ac_prev=localstatedir ;;
271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
273 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274 localstatedir=$ac_optarg ;;
276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
282 # Obsolete; use --without-fp.
285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295 | --oldin | --oldi | --old | --ol | --o)
296 ac_prev=oldincludedir ;;
297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300 oldincludedir=$ac_optarg ;;
302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
308 | --program-pre | --program-pr | --program-p)
309 ac_prev=program_prefix ;;
310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312 program_prefix=$ac_optarg ;;
314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
315 | --program-suf | --program-su | --program-s)
316 ac_prev=program_suffix ;;
317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319 program_suffix=$ac_optarg ;;
321 -program-transform-name | --program-transform-name \
322 | --program-transform-nam | --program-transform-na \
323 | --program-transform-n | --program-transform- \
324 | --program-transform | --program-transfor \
325 | --program-transfo | --program-transf \
326 | --program-trans | --program-tran \
327 | --progr-tra | --program-tr | --program-t)
328 ac_prev=program_transform_name ;;
329 -program-transform-name=* | --program-transform-name=* \
330 | --program-transform-nam=* | --program-transform-na=* \
331 | --program-transform-n=* | --program-transform-=* \
332 | --program-transform=* | --program-transfor=* \
333 | --program-transfo=* | --program-transf=* \
334 | --program-trans=* | --program-tran=* \
335 | --progr-tra=* | --program-tr=* | --program-t=*)
336 program_transform_name=$ac_optarg ;;
338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
339 | -silent | --silent | --silen | --sile | --sil)
342 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
344 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
346 sbindir=$ac_optarg ;;
348 -sharedstatedir | --sharedstatedir | --sharedstatedi \
349 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350 | --sharedst | --shareds | --shared | --share | --shar \
352 ac_prev=sharedstatedir ;;
353 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
357 sharedstatedir=$ac_optarg ;;
359 -site | --site | --sit)
361 -site=* | --site=* | --sit=*)
364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370 | --syscon | --sysco | --sysc | --sys | --sy)
371 ac_prev=sysconfdir ;;
372 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374 sysconfdir=$ac_optarg ;;
376 -target | --target | --targe | --targ | --tar | --ta | --t)
377 ac_prev=target_alias ;;
378 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379 target_alias=$ac_optarg ;;
381 -v | -verbose | --verbose | --verbos | --verbo | --verb)
384 -version | --version | --versio | --versi | --vers | -V)
388 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389 # Reject names that are not valid shell variable names.
390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
391 { echo "$as_me: error: invalid package name: $ac_package" >&2
392 { (exit 1); exit 1; }; }
393 ac_package=`echo $ac_package| sed 's/-/_/g'`
395 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 eval "with_$ac_package='$ac_optarg'" ;;
400 -without-* | --without-*)
401 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404 { echo "$as_me: error: invalid package name: $ac_package" >&2
405 { (exit 1); exit 1; }; }
406 ac_package=`echo $ac_package | sed 's/-/_/g'`
407 eval "with_$ac_package=no" ;;
410 # Obsolete; use --with-x.
413 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
414 | --x-incl | --x-inc | --x-in | --x-i)
415 ac_prev=x_includes ;;
416 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
417 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
418 x_includes=$ac_optarg ;;
420 -x-libraries | --x-libraries | --x-librarie | --x-librari \
421 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
422 ac_prev=x_libraries ;;
423 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
424 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
425 x_libraries=$ac_optarg ;;
427 -*) { echo "$as_me: error: unrecognized option: $ac_option
428 Try \`$0 --help' for more information." >&2
429 { (exit 1); exit 1; }; }
433 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434 # Reject names that are not valid shell variable names.
435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437 { (exit 1); exit 1; }; }
438 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439 eval "$ac_envvar='$ac_optarg'"
443 # FIXME: should be removed in autoconf 3.0.
444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
453 if test -n "$ac_prev"; then
454 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
455 { echo "$as_me: error: missing argument to $ac_option" >&2
456 { (exit 1); exit 1; }; }
459 # Be sure to have absolute paths.
460 for ac_var in exec_prefix prefix
462 eval ac_val=$`echo $ac_var`
464 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466 { (exit 1); exit 1; }; };;
470 # Be sure to have absolute paths.
471 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472 localstatedir libdir includedir oldincludedir infodir mandir
474 eval ac_val=$`echo $ac_var`
476 [\\/$]* | ?:[\\/]* ) ;;
477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478 { (exit 1); exit 1; }; };;
482 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc.
488 # FIXME: should be removed in autoconf 3.0.
489 if test "x$host_alias" != x; then
490 if test "x$build_alias" = x; then
491 cross_compiling=maybe
492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493 If a cross compiler is detected then cross compile mode will be used." >&2
494 elif test "x$build_alias" != "x$host_alias"; then
500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
502 test "$silent" = yes && exec 6>/dev/null
504 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then
506 ac_srcdir_defaulted=yes
507 # Try the directory containing this script, then its parent.
509 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
512 if test ! -r $srcdir/$ac_unique_file; then
516 ac_srcdir_defaulted=no
518 if test ! -r $srcdir/$ac_unique_file; then
519 if test "$ac_srcdir_defaulted" = yes; then
520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521 { (exit 1); exit 1; }; }
523 { echo "$as_me: error: cannot find sources in $srcdir" >&2
524 { (exit 1); exit 1; }; }
527 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set=${build_alias+set}
529 ac_env_build_alias_value=$build_alias
530 ac_cv_env_build_alias_set=${build_alias+set}
531 ac_cv_env_build_alias_value=$build_alias
532 ac_env_host_alias_set=${host_alias+set}
533 ac_env_host_alias_value=$host_alias
534 ac_cv_env_host_alias_set=${host_alias+set}
535 ac_cv_env_host_alias_value=$host_alias
536 ac_env_target_alias_set=${target_alias+set}
537 ac_env_target_alias_value=$target_alias
538 ac_cv_env_target_alias_set=${target_alias+set}
539 ac_cv_env_target_alias_value=$target_alias
542 # Report the --help message.
544 if test "$ac_init_help" = "long"; then
545 # Omit some internal or obsolete options to make the list less imposing.
546 # This message is too long to be a string in the A/UX 3.1 sh.
548 \`configure' configures this package to adapt to many kinds of systems.
550 Usage: $0 [OPTION]... [VAR=VALUE]...
552 To assign environment variables (e.g., CC, CFLAGS...), specify them as
553 VAR=VALUE. See below for descriptions of some of the useful variables.
555 Defaults for the options are specified in brackets.
558 -h, --help display this help and exit
559 --help=short display options specific to this package
560 --help=recursive display the short help of all the included packages
561 -V, --version display version information and exit
562 -q, --quiet, --silent do not print \`checking...' messages
563 --cache-file=FILE cache test results in FILE [disabled]
564 -C, --config-cache alias for \`--cache-file=config.cache'
565 -n, --no-create do not create output files
566 --srcdir=DIR find the sources in DIR [configure dir or \`..']
571 Installation directories:
572 --prefix=PREFIX install architecture-independent files in PREFIX
574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
577 By default, \`make install' will install all the files in
578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
580 for instance \`--prefix=\$HOME'.
582 For better control, use the options below.
584 Fine tuning of the installation directories:
585 --bindir=DIR user executables [EPREFIX/bin]
586 --sbindir=DIR system admin executables [EPREFIX/sbin]
587 --libexecdir=DIR program executables [EPREFIX/libexec]
588 --datadir=DIR read-only architecture-independent data [PREFIX/share]
589 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
590 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
591 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
592 --libdir=DIR object code libraries [EPREFIX/lib]
593 --includedir=DIR C header files [PREFIX/include]
594 --oldincludedir=DIR C header files for non-gcc [/usr/include]
595 --infodir=DIR info documentation [PREFIX/info]
596 --mandir=DIR man documentation [PREFIX/man]
603 if test -n "$ac_init_help"; then
608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
610 --with-xemacs Use XEmacs to build
611 --with-emacs Use Emacs to build
612 --with-lispdir=DIR Where to install lisp files
613 --with-etcdir=DIR Where to install etc files
614 --with-url=DIR Specify where to find the url package
615 --with-w3=DIR Specify where to find the w3 package
616 --with-fonts Assume all fonts required are available
621 if test "$ac_init_help" = "recursive"; then
622 # If there are subdirs, report their specific --help.
624 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
626 # A "../" for each directory in /$ac_subdir.
627 ac_dots=`echo $ac_subdir |
628 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
631 .) # No --srcdir option. We are building in place.
632 ac_sub_srcdir=$srcdir ;;
633 [\\/]* | ?:[\\/]* ) # Absolute path.
634 ac_sub_srcdir=$srcdir/$ac_subdir ;;
636 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
639 # Check for guested configure; otherwise get Cygnus style configure.
640 if test -f $ac_sub_srcdir/configure.gnu; then
642 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
643 elif test -f $ac_sub_srcdir/configure; then
645 $SHELL $ac_sub_srcdir/configure --help=recursive
646 elif test -f $ac_sub_srcdir/configure.ac ||
647 test -f $ac_sub_srcdir/configure.in; then
651 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
657 test -n "$ac_init_help" && exit 0
658 if $ac_init_version; then
661 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
662 Free Software Foundation, Inc.
663 This configure script is free software; the Free Software Foundation
664 gives unlimited permission to copy, distribute and modify it.
670 This file contains any messages produced by compilers while
671 running configure, to aid debugging if configure makes a mistake.
673 It was created by $as_me, which was
674 generated by GNU Autoconf 2.52. Invocation command line was
685 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
686 uname -m = `(uname -m) 2>/dev/null || echo unknown`
687 uname -r = `(uname -r) 2>/dev/null || echo unknown`
688 uname -s = `(uname -s) 2>/dev/null || echo unknown`
689 uname -v = `(uname -v) 2>/dev/null || echo unknown`
691 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
692 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
694 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
695 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
696 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
697 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
698 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
699 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
700 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
714 # Keep a trace of the command line.
715 # Strip out --no-create and --no-recursion so they do not pile up.
716 # Also quote any args containing shell meta-characters.
722 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
723 | --no-cr | --no-c) ;;
724 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
725 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
726 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
727 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
728 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
730 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
733 # Get rid of the leading space.
736 # When interrupted or exit'd, cleanup temporary files, and complete
737 # config.log. We remove comments because anyway the quotes in there
738 # would cause problems or look ugly.
740 # Save into config.log some information that might help in debugging.
742 echo "## ----------------- ##" >&5
743 echo "## Cache variables. ##" >&5
744 echo "## ----------------- ##" >&5
746 # The following way of writing the cache mishandles newlines in values,
749 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
752 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
757 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
761 sed "/^$/d" confdefs.h >conftest.log
762 if test -s conftest.log; then
764 echo "## ------------ ##" >&5
765 echo "## confdefs.h. ##" >&5
766 echo "## ------------ ##" >&5
771 test "$ac_signal" != 0 &&
772 echo "$as_me: caught signal $ac_signal" >&5
773 echo "$as_me: exit $exit_status" >&5
774 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
777 for ac_signal in 1 2 13 15; do
778 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
782 # confdefs.h avoids OS command line length limits that DEFS can exceed.
783 rm -rf conftest* confdefs.h
784 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
787 # Let the site file select an alternate cache file if it wants to.
788 # Prefer explicitly selected file to automatically selected ones.
789 if test -z "$CONFIG_SITE"; then
790 if test "x$prefix" != xNONE; then
791 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
793 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
796 for ac_site_file in $CONFIG_SITE; do
797 if test -r "$ac_site_file"; then
798 { echo "$as_me:798: loading site script $ac_site_file" >&5
799 echo "$as_me: loading site script $ac_site_file" >&6;}
800 cat "$ac_site_file" >&5
805 if test -r "$cache_file"; then
806 # Some versions of bash will fail to source /dev/null (special
807 # files actually), so we avoid doing that.
808 if test -f "$cache_file"; then
809 { echo "$as_me:809: loading cache $cache_file" >&5
810 echo "$as_me: loading cache $cache_file" >&6;}
812 [\\/]* | ?:[\\/]* ) . $cache_file;;
817 { echo "$as_me:817: creating cache $cache_file" >&5
818 echo "$as_me: creating cache $cache_file" >&6;}
822 # Check that the precious variables saved in the cache have kept the same
824 ac_cache_corrupted=false
825 for ac_var in `(set) 2>&1 |
826 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
827 eval ac_old_set=\$ac_cv_env_${ac_var}_set
828 eval ac_new_set=\$ac_env_${ac_var}_set
829 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
830 eval ac_new_val="\$ac_env_${ac_var}_value"
831 case $ac_old_set,$ac_new_set in
833 { echo "$as_me:833: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
834 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
835 ac_cache_corrupted=: ;;
837 { echo "$as_me:837: error: \`$ac_var' was not set in the previous run" >&5
838 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
839 ac_cache_corrupted=: ;;
842 if test "x$ac_old_val" != "x$ac_new_val"; then
843 { echo "$as_me:843: error: \`$ac_var' has changed since the previous run:" >&5
844 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
845 { echo "$as_me:845: former value: $ac_old_val" >&5
846 echo "$as_me: former value: $ac_old_val" >&2;}
847 { echo "$as_me:847: current value: $ac_new_val" >&5
848 echo "$as_me: current value: $ac_new_val" >&2;}
852 # Pass precious variables to config.status. It doesn't matter if
853 # we pass some twice (in addition to the command line arguments).
854 if test "$ac_new_set" = set; then
856 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
857 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
858 ac_configure_args="$ac_configure_args '$ac_arg'"
860 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
865 if $ac_cache_corrupted; then
866 { echo "$as_me:866: error: changes in the environment can compromise the build" >&5
867 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
868 { { echo "$as_me:868: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
869 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
870 { (exit 1); exit 1; }; }
874 ac_cpp='$CPP $CPPFLAGS'
875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
879 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
880 *c*,-n*) ECHO_N= ECHO_C='
882 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
883 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
885 echo "#! $SHELL" >conftest.sh
886 echo "exit 0" >>conftest.sh
888 if { (echo "$as_me:888: PATH=\".;.\"; conftest.sh") >&5
889 (PATH=".;."; conftest.sh) 2>&5
891 echo "$as_me:891: \$? = $ac_status" >&5
892 (exit $ac_status); }; then
893 ac_path_separator=';'
897 PATH_SEPARATOR="$ac_path_separator"
900 echo "$as_me:900: checking whether ${MAKE-make} sets \${MAKE}" >&5
901 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
902 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
903 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
904 echo $ECHO_N "(cached) $ECHO_C" >&6
906 cat >conftest.make <<\EOF
908 @echo 'ac_maketemp="${MAKE}"'
910 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
911 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
912 if test -n "$ac_maketemp"; then
913 eval ac_cv_prog_make_${ac_make}_set=yes
915 eval ac_cv_prog_make_${ac_make}_set=no
919 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
920 echo "$as_me:920: result: yes" >&5
921 echo "${ECHO_T}yes" >&6
924 echo "$as_me:924: result: no" >&5
925 echo "${ECHO_T}no" >&6
926 SET_MAKE="MAKE=${MAKE-make}"
930 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
931 if test -f $ac_dir/install-sh; then
933 ac_install_sh="$ac_aux_dir/install-sh -c"
935 elif test -f $ac_dir/install.sh; then
937 ac_install_sh="$ac_aux_dir/install.sh -c"
939 elif test -f $ac_dir/shtool; then
941 ac_install_sh="$ac_aux_dir/shtool install -c"
945 if test -z "$ac_aux_dir"; then
946 { { echo "$as_me:946: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
947 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
948 { (exit 1); exit 1; }; }
950 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
951 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
952 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
954 # Find a good install program. We prefer a C program (faster),
955 # so one script is as good as another. But avoid the broken or
956 # incompatible versions:
957 # SysV /etc/install, /usr/sbin/install
958 # SunOS /usr/etc/install
961 # AmigaOS /C/install, which installs bootblocks on floppy discs
962 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
963 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
964 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
965 # ./install, which can be erroneously created by make from ./install.sh.
966 echo "$as_me:966: checking for a BSD compatible install" >&5
967 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
968 if test -z "$INSTALL"; then
969 if test "${ac_cv_path_install+set}" = set; then
970 echo $ECHO_N "(cached) $ECHO_C" >&6
972 ac_save_IFS=$IFS; IFS=$ac_path_separator
973 for ac_dir in $PATH; do
975 # Account for people who put trailing slashes in PATH elements.
977 / | ./ | .// | /cC/* \
978 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
981 # OSF1 and SCO ODT 3.0 have their own names for install.
982 # Don't use installbsd from OSF since it installs stuff as root
984 for ac_prog in ginstall scoinst install; do
985 if $as_executable_p "$ac_dir/$ac_prog"; then
986 if test $ac_prog = install &&
987 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
988 # AIX install. It has an incompatible calling convention.
990 elif test $ac_prog = install &&
991 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
992 # program-specific install script used by HP pwplus--don't use.
995 ac_cv_path_install="$ac_dir/$ac_prog -c"
1005 if test "${ac_cv_path_install+set}" = set; then
1006 INSTALL=$ac_cv_path_install
1008 # As a last resort, use the slow shell script. We don't cache a
1009 # path for INSTALL within a source directory, because that will
1010 # break other packages using the cache if that directory is
1011 # removed, or if the path is relative.
1012 INSTALL=$ac_install_sh
1015 echo "$as_me:1015: result: $INSTALL" >&5
1016 echo "${ECHO_T}$INSTALL" >&6
1018 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1019 # It thinks the first close brace ends the variable substitution.
1020 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1022 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1024 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1026 if test "${EMACS}" = "t"; then
1030 # Check whether --with-xemacs or --without-xemacs was given.
1031 if test "${with_xemacs+set}" = set; then
1032 withval="$with_xemacs"
1033 if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1036 # Check whether --with-emacs or --without-emacs was given.
1037 if test "${with_emacs+set}" = set; then
1038 withval="$with_emacs"
1039 if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1041 # Extract the first word of "makeinfo", so it can be a program name with args.
1042 set dummy makeinfo; ac_word=$2
1043 echo "$as_me:1043: checking for $ac_word" >&5
1044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1045 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
1046 echo $ECHO_N "(cached) $ECHO_C" >&6
1048 if test -n "$MAKEINFO"; then
1049 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1051 ac_save_IFS=$IFS; IFS=$ac_path_separator
1053 for ac_dir in $ac_dummy; do
1055 test -z "$ac_dir" && ac_dir=.
1056 $as_executable_p "$ac_dir/$ac_word" || continue
1057 ac_cv_prog_MAKEINFO="makeinfo"
1058 echo "$as_me:1058: found $ac_dir/$ac_word" >&5
1062 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1065 MAKEINFO=$ac_cv_prog_MAKEINFO
1066 if test -n "$MAKEINFO"; then
1067 echo "$as_me:1067: result: $MAKEINFO" >&5
1068 echo "${ECHO_T}$MAKEINFO" >&6
1070 echo "$as_me:1070: result: no" >&5
1071 echo "${ECHO_T}no" >&6
1074 # Extract the first word of "emacs", so it can be a program name with args.
1075 set dummy emacs; ac_word=$2
1076 echo "$as_me:1076: checking for $ac_word" >&5
1077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1078 if test "${ac_cv_prog_EMACS+set}" = set; then
1079 echo $ECHO_N "(cached) $ECHO_C" >&6
1081 if test -n "$EMACS"; then
1082 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1084 ac_save_IFS=$IFS; IFS=$ac_path_separator
1086 for ac_dir in $ac_dummy; do
1088 test -z "$ac_dir" && ac_dir=.
1089 $as_executable_p "$ac_dir/$ac_word" || continue
1090 ac_cv_prog_EMACS="emacs"
1091 echo "$as_me:1091: found $ac_dir/$ac_word" >&5
1095 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1098 EMACS=$ac_cv_prog_EMACS
1099 if test -n "$EMACS"; then
1100 echo "$as_me:1100: result: $EMACS" >&5
1101 echo "${ECHO_T}$EMACS" >&6
1103 echo "$as_me:1103: result: no" >&5
1104 echo "${ECHO_T}no" >&6
1107 echo "$as_me:1107: checking if $EMACS is really XEmacs" >&5
1108 echo $ECHO_N "checking if $EMACS is really XEmacs... $ECHO_C" >&6
1110 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1111 if test -z ""noecho""; then
1112 echo "$as_me:1112: checking for xemacsp" >&5
1113 echo $ECHO_N "checking for xemacsp... $ECHO_C" >&6
1115 if test "${EMACS_cv_SYS_xemacsp+set}" = set; then
1116 echo $ECHO_N "(cached) $ECHO_C" >&6
1119 OUTPUT=./conftest-$$
1120 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1121 ${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
1122 retval=`cat ${OUTPUT}`
1123 echo "=> ${retval}" >& 5 2>&1
1125 EMACS_cv_SYS_xemacsp=$retval
1129 xemacsp=${EMACS_cv_SYS_xemacsp}
1130 if test -z ""noecho""; then
1131 echo "$as_me:1131: result: $xemacsp" >&5
1132 echo "${ECHO_T}$xemacsp" >&6
1135 XEMACS=${EMACS_cv_SYS_xemacsp}
1137 if test "$XEMACS" = "yes"; then
1140 echo "$as_me:1140: result: $XEMACS" >&5
1141 echo "${ECHO_T}$XEMACS" >&6
1143 if test "$prefix" = "NONE"; then
1144 echo "$as_me:1144: checking prefix for your Emacs" >&5
1145 echo $ECHO_N "checking prefix for your Emacs... $ECHO_C" >&6
1147 elisp="(expand-file-name \"..\" invocation-directory)"
1148 if test -z ""noecho""; then
1149 echo "$as_me:1149: checking for prefix" >&5
1150 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1152 if test "${EMACS_cv_SYS_prefix+set}" = set; then
1153 echo $ECHO_N "(cached) $ECHO_C" >&6
1156 OUTPUT=./conftest-$$
1157 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1158 ${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
1159 retval=`cat ${OUTPUT}`
1160 echo "=> ${retval}" >& 5 2>&1
1162 EMACS_cv_SYS_prefix=$retval
1166 prefix=${EMACS_cv_SYS_prefix}
1167 if test -z ""noecho""; then
1168 echo "$as_me:1168: result: $prefix" >&5
1169 echo "${ECHO_T}$prefix" >&6
1172 prefix=${EMACS_cv_SYS_prefix}
1173 echo "$as_me:1173: result: $prefix" >&5
1174 echo "${ECHO_T}$prefix" >&6
1177 # Check whether --with-lispdir or --without-lispdir was given.
1178 if test "${with_lispdir+set}" = set; then
1179 withval="$with_lispdir"
1182 echo "$as_me:1182: checking where .elc files should go" >&5
1183 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1184 if test -z "$lispdir"; then
1186 if test "x$theprefix" = "xNONE"; then
1187 theprefix=$ac_default_prefix
1189 if test "$EMACS_FLAVOR" = "xemacs"; then
1190 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1192 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
1194 for thedir in share lib; do
1196 if test -d ${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp; then
1197 if test "$EMACS_FLAVOR" = "xemacs"; then
1198 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1200 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp"
1206 echo "$as_me:1206: result: $lispdir" >&5
1207 echo "${ECHO_T}$lispdir" >&6
1209 # Check whether --with-etcdir or --without-etcdir was given.
1210 if test "${with_etcdir+set}" = set; then
1211 withval="$with_etcdir"
1214 echo "$as_me:1214: checking where etc files should go" >&5
1215 echo $ECHO_N "checking where etc files should go... $ECHO_C" >&6
1216 if test -z "$etcdir"; then
1217 if test "$EMACS_FLAVOR" = "xemacs"; then
1218 etcdir="\$(lispdir)/../../etc"
1220 etcdir="\$(lispdir)/../etc"
1223 echo "$as_me:1223: result: $etcdir" >&5
1224 echo "${ECHO_T}$etcdir" >&6
1226 echo "$as_me:1226: checking where the TeXinfo docs should go" >&5
1227 echo $ECHO_N "checking where the TeXinfo docs should go... $ECHO_C" >&6
1228 if test "$infodir" = "\${prefix}/info"; then
1229 if test "$EMACS_FLAVOR" = "xemacs"; then
1230 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
1232 info_dir="\$(prefix)/info"
1237 echo "$as_me:1237: result: $info_dir" >&5
1238 echo "${ECHO_T}$info_dir" >&6
1240 echo "$as_me:1240: checking for acceptable URL version" >&5
1241 echo $ECHO_N "checking for acceptable URL version... $ECHO_C" >&6
1242 if test "${EMACS_cv_ACCEPTABLE_URL+set}" = set; then
1243 echo $ECHO_N "(cached) $ECHO_C" >&6
1246 if test -z ""noecho""; then
1247 echo "$as_me:1247: checking for url-retrieve in url" >&5
1248 echo $ECHO_N "checking for url-retrieve in url... $ECHO_C" >&6
1250 library=`echo url | tr _ -`
1252 elisp="(progn (fmakunbound 'url-retrieve) (condition-case nil (progn (require '$library) (fboundp 'url-retrieve)) (error (prog1 nil (message \"$library not found\")))))"
1253 if test -z ""noecho""; then
1254 echo "$as_me:1254: checking for url" >&5
1255 echo $ECHO_N "checking for url... $ECHO_C" >&6
1257 if test "${EMACS_cv_SYS_url+set}" = set; then
1258 echo $ECHO_N "(cached) $ECHO_C" >&6
1261 OUTPUT=./conftest-$$
1262 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1263 ${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
1264 retval=`cat ${OUTPUT}`
1265 echo "=> ${retval}" >& 5 2>&1
1267 EMACS_cv_SYS_url=$retval
1271 url=${EMACS_cv_SYS_url}
1272 if test -z ""noecho""; then
1273 echo "$as_me:1273: result: $url" >&5
1274 echo "${ECHO_T}$url" >&6
1277 if test "${EMACS_cv_SYS_url}" = "nil"; then
1280 if test "${EMACS_cv_SYS_url}" = "t"; then
1281 EMACS_cv_SYS_url=yes
1283 HAVE_url=${EMACS_cv_SYS_url}
1285 if test -z ""noecho""; then
1286 echo "$as_me:1286: result: $HAVE_url" >&5
1287 echo "${ECHO_T}$HAVE_url" >&6
1290 if test "${HAVE_url}" = "yes"; then
1291 EMACS_cv_ACCEPTABLE_URL=yes
1293 EMACS_cv_ACCEPTABLE_URL=no
1296 if test "${EMACS_cv_ACCEPTABLE_URL}" = "yes"; then
1298 elisp="(file-name-directory (locate-library \"url\"))"
1299 if test -z ""noecho""; then
1300 echo "$as_me:1300: checking for url_dir" >&5
1301 echo $ECHO_N "checking for url_dir... $ECHO_C" >&6
1303 if test "${EMACS_cv_SYS_url_dir+set}" = set; then
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
1307 OUTPUT=./conftest-$$
1308 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1309 ${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
1310 retval=`cat ${OUTPUT}`
1311 echo "=> ${retval}" >& 5 2>&1
1313 EMACS_cv_SYS_url_dir=$retval
1317 url_dir=${EMACS_cv_SYS_url_dir}
1318 if test -z ""noecho""; then
1319 echo "$as_me:1319: result: $url_dir" >&5
1320 echo "${ECHO_T}$url_dir" >&6
1323 EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
1328 # Check whether --with-url or --without-url was given.
1329 if test "${with_url+set}" = set; then
1331 EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1333 URL=${EMACS_cv_ACCEPTABLE_URL}
1335 echo "$as_me:1335: result: \"${URL}\"" >&5
1336 echo "${ECHO_T}\"${URL}\"" >&6
1338 echo "$as_me:1338: checking for acceptable W3 version" >&5
1339 echo $ECHO_N "checking for acceptable W3 version... $ECHO_C" >&6
1340 if test "${EMACS_cv_ACCEPTABLE_W3+set}" = set; then
1341 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 if test -z ""noecho""; then
1345 echo "$as_me:1345: checking for w3-form-encode-xwfu in w3_forms" >&5
1346 echo $ECHO_N "checking for w3-form-encode-xwfu in w3_forms... $ECHO_C" >&6
1348 library=`echo w3_forms | tr _ -`
1350 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\")))))"
1351 if test -z ""noecho""; then
1352 echo "$as_me:1352: checking for w3_forms" >&5
1353 echo $ECHO_N "checking for w3_forms... $ECHO_C" >&6
1355 if test "${EMACS_cv_SYS_w3_forms+set}" = set; then
1356 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 OUTPUT=./conftest-$$
1360 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1361 ${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
1362 retval=`cat ${OUTPUT}`
1363 echo "=> ${retval}" >& 5 2>&1
1365 EMACS_cv_SYS_w3_forms=$retval
1369 w3_forms=${EMACS_cv_SYS_w3_forms}
1370 if test -z ""noecho""; then
1371 echo "$as_me:1371: result: $w3_forms" >&5
1372 echo "${ECHO_T}$w3_forms" >&6
1375 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
1376 EMACS_cv_SYS_w3_forms=no
1378 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
1379 EMACS_cv_SYS_w3_forms=yes
1381 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
1383 if test -z ""noecho""; then
1384 echo "$as_me:1384: result: $HAVE_w3_forms" >&5
1385 echo "${ECHO_T}$HAVE_w3_forms" >&6
1388 if test "${HAVE_w3_forms}" = "yes"; then
1389 EMACS_cv_ACCEPTABLE_W3=yes
1391 EMACS_cv_ACCEPTABLE_W3=no
1394 if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
1396 elisp="(file-name-directory (locate-library \"w3-forms\"))"
1397 if test -z ""noecho""; then
1398 echo "$as_me:1398: checking for w3_dir" >&5
1399 echo $ECHO_N "checking for w3_dir... $ECHO_C" >&6
1401 if test "${EMACS_cv_SYS_w3_dir+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 OUTPUT=./conftest-$$
1406 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1407 ${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
1408 retval=`cat ${OUTPUT}`
1409 echo "=> ${retval}" >& 5 2>&1
1411 EMACS_cv_SYS_w3_dir=$retval
1415 w3_dir=${EMACS_cv_SYS_w3_dir}
1416 if test -z ""noecho""; then
1417 echo "$as_me:1417: result: $w3_dir" >&5
1418 echo "${ECHO_T}$w3_dir" >&6
1421 EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
1426 # Check whether --with-w3 or --without-w3 was given.
1427 if test "${with_w3+set}" = set; then
1429 EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1431 W3=${EMACS_cv_ACCEPTABLE_W3}
1433 echo "$as_me:1433: result: \"${W3}\"" >&5
1434 echo "${ECHO_T}\"${W3}\"" >&6
1436 test "$LATEX" = t && LATEX=
1437 test "$LATEX" || for ac_prog in latex
1439 # Extract the first word of "$ac_prog", so it can be a program name with args.
1440 set dummy $ac_prog; ac_word=$2
1441 echo "$as_me:1441: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_path_LATEX+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
1451 ac_save_IFS=$IFS; IFS=$ac_path_separator
1453 for ac_dir in $ac_dummy; do
1455 test -z "$ac_dir" && ac_dir=.
1456 if $as_executable_p "$ac_dir/$ac_word"; then
1457 ac_cv_path_LATEX="$ac_dir/$ac_word"
1458 echo "$as_me:1458: found $ac_dir/$ac_word" >&5
1466 LATEX=$ac_cv_path_LATEX
1468 if test -n "$LATEX"; then
1469 echo "$as_me:1469: result: $LATEX" >&5
1470 echo "${ECHO_T}$LATEX" >&6
1472 echo "$as_me:1472: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1476 test -n "$LATEX" && break
1478 test -n "$LATEX" || LATEX="no"
1480 echo "$as_me:1480: checking for available fonts" >&5
1481 echo $ECHO_N "checking for available fonts... $ECHO_C" >&6
1483 # Check whether --with-fonts or --without-fonts was given.
1484 if test "${with_fonts+set}" = set; then
1485 withval="$with_fonts"
1486 USE_FONTS="$withval"
1488 WITH_FONTS_bembo='%'
1489 WITHOUT_FONTS_bembo=
1494 if test -z "${USE_FONTS}"; then
1495 if test "${LATEX}" = no; then
1498 OUTPUT=./conftest-$$
1499 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
1500 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
1501 if test -z "${USE_FONTS}"; then
1502 USE_FONTS="Adobe Bembo"
1504 USE_FONTS="${USE_FONTS}, Adobe Bembo"
1507 WITHOUT_FONTS_bembo='%'
1509 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
1510 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
1511 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
1514 if test -z "${USE_FONTS}"; then
1515 USE_FONTS="Adobe Futura"
1517 USE_FONTS="${USE_FONTS}, Adobe Futura"
1520 WITHOUT_FONTS_pfu='%'
1523 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
1524 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
1525 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
1528 if test -z "${USE_FONTS}"; then
1529 USE_FONTS="Bitstream Courier"
1531 USE_FONTS="${USE_FONTS}, Bitstream Courier"
1534 WITHOUT_FONTS_bcr='%'
1537 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
1539 elif test "${USE_FONTS}" = yes ; then
1541 WITHOUT_FONTS_bembo='%'
1543 WITHOUT_FONTS_pfu='%'
1545 WITHOUT_FONTS_bcr='%'
1548 if test -z "${USE_FONTS}" ; then
1551 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
1552 echo "$as_me:1552: result: \"${USE_FONTS}\"" >&5
1553 echo "${ECHO_T}\"${USE_FONTS}\"" >&6
1554 if test "${USE_FONTS}" = yes ; then
1555 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
1556 elif test "${USE_FONTS}" = no ; then
1559 USE_FONTS="Set in ${USE_FONTS}."
1562 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
1563 cat >confcache <<\_ACEOF
1564 # This file is a shell script that caches the results of configure
1565 # tests run on this system so they can be shared between configure
1566 # scripts and configure runs, see configure's option --config-cache.
1567 # It is not useful on other systems. If it contains results you don't
1568 # want to keep, you may remove or edit it.
1570 # config.status only pays attention to the cache file if you give it
1571 # the --recheck option to rerun configure.
1573 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1579 # The following way of writing the cache mishandles newlines in values,
1580 # but we know of no workaround that is simple, portable, and efficient.
1581 # So, don't put newlines in cache variables' values.
1582 # Ultrix sh set writes to stderr and can't be redirected directly,
1583 # and sets the high bit in the cache file unless we assign to the vars.
1586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1588 # `set' does not quote correctly, so add quotes (double-quote
1589 # substitution turns \\\\ into \\, and sed turns \\ into \).
1592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1595 # `set' quotes correctly as required by POSIX, so do not add quotes.
1597 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1606 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1608 if cmp -s $cache_file confcache; then :; else
1609 if test -w $cache_file; then
1610 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1611 cat confcache >$cache_file
1613 echo "not updating unwritable cache $cache_file"
1618 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1619 # Let make expand exec_prefix.
1620 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1622 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1623 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1624 # trailing colons and then remove the whole line if VPATH becomes empty
1625 # (actually we leave an empty line to preserve line numbers).
1626 if test "x$srcdir" = x.; then
1627 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1628 s/:*\$(srcdir):*/:/;
1629 s/:*\${srcdir}:*/:/;
1631 s/^\([^=]*=[ ]*\):*/\1/;
1637 # Transform confdefs.h into DEFS.
1638 # Protect against shell expansion while executing Makefile rules.
1639 # Protect against Makefile macro expansion.
1641 # If the first sed substitution is executed (which looks for macros that
1642 # take arguments), then we branch to the quote section. Otherwise,
1643 # look for a macro that doesn't take arguments.
1644 cat >confdef2opt.sed <<\EOF
1647 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1649 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1653 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1659 # We use echo to avoid assuming a particular line-breaking character.
1660 # The extra dot is to prevent the shell from consuming trailing
1661 # line-breaks from the sub-command output. A line-break within
1662 # single-quotes doesn't work because, if this script is created in a
1663 # platform that uses two characters for line-breaks (e.g., DOS), tr
1665 ac_LF_and_DOT=`echo; echo .`
1666 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1667 rm -f confdef2opt.sed
1669 : ${CONFIG_STATUS=./config.status}
1670 ac_clean_files_save=$ac_clean_files
1671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1672 { echo "$as_me:1672: creating $CONFIG_STATUS" >&5
1673 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1674 cat >$CONFIG_STATUS <<_ACEOF
1676 # Generated automatically by configure.
1677 # Run this file to recreate the current configuration.
1678 # Compiler output produced by configure, useful for debugging
1679 # configure, is in config.log if it exists.
1682 SHELL=\${CONFIG_SHELL-$SHELL}
1683 ac_cs_invocation="\$0 \$@"
1687 cat >>$CONFIG_STATUS <<\_ACEOF
1688 # Be Bourne compatible
1689 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1692 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1696 # Name of the executable.
1697 as_me=`echo "$0" |sed 's,.*[\\/],,'`
1699 if expr a : '\(a\)' >/dev/null 2>&1; then
1705 rm -f conf$$ conf$$.exe conf$$.file
1707 if ln -s conf$$.file conf$$ 2>/dev/null; then
1708 # We could just check for DJGPP; but this test a) works b) is more generic
1709 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1710 if test -f conf$$.exe; then
1711 # Don't use ln at all; we don't have any links
1716 elif ln conf$$.file conf$$ 2>/dev/null; then
1721 rm -f conf$$ conf$$.exe conf$$.file
1723 as_executable_p="test -f"
1725 # Support unset when possible.
1726 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1733 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1734 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1735 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1736 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1737 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1738 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1739 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1740 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1743 # We need space, tab and new line, in precisely that order.
1749 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1755 # Files that config.status was made for.
1756 if test -n "$ac_config_files"; then
1757 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1760 if test -n "$ac_config_headers"; then
1761 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1764 if test -n "$ac_config_links"; then
1765 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1768 if test -n "$ac_config_commands"; then
1769 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1772 cat >>$CONFIG_STATUS <<\EOF
1775 \`$as_me' instantiates files from templates according to the
1776 current configuration.
1778 Usage: $0 [OPTIONS] [FILE]...
1780 -h, --help print this help, then exit
1781 -V, --version print version number, then exit
1782 -d, --debug don't remove temporary files
1783 --recheck update $as_me by reconfiguring in the same conditions
1784 --file=FILE[:TEMPLATE]
1785 instantiate the configuration file FILE
1787 Configuration files:
1790 Report bugs to <bug-autoconf@gnu.org>."
1793 cat >>$CONFIG_STATUS <<EOF
1796 configured by $0, generated by GNU Autoconf 2.52,
1797 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1799 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1800 Free Software Foundation, Inc.
1801 This config.status script is free software; the Free Software Foundation
1802 gives unlimited permission to copy, distribute and modify it."
1807 cat >>$CONFIG_STATUS <<\EOF
1808 # If no file are specified by the user, then we need to provide default
1809 # value. By we need to know if files were specified by the user.
1815 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1816 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1818 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1822 *) # This is not an option, so the user has probably given explicit
1824 ac_need_defaults=false;;
1828 # Handling of the options.
1830 cat >>$CONFIG_STATUS <<EOF
1831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1832 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1833 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1835 cat >>$CONFIG_STATUS <<\EOF
1836 --version | --vers* | -V )
1837 echo "$ac_cs_version"; exit 0 ;;
1839 # Conflict between --help and --header
1840 { { echo "$as_me:1840: error: ambiguous option: $1
1841 Try \`$0 --help' for more information." >&5
1842 echo "$as_me: error: ambiguous option: $1
1843 Try \`$0 --help' for more information." >&2;}
1844 { (exit 1); exit 1; }; };;
1845 --help | --hel | -h )
1846 echo "$ac_cs_usage"; exit 0 ;;
1847 --debug | --d* | -d )
1849 --file | --fil | --fi | --f )
1851 CONFIG_FILES="$CONFIG_FILES $1"
1852 ac_need_defaults=false;;
1853 --header | --heade | --head | --hea )
1855 CONFIG_HEADERS="$CONFIG_HEADERS $1"
1856 ac_need_defaults=false;;
1859 -*) { { echo "$as_me:1859: error: unrecognized option: $1
1860 Try \`$0 --help' for more information." >&5
1861 echo "$as_me: error: unrecognized option: $1
1862 Try \`$0 --help' for more information." >&2;}
1863 { (exit 1); exit 1; }; } ;;
1865 *) ac_config_targets="$ac_config_targets $1" ;;
1874 ## ----------------------- ##
1875 ## Running config.status. ##
1876 ## ----------------------- ##
1878 This file was extended by $as_me 2.52, executed with
1879 CONFIG_FILES = $CONFIG_FILES
1880 CONFIG_HEADERS = $CONFIG_HEADERS
1881 CONFIG_LINKS = $CONFIG_LINKS
1882 CONFIG_COMMANDS = $CONFIG_COMMANDS
1884 on `(hostname || uname -n) 2>/dev/null | sed 1q`
1889 cat >>$CONFIG_STATUS <<\EOF
1890 for ac_config_target in $ac_config_targets
1892 case "$ac_config_target" in
1893 # Handling of arguments.
1894 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1895 "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
1896 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
1897 "texi/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
1898 "texi/gnusconfig.tex" ) CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
1899 "texi/ps/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
1900 *) { { echo "$as_me:1900: error: invalid argument: $ac_config_target" >&5
1901 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1902 { (exit 1); exit 1; }; };;
1906 # If the user did not use the arguments to specify the items to instantiate,
1907 # then the envvar interface is used. Set only those that are not.
1908 # We use the long form for the default assignment because of an extremely
1909 # bizarre bug on SunOS 4.1.3.
1910 if $ac_need_defaults; then
1911 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1914 # Create a temporary directory, and hook for its removal unless debugging.
1917 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1918 trap '{ (exit 1); exit 1; }' 1 2 13 15
1921 # Create a (secure) tmp directory for tmp files.
1924 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1925 test -n "$tmp" && test -d "$tmp"
1928 tmp=$TMPDIR/cs$$-$RANDOM
1929 (umask 077 && mkdir $tmp)
1932 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1933 { (exit 1); exit 1; }
1938 cat >>$CONFIG_STATUS <<EOF
1941 # CONFIG_FILES section.
1944 # No need to generate the scripts if there are no CONFIG_FILES.
1945 # This happens for instance when ./config.status config.h
1946 if test -n "\$CONFIG_FILES"; then
1947 # Protect against being on the right side of a sed subst in config.status.
1948 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1949 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1950 s,@SHELL@,$SHELL,;t t
1951 s,@exec_prefix@,$exec_prefix,;t t
1952 s,@prefix@,$prefix,;t t
1953 s,@program_transform_name@,$program_transform_name,;t t
1954 s,@bindir@,$bindir,;t t
1955 s,@sbindir@,$sbindir,;t t
1956 s,@libexecdir@,$libexecdir,;t t
1957 s,@datadir@,$datadir,;t t
1958 s,@sysconfdir@,$sysconfdir,;t t
1959 s,@sharedstatedir@,$sharedstatedir,;t t
1960 s,@localstatedir@,$localstatedir,;t t
1961 s,@libdir@,$libdir,;t t
1962 s,@includedir@,$includedir,;t t
1963 s,@oldincludedir@,$oldincludedir,;t t
1964 s,@infodir@,$infodir,;t t
1965 s,@mandir@,$mandir,;t t
1966 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1967 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1968 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1969 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1970 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1971 s,@build_alias@,$build_alias,;t t
1972 s,@host_alias@,$host_alias,;t t
1973 s,@target_alias@,$target_alias,;t t
1974 s,@ECHO_C@,$ECHO_C,;t t
1975 s,@ECHO_N@,$ECHO_N,;t t
1976 s,@ECHO_T@,$ECHO_T,;t t
1977 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1980 s,@SET_MAKE@,$SET_MAKE,;t t
1981 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1982 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1983 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1984 s,@MAKEINFO@,$MAKEINFO,;t t
1985 s,@EMACS@,$EMACS,;t t
1986 s,@XEMACS@,$XEMACS,;t t
1987 s,@EMACS_FLAVOR@,$EMACS_FLAVOR,;t t
1988 s,@lispdir@,$lispdir,;t t
1989 s,@etcdir@,$etcdir,;t t
1990 s,@info_dir@,$info_dir,;t t
1991 s,@HAVE_url@,$HAVE_url,;t t
1993 s,@HAVE_w3_forms@,$HAVE_w3_forms,;t t
1995 s,@LATEX@,$LATEX,;t t
1996 s,@WITH_FONTS_bembo@,$WITH_FONTS_bembo,;t t
1997 s,@WITHOUT_FONTS_bembo@,$WITHOUT_FONTS_bembo,;t t
1998 s,@WITH_FONTS_pfu@,$WITH_FONTS_pfu,;t t
1999 s,@WITHOUT_FONTS_pfu@,$WITHOUT_FONTS_pfu,;t t
2000 s,@WITH_FONTS_bcr@,$WITH_FONTS_bcr,;t t
2001 s,@WITHOUT_FONTS_bcr@,$WITHOUT_FONTS_bcr,;t t
2002 s,@USE_FONTS@,$USE_FONTS,;t t
2007 cat >>$CONFIG_STATUS <<\EOF
2008 # Split the substitutions into bite-sized pieces for seds with
2009 # small command number limits, like on Digital OSF/1 and HP-UX.
2011 ac_sed_frag=1 # Number of current file.
2012 ac_beg=1 # First line for current file.
2013 ac_end=$ac_max_sed_lines # Line after last line for current file.
2016 while $ac_more_lines; do
2017 if test $ac_beg -gt 1; then
2018 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2020 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2022 if test ! -s $tmp/subs.frag; then
2025 # The purpose of the label and of the branching condition is to
2026 # speed up the sed processing (if there are no `@' at all, there
2027 # is no need to browse any of the substitutions).
2028 # These are the two extra sed commands mentioned above.
2030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2031 if test -z "$ac_sed_cmds"; then
2032 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2034 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2036 ac_sed_frag=`expr $ac_sed_frag + 1`
2038 ac_end=`expr $ac_end + $ac_max_sed_lines`
2041 if test -z "$ac_sed_cmds"; then
2044 fi # test -n "$CONFIG_FILES"
2047 cat >>$CONFIG_STATUS <<\EOF
2048 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2049 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2051 - | *:- | *:-:* ) # input from stdin
2053 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2054 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2055 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2056 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2057 * ) ac_file_in=$ac_file.in ;;
2060 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2061 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2062 X"$ac_file" : 'X\(//\)[^/]' \| \
2063 X"$ac_file" : 'X\(//\)$' \| \
2064 X"$ac_file" : 'X\(/\)' \| \
2065 . : '\(.\)' 2>/dev/null ||
2067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2069 /^X\(\/\/\)$/{ s//\1/; q; }
2070 /^X\(\/\).*/{ s//\1/; q; }
2072 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2074 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2078 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2079 case $as_mkdir_dir in
2080 # Skip DOS drivespec
2081 ?:) as_incr_dir=$as_mkdir_dir ;;
2083 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2084 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2089 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2090 # A "../" for each directory in $ac_dir_suffix.
2091 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2093 ac_dir_suffix= ac_dots=
2098 if test -z "$ac_dots"; then
2101 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2104 ac_srcdir=$srcdir$ac_dir_suffix;
2105 ac_top_srcdir=$srcdir ;;
2107 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2108 ac_top_srcdir=$ac_dots$srcdir ;;
2112 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2113 *) ac_INSTALL=$ac_dots$INSTALL ;;
2116 if test x"$ac_file" != x-; then
2117 { echo "$as_me:2117: creating $ac_file" >&5
2118 echo "$as_me: creating $ac_file" >&6;}
2121 # Let's still pretend it is `configure' which instantiates (i.e., don't
2122 # use $as_me), people would be surprised to read:
2123 # /* config.h. Generated automatically by config.status. */
2124 configure_input="Generated automatically from `echo $ac_file_in |
2125 sed 's,.*/,,'` by configure."
2127 # First look for the input files in the build tree, otherwise in the
2129 ac_file_inputs=`IFS=:
2130 for f in $ac_file_in; do
2132 -) echo $tmp/stdin ;;
2134 # Absolute (can't be DOS-style, as IFS=:)
2135 test -f "$f" || { { echo "$as_me:2135: error: cannot find input file: $f" >&5
2136 echo "$as_me: error: cannot find input file: $f" >&2;}
2137 { (exit 1); exit 1; }; }
2140 if test -f "$f"; then
2143 elif test -f "$srcdir/$f"; then
2148 { { echo "$as_me:2148: error: cannot find input file: $f" >&5
2149 echo "$as_me: error: cannot find input file: $f" >&2;}
2150 { (exit 1); exit 1; }; }
2153 done` || { (exit 1); exit 1; }
2155 cat >>$CONFIG_STATUS <<EOF
2159 cat >>$CONFIG_STATUS <<\EOF
2161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2162 s,@configure_input@,$configure_input,;t t
2163 s,@srcdir@,$ac_srcdir,;t t
2164 s,@top_srcdir@,$ac_top_srcdir,;t t
2165 s,@INSTALL@,$ac_INSTALL,;t t
2166 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2168 if test x"$ac_file" != x-; then
2169 mv $tmp/out $ac_file
2178 cat >>$CONFIG_STATUS <<\EOF
2180 { (exit 0); exit 0; }
2182 chmod +x $CONFIG_STATUS
2183 ac_clean_files=$ac_clean_files_save
2185 # configure is writing to config.log, and then calls config.status.
2186 # config.status does its own redirection, appending to config.log.
2187 # Unfortunately, on DOS this fails, as config.log is still kept open
2188 # by configure, so config.status won't be able to write to it; its
2189 # output is simply discarded. So we exec the FD to /dev/null,
2190 # effectively closing config.log, so it can be properly (re)opened and
2191 # appended to by config.status. When coming back to configure, we
2192 # need to make the FD available again.
2193 if test "$no_create" != yes; then
2196 $SHELL $CONFIG_STATUS || ac_cs_success=false
2198 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2199 # would make configure fail if this is the last instruction.
2200 $ac_cs_success || { (exit 1); exit 1; }