Release T-gnus 6.13.0.
[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, xemacs...]"
16 ac_help="$ac_help
17   --with-lispdir=DIR      emacs lisp files go to DIR [guessed]"
18 ac_help="$ac_help
19   --with-addpath=PATH     search Emacs-Lisp libraries with PATH
20                           use colons to separate directory names"
21 ac_help="$ac_help
22   --with-xemacs=XEMACS    compile with XEMACS [XEMACS=xemacs]"
23 ac_help="$ac_help
24   --with-packagedir=DIR   package DIR for XEmacs [guessed]"
25
26 # Initialize some variables set by options.
27 # The variables have the same names as the options, with
28 # dashes changed to underlines.
29 build=NONE
30 cache_file=./config.cache
31 exec_prefix=NONE
32 host=NONE
33 no_create=
34 nonopt=NONE
35 no_recursion=
36 prefix=NONE
37 program_prefix=NONE
38 program_suffix=NONE
39 program_transform_name=s,x,x,
40 silent=
41 site=
42 srcdir=
43 target=NONE
44 verbose=
45 x_includes=NONE
46 x_libraries=NONE
47 bindir='${exec_prefix}/bin'
48 sbindir='${exec_prefix}/sbin'
49 libexecdir='${exec_prefix}/libexec'
50 datadir='${prefix}/share'
51 sysconfdir='${prefix}/etc'
52 sharedstatedir='${prefix}/com'
53 localstatedir='${prefix}/var'
54 libdir='${exec_prefix}/lib'
55 includedir='${prefix}/include'
56 oldincludedir='/usr/include'
57 infodir='${prefix}/info'
58 mandir='${prefix}/man'
59
60 # Initialize some other variables.
61 subdirs=
62 MFLAGS= MAKEFLAGS=
63 SHELL=${CONFIG_SHELL-/bin/sh}
64 # Maximum number of lines to put in a shell here document.
65 ac_max_here_lines=12
66
67 ac_prev=
68 for ac_option
69 do
70
71   # If the previous option needs an argument, assign it.
72   if test -n "$ac_prev"; then
73     eval "$ac_prev=\$ac_option"
74     ac_prev=
75     continue
76   fi
77
78   case "$ac_option" in
79   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
80   *) ac_optarg= ;;
81   esac
82
83   # Accept the important Cygnus configure options, so we can diagnose typos.
84
85   case "$ac_option" in
86
87   -bindir | --bindir | --bindi | --bind | --bin | --bi)
88     ac_prev=bindir ;;
89   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
90     bindir="$ac_optarg" ;;
91
92   -build | --build | --buil | --bui | --bu)
93     ac_prev=build ;;
94   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
95     build="$ac_optarg" ;;
96
97   -cache-file | --cache-file | --cache-fil | --cache-fi \
98   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
99     ac_prev=cache_file ;;
100   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
101   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
102     cache_file="$ac_optarg" ;;
103
104   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
105     ac_prev=datadir ;;
106   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
107   | --da=*)
108     datadir="$ac_optarg" ;;
109
110   -disable-* | --disable-*)
111     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
112     # Reject names that are not valid shell variable names.
113     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
114       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
115     fi
116     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
117     eval "enable_${ac_feature}=no" ;;
118
119   -enable-* | --enable-*)
120     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
121     # Reject names that are not valid shell variable names.
122     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
123       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
124     fi
125     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
126     case "$ac_option" in
127       *=*) ;;
128       *) ac_optarg=yes ;;
129     esac
130     eval "enable_${ac_feature}='$ac_optarg'" ;;
131
132   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
133   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
134   | --exec | --exe | --ex)
135     ac_prev=exec_prefix ;;
136   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
137   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
138   | --exec=* | --exe=* | --ex=*)
139     exec_prefix="$ac_optarg" ;;
140
141   -gas | --gas | --ga | --g)
142     # Obsolete; use --with-gas.
143     with_gas=yes ;;
144
145   -help | --help | --hel | --he)
146     # Omit some internal or obsolete options to make the list less imposing.
147     # This message is too long to be a string in the A/UX 3.1 sh.
148     cat << EOF
149 Usage: configure [options] [host]
150 Options: [defaults in brackets after descriptions]
151 Configuration:
152   --cache-file=FILE       cache test results in FILE
153   --help                  print this message
154   --no-create             do not create output files
155   --quiet, --silent       do not print \`checking...' messages
156   --version               print the version of autoconf that created configure
157 Directory and file names:
158   --prefix=PREFIX         install architecture-independent files in PREFIX
159                           [$ac_default_prefix]
160   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
161                           [same as prefix]
162   --bindir=DIR            user executables in DIR [EPREFIX/bin]
163   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
164   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
165   --datadir=DIR           read-only architecture-independent data in DIR
166                           [PREFIX/share]
167   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
168   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
169                           [PREFIX/com]
170   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
171   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
172   --includedir=DIR        C header files in DIR [PREFIX/include]
173   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
174   --infodir=DIR           info documentation in DIR [PREFIX/info]
175   --mandir=DIR            man documentation in DIR [PREFIX/man]
176   --srcdir=DIR            find the sources in DIR [configure dir or ..]
177   --program-prefix=PREFIX prepend PREFIX to installed program names
178   --program-suffix=SUFFIX append SUFFIX to installed program names
179   --program-transform-name=PROGRAM
180                           run sed PROGRAM on installed program names
181 EOF
182     cat << EOF
183 Host type:
184   --build=BUILD           configure for building on BUILD [BUILD=HOST]
185   --host=HOST             configure for HOST [guessed]
186   --target=TARGET         configure for TARGET [TARGET=HOST]
187 Features and packages:
188   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
189   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
190   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
191   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
192   --x-includes=DIR        X include files are in DIR
193   --x-libraries=DIR       X library files are in DIR
194 EOF
195     if test -n "$ac_help"; then
196       echo "--enable and --with options recognized:$ac_help"
197     fi
198     exit 0 ;;
199
200   -host | --host | --hos | --ho)
201     ac_prev=host ;;
202   -host=* | --host=* | --hos=* | --ho=*)
203     host="$ac_optarg" ;;
204
205   -includedir | --includedir | --includedi | --included | --include \
206   | --includ | --inclu | --incl | --inc)
207     ac_prev=includedir ;;
208   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
209   | --includ=* | --inclu=* | --incl=* | --inc=*)
210     includedir="$ac_optarg" ;;
211
212   -infodir | --infodir | --infodi | --infod | --info | --inf)
213     ac_prev=infodir ;;
214   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
215     infodir="$ac_optarg" ;;
216
217   -libdir | --libdir | --libdi | --libd)
218     ac_prev=libdir ;;
219   -libdir=* | --libdir=* | --libdi=* | --libd=*)
220     libdir="$ac_optarg" ;;
221
222   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
223   | --libexe | --libex | --libe)
224     ac_prev=libexecdir ;;
225   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
226   | --libexe=* | --libex=* | --libe=*)
227     libexecdir="$ac_optarg" ;;
228
229   -localstatedir | --localstatedir | --localstatedi | --localstated \
230   | --localstate | --localstat | --localsta | --localst \
231   | --locals | --local | --loca | --loc | --lo)
232     ac_prev=localstatedir ;;
233   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
234   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
235   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
236     localstatedir="$ac_optarg" ;;
237
238   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
239     ac_prev=mandir ;;
240   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
241     mandir="$ac_optarg" ;;
242
243   -nfp | --nfp | --nf)
244     # Obsolete; use --without-fp.
245     with_fp=no ;;
246
247   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
248   | --no-cr | --no-c)
249     no_create=yes ;;
250
251   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
252   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
253     no_recursion=yes ;;
254
255   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
256   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
257   | --oldin | --oldi | --old | --ol | --o)
258     ac_prev=oldincludedir ;;
259   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
260   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
261   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
262     oldincludedir="$ac_optarg" ;;
263
264   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
265     ac_prev=prefix ;;
266   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
267     prefix="$ac_optarg" ;;
268
269   -program-prefix | --program-prefix | --program-prefi | --program-pref \
270   | --program-pre | --program-pr | --program-p)
271     ac_prev=program_prefix ;;
272   -program-prefix=* | --program-prefix=* | --program-prefi=* \
273   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
274     program_prefix="$ac_optarg" ;;
275
276   -program-suffix | --program-suffix | --program-suffi | --program-suff \
277   | --program-suf | --program-su | --program-s)
278     ac_prev=program_suffix ;;
279   -program-suffix=* | --program-suffix=* | --program-suffi=* \
280   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
281     program_suffix="$ac_optarg" ;;
282
283   -program-transform-name | --program-transform-name \
284   | --program-transform-nam | --program-transform-na \
285   | --program-transform-n | --program-transform- \
286   | --program-transform | --program-transfor \
287   | --program-transfo | --program-transf \
288   | --program-trans | --program-tran \
289   | --progr-tra | --program-tr | --program-t)
290     ac_prev=program_transform_name ;;
291   -program-transform-name=* | --program-transform-name=* \
292   | --program-transform-nam=* | --program-transform-na=* \
293   | --program-transform-n=* | --program-transform-=* \
294   | --program-transform=* | --program-transfor=* \
295   | --program-transfo=* | --program-transf=* \
296   | --program-trans=* | --program-tran=* \
297   | --progr-tra=* | --program-tr=* | --program-t=*)
298     program_transform_name="$ac_optarg" ;;
299
300   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
301   | -silent | --silent | --silen | --sile | --sil)
302     silent=yes ;;
303
304   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
305     ac_prev=sbindir ;;
306   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
307   | --sbi=* | --sb=*)
308     sbindir="$ac_optarg" ;;
309
310   -sharedstatedir | --sharedstatedir | --sharedstatedi \
311   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
312   | --sharedst | --shareds | --shared | --share | --shar \
313   | --sha | --sh)
314     ac_prev=sharedstatedir ;;
315   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
316   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
317   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
318   | --sha=* | --sh=*)
319     sharedstatedir="$ac_optarg" ;;
320
321   -site | --site | --sit)
322     ac_prev=site ;;
323   -site=* | --site=* | --sit=*)
324     site="$ac_optarg" ;;
325
326   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
327     ac_prev=srcdir ;;
328   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
329     srcdir="$ac_optarg" ;;
330
331   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
332   | --syscon | --sysco | --sysc | --sys | --sy)
333     ac_prev=sysconfdir ;;
334   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
335   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
336     sysconfdir="$ac_optarg" ;;
337
338   -target | --target | --targe | --targ | --tar | --ta | --t)
339     ac_prev=target ;;
340   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
341     target="$ac_optarg" ;;
342
343   -v | -verbose | --verbose | --verbos | --verbo | --verb)
344     verbose=yes ;;
345
346   -version | --version | --versio | --versi | --vers)
347     echo "configure generated by autoconf version 2.14.1"
348     exit 0 ;;
349
350   -with-* | --with-*)
351     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
352     # Reject names that are not valid shell variable names.
353     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
354       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
355     fi
356     ac_package=`echo $ac_package| sed 's/-/_/g'`
357     case "$ac_option" in
358       *=*) ;;
359       *) ac_optarg=yes ;;
360     esac
361     eval "with_${ac_package}='$ac_optarg'" ;;
362
363   -without-* | --without-*)
364     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
365     # Reject names that are not valid shell variable names.
366     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
367       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
368     fi
369     ac_package=`echo $ac_package| sed 's/-/_/g'`
370     eval "with_${ac_package}=no" ;;
371
372   --x)
373     # Obsolete; use --with-x.
374     with_x=yes ;;
375
376   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
377   | --x-incl | --x-inc | --x-in | --x-i)
378     ac_prev=x_includes ;;
379   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
380   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
381     x_includes="$ac_optarg" ;;
382
383   -x-libraries | --x-libraries | --x-librarie | --x-librari \
384   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
385     ac_prev=x_libraries ;;
386   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
387   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
388     x_libraries="$ac_optarg" ;;
389
390   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
391     ;;
392
393   *)
394     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
395       echo "configure: warning: $ac_option: invalid host type" 1>&2
396     fi
397     if test "x$nonopt" != xNONE; then
398       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
399     fi
400     nonopt="$ac_option"
401     ;;
402
403   esac
404 done
405
406 if test -n "$ac_prev"; then
407   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
408 fi
409
410 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
411
412 # File descriptor usage:
413 # 0 standard input
414 # 1 file creation
415 # 2 errors and warnings
416 # 3 some systems may open it to /dev/tty
417 # 4 used on the Kubota Titan
418 # 6 checking for... messages and results
419 # 5 compiler messages saved in config.log
420 if test "$silent" = yes; then
421   exec 6>/dev/null
422 else
423   exec 6>&1
424 fi
425 exec 5>./config.log
426
427 echo "\
428 This file contains any messages produced by compilers while
429 running configure, to aid debugging if configure makes a mistake.
430 " 1>&5
431
432 # Strip out --no-create and --no-recursion so they do not pile up.
433 # Also quote any args containing shell metacharacters.
434 ac_configure_args=
435 for ac_arg
436 do
437   case "$ac_arg" in
438   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
439   | --no-cr | --no-c) ;;
440   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
441   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
442   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
443   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
444   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
445   esac
446 done
447
448 # NLS nuisances.
449 # Only set these to C if already set.  These must not be set unconditionally
450 # because not all systems understand e.g. LANG=C (notably SCO).
451 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
452 # Non-C LC_CTYPE values break the ctype check.
453 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
454 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
455 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
456 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
457
458 # confdefs.h avoids OS command line length limits that DEFS can exceed.
459 rm -rf conftest* confdefs.h
460 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
461 echo > confdefs.h
462
463 # A filename unique to this package, relative to the directory that
464 # configure is in, which we can look for to find out if srcdir is correct.
465 ac_unique_file=lisp/gnus.el
466
467 # Find the source files, if location was not specified.
468 if test -z "$srcdir"; then
469   ac_srcdir_defaulted=yes
470   # Try the directory containing this script, then its parent.
471   ac_prog=$0
472   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
473   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
474   srcdir=$ac_confdir
475   if test ! -r $srcdir/$ac_unique_file; then
476     srcdir=..
477   fi
478 else
479   ac_srcdir_defaulted=no
480 fi
481 if test ! -r $srcdir/$ac_unique_file; then
482   if test "$ac_srcdir_defaulted" = yes; then
483     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
484   else
485     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
486   fi
487 fi
488 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
489
490 # Prefer explicitly selected file to automatically selected ones.
491 if test -z "$CONFIG_SITE"; then
492   if test "x$prefix" != xNONE; then
493     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
494   else
495     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
496   fi
497 fi
498 for ac_site_file in $CONFIG_SITE; do
499   if test -r "$ac_site_file"; then
500     echo "loading site script $ac_site_file"
501     . "$ac_site_file"
502   fi
503 done
504
505 if test -r "$cache_file"; then
506   echo "loading cache $cache_file"
507       test -f "$cache_file" && . $cache_file
508 else
509   echo "creating cache $cache_file"
510   > $cache_file
511 fi
512
513 ac_ext=c
514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
515 ac_cpp='$CPP $CPPFLAGS'
516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
518 cross_compiling=$ac_cv_prog_cc_cross
519
520 ac_exeext=
521 ac_objext=o
522 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
523   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
524   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
525     ac_n= ac_c='
526 ' ac_t='        '
527   else
528     ac_n=-n ac_c= ac_t=
529   fi
530 else
531   ac_n= ac_c='\c' ac_t=
532 fi
533
534
535 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
536 echo "configure:537: checking whether ${MAKE-make} sets \${MAKE}" >&5
537 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
538 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
539   echo $ac_n "(cached) $ac_c" 1>&6
540 else
541   cat > conftestmake <<\EOF
542 all:
543         @echo 'ac_maketemp="${MAKE}"'
544 EOF
545 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
546 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
547 if test -n "$ac_maketemp"; then
548   eval ac_cv_prog_make_${ac_make}_set=yes
549 else
550   eval ac_cv_prog_make_${ac_make}_set=no
551 fi
552 rm -f conftestmake
553 fi
554 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
555   echo "$ac_t""yes" 1>&6
556   SET_MAKE=
557 else
558   echo "$ac_t""no" 1>&6
559   SET_MAKE="MAKE=${MAKE-make}"
560 fi
561
562 ac_aux_dir=
563 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
564   if test -f $ac_dir/install-sh; then
565     ac_aux_dir=$ac_dir
566     ac_install_sh="$ac_aux_dir/install-sh -c"
567     break
568   elif test -f $ac_dir/install.sh; then
569     ac_aux_dir=$ac_dir
570     ac_install_sh="$ac_aux_dir/install.sh -c"
571     break
572   fi
573 done
574 if test -z "$ac_aux_dir"; then
575   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
576 fi
577 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
578 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
579 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
580
581 # Find a good install program.  We prefer a C program (faster),
582 # so one script is as good as another.  But avoid the broken or
583 # incompatible versions:
584 # SysV /etc/install, /usr/sbin/install
585 # SunOS /usr/etc/install
586 # IRIX /sbin/install
587 # AIX /bin/install
588 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
589 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
590 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
591 # ./install, which can be erroneously created by make from ./install.sh.
592 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
593 echo "configure:594: checking for a BSD compatible install" >&5
594 if test -z "$INSTALL"; then
595 if eval "test \"\${ac_cv_path_install+set}\" = set"; then
596   echo $ac_n "(cached) $ac_c" 1>&6
597 else
598     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
599   for ac_dir in $PATH; do
600     # Account for people who put trailing slashes in PATH elements.
601     case "$ac_dir/" in
602     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
603     *)
604       # OSF1 and SCO ODT 3.0 have their own names for install.
605       # Don't use installbsd from OSF since it installs stuff as root
606       # by default.
607       for ac_prog in ginstall scoinst install; do
608         if test -f $ac_dir/$ac_prog; then
609           if test $ac_prog = install &&
610             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
611             # AIX install.  It has an incompatible calling convention.
612             :
613           elif test $ac_prog = install &&
614             grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
615             # program-specific install script used by HP pwplus--don't use.
616             :
617           else
618             ac_cv_path_install="$ac_dir/$ac_prog -c"
619             break 2
620           fi
621         fi
622       done
623       ;;
624     esac
625   done
626   IFS="$ac_save_IFS"
627
628 fi
629   if test "${ac_cv_path_install+set}" = set; then
630     INSTALL="$ac_cv_path_install"
631   else
632     # As a last resort, use the slow shell script.  We don't cache a
633     # path for INSTALL within a source directory, because that will
634     # break other packages using the cache if that directory is
635     # removed, or if the path is relative.
636     INSTALL="$ac_install_sh"
637   fi
638 fi
639 echo "$ac_t""$INSTALL" 1>&6
640
641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
642 # It thinks the first close brace ends the variable substitution.
643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
644
645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
646
647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
648
649       # Check whether --with-emacs or --without-emacs was given.
650 if test "${with_emacs+set}" = set; then
651   withval="$with_emacs"
652   case "${withval}" in
653        yes)     EMACS= ;;
654        no)      { echo "configure: error: emacs is not available" 1>&2; exit 1; } ;;
655        *)       EMACS=${withval} ;;
656      esac
657 else
658   EMACS=
659 fi
660
661   if test "x$EMACS" = "xt" -o "x$EMACS" = x; then
662     for ac_prog in emacs xemacs mule
663 do
664 # Extract the first word of "$ac_prog", so it can be a program name with args.
665 set dummy $ac_prog; ac_word=$2
666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
667 echo "configure:668: checking for $ac_word" >&5
668 if eval "test \"\${ac_cv_path_EMACS+set}\" = set"; then
669   echo $ac_n "(cached) $ac_c" 1>&6
670 else
671   case "$EMACS" in
672   /*)
673   ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path.
674   ;;
675   ?:/*)                  
676   ac_cv_path_EMACS="$EMACS" # Let the user override the test with a dos path.
677   ;;
678   *)
679   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
680   ac_dummy="$PATH"
681   for ac_dir in $ac_dummy; do 
682     test -z "$ac_dir" && ac_dir=.
683     if test -f $ac_dir/$ac_word; then
684       ac_cv_path_EMACS="$ac_dir/$ac_word"
685       break
686     fi
687   done
688   IFS="$ac_save_ifs"
689   ;;
690 esac
691 fi
692 EMACS="$ac_cv_path_EMACS"
693 if test -n "$EMACS"; then
694   echo "$ac_t""$EMACS" 1>&6
695 else
696   echo "$ac_t""no" 1>&6
697 fi
698
699 test -n "$EMACS" && break
700 done
701 test -n "$EMACS" || EMACS="no"
702
703     if test $EMACS = no; then
704       { echo "configure: error: you should install Emacs first" 1>&2; exit 1; }
705     fi
706   fi
707         echo $ac_n "checking where emacs files are in""... $ac_c" 1>&6
708 echo "configure:709: checking where emacs files are in" >&5
709   EMACS_BASENAME="`echo x$EMACS | sed -e 's/x//' -e 's/^.*\///'`"
710   if test "x$emacsdir" = x; then
711     if test "x$prefix" = "xNONE"; then
712       prefix=$ac_default_prefix
713     fi
714     emacsdir="\$(datadir)/emacs"
715     case "$EMACS_BASENAME" in
716     emacs|emacs-*)
717       if test -d $prefix/lib/emacs; then
718         emacsdir="$prefix/lib/emacs"
719       fi
720       if test -d $prefix/share/emacs; then
721         emacsdir="$prefix/share/emacs"
722       fi
723       ;;
724     xemacs|xemacs-*)
725       if test -d $prefix/lib/xemacs; then
726         emacsdir="$prefix/lib/xemacs"
727       fi
728       if test -d $prefix/share/xemacs; then
729         emacsdir="$prefix/share/xemacs"
730       fi
731       ;;
732     mule|mule-*)
733       if test -d $prefix/lib/emacs; then
734         emacsdir="$prefix/lib/emacs"
735       fi
736       if test -d $prefix/share/emacs; then
737         emacsdir="$prefix/share/emacs"
738       fi
739       if test -d $prefix/lib/mule; then
740         emacsdir="$prefix/lib/mule"
741       fi
742       if test -d $prefix/share/mule; then
743         emacsdir="$prefix/share/mule"
744       fi
745       ;;
746     esac
747   fi
748   echo "$ac_t""$emacsdir" 1>&6
749   
750         # Check whether --with-lispdir or --without-lispdir was given.
751 if test "${with_lispdir+set}" = set; then
752   withval="$with_lispdir"
753   case "${withval}" in
754        yes)     lispdir= ;;
755        no)      { echo "configure: error: lispdir is not available" 1>&2; exit 1; } ;;
756        *)       lispdir=${withval} ;;
757      esac
758 else
759   lispdir=
760 fi
761
762   echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
763 echo "configure:764: checking where .elc files should go" >&5
764   if test "x$lispdir" = x; then
765     lispdir="$emacsdir/site-lisp"
766     if test -d $emacsdir/lisp; then
767       lispdir="$emacsdir/lisp"
768     fi
769     case "$EMACS_BASENAME" in
770     xemacs|xemacs-*)
771       lispdir="$lispdir/lookup"
772       ;;
773     esac
774   fi
775   echo "$ac_t""$lispdir" 1>&6
776   
777 # Extract the first word of "makeinfo", so it can be a program name with args.
778 set dummy makeinfo; ac_word=$2
779 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
780 echo "configure:781: checking for $ac_word" >&5
781 if eval "test \"\${ac_cv_path_MAKEINFO+set}\" = set"; then
782   echo $ac_n "(cached) $ac_c" 1>&6
783 else
784   case "$MAKEINFO" in
785   /*)
786   ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
787   ;;
788   ?:/*)                  
789   ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a dos path.
790   ;;
791   *)
792   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
793   ac_dummy="$PATH"
794   for ac_dir in $ac_dummy; do 
795     test -z "$ac_dir" && ac_dir=.
796     if test -f $ac_dir/$ac_word; then
797       ac_cv_path_MAKEINFO="$ac_dir/$ac_word"
798       break
799     fi
800   done
801   IFS="$ac_save_ifs"
802   test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
803   ;;
804 esac
805 fi
806 MAKEINFO="$ac_cv_path_MAKEINFO"
807 if test -n "$MAKEINFO"; then
808   echo "$ac_t""$MAKEINFO" 1>&6
809 else
810   echo "$ac_t""no" 1>&6
811 fi
812
813
814 ADDITIONAL_LOAD_PATH=
815 # Check whether --with-addpath or --without-addpath was given.
816 if test "${with_addpath+set}" = set; then
817   withval="$with_addpath"
818   ADDITIONAL_LOAD_PATH=$with_addpath
819 fi
820
821
822
823 XEMACS="xemacs"
824 # Check whether --with-xemacs or --without-xemacs was given.
825 if test "${with_xemacs+set}" = set; then
826   withval="$with_xemacs"
827   XEMACS=$with_xemacs
828 fi
829
830
831
832 PACKAGEDIR=
833 # Check whether --with-packagedir or --without-packagedir was given.
834 if test "${with_packagedir+set}" = set; then
835   withval="$with_packagedir"
836   PACKAGEDIR=$with_packagedir
837 fi
838
839
840
841 trap '' 1 2 15
842 cat > confcache <<\EOF
843 # This file is a shell script that caches the results of configure
844 # tests run on this system so they can be shared between configure
845 # scripts and configure runs.  It is not useful on other systems.
846 # If it contains results you don't want to keep, you may remove or edit it.
847 #
848 # By default, configure uses ./config.cache as the cache file,
849 # creating it if it does not exist already.  You can give configure
850 # the --cache-file=FILE option to use a different cache file; that is
851 # what configure does when it calls configure scripts in
852 # subdirectories, so they share the cache.
853 # Giving --cache-file=/dev/null disables caching, for debugging configure.
854 # config.status only pays attention to the cache file if you give it the
855 # --recheck option to rerun configure.
856 #
857 EOF
858 # The following way of writing the cache mishandles newlines in values,
859 # but we know of no workaround that is simple, portable, and efficient.
860 # So, don't put newlines in cache variables' values.
861 # Ultrix sh set writes to stderr and can't be redirected directly,
862 # and sets the high bit in the cache file unless we assign to the vars.
863 (set) 2>&1 |
864   case `(ac_space=' '; set | grep ac_space) 2>&1` in
865   *ac_space=\ *)
866     # `set' does not quote correctly, so add quotes (double-quote substitution
867     # turns \\\\ into \\, and sed turns \\ into \).
868     sed -n \
869       -e "s/'/'\\\\''/g" \
870       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
871     ;;
872   *)
873     # `set' quotes correctly as required by POSIX, so do not add quotes.
874     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
875     ;;
876   esac >> confcache
877 if cmp -s $cache_file confcache; then
878   :
879 else
880   if test -w $cache_file; then
881     echo "updating cache $cache_file"
882     cat confcache > $cache_file
883   else
884     echo "not updating unwritable cache $cache_file"
885   fi
886 fi
887 rm -f confcache
888
889 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
890
891 test "x$prefix" = xNONE && prefix=$ac_default_prefix
892 # Let make expand exec_prefix.
893 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
894
895 # Any assignment to VPATH causes Sun make to only execute
896 # the first set of double-colon rules, so remove it if not needed.
897 # If there is a colon in the path, we need to keep it.
898 if test "x$srcdir" = x.; then
899   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
900 fi
901
902 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
903
904 # Transform confdefs.h into DEFS.
905 # Protect against shell expansion while executing Makefile rules.
906 # Protect against Makefile macro expansion.
907 cat > conftest.defs <<\EOF
908 s%#define \([^  ][^     ]*\) *\(.*\)%-D\1=\2%g
909 s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
910 s%\[%\\&%g
911 s%\]%\\&%g
912 s%\$%$$%g
913 EOF
914 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
915 rm -f conftest.defs
916
917
918 # Without the "./", some shells look in PATH for config.status.
919 : ${CONFIG_STATUS=./config.status}
920
921 echo creating $CONFIG_STATUS
922 rm -f $CONFIG_STATUS
923 cat > $CONFIG_STATUS <<EOF
924 #! /bin/sh
925 # Generated automatically by configure.
926 # Run this file to recreate the current configuration.
927 # This directory was configured as follows,
928 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
929 #
930 # $0 $ac_configure_args
931 #
932 # Compiler output produced by configure, useful for debugging
933 # configure, is in ./config.log if it exists.
934
935 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
936 for ac_option
937 do
938   case "\$ac_option" in
939   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
940     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
941     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
942   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
943     echo "$CONFIG_STATUS generated by autoconf version 2.14.1"
944     exit 0 ;;
945   -help | --help | --hel | --he | --h)
946     echo "\$ac_cs_usage"; exit 0 ;;
947   *) echo "\$ac_cs_usage"; exit 1 ;;
948   esac
949 done
950
951 ac_given_srcdir=$srcdir
952 ac_given_INSTALL="$INSTALL"
953
954 trap 'rm -fr `echo "Makefile lisp/Makefile lisp/dgnuspath.el texi/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
955 EOF
956 cat >> $CONFIG_STATUS <<EOF
957
958 # Protect against being on the right side of a sed subst in config.status.
959 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
960  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
961 $ac_vpsub
962 $extrasub
963 s%@SHELL@%$SHELL%g
964 s%@CFLAGS@%$CFLAGS%g
965 s%@CPPFLAGS@%$CPPFLAGS%g
966 s%@CXXFLAGS@%$CXXFLAGS%g
967 s%@FFLAGS@%$FFLAGS%g
968 s%@DEFS@%$DEFS%g
969 s%@LDFLAGS@%$LDFLAGS%g
970 s%@LIBS@%$LIBS%g
971 s%@exec_prefix@%$exec_prefix%g
972 s%@prefix@%$prefix%g
973 s%@program_transform_name@%$program_transform_name%g
974 s%@bindir@%$bindir%g
975 s%@sbindir@%$sbindir%g
976 s%@libexecdir@%$libexecdir%g
977 s%@datadir@%$datadir%g
978 s%@sysconfdir@%$sysconfdir%g
979 s%@sharedstatedir@%$sharedstatedir%g
980 s%@localstatedir@%$localstatedir%g
981 s%@libdir@%$libdir%g
982 s%@includedir@%$includedir%g
983 s%@oldincludedir@%$oldincludedir%g
984 s%@infodir@%$infodir%g
985 s%@mandir@%$mandir%g
986 s%@SET_MAKE@%$SET_MAKE%g
987 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
988 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
989 s%@INSTALL_DATA@%$INSTALL_DATA%g
990 s%@EMACS@%$EMACS%g
991 s%@emacsdir@%$emacsdir%g
992 s%@lispdir@%$lispdir%g
993 s%@MAKEINFO@%$MAKEINFO%g
994 s%@ADDITIONAL_LOAD_PATH@%$ADDITIONAL_LOAD_PATH%g
995 s%@XEMACS@%$XEMACS%g
996 s%@PACKAGEDIR@%$PACKAGEDIR%g
997
998 CEOF
999 EOF
1000
1001 cat >> $CONFIG_STATUS <<\EOF
1002
1003 # Split the substitutions into bite-sized pieces for seds with
1004 # small command number limits, like on Digital OSF/1 and HP-UX.
1005 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1006 ac_file=1 # Number of current file.
1007 ac_beg=1 # First line for current file.
1008 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1009 ac_more_lines=:
1010 ac_sed_cmds=""
1011 while $ac_more_lines; do
1012   if test $ac_beg -gt 1; then
1013     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1014   else
1015     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1016   fi
1017   if test ! -s conftest.s$ac_file; then
1018     ac_more_lines=false
1019     rm -f conftest.s$ac_file
1020   else
1021     if test -z "$ac_sed_cmds"; then
1022       ac_sed_cmds="sed -f conftest.s$ac_file"
1023     else
1024       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1025     fi
1026     ac_file=`expr $ac_file + 1`
1027     ac_beg=$ac_end
1028     ac_end=`expr $ac_end + $ac_max_sed_cmds`
1029   fi
1030 done
1031 if test -z "$ac_sed_cmds"; then
1032   ac_sed_cmds=cat
1033 fi
1034 EOF
1035
1036 cat >> $CONFIG_STATUS <<EOF
1037
1038 CONFIG_FILES=\${CONFIG_FILES-"Makefile lisp/Makefile lisp/dgnuspath.el texi/Makefile"}
1039 EOF
1040 cat >> $CONFIG_STATUS <<\EOF
1041 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1042   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1043   case "$ac_file" in
1044   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1045        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1046   *) ac_file_in="${ac_file}.in" ;;
1047   esac
1048
1049   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1050
1051   # Remove last slash and all that follows it.  Not all systems have dirname.
1052   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1053   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1054     # The file is in a subdirectory.
1055     test ! -d "$ac_dir" && mkdir "$ac_dir"
1056     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1057     # A "../" for each directory in $ac_dir_suffix.
1058     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1059   else
1060     ac_dir_suffix= ac_dots=
1061   fi
1062
1063   case "$ac_given_srcdir" in
1064   .)  srcdir=.
1065       if test -z "$ac_dots"; then top_srcdir=.
1066       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1067   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1068   *) # Relative path.
1069     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1070     top_srcdir="$ac_dots$ac_given_srcdir" ;;
1071   esac
1072
1073   case "$ac_given_INSTALL" in
1074   [/$]*) INSTALL="$ac_given_INSTALL" ;;
1075   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1076   esac
1077
1078   echo creating "$ac_file"
1079   rm -f "$ac_file"
1080   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1081   case "$ac_file" in
1082   *Makefile*) ac_comsub="1i\\
1083 # $configure_input" ;;
1084   *) ac_comsub= ;;
1085   esac
1086
1087   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1088   sed -e "$ac_comsub
1089 s%@configure_input@%$configure_input%g
1090 s%@srcdir@%$srcdir%g
1091 s%@top_srcdir@%$top_srcdir%g
1092 s%@INSTALL@%$INSTALL%g
1093 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1094 fi; done
1095 rm -f conftest.s*
1096
1097 EOF
1098 cat >> $CONFIG_STATUS <<EOF
1099
1100 EOF
1101 cat >> $CONFIG_STATUS <<\EOF
1102
1103 exit 0
1104 EOF
1105 chmod +x $CONFIG_STATUS
1106 rm -fr confdefs* $ac_clean_files
1107 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1108