* gnus-util.el (gnus-truncate-string): Abolished.
[elisp/gnus.git-] / configure
1 #! /bin/sh
2
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.14.1 
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 #
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15   --with-emacs=EMACS      compile with EMACS [EMACS=emacs, mule...]"
16 ac_help="$ac_help
17   --with-xemacs=XEMACS    compile with XEMACS [XEMACS=xemacs]"
18 ac_help="$ac_help
19   --with-lispdir=DIR      Where to install lisp files
20                           (for XEmacs package, use --with-packagedir instead)"
21 ac_help="$ac_help
22   --with-etcdir=DIR       Where to install etc files"
23 ac_help="$ac_help
24   --with-url=DIR          Specify where to find the url package"
25 ac_help="$ac_help
26   --with-w3=DIR           Specify where to find the w3 package"
27 ac_help="$ac_help
28   --with-packagedir=DIR   package DIR for XEmacs"
29 ac_help="$ac_help
30   --with-addpath=PATH     search Emacs-Lisp libraries with PATH
31                           use colons to separate directory names"
32
33 # Initialize some variables set by options.
34 # The variables have the same names as the options, with
35 # dashes changed to underlines.
36 build=NONE
37 cache_file=./config.cache
38 exec_prefix=NONE
39 host=NONE
40 no_create=
41 nonopt=NONE
42 no_recursion=
43 prefix=NONE
44 program_prefix=NONE
45 program_suffix=NONE
46 program_transform_name=s,x,x,
47 silent=
48 site=
49 srcdir=
50 target=NONE
51 verbose=
52 x_includes=NONE
53 x_libraries=NONE
54 bindir='${exec_prefix}/bin'
55 sbindir='${exec_prefix}/sbin'
56 libexecdir='${exec_prefix}/libexec'
57 datadir='${prefix}/share'
58 sysconfdir='${prefix}/etc'
59 sharedstatedir='${prefix}/com'
60 localstatedir='${prefix}/var'
61 libdir='${exec_prefix}/lib'
62 includedir='${prefix}/include'
63 oldincludedir='/usr/include'
64 infodir='${prefix}/info'
65 mandir='${prefix}/man'
66
67 # Initialize some other variables.
68 subdirs=
69 MFLAGS= MAKEFLAGS=
70 SHELL=${CONFIG_SHELL-/bin/sh}
71 # Maximum number of lines to put in a shell here document.
72 ac_max_here_lines=12
73
74 ac_prev=
75 for ac_option
76 do
77
78   # If the previous option needs an argument, assign it.
79   if test -n "$ac_prev"; then
80     eval "$ac_prev=\$ac_option"
81     ac_prev=
82     continue
83   fi
84
85   case "$ac_option" in
86   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
87   *) ac_optarg= ;;
88   esac
89
90   # Accept the important Cygnus configure options, so we can diagnose typos.
91
92   case "$ac_option" in
93
94   -bindir | --bindir | --bindi | --bind | --bin | --bi)
95     ac_prev=bindir ;;
96   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
97     bindir="$ac_optarg" ;;
98
99   -build | --build | --buil | --bui | --bu)
100     ac_prev=build ;;
101   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
102     build="$ac_optarg" ;;
103
104   -cache-file | --cache-file | --cache-fil | --cache-fi \
105   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
106     ac_prev=cache_file ;;
107   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
108   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
109     cache_file="$ac_optarg" ;;
110
111   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
112     ac_prev=datadir ;;
113   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
114   | --da=*)
115     datadir="$ac_optarg" ;;
116
117   -disable-* | --disable-*)
118     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
119     # Reject names that are not valid shell variable names.
120     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
121       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
122     fi
123     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
124     eval "enable_${ac_feature}=no" ;;
125
126   -enable-* | --enable-*)
127     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
128     # Reject names that are not valid shell variable names.
129     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
130       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
131     fi
132     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
133     case "$ac_option" in
134       *=*) ;;
135       *) ac_optarg=yes ;;
136     esac
137     eval "enable_${ac_feature}='$ac_optarg'" ;;
138
139   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
140   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
141   | --exec | --exe | --ex)
142     ac_prev=exec_prefix ;;
143   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
144   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
145   | --exec=* | --exe=* | --ex=*)
146     exec_prefix="$ac_optarg" ;;
147
148   -gas | --gas | --ga | --g)
149     # Obsolete; use --with-gas.
150     with_gas=yes ;;
151
152   -help | --help | --hel | --he)
153     # Omit some internal or obsolete options to make the list less imposing.
154     # This message is too long to be a string in the A/UX 3.1 sh.
155     cat << EOF
156 Usage: configure [options] [host]
157 Options: [defaults in brackets after descriptions]
158 Configuration:
159   --cache-file=FILE       cache test results in FILE
160   --help                  print this message
161   --no-create             do not create output files
162   --quiet, --silent       do not print \`checking...' messages
163   --version               print the version of autoconf that created configure
164 Directory and file names:
165   --prefix=PREFIX         install architecture-independent files in PREFIX
166                           [$ac_default_prefix]
167   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
168                           [same as prefix]
169   --bindir=DIR            user executables in DIR [EPREFIX/bin]
170   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
171   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
172   --datadir=DIR           read-only architecture-independent data in DIR
173                           [PREFIX/share]
174   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
175   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
176                           [PREFIX/com]
177   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
178   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
179   --includedir=DIR        C header files in DIR [PREFIX/include]
180   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
181   --infodir=DIR           info documentation in DIR [PREFIX/info]
182   --mandir=DIR            man documentation in DIR [PREFIX/man]
183   --srcdir=DIR            find the sources in DIR [configure dir or ..]
184   --program-prefix=PREFIX prepend PREFIX to installed program names
185   --program-suffix=SUFFIX append SUFFIX to installed program names
186   --program-transform-name=PROGRAM
187                           run sed PROGRAM on installed program names
188 EOF
189     cat << EOF
190 Host type:
191   --build=BUILD           configure for building on BUILD [BUILD=HOST]
192   --host=HOST             configure for HOST [guessed]
193   --target=TARGET         configure for TARGET [TARGET=HOST]
194 Features and packages:
195   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
196   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
197   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
198   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
199   --x-includes=DIR        X include files are in DIR
200   --x-libraries=DIR       X library files are in DIR
201 EOF
202     if test -n "$ac_help"; then
203       echo "--enable and --with options recognized:$ac_help"
204     fi
205     exit 0 ;;
206
207   -host | --host | --hos | --ho)
208     ac_prev=host ;;
209   -host=* | --host=* | --hos=* | --ho=*)
210     host="$ac_optarg" ;;
211
212   -includedir | --includedir | --includedi | --included | --include \
213   | --includ | --inclu | --incl | --inc)
214     ac_prev=includedir ;;
215   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
216   | --includ=* | --inclu=* | --incl=* | --inc=*)
217     includedir="$ac_optarg" ;;
218
219   -infodir | --infodir | --infodi | --infod | --info | --inf)
220     ac_prev=infodir ;;
221   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
222     infodir="$ac_optarg" ;;
223
224   -libdir | --libdir | --libdi | --libd)
225     ac_prev=libdir ;;
226   -libdir=* | --libdir=* | --libdi=* | --libd=*)
227     libdir="$ac_optarg" ;;
228
229   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
230   | --libexe | --libex | --libe)
231     ac_prev=libexecdir ;;
232   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
233   | --libexe=* | --libex=* | --libe=*)
234     libexecdir="$ac_optarg" ;;
235
236   -localstatedir | --localstatedir | --localstatedi | --localstated \
237   | --localstate | --localstat | --localsta | --localst \
238   | --locals | --local | --loca | --loc | --lo)
239     ac_prev=localstatedir ;;
240   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
241   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
242   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
243     localstatedir="$ac_optarg" ;;
244
245   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
246     ac_prev=mandir ;;
247   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
248     mandir="$ac_optarg" ;;
249
250   -nfp | --nfp | --nf)
251     # Obsolete; use --without-fp.
252     with_fp=no ;;
253
254   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
255   | --no-cr | --no-c)
256     no_create=yes ;;
257
258   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
259   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
260     no_recursion=yes ;;
261
262   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
263   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
264   | --oldin | --oldi | --old | --ol | --o)
265     ac_prev=oldincludedir ;;
266   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
267   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
268   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
269     oldincludedir="$ac_optarg" ;;
270
271   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
272     ac_prev=prefix ;;
273   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
274     prefix="$ac_optarg" ;;
275
276   -program-prefix | --program-prefix | --program-prefi | --program-pref \
277   | --program-pre | --program-pr | --program-p)
278     ac_prev=program_prefix ;;
279   -program-prefix=* | --program-prefix=* | --program-prefi=* \
280   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
281     program_prefix="$ac_optarg" ;;
282
283   -program-suffix | --program-suffix | --program-suffi | --program-suff \
284   | --program-suf | --program-su | --program-s)
285     ac_prev=program_suffix ;;
286   -program-suffix=* | --program-suffix=* | --program-suffi=* \
287   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
288     program_suffix="$ac_optarg" ;;
289
290   -program-transform-name | --program-transform-name \
291   | --program-transform-nam | --program-transform-na \
292   | --program-transform-n | --program-transform- \
293   | --program-transform | --program-transfor \
294   | --program-transfo | --program-transf \
295   | --program-trans | --program-tran \
296   | --progr-tra | --program-tr | --program-t)
297     ac_prev=program_transform_name ;;
298   -program-transform-name=* | --program-transform-name=* \
299   | --program-transform-nam=* | --program-transform-na=* \
300   | --program-transform-n=* | --program-transform-=* \
301   | --program-transform=* | --program-transfor=* \
302   | --program-transfo=* | --program-transf=* \
303   | --program-trans=* | --program-tran=* \
304   | --progr-tra=* | --program-tr=* | --program-t=*)
305     program_transform_name="$ac_optarg" ;;
306
307   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
308   | -silent | --silent | --silen | --sile | --sil)
309     silent=yes ;;
310
311   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
312     ac_prev=sbindir ;;
313   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
314   | --sbi=* | --sb=*)
315     sbindir="$ac_optarg" ;;
316
317   -sharedstatedir | --sharedstatedir | --sharedstatedi \
318   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
319   | --sharedst | --shareds | --shared | --share | --shar \
320   | --sha | --sh)
321     ac_prev=sharedstatedir ;;
322   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
323   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
324   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
325   | --sha=* | --sh=*)
326     sharedstatedir="$ac_optarg" ;;
327
328   -site | --site | --sit)
329     ac_prev=site ;;
330   -site=* | --site=* | --sit=*)
331     site="$ac_optarg" ;;
332
333   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
334     ac_prev=srcdir ;;
335   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
336     srcdir="$ac_optarg" ;;
337
338   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
339   | --syscon | --sysco | --sysc | --sys | --sy)
340     ac_prev=sysconfdir ;;
341   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
342   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
343     sysconfdir="$ac_optarg" ;;
344
345   -target | --target | --targe | --targ | --tar | --ta | --t)
346     ac_prev=target ;;
347   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
348     target="$ac_optarg" ;;
349
350   -v | -verbose | --verbose | --verbos | --verbo | --verb)
351     verbose=yes ;;
352
353   -version | --version | --versio | --versi | --vers)
354     echo "configure generated by autoconf version 2.14.1"
355     exit 0 ;;
356
357   -with-* | --with-*)
358     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
359     # Reject names that are not valid shell variable names.
360     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
361       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362     fi
363     ac_package=`echo $ac_package| sed 's/-/_/g'`
364     case "$ac_option" in
365       *=*) ;;
366       *) ac_optarg=yes ;;
367     esac
368     eval "with_${ac_package}='$ac_optarg'" ;;
369
370   -without-* | --without-*)
371     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
372     # Reject names that are not valid shell variable names.
373     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
374       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
375     fi
376     ac_package=`echo $ac_package| sed 's/-/_/g'`
377     eval "with_${ac_package}=no" ;;
378
379   --x)
380     # Obsolete; use --with-x.
381     with_x=yes ;;
382
383   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
384   | --x-incl | --x-inc | --x-in | --x-i)
385     ac_prev=x_includes ;;
386   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
387   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
388     x_includes="$ac_optarg" ;;
389
390   -x-libraries | --x-libraries | --x-librarie | --x-librari \
391   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
392     ac_prev=x_libraries ;;
393   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
394   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
395     x_libraries="$ac_optarg" ;;
396
397   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
398     ;;
399
400   *)
401     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
402       echo "configure: warning: $ac_option: invalid host type" 1>&2
403     fi
404     if test "x$nonopt" != xNONE; then
405       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
406     fi
407     nonopt="$ac_option"
408     ;;
409
410   esac
411 done
412
413 if test -n "$ac_prev"; then
414   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
415 fi
416
417 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
418
419 # File descriptor usage:
420 # 0 standard input
421 # 1 file creation
422 # 2 errors and warnings
423 # 3 some systems may open it to /dev/tty
424 # 4 used on the Kubota Titan
425 # 6 checking for... messages and results
426 # 5 compiler messages saved in config.log
427 if test "$silent" = yes; then
428   exec 6>/dev/null
429 else
430   exec 6>&1
431 fi
432 exec 5>./config.log
433
434 echo "\
435 This file contains any messages produced by compilers while
436 running configure, to aid debugging if configure makes a mistake.
437 " 1>&5
438
439 # Strip out --no-create and --no-recursion so they do not pile up.
440 # Also quote any args containing shell metacharacters.
441 ac_configure_args=
442 for ac_arg
443 do
444   case "$ac_arg" in
445   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446   | --no-cr | --no-c) ;;
447   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
448   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
449   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
450   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
451   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
452   esac
453 done
454
455 # NLS nuisances.
456 # Only set these to C if already set.  These must not be set unconditionally
457 # because not all systems understand e.g. LANG=C (notably SCO).
458 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
459 # Non-C LC_CTYPE values break the ctype check.
460 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
461 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
462 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
463 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
464
465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
466 rm -rf conftest* confdefs.h
467 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
468 echo > confdefs.h
469
470 # A filename unique to this package, relative to the directory that
471 # configure is in, which we can look for to find out if srcdir is correct.
472 ac_unique_file=lisp/gnus.el
473
474 # Find the source files, if location was not specified.
475 if test -z "$srcdir"; then
476   ac_srcdir_defaulted=yes
477   # Try the directory containing this script, then its parent.
478   ac_prog=$0
479   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
480   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
481   srcdir=$ac_confdir
482   if test ! -r $srcdir/$ac_unique_file; then
483     srcdir=..
484   fi
485 else
486   ac_srcdir_defaulted=no
487 fi
488 if test ! -r $srcdir/$ac_unique_file; then
489   if test "$ac_srcdir_defaulted" = yes; then
490     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
491   else
492     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
493   fi
494 fi
495 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
496
497 # Prefer explicitly selected file to automatically selected ones.
498 if test -z "$CONFIG_SITE"; then
499   if test "x$prefix" != xNONE; then
500     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
501   else
502     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
503   fi
504 fi
505 for ac_site_file in $CONFIG_SITE; do
506   if test -r "$ac_site_file"; then
507     echo "loading site script $ac_site_file"
508     . "$ac_site_file"
509   fi
510 done
511
512 if test -r "$cache_file"; then
513   echo "loading cache $cache_file"
514       test -f "$cache_file" && . $cache_file
515 else
516   echo "creating cache $cache_file"
517   > $cache_file
518 fi
519
520 ac_ext=c
521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
522 ac_cpp='$CPP $CPPFLAGS'
523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
525 cross_compiling=$ac_cv_prog_cc_cross
526
527 ac_exeext=
528 ac_objext=o
529 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
530   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
531   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
532     ac_n= ac_c='
533 ' ac_t='        '
534   else
535     ac_n=-n ac_c= ac_t=
536   fi
537 else
538   ac_n= ac_c='\c' ac_t=
539 fi
540
541
542 echo $ac_n "defining gnus product name... $ac_c"
543   if eval "test \"\${EMACS_cv_GNUS_PRODUCT_NAME+set}\" = set"; then
544   echo $ac_n "(cached) $ac_c" 1>&6
545 else
546   EMACS_cv_GNUS_PRODUCT_NAME=t-gnus
547 fi
548
549   GNUS_PRODUCT_NAME=${EMACS_cv_GNUS_PRODUCT_NAME}
550   echo "$ac_t""${GNUS_PRODUCT_NAME}" 1>&6
551   
552 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
553 echo "configure:554: checking whether ${MAKE-make} sets \${MAKE}" >&5
554 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
555 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
556   echo $ac_n "(cached) $ac_c" 1>&6
557 else
558   cat > conftestmake <<\EOF
559 all:
560         @echo 'ac_maketemp="${MAKE}"'
561 EOF
562 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
563 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
564 if test -n "$ac_maketemp"; then
565   eval ac_cv_prog_make_${ac_make}_set=yes
566 else
567   eval ac_cv_prog_make_${ac_make}_set=no
568 fi
569 rm -f conftestmake
570 fi
571 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
572   echo "$ac_t""yes" 1>&6
573   SET_MAKE=
574 else
575   echo "$ac_t""no" 1>&6
576   SET_MAKE="MAKE=${MAKE-make}"
577 fi
578
579 ac_aux_dir=
580 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
581   if test -f $ac_dir/install-sh; then
582     ac_aux_dir=$ac_dir
583     ac_install_sh="$ac_aux_dir/install-sh -c"
584     break
585   elif test -f $ac_dir/install.sh; then
586     ac_aux_dir=$ac_dir
587     ac_install_sh="$ac_aux_dir/install.sh -c"
588     break
589   fi
590 done
591 if test -z "$ac_aux_dir"; then
592   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
593 fi
594 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
595 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
596 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
597
598 # Find a good install program.  We prefer a C program (faster),
599 # so one script is as good as another.  But avoid the broken or
600 # incompatible versions:
601 # SysV /etc/install, /usr/sbin/install
602 # SunOS /usr/etc/install
603 # IRIX /sbin/install
604 # AIX /bin/install
605 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
608 # ./install, which can be erroneously created by make from ./install.sh.
609 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
610 echo "configure:611: checking for a BSD compatible install" >&5
611 if test -z "$INSTALL"; then
612 if eval "test \"\${ac_cv_path_install+set}\" = set"; then
613   echo $ac_n "(cached) $ac_c" 1>&6
614 else
615     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
616   for ac_dir in $PATH; do
617     # Account for people who put trailing slashes in PATH elements.
618     case "$ac_dir/" in
619     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
620     *)
621       # OSF1 and SCO ODT 3.0 have their own names for install.
622       # Don't use installbsd from OSF since it installs stuff as root
623       # by default.
624       for ac_prog in ginstall scoinst install; do
625         if test -f $ac_dir/$ac_prog; then
626           if test $ac_prog = install &&
627             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
628             # AIX install.  It has an incompatible calling convention.
629             :
630           elif test $ac_prog = install &&
631             grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
632             # program-specific install script used by HP pwplus--don't use.
633             :
634           else
635             ac_cv_path_install="$ac_dir/$ac_prog -c"
636             break 2
637           fi
638         fi
639       done
640       ;;
641     esac
642   done
643   IFS="$ac_save_IFS"
644
645 fi
646   if test "${ac_cv_path_install+set}" = set; then
647     INSTALL="$ac_cv_path_install"
648   else
649     # As a last resort, use the slow shell script.  We don't cache a
650     # path for INSTALL within a source directory, because that will
651     # break other packages using the cache if that directory is
652     # removed, or if the path is relative.
653     INSTALL="$ac_install_sh"
654   fi
655 fi
656 echo "$ac_t""$INSTALL" 1>&6
657
658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
659 # It thinks the first close brace ends the variable substitution.
660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
661
662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
663
664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
665
666 # Extract the first word of "makeinfo", so it can be a program name with args.
667 set dummy makeinfo; ac_word=$2
668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
669 echo "configure:670: checking for $ac_word" >&5
670 if eval "test \"\${ac_cv_prog_MAKEINFO+set}\" = set"; then
671   echo $ac_n "(cached) $ac_c" 1>&6
672 else
673   if test -n "$MAKEINFO"; then
674   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
675 else
676   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
677   ac_dummy="$PATH"
678   for ac_dir in $ac_dummy; do
679     test -z "$ac_dir" && ac_dir=.
680     if test -f $ac_dir/$ac_word; then
681       ac_cv_prog_MAKEINFO="makeinfo"
682       break
683     fi
684   done
685   IFS="$ac_save_ifs"
686   test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
687 fi
688 fi
689 MAKEINFO="$ac_cv_prog_MAKEINFO"
690 if test -n "$MAKEINFO"; then
691   echo "$ac_t""$MAKEINFO" 1>&6
692 else
693   echo "$ac_t""no" 1>&6
694 fi
695
696
697       test x$EMACS = xt && EMACS=
698
699     unset ac_cv_prog_EMACS; unset ac_cv_prog_XEMACS;
700
701   # Check whether --with-emacs or --without-emacs was given.
702 if test "${with_emacs+set}" = set; then
703   withval="$with_emacs"
704   if test x$withval = xyes -o x$withval = x; then
705       for ac_prog in emacs xemacs mule
706 do
707 # Extract the first word of "$ac_prog", so it can be a program name with args.
708 set dummy $ac_prog; ac_word=$2
709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
710 echo "configure:711: checking for $ac_word" >&5
711 if eval "test \"\${ac_cv_prog_EMACS+set}\" = set"; then
712   echo $ac_n "(cached) $ac_c" 1>&6
713 else
714   if test -n "$EMACS"; then
715   ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
716 else
717   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
718   ac_dummy="$PATH"
719   for ac_dir in $ac_dummy; do
720     test -z "$ac_dir" && ac_dir=.
721     if test -f $ac_dir/$ac_word; then
722       ac_cv_prog_EMACS="$ac_prog"
723       break
724     fi
725   done
726   IFS="$ac_save_ifs"
727 fi
728 fi
729 EMACS="$ac_cv_prog_EMACS"
730 if test -n "$EMACS"; then
731   echo "$ac_t""$EMACS" 1>&6
732 else
733   echo "$ac_t""no" 1>&6
734 fi
735
736 test -n "$EMACS" && break
737 done
738 test -n "$EMACS" || EMACS="emacs"
739
740     else
741       # Extract the first word of "$withval", so it can be a program name with args.
742 set dummy $withval; ac_word=$2
743 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
744 echo "configure:745: checking for $ac_word" >&5
745 if eval "test \"\${ac_cv_prog_EMACS+set}\" = set"; then
746   echo $ac_n "(cached) $ac_c" 1>&6
747 else
748   if test -n "$EMACS"; then
749   ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
750 else
751   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
752   ac_dummy="$PATH"
753   for ac_dir in $ac_dummy; do
754     test -z "$ac_dir" && ac_dir=.
755     if test -f $ac_dir/$ac_word; then
756       ac_cv_prog_EMACS="$withval"
757       break
758     fi
759   done
760   IFS="$ac_save_ifs"
761   test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="emacs"
762 fi
763 fi
764 EMACS="$ac_cv_prog_EMACS"
765 if test -n "$EMACS"; then
766   echo "$ac_t""$EMACS" 1>&6
767 else
768   echo "$ac_t""no" 1>&6
769 fi
770
771     fi
772 fi
773
774   # Check whether --with-xemacs or --without-xemacs was given.
775 if test "${with_xemacs+set}" = set; then
776   withval="$with_xemacs"
777   if test x$withval = xyes -o x$withval = x; then
778       # Extract the first word of "xemacs", so it can be a program name with args.
779 set dummy xemacs; ac_word=$2
780 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
781 echo "configure:782: checking for $ac_word" >&5
782 if eval "test \"\${ac_cv_prog_XEMACS+set}\" = set"; then
783   echo $ac_n "(cached) $ac_c" 1>&6
784 else
785   if test -n "$XEMACS"; then
786   ac_cv_prog_XEMACS="$XEMACS" # Let the user override the test.
787 else
788   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
789   ac_dummy="$PATH"
790   for ac_dir in $ac_dummy; do
791     test -z "$ac_dir" && ac_dir=.
792     if test -f $ac_dir/$ac_word; then
793       ac_cv_prog_XEMACS="xemacs"
794       break
795     fi
796   done
797   IFS="$ac_save_ifs"
798   test -z "$ac_cv_prog_XEMACS" && ac_cv_prog_XEMACS="xemacs"
799 fi
800 fi
801 XEMACS="$ac_cv_prog_XEMACS"
802 if test -n "$XEMACS"; then
803   echo "$ac_t""$XEMACS" 1>&6
804 else
805   echo "$ac_t""no" 1>&6
806 fi
807
808     else
809       # Extract the first word of "$withval", so it can be a program name with args.
810 set dummy $withval; ac_word=$2
811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
812 echo "configure:813: checking for $ac_word" >&5
813 if eval "test \"\${ac_cv_prog_XEMACS+set}\" = set"; then
814   echo $ac_n "(cached) $ac_c" 1>&6
815 else
816   if test -n "$XEMACS"; then
817   ac_cv_prog_XEMACS="$XEMACS" # Let the user override the test.
818 else
819   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
820   ac_dummy="$PATH"
821   for ac_dir in $ac_dummy; do
822     test -z "$ac_dir" && ac_dir=.
823     if test -f $ac_dir/$ac_word; then
824       ac_cv_prog_XEMACS="$withval"
825       break
826     fi
827   done
828   IFS="$ac_save_ifs"
829   test -z "$ac_cv_prog_XEMACS" && ac_cv_prog_XEMACS="xemacs"
830 fi
831 fi
832 XEMACS="$ac_cv_prog_XEMACS"
833 if test -n "$XEMACS"; then
834   echo "$ac_t""$XEMACS" 1>&6
835 else
836   echo "$ac_t""no" 1>&6
837 fi
838
839     fi
840     EMACS=$XEMACS
841 else
842   XEMACS=xemacs
843     test x$EMACS = x &&\
844       for ac_prog in emacs xemacs mule
845 do
846 # Extract the first word of "$ac_prog", so it can be a program name with args.
847 set dummy $ac_prog; ac_word=$2
848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
849 echo "configure:850: checking for $ac_word" >&5
850 if eval "test \"\${ac_cv_prog_EMACS+set}\" = set"; then
851   echo $ac_n "(cached) $ac_c" 1>&6
852 else
853   if test -n "$EMACS"; then
854   ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
855 else
856   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
857   ac_dummy="$PATH"
858   for ac_dir in $ac_dummy; do
859     test -z "$ac_dir" && ac_dir=.
860     if test -f $ac_dir/$ac_word; then
861       ac_cv_prog_EMACS="$ac_prog"
862       break
863     fi
864   done
865   IFS="$ac_save_ifs"
866 fi
867 fi
868 EMACS="$ac_cv_prog_EMACS"
869 if test -n "$EMACS"; then
870   echo "$ac_t""$EMACS" 1>&6
871 else
872   echo "$ac_t""no" 1>&6
873 fi
874
875 test -n "$EMACS" && break
876 done
877 test -n "$EMACS" || EMACS="emacs"
878
879 fi
880
881   
882   
883
884   echo $ac_n "checking what a flavor does $EMACS have""... $ac_c" 1>&6
885 echo "configure:886: checking what a flavor does $EMACS have" >&5
886
887     unset EMACS_cv_SYS_flavor;
888
889   
890 elisp="(cond ((featurep (quote xemacs)) \"XEmacs\")\
891           ((boundp (quote MULE)) \"MULE\")\
892           (t \"FSF Emacs\"))"
893 if test -z ""noecho""; then
894         echo $ac_n "checking for flavor""... $ac_c" 1>&6
895 echo "configure:896: checking for flavor" >&5
896 fi
897 if eval "test \"\${EMACS_cv_SYS_flavor+set}\" = set"; then
898   echo $ac_n "(cached) $ac_c" 1>&6
899 else
900   
901         OUTPUT=./conftest-$$
902         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
903         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
904         retval=`cat ${OUTPUT}`
905         echo "=> ${retval}" >& 5 2>&1
906         rm -f ${OUTPUT}
907         EMACS_cv_SYS_flavor=$retval
908
909 fi
910
911 flavor=${EMACS_cv_SYS_flavor}
912 if test -z ""noecho""; then
913         echo "$ac_t""$flavor" 1>&6
914 fi
915
916   case $EMACS_cv_SYS_flavor in
917   XEmacs)
918     EMACS_FLAVOR=xemacs;;
919   MULE)
920     EMACS_FLAVOR=mule;;
921   *)
922     EMACS_FLAVOR=emacs;;
923   esac
924   echo "$ac_t""$EMACS_cv_SYS_flavor" 1>&6
925   if test "$prefix" = "NONE"; then
926         echo $ac_n "checking prefix for your Emacs""... $ac_c" 1>&6
927 echo "configure:928: checking prefix for your Emacs" >&5
928         
929 elisp="(expand-file-name \"..\" invocation-directory)"
930 if test -z ""noecho""; then
931         echo $ac_n "checking for prefix""... $ac_c" 1>&6
932 echo "configure:933: checking for prefix" >&5
933 fi
934 if eval "test \"\${EMACS_cv_SYS_prefix+set}\" = set"; then
935   echo $ac_n "(cached) $ac_c" 1>&6
936 else
937   
938         OUTPUT=./conftest-$$
939         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
940         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
941         retval=`cat ${OUTPUT}`
942         echo "=> ${retval}" >& 5 2>&1
943         rm -f ${OUTPUT}
944         EMACS_cv_SYS_prefix=$retval
945
946 fi
947
948 prefix=${EMACS_cv_SYS_prefix}
949 if test -z ""noecho""; then
950         echo "$ac_t""$prefix" 1>&6
951 fi
952
953         prefix=${EMACS_cv_SYS_prefix}
954         echo "$ac_t""$prefix" 1>&6
955   fi
956   # Check whether --with-lispdir or --without-lispdir was given.
957 if test "${with_lispdir+set}" = set; then
958   withval="$with_lispdir"
959   lispdir=${withval}
960 fi
961
962   echo $ac_n "checking where lisp files should go""... $ac_c" 1>&6
963 echo "configure:964: checking where lisp files should go" >&5
964   if test -z "$lispdir"; then
965         theprefix=$prefix
966     if test "x$theprefix" = "xNONE"; then
967         theprefix=$ac_default_prefix
968     fi
969     lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/${GNUS_PRODUCT_NAME}"
970     for thedir in share lib; do
971         potential=
972         if test -d ${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp; then
973            lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-lisp/${GNUS_PRODUCT_NAME}"
974            break
975         fi
976     done
977   fi
978   if test ${EMACS_FLAVOR} = xemacs; then
979     echo "$ac_t""$lispdir
980          (it will be ignored when \"make install-package[-ja]\" is done)" 1>&6
981   else
982     echo "$ac_t""$lispdir" 1>&6
983   fi
984   
985
986
987   # Check whether --with-etcdir or --without-etcdir was given.
988 if test "${with_etcdir+set}" = set; then
989   withval="$with_etcdir"
990   etcdir=${withval}
991 fi
992
993   echo $ac_n "checking where etc files should go""... $ac_c" 1>&6
994 echo "configure:995: checking where etc files should go" >&5
995   if test -z "$etcdir"; then
996         etcdir="\$(lispdir)/../etc"
997   fi
998   echo "$ac_t""$etcdir" 1>&6
999   
1000
1001
1002 echo $ac_n "checking for acceptable URL version""... $ac_c" 1>&6
1003 echo "configure:1004: checking for acceptable URL version" >&5
1004
1005 unset EMACS_cv_ACCEPTABLE_URL;
1006 unset EMACS_cv_SYS_url_dir;
1007 unset EMACS_cv_SYS_url;
1008
1009 if eval "test \"\${EMACS_cv_ACCEPTABLE_URL+set}\" = set"; then
1010   echo $ac_n "(cached) $ac_c" 1>&6
1011 else
1012   
1013
1014 if test -z ""noecho""; then
1015         echo $ac_n "checking for url-retrieve in url""... $ac_c" 1>&6
1016 echo "configure:1017: checking for url-retrieve in url" >&5
1017 fi
1018 library=`echo url | tr _ -`
1019
1020 elisp="(progn (fmakunbound (quote url-retrieve)) (condition-case nil (progn (require (quote $library)) (fboundp (quote url-retrieve))) (error (prog1 nil (message \"$library not found\")))))"
1021 if test -z ""noecho""; then
1022         echo $ac_n "checking for url""... $ac_c" 1>&6
1023 echo "configure:1024: checking for url" >&5
1024 fi
1025 if eval "test \"\${EMACS_cv_SYS_url+set}\" = set"; then
1026   echo $ac_n "(cached) $ac_c" 1>&6
1027 else
1028   
1029         OUTPUT=./conftest-$$
1030         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1031         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1032         retval=`cat ${OUTPUT}`
1033         echo "=> ${retval}" >& 5 2>&1
1034         rm -f ${OUTPUT}
1035         EMACS_cv_SYS_url=$retval
1036
1037 fi
1038
1039 url=${EMACS_cv_SYS_url}
1040 if test -z ""noecho""; then
1041         echo "$ac_t""$url" 1>&6
1042 fi
1043
1044 if test "${EMACS_cv_SYS_url}" = "nil"; then
1045         EMACS_cv_SYS_url=no
1046 fi
1047 if test "${EMACS_cv_SYS_url}" = "t"; then
1048         EMACS_cv_SYS_url=yes
1049 fi
1050 HAVE_url=${EMACS_cv_SYS_url}
1051
1052 if test -z ""noecho""; then
1053         echo "$ac_t""$HAVE_url" 1>&6
1054 fi
1055
1056 if test "${HAVE_url}" = "yes"; then
1057         EMACS_cv_ACCEPTABLE_URL=yes
1058 else
1059         EMACS_cv_ACCEPTABLE_URL=
1060 fi
1061
1062 if test "x${EMACS_cv_ACCEPTABLE_URL}" = "xyes"; then
1063         
1064 elisp="(file-name-directory (locate-library \"url\"))"
1065 if test -z ""noecho""; then
1066         echo $ac_n "checking for url_dir""... $ac_c" 1>&6
1067 echo "configure:1068: checking for url_dir" >&5
1068 fi
1069 if eval "test \"\${EMACS_cv_SYS_url_dir+set}\" = set"; then
1070   echo $ac_n "(cached) $ac_c" 1>&6
1071 else
1072   
1073         OUTPUT=./conftest-$$
1074         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1075         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1076         retval=`cat ${OUTPUT}`
1077         echo "=> ${retval}" >& 5 2>&1
1078         rm -f ${OUTPUT}
1079         EMACS_cv_SYS_url_dir=$retval
1080
1081 fi
1082
1083 url_dir=${EMACS_cv_SYS_url_dir}
1084 if test -z ""noecho""; then
1085         echo "$ac_t""$url_dir" 1>&6
1086 fi
1087
1088         EMACS_cv_ACCEPTABLE_URL=$EMACS_cv_SYS_url_dir
1089 fi
1090
1091 fi
1092
1093    # Check whether --with-url or --without-url was given.
1094 if test "${with_url+set}" = set; then
1095   withval="$with_url"
1096    EMACS_cv_ACCEPTABLE_URL=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null` 
1097 fi
1098
1099    URL=${EMACS_cv_ACCEPTABLE_URL}
1100    
1101    if test "x${EMACS_cv_ACCEPTABLE_URL}" = "x"; then
1102         echo "$ac_t""not found" 1>&6
1103    else
1104         echo "$ac_t"""${URL}"" 1>&6
1105    fi
1106
1107
1108 echo $ac_n "checking for acceptable W3 version""... $ac_c" 1>&6
1109 echo "configure:1110: checking for acceptable W3 version" >&5
1110
1111 unset EMACS_cv_ACCEPTABLE_W3;
1112 unset EMACS_cv_SYS_w3_dir;
1113 unset EMACS_cv_SYS_w3_forms;
1114
1115 if eval "test \"\${EMACS_cv_ACCEPTABLE_W3+set}\" = set"; then
1116   echo $ac_n "(cached) $ac_c" 1>&6
1117 else
1118   
1119
1120 if test -z ""noecho""; then
1121         echo $ac_n "checking for w3-form-encode-xwfu in w3_forms""... $ac_c" 1>&6
1122 echo "configure:1123: checking for w3-form-encode-xwfu in w3_forms" >&5
1123 fi
1124 library=`echo w3_forms | tr _ -`
1125
1126 elisp="(progn (fmakunbound (quote w3-form-encode-xwfu)) (condition-case nil (progn (require (quote $library)) (fboundp (quote w3-form-encode-xwfu))) (error (prog1 nil (message \"$library not found\")))))"
1127 if test -z ""noecho""; then
1128         echo $ac_n "checking for w3_forms""... $ac_c" 1>&6
1129 echo "configure:1130: checking for w3_forms" >&5
1130 fi
1131 if eval "test \"\${EMACS_cv_SYS_w3_forms+set}\" = set"; then
1132   echo $ac_n "(cached) $ac_c" 1>&6
1133 else
1134   
1135         OUTPUT=./conftest-$$
1136         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1137         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1138         retval=`cat ${OUTPUT}`
1139         echo "=> ${retval}" >& 5 2>&1
1140         rm -f ${OUTPUT}
1141         EMACS_cv_SYS_w3_forms=$retval
1142
1143 fi
1144
1145 w3_forms=${EMACS_cv_SYS_w3_forms}
1146 if test -z ""noecho""; then
1147         echo "$ac_t""$w3_forms" 1>&6
1148 fi
1149
1150 if test "${EMACS_cv_SYS_w3_forms}" = "nil"; then
1151         EMACS_cv_SYS_w3_forms=no
1152 fi
1153 if test "${EMACS_cv_SYS_w3_forms}" = "t"; then
1154         EMACS_cv_SYS_w3_forms=yes
1155 fi
1156 HAVE_w3_forms=${EMACS_cv_SYS_w3_forms}
1157
1158 if test -z ""noecho""; then
1159         echo "$ac_t""$HAVE_w3_forms" 1>&6
1160 fi
1161
1162 if test "${HAVE_w3_forms}" = "yes"; then
1163         EMACS_cv_ACCEPTABLE_W3=yes
1164 else
1165         EMACS_cv_ACCEPTABLE_W3=
1166 fi
1167
1168 if test "x${EMACS_cv_ACCEPTABLE_W3}" = "xyes"; then
1169         
1170 elisp="(file-name-directory (locate-library \"w3-forms\"))"
1171 if test -z ""noecho""; then
1172         echo $ac_n "checking for w3_dir""... $ac_c" 1>&6
1173 echo "configure:1174: checking for w3_dir" >&5
1174 fi
1175 if eval "test \"\${EMACS_cv_SYS_w3_dir+set}\" = set"; then
1176   echo $ac_n "(cached) $ac_c" 1>&6
1177 else
1178   
1179         OUTPUT=./conftest-$$
1180         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1181         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1182         retval=`cat ${OUTPUT}`
1183         echo "=> ${retval}" >& 5 2>&1
1184         rm -f ${OUTPUT}
1185         EMACS_cv_SYS_w3_dir=$retval
1186
1187 fi
1188
1189 w3_dir=${EMACS_cv_SYS_w3_dir}
1190 if test -z ""noecho""; then
1191         echo "$ac_t""$w3_dir" 1>&6
1192 fi
1193
1194         EMACS_cv_ACCEPTABLE_W3=$EMACS_cv_SYS_w3_dir
1195 fi
1196
1197 fi
1198
1199    # Check whether --with-w3 or --without-w3 was given.
1200 if test "${with_w3+set}" = set; then
1201   withval="$with_w3"
1202    EMACS_cv_ACCEPTABLE_W3=`( cd $withval && pwd || echo "$withval" ) 2> /dev/null` 
1203 fi
1204
1205    W3=${EMACS_cv_ACCEPTABLE_W3}
1206    
1207    if test "x${EMACS_cv_ACCEPTABLE_W3}" = "x"; then
1208         echo "$ac_t""not found" 1>&6
1209    else
1210         echo "$ac_t""${W3}" 1>&6
1211    fi
1212
1213   if test ${EMACS_FLAVOR} = xemacs; then
1214     echo $ac_n "checking where the XEmacs package is""... $ac_c" 1>&6
1215 echo "configure:1216: checking where the XEmacs package is" >&5
1216     # Check whether --with-packagedir or --without-packagedir was given.
1217 if test "${with_packagedir+set}" = set; then
1218   withval="$with_packagedir"
1219   if test x$withval != xyes -a x$withval != x; then
1220         PACKAGEDIR=$withval
1221       else
1222           
1223 elisp="(let (package-dir)\
1224       (if (boundp (quote early-packages))\
1225           (let ((dirs (delq nil (append (if early-package-load-path\
1226                                             early-packages)\
1227                                         (if late-package-load-path\
1228                                             late-packages)\
1229                                         (if last-package-load-path\
1230                                             last-packages)))))\
1231             (while (and dirs (not package-dir))\
1232               (if (file-directory-p (car dirs))\
1233                   (setq package-dir (car dirs)\
1234                         dirs (cdr dirs))))))\
1235       (or package-dir \"\"))"
1236 if test -z ""noecho""; then
1237         echo $ac_n "checking for PACKAGEDIR""... $ac_c" 1>&6
1238 echo "configure:1239: checking for PACKAGEDIR" >&5
1239 fi
1240 if eval "test \"\${EMACS_cv_SYS_PACKAGEDIR+set}\" = set"; then
1241   echo $ac_n "(cached) $ac_c" 1>&6
1242 else
1243   
1244         OUTPUT=./conftest-$$
1245         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1246         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1247         retval=`cat ${OUTPUT}`
1248         echo "=> ${retval}" >& 5 2>&1
1249         rm -f ${OUTPUT}
1250         EMACS_cv_SYS_PACKAGEDIR=$retval
1251
1252 fi
1253
1254 PACKAGEDIR=${EMACS_cv_SYS_PACKAGEDIR}
1255 if test -z ""noecho""; then
1256         echo "$ac_t""$PACKAGEDIR" 1>&6
1257 fi
1258
1259       fi
1260 else
1261     
1262 elisp="(let (package-dir)\
1263       (if (boundp (quote early-packages))\
1264           (let ((dirs (delq nil (append (if early-package-load-path\
1265                                             early-packages)\
1266                                         (if late-package-load-path\
1267                                             late-packages)\
1268                                         (if last-package-load-path\
1269                                             last-packages)))))\
1270             (while (and dirs (not package-dir))\
1271               (if (file-directory-p (car dirs))\
1272                   (setq package-dir (car dirs)\
1273                         dirs (cdr dirs))))))\
1274       (or package-dir \"\"))"
1275 if test -z ""noecho""; then
1276         echo $ac_n "checking for PACKAGEDIR""... $ac_c" 1>&6
1277 echo "configure:1278: checking for PACKAGEDIR" >&5
1278 fi
1279 if eval "test \"\${EMACS_cv_SYS_PACKAGEDIR+set}\" = set"; then
1280   echo $ac_n "(cached) $ac_c" 1>&6
1281 else
1282   
1283         OUTPUT=./conftest-$$
1284         echo ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1285         eval ${EMACS}' -batch -eval '\''(let ((x '${elisp}')) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil "'${OUTPUT}'" nil 5))'\' >& 5 2>&1
1286         retval=`cat ${OUTPUT}`
1287         echo "=> ${retval}" >& 5 2>&1
1288         rm -f ${OUTPUT}
1289         EMACS_cv_SYS_PACKAGEDIR=$retval
1290
1291 fi
1292
1293 PACKAGEDIR=${EMACS_cv_SYS_PACKAGEDIR}
1294 if test -z ""noecho""; then
1295         echo "$ac_t""$PACKAGEDIR" 1>&6
1296 fi
1297
1298 fi
1299
1300     if test x$PACKAGEDIR = x; then
1301       echo "$ac_t""not found" 1>&6
1302     else
1303       echo "$ac_t""$PACKAGEDIR" 1>&6
1304     fi
1305   else
1306     PACKAGEDIR=
1307   fi
1308   
1309   # Check whether --with-addpath or --without-addpath was given.
1310 if test "${with_addpath+set}" = set; then
1311   withval="$with_addpath"
1312   if test x$withval != xyes -a x$withval != x; then
1313       echo $ac_n "checking where to find the additional elisp libraries""... $ac_c" 1>&6
1314 echo "configure:1315: checking where to find the additional elisp libraries" >&5
1315       ADDITIONAL_LOAD_PATH=$withval
1316       echo "$ac_t""$ADDITIONAL_LOAD_PATH" 1>&6
1317     fi
1318 else
1319   ADDITIONAL_LOAD_PATH=
1320 fi
1321
1322   
1323 trap '' 1 2 15
1324 cat > confcache <<\EOF
1325 # This file is a shell script that caches the results of configure
1326 # tests run on this system so they can be shared between configure
1327 # scripts and configure runs.  It is not useful on other systems.
1328 # If it contains results you don't want to keep, you may remove or edit it.
1329 #
1330 # By default, configure uses ./config.cache as the cache file,
1331 # creating it if it does not exist already.  You can give configure
1332 # the --cache-file=FILE option to use a different cache file; that is
1333 # what configure does when it calls configure scripts in
1334 # subdirectories, so they share the cache.
1335 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1336 # config.status only pays attention to the cache file if you give it the
1337 # --recheck option to rerun configure.
1338 #
1339 EOF
1340 # The following way of writing the cache mishandles newlines in values,
1341 # but we know of no workaround that is simple, portable, and efficient.
1342 # So, don't put newlines in cache variables' values.
1343 # Ultrix sh set writes to stderr and can't be redirected directly,
1344 # and sets the high bit in the cache file unless we assign to the vars.
1345 (set) 2>&1 |
1346   case `(ac_space=' '; set | grep ac_space) 2>&1` in
1347   *ac_space=\ *)
1348     # `set' does not quote correctly, so add quotes (double-quote substitution
1349     # turns \\\\ into \\, and sed turns \\ into \).
1350     sed -n \
1351       -e "s/'/'\\\\''/g" \
1352       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1353     ;;
1354   *)
1355     # `set' quotes correctly as required by POSIX, so do not add quotes.
1356     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1357     ;;
1358   esac >> confcache
1359 if cmp -s $cache_file confcache; then
1360   :
1361 else
1362   if test -w $cache_file; then
1363     echo "updating cache $cache_file"
1364     cat confcache > $cache_file
1365   else
1366     echo "not updating unwritable cache $cache_file"
1367   fi
1368 fi
1369 rm -f confcache
1370
1371 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1372
1373 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1374 # Let make expand exec_prefix.
1375 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1376
1377 # Any assignment to VPATH causes Sun make to only execute
1378 # the first set of double-colon rules, so remove it if not needed.
1379 # If there is a colon in the path, we need to keep it.
1380 if test "x$srcdir" = x.; then
1381   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1382 fi
1383
1384 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1385
1386 # Transform confdefs.h into DEFS.
1387 # Protect against shell expansion while executing Makefile rules.
1388 # Protect against Makefile macro expansion.
1389 cat > conftest.defs <<\EOF
1390 s%#define \([^  ][^     ]*\) *\(.*\)%-D\1=\2%g
1391 s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1392 s%\[%\\&%g
1393 s%\]%\\&%g
1394 s%\$%$$%g
1395 EOF
1396 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1397 rm -f conftest.defs
1398
1399
1400 # Without the "./", some shells look in PATH for config.status.
1401 : ${CONFIG_STATUS=./config.status}
1402
1403 echo creating $CONFIG_STATUS
1404 rm -f $CONFIG_STATUS
1405 cat > $CONFIG_STATUS <<EOF
1406 #! /bin/sh
1407 # Generated automatically by configure.
1408 # Run this file to recreate the current configuration.
1409 # This directory was configured as follows,
1410 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1411 #
1412 # $0 $ac_configure_args
1413 #
1414 # Compiler output produced by configure, useful for debugging
1415 # configure, is in ./config.log if it exists.
1416
1417 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1418 for ac_option
1419 do
1420   case "\$ac_option" in
1421   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1422     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1423     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1424   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1425     echo "$CONFIG_STATUS generated by autoconf version 2.14.1"
1426     exit 0 ;;
1427   -help | --help | --hel | --he | --h)
1428     echo "\$ac_cs_usage"; exit 0 ;;
1429   *) echo "\$ac_cs_usage"; exit 1 ;;
1430   esac
1431 done
1432
1433 ac_given_srcdir=$srcdir
1434 ac_given_INSTALL="$INSTALL"
1435
1436 trap 'rm -fr `echo "Makefile lisp/Makefile lisp/dgnuspath.el texi/Makefile etc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1437 EOF
1438 cat >> $CONFIG_STATUS <<EOF
1439
1440 # Protect against being on the right side of a sed subst in config.status.
1441 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1442  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1443 $ac_vpsub
1444 $extrasub
1445 s%@SHELL@%$SHELL%g
1446 s%@CFLAGS@%$CFLAGS%g
1447 s%@CPPFLAGS@%$CPPFLAGS%g
1448 s%@CXXFLAGS@%$CXXFLAGS%g
1449 s%@FFLAGS@%$FFLAGS%g
1450 s%@DEFS@%$DEFS%g
1451 s%@LDFLAGS@%$LDFLAGS%g
1452 s%@LIBS@%$LIBS%g
1453 s%@exec_prefix@%$exec_prefix%g
1454 s%@prefix@%$prefix%g
1455 s%@program_transform_name@%$program_transform_name%g
1456 s%@bindir@%$bindir%g
1457 s%@sbindir@%$sbindir%g
1458 s%@libexecdir@%$libexecdir%g
1459 s%@datadir@%$datadir%g
1460 s%@sysconfdir@%$sysconfdir%g
1461 s%@sharedstatedir@%$sharedstatedir%g
1462 s%@localstatedir@%$localstatedir%g
1463 s%@libdir@%$libdir%g
1464 s%@includedir@%$includedir%g
1465 s%@oldincludedir@%$oldincludedir%g
1466 s%@infodir@%$infodir%g
1467 s%@mandir@%$mandir%g
1468 s%@GNUS_PRODUCT_NAME@%$GNUS_PRODUCT_NAME%g
1469 s%@SET_MAKE@%$SET_MAKE%g
1470 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1471 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1472 s%@INSTALL_DATA@%$INSTALL_DATA%g
1473 s%@MAKEINFO@%$MAKEINFO%g
1474 s%@EMACS@%$EMACS%g
1475 s%@XEMACS@%$XEMACS%g
1476 s%@lispdir@%$lispdir%g
1477 s%@etcdir@%$etcdir%g
1478 s%@HAVE_url@%$HAVE_url%g
1479 s%@URL@%$URL%g
1480 s%@HAVE_w3_forms@%$HAVE_w3_forms%g
1481 s%@W3@%$W3%g
1482 s%@PACKAGEDIR@%$PACKAGEDIR%g
1483 s%@ADDITIONAL_LOAD_PATH@%$ADDITIONAL_LOAD_PATH%g
1484
1485 CEOF
1486 EOF
1487
1488 cat >> $CONFIG_STATUS <<\EOF
1489
1490 # Split the substitutions into bite-sized pieces for seds with
1491 # small command number limits, like on Digital OSF/1 and HP-UX.
1492 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1493 ac_file=1 # Number of current file.
1494 ac_beg=1 # First line for current file.
1495 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1496 ac_more_lines=:
1497 ac_sed_cmds=""
1498 while $ac_more_lines; do
1499   if test $ac_beg -gt 1; then
1500     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1501   else
1502     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1503   fi
1504   if test ! -s conftest.s$ac_file; then
1505     ac_more_lines=false
1506     rm -f conftest.s$ac_file
1507   else
1508     if test -z "$ac_sed_cmds"; then
1509       ac_sed_cmds="sed -f conftest.s$ac_file"
1510     else
1511       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1512     fi
1513     ac_file=`expr $ac_file + 1`
1514     ac_beg=$ac_end
1515     ac_end=`expr $ac_end + $ac_max_sed_cmds`
1516   fi
1517 done
1518 if test -z "$ac_sed_cmds"; then
1519   ac_sed_cmds=cat
1520 fi
1521 EOF
1522
1523 cat >> $CONFIG_STATUS <<EOF
1524
1525 CONFIG_FILES=\${CONFIG_FILES-"Makefile lisp/Makefile lisp/dgnuspath.el texi/Makefile etc/Makefile"}
1526 EOF
1527 cat >> $CONFIG_STATUS <<\EOF
1528 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1529   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1530   case "$ac_file" in
1531   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1532        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1533   *) ac_file_in="${ac_file}.in" ;;
1534   esac
1535
1536   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1537
1538   # Remove last slash and all that follows it.  Not all systems have dirname.
1539   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1540   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1541     # The file is in a subdirectory.
1542     test ! -d "$ac_dir" && mkdir "$ac_dir"
1543     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1544     # A "../" for each directory in $ac_dir_suffix.
1545     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1546   else
1547     ac_dir_suffix= ac_dots=
1548   fi
1549
1550   case "$ac_given_srcdir" in
1551   .)  srcdir=.
1552       if test -z "$ac_dots"; then top_srcdir=.
1553       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1554   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1555   *) # Relative path.
1556     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1557     top_srcdir="$ac_dots$ac_given_srcdir" ;;
1558   esac
1559
1560   case "$ac_given_INSTALL" in
1561   [/$]*) INSTALL="$ac_given_INSTALL" ;;
1562   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1563   esac
1564
1565   echo creating "$ac_file"
1566   rm -f "$ac_file"
1567   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1568   case "$ac_file" in
1569   *Makefile*) ac_comsub="1i\\
1570 # $configure_input" ;;
1571   *) ac_comsub= ;;
1572   esac
1573
1574   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1575   sed -e "$ac_comsub
1576 s%@configure_input@%$configure_input%g
1577 s%@srcdir@%$srcdir%g
1578 s%@top_srcdir@%$top_srcdir%g
1579 s%@INSTALL@%$INSTALL%g
1580 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1581 fi; done
1582 rm -f conftest.s*
1583
1584 EOF
1585 cat >> $CONFIG_STATUS <<EOF
1586
1587 EOF
1588 cat >> $CONFIG_STATUS <<\EOF
1589
1590 exit 0
1591 EOF
1592 chmod +x $CONFIG_STATUS
1593 rm -fr confdefs* $ac_clean_files
1594 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1595