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