This commit was generated by cvs2svn to compensate for changes in r8000,
[elisp/gnus.git-] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
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 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
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
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
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 \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
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 ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
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
85
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
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
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
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
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
122     as_myself=$0
123   fi
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; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
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
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
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 |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
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; }; }
177
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).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >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
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
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`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
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}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
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'
276 ac_subst_files=''
277
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
297
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'
315
316 ac_prev=
317 for ac_option
318 do
319   # If the previous option needs an argument, assign it.
320   if test -n "$ac_prev"; then
321     eval "$ac_prev=\$ac_option"
322     ac_prev=
323     continue
324   fi
325
326   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328   # Accept the important Cygnus configure options, so we can diagnose typos.
329
330   case $ac_option in
331
332   -bindir | --bindir | --bindi | --bind | --bin | --bi)
333     ac_prev=bindir ;;
334   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335     bindir=$ac_optarg ;;
336
337   -build | --build | --buil | --bui | --bu)
338     ac_prev=build_alias ;;
339   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340     build_alias=$ac_optarg ;;
341
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 ;;
348
349   --config-cache | -C)
350     cache_file=config.cache ;;
351
352   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353     ac_prev=datadir ;;
354   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355   | --da=*)
356     datadir=$ac_optarg ;;
357
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" ;;
366
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'`
374     case $ac_option in
375       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376       *) ac_optarg=yes ;;
377     esac
378     eval "enable_$ac_feature='$ac_optarg'" ;;
379
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 ;;
388
389   -gas | --gas | --ga | --g)
390     # Obsolete; use --with-gas.
391     with_gas=yes ;;
392
393   -help | --help | --hel | --he | -h)
394     ac_init_help=long ;;
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 ;;
399
400   -host | --host | --hos | --ho)
401     ac_prev=host_alias ;;
402   -host=* | --host=* | --hos=* | --ho=*)
403     host_alias=$ac_optarg ;;
404
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 ;;
411
412   -infodir | --infodir | --infodi | --infod | --info | --inf)
413     ac_prev=infodir ;;
414   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415     infodir=$ac_optarg ;;
416
417   -libdir | --libdir | --libdi | --libd)
418     ac_prev=libdir ;;
419   -libdir=* | --libdir=* | --libdi=* | --libd=*)
420     libdir=$ac_optarg ;;
421
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 ;;
428
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 ;;
437
438   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439     ac_prev=mandir ;;
440   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441     mandir=$ac_optarg ;;
442
443   -nfp | --nfp | --nf)
444     # Obsolete; use --without-fp.
445     with_fp=no ;;
446
447   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448   | --no-cr | --no-c | -n)
449     no_create=yes ;;
450
451   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453     no_recursion=yes ;;
454
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 ;;
463
464   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465     ac_prev=prefix ;;
466   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467     prefix=$ac_optarg ;;
468
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 ;;
475
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 ;;
482
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 ;;
499
500   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501   | -silent | --silent | --silen | --sile | --sil)
502     silent=yes ;;
503
504   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505     ac_prev=sbindir ;;
506   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507   | --sbi=* | --sb=*)
508     sbindir=$ac_optarg ;;
509
510   -sharedstatedir | --sharedstatedir | --sharedstatedi \
511   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512   | --sharedst | --shareds | --shared | --share | --shar \
513   | --sha | --sh)
514     ac_prev=sharedstatedir ;;
515   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518   | --sha=* | --sh=*)
519     sharedstatedir=$ac_optarg ;;
520
521   -site | --site | --sit)
522     ac_prev=site ;;
523   -site=* | --site=* | --sit=*)
524     site=$ac_optarg ;;
525
526   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527     ac_prev=srcdir ;;
528   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529     srcdir=$ac_optarg ;;
530
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 ;;
537
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 ;;
542
543   -v | -verbose | --verbose | --verbos | --verbo | --verb)
544     verbose=yes ;;
545
546   -version | --version | --versio | --versi | --vers | -V)
547     ac_init_version=: ;;
548
549   -with-* | --with-*)
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'`
556     case $ac_option in
557       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558       *) ac_optarg=yes ;;
559     esac
560     eval "with_$ac_package='$ac_optarg'" ;;
561
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" ;;
570
571   --x)
572     # Obsolete; use --with-x.
573     with_x=yes ;;
574
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 ;;
581
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 ;;
588
589   -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591    { (exit 1); exit 1; }; }
592     ;;
593
594   *=*)
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'"
602     export $ac_envvar ;;
603
604   *)
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}
610     ;;
611
612   esac
613 done
614
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; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
624   eval ac_val=$`echo $ac_var`
625   case $ac_val in
626     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628    { (exit 1); exit 1; }; };;
629   esac
630 done
631
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
635 do
636   eval ac_val=$`echo $ac_var`
637   case $ac_val in
638     [\\/$]* | ?:[\\/]* ) ;;
639     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640    { (exit 1); exit 1; }; };;
641   esac
642 done
643
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.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
650
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
658     cross_compiling=yes
659   fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
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 ||
678 echo X"$0" |
679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681           /^X\(\/\/\)$/{ s//\1/; q; }
682           /^X\(\/\).*/{ s//\1/; q; }
683           s/.*/./; q'`
684   srcdir=$ac_confdir
685   if test ! -r $srcdir/$ac_unique_file; then
686     srcdir=..
687   fi
688 else
689   ac_srcdir_defaulted=no
690 fi
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; }; }
695   else
696     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697    { (exit 1); exit 1; }; }
698   fi
699 fi
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
716
717 #
718 # Report the --help message.
719 #
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.
723   cat <<_ACEOF
724 \`configure' configures this package to adapt to many kinds of systems.
725
726 Usage: $0 [OPTION]... [VAR=VALUE]...
727
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.
730
731 Defaults for the options are specified in brackets.
732
733 Configuration:
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 \`..']
743
744 _ACEOF
745
746   cat <<_ACEOF
747 Installation directories:
748   --prefix=PREFIX         install architecture-independent files in PREFIX
749                           [$ac_default_prefix]
750   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
751                           [PREFIX]
752
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'.
757
758 For better control, use the options below.
759
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]
773 _ACEOF
774
775   cat <<\_ACEOF
776 _ACEOF
777 fi
778
779 if test -n "$ac_init_help"; then
780
781   cat <<\_ACEOF
782
783 Optional Packages:
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
793
794 _ACEOF
795 fi
796
797 if test "$ac_init_help" = "recursive"; then
798   # If there are subdirs, report their specific --help.
799   ac_popdir=`pwd`
800   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
801     test -d $ac_dir || continue
802     ac_builddir=.
803
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'`
808 else
809   ac_dir_suffix= ac_top_builddir=
810 fi
811
812 case $srcdir in
813   .)  # No --srcdir option.  We are building in place.
814     ac_srcdir=.
815     if test -z "$ac_top_builddir"; then
816        ac_top_srcdir=.
817     else
818        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
819     fi ;;
820   [\\/]* | ?:[\\/]* )  # Absolute path.
821     ac_srcdir=$srcdir$ac_dir_suffix;
822     ac_top_srcdir=$srcdir ;;
823   *) # Relative path.
824     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
825     ac_top_srcdir=$ac_top_builddir$srcdir ;;
826 esac
827
828 # Do not use `cd foo && pwd` to compute absolute paths, because
829 # the directories may not exist.
830 case `pwd` in
831 .) ac_abs_builddir="$ac_dir";;
832 *)
833   case "$ac_dir" in
834   .) ac_abs_builddir=`pwd`;;
835   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
836   *) ac_abs_builddir=`pwd`/"$ac_dir";;
837   esac;;
838 esac
839 case $ac_abs_builddir in
840 .) ac_abs_top_builddir=${ac_top_builddir}.;;
841 *)
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}.;;
846   esac;;
847 esac
848 case $ac_abs_builddir in
849 .) ac_abs_srcdir=$ac_srcdir;;
850 *)
851   case $ac_srcdir in
852   .) ac_abs_srcdir=$ac_abs_builddir;;
853   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
854   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
855   esac;;
856 esac
857 case $ac_abs_builddir in
858 .) ac_abs_top_srcdir=$ac_top_srcdir;;
859 *)
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;;
864   esac;;
865 esac
866
867     cd $ac_dir
868     # Check for guested configure; otherwise get Cygnus style configure.
869     if test -f $ac_srcdir/configure.gnu; then
870       echo
871       $SHELL $ac_srcdir/configure.gnu  --help=recursive
872     elif test -f $ac_srcdir/configure; then
873       echo
874       $SHELL $ac_srcdir/configure  --help=recursive
875     elif test -f $ac_srcdir/configure.ac ||
876            test -f $ac_srcdir/configure.in; then
877       echo
878       $ac_configure --help
879     else
880       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
881     fi
882     cd $ac_popdir
883   done
884 fi
885
886 test -n "$ac_init_help" && exit 0
887 if $ac_init_version; then
888   cat <<\_ACEOF
889
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.
893 _ACEOF
894   exit 0
895 fi
896 exec 5>config.log
897 cat >&5 <<_ACEOF
898 This file contains any messages produced by compilers while
899 running configure, to aid debugging if configure makes a mistake.
900
901 It was created by $as_me, which was
902 generated by GNU Autoconf 2.59.  Invocation command line was
903
904   $ $0 $@
905
906 _ACEOF
907 {
908 cat <<_ASUNAME
909 ## --------- ##
910 ## Platform. ##
911 ## --------- ##
912
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`
918
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`
921
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`
929
930 _ASUNAME
931
932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
933 for as_dir in $PATH
934 do
935   IFS=$as_save_IFS
936   test -z "$as_dir" && as_dir=.
937   echo "PATH: $as_dir"
938 done
939
940 } >&5
941
942 cat >&5 <<_ACEOF
943
944
945 ## ----------- ##
946 ## Core tests. ##
947 ## ----------- ##
948
949 _ACEOF
950
951
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.
957 ac_configure_args=
958 ac_configure_args0=
959 ac_configure_args1=
960 ac_sep=
961 ac_must_keep_next=false
962 for ac_pass in 1 2
963 do
964   for ac_arg
965   do
966     case $ac_arg in
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)
970       continue ;;
971     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
972       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
973     esac
974     case $ac_pass in
975     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
976     2)
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.
980       else
981         case $ac_arg in
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 ;;
988             esac
989             ;;
990           -* ) ac_must_keep_next=true ;;
991         esac
992       fi
993       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
994       # Get rid of the leading space.
995       ac_sep=" "
996       ;;
997     esac
998   done
999 done
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; }
1002
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.
1010   {
1011     echo
1012
1013     cat <<\_ASBOX
1014 ## ---------------- ##
1015 ## Cache variables. ##
1016 ## ---------------- ##
1017 _ASBOX
1018     echo
1019     # The following way of writing the cache mishandles newlines in values,
1020 {
1021   (set) 2>&1 |
1022     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1023     *ac_space=\ *)
1024       sed -n \
1025         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1026           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1027       ;;
1028     *)
1029       sed -n \
1030         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1031       ;;
1032     esac;
1033 }
1034     echo
1035
1036     cat <<\_ASBOX
1037 ## ----------------- ##
1038 ## Output variables. ##
1039 ## ----------------- ##
1040 _ASBOX
1041     echo
1042     for ac_var in $ac_subst_vars
1043     do
1044       eval ac_val=$`echo $ac_var`
1045       echo "$ac_var='"'"'$ac_val'"'"'"
1046     done | sort
1047     echo
1048
1049     if test -n "$ac_subst_files"; then
1050       cat <<\_ASBOX
1051 ## ------------- ##
1052 ## Output files. ##
1053 ## ------------- ##
1054 _ASBOX
1055       echo
1056       for ac_var in $ac_subst_files
1057       do
1058         eval ac_val=$`echo $ac_var`
1059         echo "$ac_var='"'"'$ac_val'"'"'"
1060       done | sort
1061       echo
1062     fi
1063
1064     if test -s confdefs.h; then
1065       cat <<\_ASBOX
1066 ## ----------- ##
1067 ## confdefs.h. ##
1068 ## ----------- ##
1069 _ASBOX
1070       echo
1071       sed "/^$/d" confdefs.h | sort
1072       echo
1073     fi
1074     test "$ac_signal" != 0 &&
1075       echo "$as_me: caught signal $ac_signal"
1076     echo "$as_me: exit $exit_status"
1077   } >&5
1078   rm -f core *.core &&
1079   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1080     exit $exit_status
1081      ' 0
1082 for ac_signal in 1 2 13 15; do
1083   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1084 done
1085 ac_signal=0
1086
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.
1090 echo >confdefs.h
1091
1092 # Predefined preprocessor variables.
1093
1094 cat >>confdefs.h <<_ACEOF
1095 #define PACKAGE_NAME "$PACKAGE_NAME"
1096 _ACEOF
1097
1098
1099 cat >>confdefs.h <<_ACEOF
1100 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1101 _ACEOF
1102
1103
1104 cat >>confdefs.h <<_ACEOF
1105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1106 _ACEOF
1107
1108
1109 cat >>confdefs.h <<_ACEOF
1110 #define PACKAGE_STRING "$PACKAGE_STRING"
1111 _ACEOF
1112
1113
1114 cat >>confdefs.h <<_ACEOF
1115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1116 _ACEOF
1117
1118
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"
1124   else
1125     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1126   fi
1127 fi
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
1133     . "$ac_site_file"
1134   fi
1135 done
1136
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;}
1143     case $cache_file in
1144       [\\/]* | ?:[\\/]* ) . $cache_file;;
1145       *)                      . ./$cache_file;;
1146     esac
1147   fi
1148 else
1149   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1150 echo "$as_me: creating cache $cache_file" >&6;}
1151   >$cache_file
1152 fi
1153
1154 # Check that the precious variables saved in the cache have kept the same
1155 # value.
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
1164     set,)
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=: ;;
1168     ,set)
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=: ;;
1172     ,);;
1173     *)
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=:
1182       fi;;
1183   esac
1184   # Pass precious variables to config.status.
1185   if test "$ac_new_set" = set; then
1186     case $ac_new_val in
1187     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1188       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1189     *) ac_arg=$ac_var=$ac_new_val ;;
1190     esac
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'" ;;
1194     esac
1195   fi
1196 done
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; }; }
1203 fi
1204
1205 ac_ext=c
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
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
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
1234 else
1235   cat >conftest.make <<\_ACEOF
1236 all:
1237         @echo 'ac_maketemp="$(MAKE)"'
1238 _ACEOF
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
1243 else
1244   eval ac_cv_prog_make_${ac_make}_set=no
1245 fi
1246 rm -f conftest.make
1247 fi
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
1251   SET_MAKE=
1252 else
1253   echo "$as_me:$LINENO: result: no" >&5
1254 echo "${ECHO_T}no" >&6
1255   SET_MAKE="MAKE=${MAKE-make}"
1256 fi
1257
1258 ac_aux_dir=
1259 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1260   if test -f $ac_dir/install-sh; then
1261     ac_aux_dir=$ac_dir
1262     ac_install_sh="$ac_aux_dir/install-sh -c"
1263     break
1264   elif test -f $ac_dir/install.sh; then
1265     ac_aux_dir=$ac_dir
1266     ac_install_sh="$ac_aux_dir/install.sh -c"
1267     break
1268   elif test -f $ac_dir/shtool; then
1269     ac_aux_dir=$ac_dir
1270     ac_install_sh="$ac_aux_dir/shtool install -c"
1271     break
1272   fi
1273 done
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; }; }
1278 fi
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.
1282
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
1289 # AIX /bin/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
1301 else
1302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1303 for as_dir in $PATH
1304 do
1305   IFS=$as_save_IFS
1306   test -z "$as_dir" && as_dir=.
1307   # Account for people who put trailing slashes in PATH elements.
1308 case $as_dir/ in
1309   ./ | .// | /cC/* | \
1310   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1311   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1312   /usr/ucb/* ) ;;
1313   *)
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
1316     # by default.
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.
1323             :
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.
1327             :
1328           else
1329             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1330             break 3
1331           fi
1332         fi
1333       done
1334     done
1335     ;;
1336 esac
1337 done
1338
1339
1340 fi
1341   if test "${ac_cv_path_install+set}" = set; then
1342     INSTALL=$ac_cv_path_install
1343   else
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
1349   fi
1350 fi
1351 echo "$as_me:$LINENO: result: $INSTALL" >&5
1352 echo "${ECHO_T}$INSTALL" >&6
1353
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}'
1357
1358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1359
1360 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1361
1362
1363 if test "${EMACS}" = "t"; then
1364    EMACS=""
1365 fi
1366
1367
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
1372 fi;
1373
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
1378 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
1385 else
1386   if test -n "$MAKEINFO"; then
1387   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1388 else
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 for as_dir in $PATH
1391 do
1392   IFS=$as_save_IFS
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
1398     break 2
1399   fi
1400 done
1401 done
1402
1403   test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1404 fi
1405 fi
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
1410 else
1411   echo "$as_me:$LINENO: result: no" >&5
1412 echo "${ECHO_T}no" >&6
1413 fi
1414
1415
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
1422 else
1423   if test -n "$EMACS"; then
1424   ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1425 else
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427 for as_dir in $PATH
1428 do
1429   IFS=$as_save_IFS
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
1435     break 2
1436   fi
1437 done
1438 done
1439
1440   test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1441 fi
1442 fi
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
1447 else
1448   echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1450 fi
1451
1452
1453
1454
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
1457
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
1462 fi
1463 if test "${EMACS_cv_SYS_xemacsp+set}" = set; then
1464   echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466
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
1472         rm -f ${OUTPUT}
1473         EMACS_cv_SYS_xemacsp=$retval
1474
1475 fi
1476
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
1481 fi
1482
1483   XEMACS=${EMACS_cv_SYS_xemacsp}
1484   EMACS_FLAVOR=emacs
1485   if test "$XEMACS" = "yes"; then
1486      EMACS_FLAVOR=xemacs
1487   fi
1488   echo "$as_me:$LINENO: result: $XEMACS" >&5
1489 echo "${ECHO_T}$XEMACS" >&6
1490
1491
1492
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
1496
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
1501 fi
1502 if test "${EMACS_cv_SYS_prefix+set}" = set; then
1503   echo $ECHO_N "(cached) $ECHO_C" >&6
1504 else
1505
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
1511         rm -f ${OUTPUT}
1512         EMACS_cv_SYS_prefix=$retval
1513
1514 fi
1515
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
1520 fi
1521
1522         prefix=${EMACS_cv_SYS_prefix}
1523         echo "$as_me:$LINENO: result: $prefix" >&5
1524 echo "${ECHO_T}$prefix" >&6
1525   fi
1526
1527 # Check whether --with-lispdir or --without-lispdir was given.
1528 if test "${with_lispdir+set}" = set; then
1529   withval="$with_lispdir"
1530   lispdir=${withval}
1531 fi;
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
1535         theprefix=$prefix
1536     if test "x$theprefix" = "xNONE"; then
1537         theprefix=$ac_default_prefix
1538     fi
1539     if test "$EMACS_FLAVOR" = "xemacs"; then
1540         datadir="\$(prefix)/lib"
1541         lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
1542     else
1543     lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
1544     fi
1545     for thedir in share lib; do
1546         potential=
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"
1550            else
1551                lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
1552            fi
1553            break
1554         fi
1555     done
1556   fi
1557   echo "$as_me:$LINENO: result: $lispdir" >&5
1558 echo "${ECHO_T}$lispdir" >&6
1559
1560
1561
1562
1563 # Check whether --with-etcdir or --without-etcdir was given.
1564 if test "${with_etcdir+set}" = set; then
1565   withval="$with_etcdir"
1566   etcdir=${withval}
1567 fi;
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"
1573     else
1574       etcdir="\$(lispdir)/../../etc"
1575     fi
1576   fi
1577   echo "$as_me:$LINENO: result: $etcdir" >&5
1578 echo "${ECHO_T}$etcdir" >&6
1579
1580
1581
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"
1587     else
1588       info_dir="\$(prefix)/info"
1589     fi
1590   else
1591     info_dir=$infodir
1592   fi
1593   echo "$as_me:$LINENO: result: $info_dir" >&5
1594 echo "${ECHO_T}$info_dir" >&6
1595
1596
1597
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
1602 else
1603
1604
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
1608 fi
1609 library=`echo url | tr _ -`
1610
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
1615 fi
1616 if test "${EMACS_cv_SYS_url+set}" = set; then
1617   echo $ECHO_N "(cached) $ECHO_C" >&6
1618 else
1619
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
1625         rm -f ${OUTPUT}
1626         EMACS_cv_SYS_url=$retval
1627
1628 fi
1629
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
1634 fi
1635
1636 if test "${EMACS_cv_SYS_url}" = "nil"; then
1637         EMACS_cv_SYS_url=no
1638 fi
1639 if test "${EMACS_cv_SYS_url}" = "t"; then
1640         EMACS_cv_SYS_url=yes
1641 fi
1642 HAVE_url=${EMACS_cv_SYS_url}
1643
1644 if test -z ""noecho""; then
1645         echo "$as_me:$LINENO: result: $HAVE_url" >&5
1646 echo "${ECHO_T}$HAVE_url" >&6
1647 fi
1648
1649 if test "${HAVE_url}" = "yes"; then
1650         EMACS_cv_ACCEPTABLE_URL=yes
1651 else
1652         EMACS_cv_ACCEPTABLE_URL=no
1653 fi
1654
1655 if test "${EMACS_cv_ACCEPTABLE_URL}" = "yes"; then
1656
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
1661 fi
1662 if test "${EMACS_cv_SYS_url_dir+set}" = set; then
1663   echo $ECHO_N "(cached) $ECHO_C" >&6
1664 else
1665
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
1671         rm -f ${OUTPUT}
1672         EMACS_cv_SYS_url_dir=$retval
1673
1674 fi
1675
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
1680 fi
1681
1682         EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
1683 fi
1684
1685 fi
1686
1687
1688 # Check whether --with-url or --without-url was given.
1689 if test "${with_url+set}" = set; then
1690   withval="$with_url"
1691    EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1692 fi;
1693    URL=${EMACS_cv_ACCEPTABLE_URL}
1694
1695    echo "$as_me:$LINENO: result: \"${URL}\"" >&5
1696 echo "${ECHO_T}\"${URL}\"" >&6
1697
1698
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
1703 else
1704
1705
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
1709 fi
1710 library=`echo w3_forms | tr _ -`
1711
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
1716 fi
1717 if test "${EMACS_cv_SYS_w3_forms+set}" = set; then
1718   echo $ECHO_N "(cached) $ECHO_C" >&6
1719 else
1720
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
1726         rm -f ${OUTPUT}
1727         EMACS_cv_SYS_w3_forms=$retval
1728
1729 fi
1730
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
1735 fi
1736
1737 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
1738         EMACS_cv_SYS_w3_forms=no
1739 fi
1740 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
1741         EMACS_cv_SYS_w3_forms=yes
1742 fi
1743 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
1744
1745 if test -z ""noecho""; then
1746         echo "$as_me:$LINENO: result: $HAVE_w3_forms" >&5
1747 echo "${ECHO_T}$HAVE_w3_forms" >&6
1748 fi
1749
1750 if test "${HAVE_w3_forms}" = "yes"; then
1751         EMACS_cv_ACCEPTABLE_W3=yes
1752 else
1753         EMACS_cv_ACCEPTABLE_W3=no
1754 fi
1755
1756 if test "${EMACS_cv_ACCEPTABLE_W3}" = "yes"; then
1757
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
1762 fi
1763 if test "${EMACS_cv_SYS_w3_dir+set}" = set; then
1764   echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766
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
1772         rm -f ${OUTPUT}
1773         EMACS_cv_SYS_w3_dir=$retval
1774
1775 fi
1776
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
1781 fi
1782
1783         EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
1784 fi
1785
1786 fi
1787
1788
1789 # Check whether --with-w3 or --without-w3 was given.
1790 if test "${with_w3+set}" = set; then
1791   withval="$with_w3"
1792    EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null`
1793 fi;
1794    W3=${EMACS_cv_ACCEPTABLE_W3}
1795
1796    echo "$as_me:$LINENO: result: \"${W3}\"" >&5
1797 echo "${ECHO_T}\"${W3}\"" >&6
1798
1799
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"
1805     else
1806       FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
1807     fi
1808   else
1809     FLAGS=$FLAGS
1810   fi
1811   echo "$as_me:$LINENO: result: $FLAGS" >&5
1812 echo "${ECHO_T}$FLAGS" >&6
1813
1814
1815
1816 test "$LATEX" = t && LATEX=
1817 test "$LATEX" || for ac_prog in latex
1818 do
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
1825 else
1826   case $LATEX in
1827   [\\/]* | ?:[\\/]*)
1828   ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
1829   ;;
1830   *)
1831   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 for as_dir in $PATH
1833 do
1834   IFS=$as_save_IFS
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
1840     break 2
1841   fi
1842 done
1843 done
1844
1845   ;;
1846 esac
1847 fi
1848 LATEX=$ac_cv_path_LATEX
1849
1850 if test -n "$LATEX"; then
1851   echo "$as_me:$LINENO: result: $LATEX" >&5
1852 echo "${ECHO_T}$LATEX" >&6
1853 else
1854   echo "$as_me:$LINENO: result: no" >&5
1855 echo "${ECHO_T}no" >&6
1856 fi
1857
1858   test -n "$LATEX" && break
1859 done
1860 test -n "$LATEX" || LATEX="no"
1861
1862 echo "$as_me:$LINENO: checking for available fonts" >&5
1863 echo $ECHO_N "checking for available fonts... $ECHO_C" >&6
1864
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"
1869 fi;
1870 WITH_FONTS_bembo='%'
1871 WITHOUT_FONTS_bembo=
1872 WITH_FONTS_pfu='%'
1873 WITHOUT_FONTS_pfu=
1874 WITH_FONTS_bcr='%'
1875 WITHOUT_FONTS_bcr=
1876 if test -z "${USE_FONTS}"; then
1877   if test "${LATEX}" = no; then
1878         :
1879   else
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"
1885       else
1886         USE_FONTS="${USE_FONTS}, Adobe Bembo"
1887       fi
1888       WITH_FONTS_bembo=
1889       WITHOUT_FONTS_bembo='%'
1890     fi
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
1894         :
1895       else
1896         if test -z "${USE_FONTS}"; then
1897           USE_FONTS="Adobe Futura"
1898         else
1899           USE_FONTS="${USE_FONTS}, Adobe Futura"
1900         fi
1901         WITH_FONTS_pfu=
1902         WITHOUT_FONTS_pfu='%'
1903       fi
1904     fi
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
1908         :
1909       else
1910         if test -z "${USE_FONTS}"; then
1911           USE_FONTS="Bitstream Courier"
1912         else
1913           USE_FONTS="${USE_FONTS}, Bitstream Courier"
1914         fi
1915         WITH_FONTS_bcr=
1916         WITHOUT_FONTS_bcr='%'
1917       fi
1918     fi
1919     rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
1920   fi
1921 elif test "${USE_FONTS}" = yes ; then
1922   WITH_FONTS_bembo=
1923   WITHOUT_FONTS_bembo='%'
1924   WITH_FONTS_pfu=
1925   WITHOUT_FONTS_pfu='%'
1926   WITH_FONTS_bcr=
1927   WITHOUT_FONTS_bcr='%'
1928 fi
1929
1930
1931
1932
1933
1934
1935 if test -z "${USE_FONTS}" ; then
1936   USE_FONTS=no
1937 fi
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
1944   USE_FONTS=''
1945 else
1946   USE_FONTS="Set in ${USE_FONTS}."
1947 fi
1948
1949
1950
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.
1958 #
1959 # config.status only pays attention to the cache file if you give it
1960 # the --recheck option to rerun configure.
1961 #
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
1964 # following values.
1965
1966 _ACEOF
1967
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.
1973 {
1974   (set) 2>&1 |
1975     case `(ac_space=' '; set | grep ac_space) 2>&1` in
1976     *ac_space=\ *)
1977       # `set' does not quote correctly, so add quotes (double-quote
1978       # substitution turns \\\\ into \\, and sed turns \\ into \).
1979       sed -n \
1980         "s/'/'\\\\''/g;
1981           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1982       ;;
1983     *)
1984       # `set' quotes correctly as required by POSIX, so do not add quotes.
1985       sed -n \
1986         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1987       ;;
1988     esac;
1989 } |
1990   sed '
1991      t clear
1992      : clear
1993      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1994      t end
1995      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1996      : end' >>confcache
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
2001   else
2002     echo "not updating unwritable cache $cache_file"
2003   fi
2004 fi
2005 rm -f confcache
2006
2007 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2008 # Let make expand exec_prefix.
2009 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2010
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}:*/:/;
2019 s/:*@srcdir@:*/:/;
2020 s/^\([^=]*=[     ]*\):*/\1/;
2021 s/:*$//;
2022 s/^[^=]*=[       ]*$//;
2023 }'
2024 fi
2025
2026 # Transform confdefs.h into DEFS.
2027 # Protect against shell expansion while executing Makefile rules.
2028 # Protect against Makefile macro expansion.
2029 #
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
2034 t clear
2035 : clear
2036 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2037 t quote
2038 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2039 t quote
2040 d
2041 : quote
2042 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2043 s,\[,\\&,g
2044 s,\],\\&,g
2045 s,\$,$$,g
2046 p
2047 _ACEOF
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
2053 # would break.
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
2057
2058
2059 ac_libobjs=
2060 ac_ltlibobjs=
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$//'`
2065   # 2. Add them.
2066   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2067   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2068 done
2069 LIBOBJS=$ac_libobjs
2070
2071 LTLIBOBJS=$ac_ltlibobjs
2072
2073
2074
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
2081 #! $SHELL
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.
2086
2087 debug=false
2088 ac_cs_recheck=false
2089 ac_cs_silent=false
2090 SHELL=\${CONFIG_SHELL-$SHELL}
2091 _ACEOF
2092
2093 cat >>$CONFIG_STATUS <<\_ACEOF
2094 ## --------------------- ##
2095 ## M4sh Initialization.  ##
2096 ## --------------------- ##
2097
2098 # Be Bourne compatible
2099 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2100   emulate sh
2101   NULLCMD=:
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
2106   set -o posix
2107 fi
2108 DUALCASE=1; export DUALCASE # for MKS sh
2109
2110 # Support unset when possible.
2111 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2112   as_unset=unset
2113 else
2114   as_unset=false
2115 fi
2116
2117
2118 # Work around bugs in pre-3.0 UWIN ksh.
2119 $as_unset ENV MAIL MAILPATH
2120 PS1='$ '
2121 PS2='> '
2122 PS4='+ '
2123
2124 # NLS nuisances.
2125 for as_var in \
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
2129 do
2130   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2131     eval $as_var=C; export $as_var
2132   else
2133     $as_unset $as_var
2134   fi
2135 done
2136
2137 # Required to use basename.
2138 if expr a : '\(a\)' >/dev/null 2>&1; then
2139   as_expr=expr
2140 else
2141   as_expr=false
2142 fi
2143
2144 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2145   as_basename=basename
2146 else
2147   as_basename=false
2148 fi
2149
2150
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 ||
2157 echo X/"$0" |
2158     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2159           /^X\/\(\/\/\)$/{ s//\1/; q; }
2160           /^X\/\(\/\).*/{ s//\1/; q; }
2161           s/.*/./; q'`
2162
2163
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
2171
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
2176   chmod +x conf$$.sh
2177   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2178     PATH_SEPARATOR=';'
2179   else
2180     PATH_SEPARATOR=:
2181   fi
2182   rm -f conf$$.sh
2183 fi
2184
2185
2186   as_lineno_1=$LINENO
2187   as_lineno_2=$LINENO
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
2192   # relative or not.
2193   case $0 in
2194     *[\\/]* ) as_myself=$0 ;;
2195     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2197 do
2198   IFS=$as_save_IFS
2199   test -z "$as_dir" && as_dir=.
2200   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2201 done
2202
2203        ;;
2204   esac
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
2208     as_myself=$0
2209   fi
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; }; }
2214   fi
2215   case $CONFIG_SHELL in
2216   '')
2217     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2219 do
2220   IFS=$as_save_IFS
2221   test -z "$as_dir" && as_dir=.
2222   for as_base in sh bash ksh sh5; do
2223          case $as_dir in
2224          /*)
2225            if ("$as_dir/$as_base" -c '
2226   as_lineno_1=$LINENO
2227   as_lineno_2=$LINENO
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
2234              export CONFIG_SHELL
2235              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2236            fi;;
2237          esac
2238        done
2239 done
2240 ;;
2241   esac
2242
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 |
2252     sed '
2253       N
2254       s,$,-,
2255       : loop
2256       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2257       t loop
2258       s,-$,,
2259       s,^['$as_cr_digits']*\n,,
2260     ' >$as_me.lineno &&
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; }; }
2265
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).
2269   . ./$as_me.lineno
2270   # Exit status is that of the last command.
2271   exit
2272 }
2273
2274
2275 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2276   *c*,-n*) ECHO_N= ECHO_C='
2277 ' ECHO_T='      ' ;;
2278   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2279   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2280 esac
2281
2282 if expr a : '\(a\)' >/dev/null 2>&1; then
2283   as_expr=expr
2284 else
2285   as_expr=false
2286 fi
2287
2288 rm -f conf$$ conf$$.exe conf$$.file
2289 echo >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
2295     as_ln_s='cp -p'
2296   else
2297     as_ln_s='ln -s'
2298   fi
2299 elif ln conf$$.file conf$$ 2>/dev/null; then
2300   as_ln_s=ln
2301 else
2302   as_ln_s='cp -p'
2303 fi
2304 rm -f conf$$ conf$$.exe conf$$.file
2305
2306 if mkdir -p . 2>/dev/null; then
2307   as_mkdir_p=:
2308 else
2309   test -d ./-p && rmdir ./-p
2310   as_mkdir_p=false
2311 fi
2312
2313 as_executable_p="test -f"
2314
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'"
2317
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'"
2320
2321
2322 # IFS
2323 # We need space, tab and new line, in precisely that order.
2324 as_nl='
2325 '
2326 IFS="   $as_nl"
2327
2328 # CDPATH.
2329 $as_unset CDPATH
2330
2331 exec 6>&1
2332
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.
2336 exec 5>>config.log
2337 {
2338   echo
2339   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2340 ## Running $as_me. ##
2341 _ASBOX
2342 } >&5
2343 cat >&5 <<_CSEOF
2344
2345 This file was extended by $as_me, which was
2346 generated by GNU Autoconf 2.59.  Invocation command line was
2347
2348   CONFIG_FILES    = $CONFIG_FILES
2349   CONFIG_HEADERS  = $CONFIG_HEADERS
2350   CONFIG_LINKS    = $CONFIG_LINKS
2351   CONFIG_COMMANDS = $CONFIG_COMMANDS
2352   $ $0 $@
2353
2354 _CSEOF
2355 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2356 echo >&5
2357 _ACEOF
2358
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
2362 fi
2363
2364 if test -n "$ac_config_headers"; then
2365   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2366 fi
2367
2368 if test -n "$ac_config_links"; then
2369   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2370 fi
2371
2372 if test -n "$ac_config_commands"; then
2373   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2374 fi
2375
2376 cat >>$CONFIG_STATUS <<\_ACEOF
2377
2378 ac_cs_usage="\
2379 \`$as_me' instantiates files from templates according to the
2380 current configuration.
2381
2382 Usage: $0 [OPTIONS] [FILE]...
2383
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
2391
2392 Configuration files:
2393 $config_files
2394
2395 Report bugs to <bug-autoconf@gnu.org>."
2396 _ACEOF
2397
2398 cat >>$CONFIG_STATUS <<_ACEOF
2399 ac_cs_version="\\
2400 config.status
2401 configured by $0, generated by GNU Autoconf 2.59,
2402   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2403
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."
2407 srcdir=$srcdir
2408 INSTALL="$INSTALL"
2409 _ACEOF
2410
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.
2414 ac_need_defaults=:
2415 while test $# != 0
2416 do
2417   case $1 in
2418   --*=*)
2419     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2420     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2421     ac_shift=:
2422     ;;
2423   -*)
2424     ac_option=$1
2425     ac_optarg=$2
2426     ac_shift=shift
2427     ;;
2428   *) # This is not an option, so the user has probably given explicit
2429      # arguments.
2430      ac_option=$1
2431      ac_need_defaults=false;;
2432   esac
2433
2434   case $ac_option in
2435   # Handling of the options.
2436 _ACEOF
2437 cat >>$CONFIG_STATUS <<\_ACEOF
2438   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2439     ac_cs_recheck=: ;;
2440   --version | --vers* | -V )
2441     echo "$ac_cs_version"; exit 0 ;;
2442   --he | --h)
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 )
2452     debug=: ;;
2453   --file | --fil | --fi | --f )
2454     $ac_shift
2455     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2456     ac_need_defaults=false;;
2457   --header | --heade | --head | --hea )
2458     $ac_shift
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)
2463     ac_cs_silent=: ;;
2464
2465   # This is an error.
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; }; } ;;
2471
2472   *) ac_config_targets="$ac_config_targets $1" ;;
2473
2474   esac
2475   shift
2476 done
2477
2478 ac_configure_extra_args=
2479
2480 if $ac_cs_silent; then
2481   exec 6>/dev/null
2482   ac_configure_extra_args="$ac_configure_extra_args --silent"
2483 fi
2484
2485 _ACEOF
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
2490 fi
2491
2492 _ACEOF
2493
2494
2495
2496
2497
2498 cat >>$CONFIG_STATUS <<\_ACEOF
2499 for ac_config_target in $ac_config_targets
2500 do
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; }; };;
2512   esac
2513 done
2514
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
2521 fi
2522
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.
2527 $debug ||
2528 {
2529   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2530   trap '{ (exit 1); exit 1; }' 1 2 13 15
2531 }
2532
2533 # Create a (secure) tmp directory for tmp files.
2534
2535 {
2536   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2537   test -n "$tmp" && test -d "$tmp"
2538 }  ||
2539 {
2540   tmp=./confstat$$-$RANDOM
2541   (umask 077 && mkdir $tmp)
2542 } ||
2543 {
2544    echo "$me: cannot create a temporary directory in ." >&2
2545    { (exit 1); exit 1; }
2546 }
2547
2548 _ACEOF
2549
2550 cat >>$CONFIG_STATUS <<_ACEOF
2551
2552 #
2553 # CONFIG_FILES section.
2554 #
2555
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
2587 s,@DEFS@,$DEFS,;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
2591 s,@LIBS@,$LIBS,;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
2604 s,@URL@,$URL,;t t
2605 s,@HAVE_w3_forms@,$HAVE_w3_forms,;t t
2606 s,@W3@,$W3,;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
2618 CEOF
2619
2620 _ACEOF
2621
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.
2625   ac_max_sed_lines=48
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.
2629   ac_more_lines=:
2630   ac_sed_cmds=
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
2634     else
2635       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2636     fi
2637     if test ! -s $tmp/subs.frag; then
2638       ac_more_lines=false
2639     else
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.
2644       (echo ':t
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"
2648       else
2649         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2650       fi
2651       ac_sed_frag=`expr $ac_sed_frag + 1`
2652       ac_beg=$ac_end
2653       ac_end=`expr $ac_end + $ac_max_sed_lines`
2654     fi
2655   done
2656   if test -z "$ac_sed_cmds"; then
2657     ac_sed_cmds=cat
2658   fi
2659 fi # test -n "$CONFIG_FILES"
2660
2661 _ACEOF
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".
2665   case $ac_file in
2666   - | *:- | *:-:* ) # input from stdin
2667         cat >$tmp/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 ;;
2673   esac
2674
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 ||
2682 echo X"$ac_file" |
2683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2684           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2685           /^X\(\/\/\)$/{ s//\1/; q; }
2686           /^X\(\/\).*/{ s//\1/; q; }
2687           s/.*/./; q'`
2688   { if $as_mkdir_p; then
2689     mkdir -p "$ac_dir"
2690   else
2691     as_dir="$ac_dir"
2692     as_dirs=
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 ||
2701 echo X"$as_dir" |
2702     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2703           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2704           /^X\(\/\/\)$/{ s//\1/; q; }
2705           /^X\(\/\).*/{ s//\1/; q; }
2706           s/.*/./; q'`
2707     done
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; }; }; }
2712
2713   ac_builddir=.
2714
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'`
2719 else
2720   ac_dir_suffix= ac_top_builddir=
2721 fi
2722
2723 case $srcdir in
2724   .)  # No --srcdir option.  We are building in place.
2725     ac_srcdir=.
2726     if test -z "$ac_top_builddir"; then
2727        ac_top_srcdir=.
2728     else
2729        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2730     fi ;;
2731   [\\/]* | ?:[\\/]* )  # Absolute path.
2732     ac_srcdir=$srcdir$ac_dir_suffix;
2733     ac_top_srcdir=$srcdir ;;
2734   *) # Relative path.
2735     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2736     ac_top_srcdir=$ac_top_builddir$srcdir ;;
2737 esac
2738
2739 # Do not use `cd foo && pwd` to compute absolute paths, because
2740 # the directories may not exist.
2741 case `pwd` in
2742 .) ac_abs_builddir="$ac_dir";;
2743 *)
2744   case "$ac_dir" in
2745   .) ac_abs_builddir=`pwd`;;
2746   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2747   *) ac_abs_builddir=`pwd`/"$ac_dir";;
2748   esac;;
2749 esac
2750 case $ac_abs_builddir in
2751 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2752 *)
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}.;;
2757   esac;;
2758 esac
2759 case $ac_abs_builddir in
2760 .) ac_abs_srcdir=$ac_srcdir;;
2761 *)
2762   case $ac_srcdir in
2763   .) ac_abs_srcdir=$ac_abs_builddir;;
2764   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2765   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2766   esac;;
2767 esac
2768 case $ac_abs_builddir in
2769 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2770 *)
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;;
2775   esac;;
2776 esac
2777
2778
2779   case $INSTALL in
2780   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2781   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2782   esac
2783
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;}
2787     rm -f "$ac_file"
2788   fi
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
2793     configure_input=
2794   else
2795     configure_input="$ac_file.  "
2796   fi
2797   configure_input=$configure_input"Generated from `echo $ac_file_in |
2798                                      sed 's,.*/,,'` by configure."
2799
2800   # First look for the input files in the build tree, otherwise in the
2801   # src tree.
2802   ac_file_inputs=`IFS=:
2803     for f in $ac_file_in; do
2804       case $f in
2805       -) echo $tmp/stdin ;;
2806       [\\/$]*)
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; }; }
2811          echo "$f";;
2812       *) # Relative
2813          if test -f "$f"; then
2814            # Build tree
2815            echo "$f"
2816          elif test -f "$srcdir/$f"; then
2817            # Source tree
2818            echo "$srcdir/$f"
2819          else
2820            # /dev/null tree
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; }; }
2824          fi;;
2825       esac
2826     done` || { (exit 1); exit 1; }
2827 _ACEOF
2828 cat >>$CONFIG_STATUS <<_ACEOF
2829   sed "$ac_vpsub
2830 $extrasub
2831 _ACEOF
2832 cat >>$CONFIG_STATUS <<\_ACEOF
2833 :t
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
2846   rm -f $tmp/stdin
2847   if test x"$ac_file" != x-; then
2848     mv $tmp/out $ac_file
2849   else
2850     cat $tmp/out
2851     rm -f $tmp/out
2852   fi
2853
2854 done
2855 _ACEOF
2856
2857 cat >>$CONFIG_STATUS <<\_ACEOF
2858
2859 { (exit 0); exit 0; }
2860 _ACEOF
2861 chmod +x $CONFIG_STATUS
2862 ac_clean_files=$ac_clean_files_save
2863
2864
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
2874   ac_cs_success=:
2875   ac_config_status_args=
2876   test "$silent" = yes &&
2877     ac_config_status_args="$ac_config_status_args --quiet"
2878   exec 5>/dev/null
2879   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2880   exec 5>>config.log
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; }
2884 fi
2885
2886