http://www.azstarnet.com/~ymg/files/slsnif-0.4.0.tar.gz
[slsnif.git] / configure
1 #! /bin/sh
2
3 # From configure.in Revision: 1.0 
4
5
6 # Do all the work for Automake.  This macro actually does too much --
7 # some checks are only needed if your package does certain things.
8 # But this isn't really a big deal.
9
10 # serial 1
11
12
13
14
15 #
16 # Check to make sure that the build environment is sane.
17 #
18
19
20
21
22
23 # Like AC_CONFIG_HEADER, but automatically create stamp file.
24
25
26
27 # Guess values for system-dependent variables and create Makefiles.
28 # Generated automatically using autoconf version 2.13 
29 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
30 #
31 # This configure script is free software; the Free Software Foundation
32 # gives unlimited permission to copy, distribute and modify it.
33
34 # Defaults:
35 ac_help=
36 ac_default_prefix=/usr/local
37 # Any additions from configure.in:
38
39 # Initialize some variables set by options.
40 # The variables have the same names as the options, with
41 # dashes changed to underlines.
42 build=NONE
43 cache_file=./config.cache
44 exec_prefix=NONE
45 host=NONE
46 no_create=
47 nonopt=NONE
48 no_recursion=
49 prefix=NONE
50 program_prefix=NONE
51 program_suffix=NONE
52 program_transform_name=s,x,x,
53 silent=
54 site=
55 srcdir=
56 target=NONE
57 verbose=
58 x_includes=NONE
59 x_libraries=NONE
60 bindir='${exec_prefix}/bin'
61 sbindir='${exec_prefix}/sbin'
62 libexecdir='${exec_prefix}/libexec'
63 datadir='${prefix}/share'
64 sysconfdir='${prefix}/etc'
65 sharedstatedir='${prefix}/com'
66 localstatedir='${prefix}/var'
67 libdir='${exec_prefix}/lib'
68 includedir='${prefix}/include'
69 oldincludedir='/usr/include'
70 infodir='${prefix}/info'
71 mandir='${prefix}/man'
72
73 # Initialize some other variables.
74 subdirs=
75 MFLAGS= MAKEFLAGS=
76 SHELL=${CONFIG_SHELL-/bin/sh}
77 # Maximum number of lines to put in a shell here document.
78 ac_max_here_lines=12
79
80 ac_prev=
81 for ac_option
82 do
83
84   # If the previous option needs an argument, assign it.
85   if test -n "$ac_prev"; then
86     eval "$ac_prev=\$ac_option"
87     ac_prev=
88     continue
89   fi
90
91   case "$ac_option" in
92   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
93   *) ac_optarg= ;;
94   esac
95
96   # Accept the important Cygnus configure options, so we can diagnose typos.
97
98   case "$ac_option" in
99
100   -bindir | --bindir | --bindi | --bind | --bin | --bi)
101     ac_prev=bindir ;;
102   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
103     bindir="$ac_optarg" ;;
104
105   -build | --build | --buil | --bui | --bu)
106     ac_prev=build ;;
107   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
108     build="$ac_optarg" ;;
109
110   -cache-file | --cache-file | --cache-fil | --cache-fi \
111   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
112     ac_prev=cache_file ;;
113   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
114   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
115     cache_file="$ac_optarg" ;;
116
117   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
118     ac_prev=datadir ;;
119   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
120   | --da=*)
121     datadir="$ac_optarg" ;;
122
123   -disable-* | --disable-*)
124     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
125     # Reject names that are not valid shell variable names.
126     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
127       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
128     fi
129     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
130     eval "enable_${ac_feature}=no" ;;
131
132   -enable-* | --enable-*)
133     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
134     # Reject names that are not valid shell variable names.
135     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
136       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
137     fi
138     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
139     case "$ac_option" in
140       *=*) ;;
141       *) ac_optarg=yes ;;
142     esac
143     eval "enable_${ac_feature}='$ac_optarg'" ;;
144
145   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
146   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
147   | --exec | --exe | --ex)
148     ac_prev=exec_prefix ;;
149   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
150   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
151   | --exec=* | --exe=* | --ex=*)
152     exec_prefix="$ac_optarg" ;;
153
154   -gas | --gas | --ga | --g)
155     # Obsolete; use --with-gas.
156     with_gas=yes ;;
157
158   -help | --help | --hel | --he)
159     # Omit some internal or obsolete options to make the list less imposing.
160     # This message is too long to be a string in the A/UX 3.1 sh.
161     cat << EOF
162 Usage: configure [options] [host]
163 Options: [defaults in brackets after descriptions]
164 Configuration:
165   --cache-file=FILE       cache test results in FILE
166   --help                  print this message
167   --no-create             do not create output files
168   --quiet, --silent       do not print \`checking...' messages
169   --version               print the version of autoconf that created configure
170 Directory and file names:
171   --prefix=PREFIX         install architecture-independent files in PREFIX
172                           [$ac_default_prefix]
173   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
174                           [same as prefix]
175   --bindir=DIR            user executables in DIR [EPREFIX/bin]
176   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
177   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
178   --datadir=DIR           read-only architecture-independent data in DIR
179                           [PREFIX/share]
180   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
181   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
182                           [PREFIX/com]
183   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
184   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
185   --includedir=DIR        C header files in DIR [PREFIX/include]
186   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
187   --infodir=DIR           info documentation in DIR [PREFIX/info]
188   --mandir=DIR            man documentation in DIR [PREFIX/man]
189   --srcdir=DIR            find the sources in DIR [configure dir or ..]
190   --program-prefix=PREFIX prepend PREFIX to installed program names
191   --program-suffix=SUFFIX append SUFFIX to installed program names
192   --program-transform-name=PROGRAM
193                           run sed PROGRAM on installed program names
194 EOF
195     cat << EOF
196 Host type:
197   --build=BUILD           configure for building on BUILD [BUILD=HOST]
198   --host=HOST             configure for HOST [guessed]
199   --target=TARGET         configure for TARGET [TARGET=HOST]
200 Features and packages:
201   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
202   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
203   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
204   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
205   --x-includes=DIR        X include files are in DIR
206   --x-libraries=DIR       X library files are in DIR
207 EOF
208     if test -n "$ac_help"; then
209       echo "--enable and --with options recognized:$ac_help"
210     fi
211     exit 0 ;;
212
213   -host | --host | --hos | --ho)
214     ac_prev=host ;;
215   -host=* | --host=* | --hos=* | --ho=*)
216     host="$ac_optarg" ;;
217
218   -includedir | --includedir | --includedi | --included | --include \
219   | --includ | --inclu | --incl | --inc)
220     ac_prev=includedir ;;
221   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
222   | --includ=* | --inclu=* | --incl=* | --inc=*)
223     includedir="$ac_optarg" ;;
224
225   -infodir | --infodir | --infodi | --infod | --info | --inf)
226     ac_prev=infodir ;;
227   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
228     infodir="$ac_optarg" ;;
229
230   -libdir | --libdir | --libdi | --libd)
231     ac_prev=libdir ;;
232   -libdir=* | --libdir=* | --libdi=* | --libd=*)
233     libdir="$ac_optarg" ;;
234
235   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
236   | --libexe | --libex | --libe)
237     ac_prev=libexecdir ;;
238   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
239   | --libexe=* | --libex=* | --libe=*)
240     libexecdir="$ac_optarg" ;;
241
242   -localstatedir | --localstatedir | --localstatedi | --localstated \
243   | --localstate | --localstat | --localsta | --localst \
244   | --locals | --local | --loca | --loc | --lo)
245     ac_prev=localstatedir ;;
246   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
247   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
248   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
249     localstatedir="$ac_optarg" ;;
250
251   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
252     ac_prev=mandir ;;
253   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
254     mandir="$ac_optarg" ;;
255
256   -nfp | --nfp | --nf)
257     # Obsolete; use --without-fp.
258     with_fp=no ;;
259
260   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
261   | --no-cr | --no-c)
262     no_create=yes ;;
263
264   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
265   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
266     no_recursion=yes ;;
267
268   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
269   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
270   | --oldin | --oldi | --old | --ol | --o)
271     ac_prev=oldincludedir ;;
272   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
273   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
274   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
275     oldincludedir="$ac_optarg" ;;
276
277   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
278     ac_prev=prefix ;;
279   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
280     prefix="$ac_optarg" ;;
281
282   -program-prefix | --program-prefix | --program-prefi | --program-pref \
283   | --program-pre | --program-pr | --program-p)
284     ac_prev=program_prefix ;;
285   -program-prefix=* | --program-prefix=* | --program-prefi=* \
286   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
287     program_prefix="$ac_optarg" ;;
288
289   -program-suffix | --program-suffix | --program-suffi | --program-suff \
290   | --program-suf | --program-su | --program-s)
291     ac_prev=program_suffix ;;
292   -program-suffix=* | --program-suffix=* | --program-suffi=* \
293   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
294     program_suffix="$ac_optarg" ;;
295
296   -program-transform-name | --program-transform-name \
297   | --program-transform-nam | --program-transform-na \
298   | --program-transform-n | --program-transform- \
299   | --program-transform | --program-transfor \
300   | --program-transfo | --program-transf \
301   | --program-trans | --program-tran \
302   | --progr-tra | --program-tr | --program-t)
303     ac_prev=program_transform_name ;;
304   -program-transform-name=* | --program-transform-name=* \
305   | --program-transform-nam=* | --program-transform-na=* \
306   | --program-transform-n=* | --program-transform-=* \
307   | --program-transform=* | --program-transfor=* \
308   | --program-transfo=* | --program-transf=* \
309   | --program-trans=* | --program-tran=* \
310   | --progr-tra=* | --program-tr=* | --program-t=*)
311     program_transform_name="$ac_optarg" ;;
312
313   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
314   | -silent | --silent | --silen | --sile | --sil)
315     silent=yes ;;
316
317   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
318     ac_prev=sbindir ;;
319   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
320   | --sbi=* | --sb=*)
321     sbindir="$ac_optarg" ;;
322
323   -sharedstatedir | --sharedstatedir | --sharedstatedi \
324   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
325   | --sharedst | --shareds | --shared | --share | --shar \
326   | --sha | --sh)
327     ac_prev=sharedstatedir ;;
328   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
329   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
330   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
331   | --sha=* | --sh=*)
332     sharedstatedir="$ac_optarg" ;;
333
334   -site | --site | --sit)
335     ac_prev=site ;;
336   -site=* | --site=* | --sit=*)
337     site="$ac_optarg" ;;
338
339   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
340     ac_prev=srcdir ;;
341   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
342     srcdir="$ac_optarg" ;;
343
344   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
345   | --syscon | --sysco | --sysc | --sys | --sy)
346     ac_prev=sysconfdir ;;
347   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
348   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
349     sysconfdir="$ac_optarg" ;;
350
351   -target | --target | --targe | --targ | --tar | --ta | --t)
352     ac_prev=target ;;
353   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
354     target="$ac_optarg" ;;
355
356   -v | -verbose | --verbose | --verbos | --verbo | --verb)
357     verbose=yes ;;
358
359   -version | --version | --versio | --versi | --vers)
360     echo "configure generated by autoconf version 2.13"
361     exit 0 ;;
362
363   -with-* | --with-*)
364     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
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     case "$ac_option" in
371       *=*) ;;
372       *) ac_optarg=yes ;;
373     esac
374     eval "with_${ac_package}='$ac_optarg'" ;;
375
376   -without-* | --without-*)
377     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
378     # Reject names that are not valid shell variable names.
379     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
380       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
381     fi
382     ac_package=`echo $ac_package| sed 's/-/_/g'`
383     eval "with_${ac_package}=no" ;;
384
385   --x)
386     # Obsolete; use --with-x.
387     with_x=yes ;;
388
389   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
390   | --x-incl | --x-inc | --x-in | --x-i)
391     ac_prev=x_includes ;;
392   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
393   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
394     x_includes="$ac_optarg" ;;
395
396   -x-libraries | --x-libraries | --x-librarie | --x-librari \
397   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
398     ac_prev=x_libraries ;;
399   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
400   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
401     x_libraries="$ac_optarg" ;;
402
403   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
404     ;;
405
406   *)
407     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
408       echo "configure: warning: $ac_option: invalid host type" 1>&2
409     fi
410     if test "x$nonopt" != xNONE; then
411       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
412     fi
413     nonopt="$ac_option"
414     ;;
415
416   esac
417 done
418
419 if test -n "$ac_prev"; then
420   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
421 fi
422
423 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
424
425 # File descriptor usage:
426 # 0 standard input
427 # 1 file creation
428 # 2 errors and warnings
429 # 3 some systems may open it to /dev/tty
430 # 4 used on the Kubota Titan
431 # 6 checking for... messages and results
432 # 5 compiler messages saved in config.log
433 if test "$silent" = yes; then
434   exec 6>/dev/null
435 else
436   exec 6>&1
437 fi
438 exec 5>./config.log
439
440 echo "\
441 This file contains any messages produced by compilers while
442 running configure, to aid debugging if configure makes a mistake.
443 " 1>&5
444
445 # Strip out --no-create and --no-recursion so they do not pile up.
446 # Also quote any args containing shell metacharacters.
447 ac_configure_args=
448 for ac_arg
449 do
450   case "$ac_arg" in
451   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
452   | --no-cr | --no-c) ;;
453   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
455   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
456   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
457   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
458   esac
459 done
460
461 # NLS nuisances.
462 # Only set these to C if already set.  These must not be set unconditionally
463 # because not all systems understand e.g. LANG=C (notably SCO).
464 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
465 # Non-C LC_CTYPE values break the ctype check.
466 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
467 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
468 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
469 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
470
471 # confdefs.h avoids OS command line length limits that DEFS can exceed.
472 rm -rf conftest* confdefs.h
473 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
474 echo > confdefs.h
475
476 # A filename unique to this package, relative to the directory that
477 # configure is in, which we can look for to find out if srcdir is correct.
478 ac_unique_file=src/ascii.h
479
480 # Find the source files, if location was not specified.
481 if test -z "$srcdir"; then
482   ac_srcdir_defaulted=yes
483   # Try the directory containing this script, then its parent.
484   ac_prog=$0
485   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
486   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
487   srcdir=$ac_confdir
488   if test ! -r $srcdir/$ac_unique_file; then
489     srcdir=..
490   fi
491 else
492   ac_srcdir_defaulted=no
493 fi
494 if test ! -r $srcdir/$ac_unique_file; then
495   if test "$ac_srcdir_defaulted" = yes; then
496     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
497   else
498     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
499   fi
500 fi
501 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
502
503 # Prefer explicitly selected file to automatically selected ones.
504 if test -z "$CONFIG_SITE"; then
505   if test "x$prefix" != xNONE; then
506     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
507   else
508     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
509   fi
510 fi
511 for ac_site_file in $CONFIG_SITE; do
512   if test -r "$ac_site_file"; then
513     echo "loading site script $ac_site_file"
514     . "$ac_site_file"
515   fi
516 done
517
518 if test -r "$cache_file"; then
519   echo "loading cache $cache_file"
520   . $cache_file
521 else
522   echo "creating cache $cache_file"
523   > $cache_file
524 fi
525
526 ac_ext=c
527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
528 ac_cpp='$CPP $CPPFLAGS'
529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
531 cross_compiling=$ac_cv_prog_cc_cross
532
533 ac_exeext=
534 ac_objext=o
535 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
536   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
537   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
538     ac_n= ac_c='
539 ' ac_t='        '
540   else
541     ac_n=-n ac_c= ac_t=
542   fi
543 else
544   ac_n= ac_c='\c' ac_t=
545 fi
546
547
548 ac_aux_dir=
549 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
550   if test -f $ac_dir/install-sh; then
551     ac_aux_dir=$ac_dir
552     ac_install_sh="$ac_aux_dir/install-sh -c"
553     break
554   elif test -f $ac_dir/install.sh; then
555     ac_aux_dir=$ac_dir
556     ac_install_sh="$ac_aux_dir/install.sh -c"
557     break
558   fi
559 done
560 if test -z "$ac_aux_dir"; then
561   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
562 fi
563 ac_config_guess=$ac_aux_dir/config.guess
564 ac_config_sub=$ac_aux_dir/config.sub
565 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
566
567 # Find a good install program.  We prefer a C program (faster),
568 # so one script is as good as another.  But avoid the broken or
569 # incompatible versions:
570 # SysV /etc/install, /usr/sbin/install
571 # SunOS /usr/etc/install
572 # IRIX /sbin/install
573 # AIX /bin/install
574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
577 # ./install, which can be erroneously created by make from ./install.sh.
578 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
579 echo "configure:580: checking for a BSD compatible install" >&5
580 if test -z "$INSTALL"; then
581 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
582   echo $ac_n "(cached) $ac_c" 1>&6
583 else
584     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
585   for ac_dir in $PATH; do
586     # Account for people who put trailing slashes in PATH elements.
587     case "$ac_dir/" in
588     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
589     *)
590       # OSF1 and SCO ODT 3.0 have their own names for install.
591       # Don't use installbsd from OSF since it installs stuff as root
592       # by default.
593       for ac_prog in ginstall scoinst install; do
594         if test -f $ac_dir/$ac_prog; then
595           if test $ac_prog = install &&
596             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
597             # AIX install.  It has an incompatible calling convention.
598             :
599           else
600             ac_cv_path_install="$ac_dir/$ac_prog -c"
601             break 2
602           fi
603         fi
604       done
605       ;;
606     esac
607   done
608   IFS="$ac_save_IFS"
609
610 fi
611   if test "${ac_cv_path_install+set}" = set; then
612     INSTALL="$ac_cv_path_install"
613   else
614     # As a last resort, use the slow shell script.  We don't cache a
615     # path for INSTALL within a source directory, because that will
616     # break other packages using the cache if that directory is
617     # removed, or if the path is relative.
618     INSTALL="$ac_install_sh"
619   fi
620 fi
621 echo "$ac_t""$INSTALL" 1>&6
622
623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
624 # It thinks the first close brace ends the variable substitution.
625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
626
627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
628
629 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
630
631 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
632 echo "configure:633: checking whether build environment is sane" >&5
633 # Just in case
634 sleep 1
635 echo timestamp > conftestfile
636 # Do `set' in a subshell so we don't clobber the current shell's
637 # arguments.  Must try -L first in case configure is actually a
638 # symlink; some systems play weird games with the mod time of symlinks
639 # (eg FreeBSD returns the mod time of the symlink's containing
640 # directory).
641 if (
642    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
643    if test "$*" = "X"; then
644       # -L didn't work.
645       set X `ls -t $srcdir/configure conftestfile`
646    fi
647    if test "$*" != "X $srcdir/configure conftestfile" \
648       && test "$*" != "X conftestfile $srcdir/configure"; then
649
650       # If neither matched, then we have a broken ls.  This can happen
651       # if, for instance, CONFIG_SHELL is bash and it inherits a
652       # broken ls alias from the environment.  This has actually
653       # happened.  Such a system could not be considered "sane".
654       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
655 alias in your environment" 1>&2; exit 1; }
656    fi
657
658    test "$2" = conftestfile
659    )
660 then
661    # Ok.
662    :
663 else
664    { echo "configure: error: newly created file is older than distributed files!
665 Check your system clock" 1>&2; exit 1; }
666 fi
667 rm -f conftest*
668 echo "$ac_t""yes" 1>&6
669 if test "$program_transform_name" = s,x,x,; then
670   program_transform_name=
671 else
672   # Double any \ or $.  echo might interpret backslashes.
673   cat <<\EOF_SED > conftestsed
674 s,\\,\\\\,g; s,\$,$$,g
675 EOF_SED
676   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
677   rm -f conftestsed
678 fi
679 test "$program_prefix" != NONE &&
680   program_transform_name="s,^,${program_prefix},; $program_transform_name"
681 # Use a double $ so make ignores it.
682 test "$program_suffix" != NONE &&
683   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
684
685 # sed with no file args requires a program.
686 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
687
688 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
689 echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5
690 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
691 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
692   echo $ac_n "(cached) $ac_c" 1>&6
693 else
694   cat > conftestmake <<\EOF
695 all:
696         @echo 'ac_maketemp="${MAKE}"'
697 EOF
698 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
699 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
700 if test -n "$ac_maketemp"; then
701   eval ac_cv_prog_make_${ac_make}_set=yes
702 else
703   eval ac_cv_prog_make_${ac_make}_set=no
704 fi
705 rm -f conftestmake
706 fi
707 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
708   echo "$ac_t""yes" 1>&6
709   SET_MAKE=
710 else
711   echo "$ac_t""no" 1>&6
712   SET_MAKE="MAKE=${MAKE-make}"
713 fi
714
715
716 PACKAGE=slsnif
717
718 VERSION=0.4.0
719
720 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
721   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
722 fi
723 cat >> confdefs.h <<EOF
724 #define PACKAGE "$PACKAGE"
725 EOF
726
727 cat >> confdefs.h <<EOF
728 #define VERSION "$VERSION"
729 EOF
730
731
732
733 missing_dir=`cd $ac_aux_dir && pwd`
734 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
735 echo "configure:736: checking for working aclocal" >&5
736 # Run test in a subshell; some versions of sh will print an error if
737 # an executable is not found, even if stderr is redirected.
738 # Redirect stdin to placate older versions of autoconf.  Sigh.
739 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
740    ACLOCAL=aclocal
741    echo "$ac_t""found" 1>&6
742 else
743    ACLOCAL="$missing_dir/missing aclocal"
744    echo "$ac_t""missing" 1>&6
745 fi
746
747 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
748 echo "configure:749: checking for working autoconf" >&5
749 # Run test in a subshell; some versions of sh will print an error if
750 # an executable is not found, even if stderr is redirected.
751 # Redirect stdin to placate older versions of autoconf.  Sigh.
752 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
753    AUTOCONF=autoconf
754    echo "$ac_t""found" 1>&6
755 else
756    AUTOCONF="$missing_dir/missing autoconf"
757    echo "$ac_t""missing" 1>&6
758 fi
759
760 echo $ac_n "checking for working automake""... $ac_c" 1>&6
761 echo "configure:762: checking for working automake" >&5
762 # Run test in a subshell; some versions of sh will print an error if
763 # an executable is not found, even if stderr is redirected.
764 # Redirect stdin to placate older versions of autoconf.  Sigh.
765 if (automake --version) < /dev/null > /dev/null 2>&1; then
766    AUTOMAKE=automake
767    echo "$ac_t""found" 1>&6
768 else
769    AUTOMAKE="$missing_dir/missing automake"
770    echo "$ac_t""missing" 1>&6
771 fi
772
773 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
774 echo "configure:775: checking for working autoheader" >&5
775 # Run test in a subshell; some versions of sh will print an error if
776 # an executable is not found, even if stderr is redirected.
777 # Redirect stdin to placate older versions of autoconf.  Sigh.
778 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
779    AUTOHEADER=autoheader
780    echo "$ac_t""found" 1>&6
781 else
782    AUTOHEADER="$missing_dir/missing autoheader"
783    echo "$ac_t""missing" 1>&6
784 fi
785
786 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
787 echo "configure:788: checking for working makeinfo" >&5
788 # Run test in a subshell; some versions of sh will print an error if
789 # an executable is not found, even if stderr is redirected.
790 # Redirect stdin to placate older versions of autoconf.  Sigh.
791 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
792    MAKEINFO=makeinfo
793    echo "$ac_t""found" 1>&6
794 else
795    MAKEINFO="$missing_dir/missing makeinfo"
796    echo "$ac_t""missing" 1>&6
797 fi
798
799
800 ac_ext=c
801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
802 ac_cpp='$CPP $CPPFLAGS'
803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
805 cross_compiling=$ac_cv_prog_cc_cross
806
807 # Extract the first word of "gcc", so it can be a program name with args.
808 set dummy gcc; ac_word=$2
809 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
810 echo "configure:811: checking for $ac_word" >&5
811 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
812   echo $ac_n "(cached) $ac_c" 1>&6
813 else
814   if test -n "$CC"; then
815   ac_cv_prog_CC="$CC" # Let the user override the test.
816 else
817   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
818   ac_dummy="$PATH"
819   for ac_dir in $ac_dummy; do
820     test -z "$ac_dir" && ac_dir=.
821     if test -f $ac_dir/$ac_word; then
822       ac_cv_prog_CC="gcc"
823       break
824     fi
825   done
826   IFS="$ac_save_ifs"
827 fi
828 fi
829 CC="$ac_cv_prog_CC"
830 if test -n "$CC"; then
831   echo "$ac_t""$CC" 1>&6
832 else
833   echo "$ac_t""no" 1>&6
834 fi
835
836 if test -z "$CC"; then
837   # Extract the first word of "cc", so it can be a program name with args.
838 set dummy cc; ac_word=$2
839 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
840 echo "configure:841: checking for $ac_word" >&5
841 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
842   echo $ac_n "(cached) $ac_c" 1>&6
843 else
844   if test -n "$CC"; then
845   ac_cv_prog_CC="$CC" # Let the user override the test.
846 else
847   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
848   ac_prog_rejected=no
849   ac_dummy="$PATH"
850   for ac_dir in $ac_dummy; do
851     test -z "$ac_dir" && ac_dir=.
852     if test -f $ac_dir/$ac_word; then
853       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
854         ac_prog_rejected=yes
855         continue
856       fi
857       ac_cv_prog_CC="cc"
858       break
859     fi
860   done
861   IFS="$ac_save_ifs"
862 if test $ac_prog_rejected = yes; then
863   # We found a bogon in the path, so make sure we never use it.
864   set dummy $ac_cv_prog_CC
865   shift
866   if test $# -gt 0; then
867     # We chose a different compiler from the bogus one.
868     # However, it has the same basename, so the bogon will be chosen
869     # first if we set CC to just the basename; use the full file name.
870     shift
871     set dummy "$ac_dir/$ac_word" "$@"
872     shift
873     ac_cv_prog_CC="$@"
874   fi
875 fi
876 fi
877 fi
878 CC="$ac_cv_prog_CC"
879 if test -n "$CC"; then
880   echo "$ac_t""$CC" 1>&6
881 else
882   echo "$ac_t""no" 1>&6
883 fi
884
885   if test -z "$CC"; then
886     case "`uname -s`" in
887     *win32* | *WIN32*)
888       # Extract the first word of "cl", so it can be a program name with args.
889 set dummy cl; ac_word=$2
890 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
891 echo "configure:892: checking for $ac_word" >&5
892 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
893   echo $ac_n "(cached) $ac_c" 1>&6
894 else
895   if test -n "$CC"; then
896   ac_cv_prog_CC="$CC" # Let the user override the test.
897 else
898   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
899   ac_dummy="$PATH"
900   for ac_dir in $ac_dummy; do
901     test -z "$ac_dir" && ac_dir=.
902     if test -f $ac_dir/$ac_word; then
903       ac_cv_prog_CC="cl"
904       break
905     fi
906   done
907   IFS="$ac_save_ifs"
908 fi
909 fi
910 CC="$ac_cv_prog_CC"
911 if test -n "$CC"; then
912   echo "$ac_t""$CC" 1>&6
913 else
914   echo "$ac_t""no" 1>&6
915 fi
916  ;;
917     esac
918   fi
919   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
920 fi
921
922 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
923 echo "configure:924: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
924
925 ac_ext=c
926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
927 ac_cpp='$CPP $CPPFLAGS'
928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
930 cross_compiling=$ac_cv_prog_cc_cross
931
932 cat > conftest.$ac_ext << EOF
933
934 #line 935 "configure"
935 #include "confdefs.h"
936
937 main(){return(0);}
938 EOF
939 if { (eval echo configure:940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
940   ac_cv_prog_cc_works=yes
941   # If we can't run a trivial program, we are probably using a cross compiler.
942   if (./conftest; exit) 2>/dev/null; then
943     ac_cv_prog_cc_cross=no
944   else
945     ac_cv_prog_cc_cross=yes
946   fi
947 else
948   echo "configure: failed program was:" >&5
949   cat conftest.$ac_ext >&5
950   ac_cv_prog_cc_works=no
951 fi
952 rm -fr conftest*
953 ac_ext=c
954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
955 ac_cpp='$CPP $CPPFLAGS'
956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
958 cross_compiling=$ac_cv_prog_cc_cross
959
960 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
961 if test $ac_cv_prog_cc_works = no; then
962   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
963 fi
964 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
965 echo "configure:966: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
966 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
967 cross_compiling=$ac_cv_prog_cc_cross
968
969 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
970 echo "configure:971: checking whether we are using GNU C" >&5
971 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
972   echo $ac_n "(cached) $ac_c" 1>&6
973 else
974   cat > conftest.c <<EOF
975 #ifdef __GNUC__
976   yes;
977 #endif
978 EOF
979 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
980   ac_cv_prog_gcc=yes
981 else
982   ac_cv_prog_gcc=no
983 fi
984 fi
985
986 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
987
988 if test $ac_cv_prog_gcc = yes; then
989   GCC=yes
990 else
991   GCC=
992 fi
993
994 ac_test_CFLAGS="${CFLAGS+set}"
995 ac_save_CFLAGS="$CFLAGS"
996 CFLAGS=
997 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
998 echo "configure:999: checking whether ${CC-cc} accepts -g" >&5
999 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1000   echo $ac_n "(cached) $ac_c" 1>&6
1001 else
1002   echo 'void f(){}' > conftest.c
1003 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1004   ac_cv_prog_cc_g=yes
1005 else
1006   ac_cv_prog_cc_g=no
1007 fi
1008 rm -f conftest*
1009
1010 fi
1011
1012 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1013 if test "$ac_test_CFLAGS" = set; then
1014   CFLAGS="$ac_save_CFLAGS"
1015 elif test $ac_cv_prog_cc_g = yes; then
1016   if test "$GCC" = yes; then
1017     CFLAGS="-g -O2"
1018   else
1019     CFLAGS="-g"
1020   fi
1021 else
1022   if test "$GCC" = yes; then
1023     CFLAGS="-O2"
1024   else
1025     CFLAGS=
1026   fi
1027 fi
1028
1029 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1030 echo "configure:1031: checking for POSIXized ISC" >&5
1031 if test -d /etc/conf/kconfig.d &&
1032   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1033 then
1034   echo "$ac_t""yes" 1>&6
1035   ISC=yes # If later tests want to check for ISC.
1036   cat >> confdefs.h <<\EOF
1037 #define _POSIX_SOURCE 1
1038 EOF
1039
1040   if test "$GCC" = yes; then
1041     CC="$CC -posix"
1042   else
1043     CC="$CC -Xp"
1044   fi
1045 else
1046   echo "$ac_t""no" 1>&6
1047   ISC=
1048 fi
1049
1050 # Extract the first word of "gcc", so it can be a program name with args.
1051 set dummy gcc; ac_word=$2
1052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1053 echo "configure:1054: checking for $ac_word" >&5
1054 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1055   echo $ac_n "(cached) $ac_c" 1>&6
1056 else
1057   if test -n "$CC"; then
1058   ac_cv_prog_CC="$CC" # Let the user override the test.
1059 else
1060   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1061   ac_dummy="$PATH"
1062   for ac_dir in $ac_dummy; do
1063     test -z "$ac_dir" && ac_dir=.
1064     if test -f $ac_dir/$ac_word; then
1065       ac_cv_prog_CC="gcc"
1066       break
1067     fi
1068   done
1069   IFS="$ac_save_ifs"
1070 fi
1071 fi
1072 CC="$ac_cv_prog_CC"
1073 if test -n "$CC"; then
1074   echo "$ac_t""$CC" 1>&6
1075 else
1076   echo "$ac_t""no" 1>&6
1077 fi
1078
1079 if test -z "$CC"; then
1080   # Extract the first word of "cc", so it can be a program name with args.
1081 set dummy cc; ac_word=$2
1082 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1083 echo "configure:1084: checking for $ac_word" >&5
1084 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1085   echo $ac_n "(cached) $ac_c" 1>&6
1086 else
1087   if test -n "$CC"; then
1088   ac_cv_prog_CC="$CC" # Let the user override the test.
1089 else
1090   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1091   ac_prog_rejected=no
1092   ac_dummy="$PATH"
1093   for ac_dir in $ac_dummy; do
1094     test -z "$ac_dir" && ac_dir=.
1095     if test -f $ac_dir/$ac_word; then
1096       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1097         ac_prog_rejected=yes
1098         continue
1099       fi
1100       ac_cv_prog_CC="cc"
1101       break
1102     fi
1103   done
1104   IFS="$ac_save_ifs"
1105 if test $ac_prog_rejected = yes; then
1106   # We found a bogon in the path, so make sure we never use it.
1107   set dummy $ac_cv_prog_CC
1108   shift
1109   if test $# -gt 0; then
1110     # We chose a different compiler from the bogus one.
1111     # However, it has the same basename, so the bogon will be chosen
1112     # first if we set CC to just the basename; use the full file name.
1113     shift
1114     set dummy "$ac_dir/$ac_word" "$@"
1115     shift
1116     ac_cv_prog_CC="$@"
1117   fi
1118 fi
1119 fi
1120 fi
1121 CC="$ac_cv_prog_CC"
1122 if test -n "$CC"; then
1123   echo "$ac_t""$CC" 1>&6
1124 else
1125   echo "$ac_t""no" 1>&6
1126 fi
1127
1128   if test -z "$CC"; then
1129     case "`uname -s`" in
1130     *win32* | *WIN32*)
1131       # Extract the first word of "cl", so it can be a program name with args.
1132 set dummy cl; ac_word=$2
1133 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1134 echo "configure:1135: checking for $ac_word" >&5
1135 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1136   echo $ac_n "(cached) $ac_c" 1>&6
1137 else
1138   if test -n "$CC"; then
1139   ac_cv_prog_CC="$CC" # Let the user override the test.
1140 else
1141   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1142   ac_dummy="$PATH"
1143   for ac_dir in $ac_dummy; do
1144     test -z "$ac_dir" && ac_dir=.
1145     if test -f $ac_dir/$ac_word; then
1146       ac_cv_prog_CC="cl"
1147       break
1148     fi
1149   done
1150   IFS="$ac_save_ifs"
1151 fi
1152 fi
1153 CC="$ac_cv_prog_CC"
1154 if test -n "$CC"; then
1155   echo "$ac_t""$CC" 1>&6
1156 else
1157   echo "$ac_t""no" 1>&6
1158 fi
1159  ;;
1160     esac
1161   fi
1162   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1163 fi
1164
1165 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1166 echo "configure:1167: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1167
1168 ac_ext=c
1169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1170 ac_cpp='$CPP $CPPFLAGS'
1171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1173 cross_compiling=$ac_cv_prog_cc_cross
1174
1175 cat > conftest.$ac_ext << EOF
1176
1177 #line 1178 "configure"
1178 #include "confdefs.h"
1179
1180 main(){return(0);}
1181 EOF
1182 if { (eval echo configure:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1183   ac_cv_prog_cc_works=yes
1184   # If we can't run a trivial program, we are probably using a cross compiler.
1185   if (./conftest; exit) 2>/dev/null; then
1186     ac_cv_prog_cc_cross=no
1187   else
1188     ac_cv_prog_cc_cross=yes
1189   fi
1190 else
1191   echo "configure: failed program was:" >&5
1192   cat conftest.$ac_ext >&5
1193   ac_cv_prog_cc_works=no
1194 fi
1195 rm -fr conftest*
1196 ac_ext=c
1197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1198 ac_cpp='$CPP $CPPFLAGS'
1199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1201 cross_compiling=$ac_cv_prog_cc_cross
1202
1203 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1204 if test $ac_cv_prog_cc_works = no; then
1205   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1206 fi
1207 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1208 echo "configure:1209: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1209 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1210 cross_compiling=$ac_cv_prog_cc_cross
1211
1212 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1213 echo "configure:1214: checking whether we are using GNU C" >&5
1214 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1215   echo $ac_n "(cached) $ac_c" 1>&6
1216 else
1217   cat > conftest.c <<EOF
1218 #ifdef __GNUC__
1219   yes;
1220 #endif
1221 EOF
1222 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1223   ac_cv_prog_gcc=yes
1224 else
1225   ac_cv_prog_gcc=no
1226 fi
1227 fi
1228
1229 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1230
1231 if test $ac_cv_prog_gcc = yes; then
1232   GCC=yes
1233 else
1234   GCC=
1235 fi
1236
1237 ac_test_CFLAGS="${CFLAGS+set}"
1238 ac_save_CFLAGS="$CFLAGS"
1239 CFLAGS=
1240 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1241 echo "configure:1242: checking whether ${CC-cc} accepts -g" >&5
1242 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1243   echo $ac_n "(cached) $ac_c" 1>&6
1244 else
1245   echo 'void f(){}' > conftest.c
1246 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1247   ac_cv_prog_cc_g=yes
1248 else
1249   ac_cv_prog_cc_g=no
1250 fi
1251 rm -f conftest*
1252
1253 fi
1254
1255 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1256 if test "$ac_test_CFLAGS" = set; then
1257   CFLAGS="$ac_save_CFLAGS"
1258 elif test $ac_cv_prog_cc_g = yes; then
1259   if test "$GCC" = yes; then
1260     CFLAGS="-g -O2"
1261   else
1262     CFLAGS="-g"
1263   fi
1264 else
1265   if test "$GCC" = yes; then
1266     CFLAGS="-O2"
1267   else
1268     CFLAGS=
1269   fi
1270 fi
1271
1272 # Find a good install program.  We prefer a C program (faster),
1273 # so one script is as good as another.  But avoid the broken or
1274 # incompatible versions:
1275 # SysV /etc/install, /usr/sbin/install
1276 # SunOS /usr/etc/install
1277 # IRIX /sbin/install
1278 # AIX /bin/install
1279 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1280 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1281 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1282 # ./install, which can be erroneously created by make from ./install.sh.
1283 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1284 echo "configure:1285: checking for a BSD compatible install" >&5
1285 if test -z "$INSTALL"; then
1286 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1287   echo $ac_n "(cached) $ac_c" 1>&6
1288 else
1289     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1290   for ac_dir in $PATH; do
1291     # Account for people who put trailing slashes in PATH elements.
1292     case "$ac_dir/" in
1293     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1294     *)
1295       # OSF1 and SCO ODT 3.0 have their own names for install.
1296       # Don't use installbsd from OSF since it installs stuff as root
1297       # by default.
1298       for ac_prog in ginstall scoinst install; do
1299         if test -f $ac_dir/$ac_prog; then
1300           if test $ac_prog = install &&
1301             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1302             # AIX install.  It has an incompatible calling convention.
1303             :
1304           else
1305             ac_cv_path_install="$ac_dir/$ac_prog -c"
1306             break 2
1307           fi
1308         fi
1309       done
1310       ;;
1311     esac
1312   done
1313   IFS="$ac_save_IFS"
1314
1315 fi
1316   if test "${ac_cv_path_install+set}" = set; then
1317     INSTALL="$ac_cv_path_install"
1318   else
1319     # As a last resort, use the slow shell script.  We don't cache a
1320     # path for INSTALL within a source directory, because that will
1321     # break other packages using the cache if that directory is
1322     # removed, or if the path is relative.
1323     INSTALL="$ac_install_sh"
1324   fi
1325 fi
1326 echo "$ac_t""$INSTALL" 1>&6
1327
1328 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1329 # It thinks the first close brace ends the variable substitution.
1330 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1331
1332 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1333
1334 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1335
1336 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1337 echo "configure:1338: checking whether ${MAKE-make} sets \${MAKE}" >&5
1338 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1339 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1340   echo $ac_n "(cached) $ac_c" 1>&6
1341 else
1342   cat > conftestmake <<\EOF
1343 all:
1344         @echo 'ac_maketemp="${MAKE}"'
1345 EOF
1346 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1347 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1348 if test -n "$ac_maketemp"; then
1349   eval ac_cv_prog_make_${ac_make}_set=yes
1350 else
1351   eval ac_cv_prog_make_${ac_make}_set=no
1352 fi
1353 rm -f conftestmake
1354 fi
1355 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1356   echo "$ac_t""yes" 1>&6
1357   SET_MAKE=
1358 else
1359   echo "$ac_t""no" 1>&6
1360   SET_MAKE="MAKE=${MAKE-make}"
1361 fi
1362
1363
1364 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1365 echo "configure:1366: checking how to run the C preprocessor" >&5
1366 # On Suns, sometimes $CPP names a directory.
1367 if test -n "$CPP" && test -d "$CPP"; then
1368   CPP=
1369 fi
1370 if test -z "$CPP"; then
1371 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1372   echo $ac_n "(cached) $ac_c" 1>&6
1373 else
1374     # This must be in double quotes, not single quotes, because CPP may get
1375   # substituted into the Makefile and "${CC-cc}" will confuse make.
1376   CPP="${CC-cc} -E"
1377   # On the NeXT, cc -E runs the code through the compiler's parser,
1378   # not just through cpp.
1379   cat > conftest.$ac_ext <<EOF
1380 #line 1381 "configure"
1381 #include "confdefs.h"
1382 #include <assert.h>
1383 Syntax Error
1384 EOF
1385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1386 { (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1388 if test -z "$ac_err"; then
1389   :
1390 else
1391   echo "$ac_err" >&5
1392   echo "configure: failed program was:" >&5
1393   cat conftest.$ac_ext >&5
1394   rm -rf conftest*
1395   CPP="${CC-cc} -E -traditional-cpp"
1396   cat > conftest.$ac_ext <<EOF
1397 #line 1398 "configure"
1398 #include "confdefs.h"
1399 #include <assert.h>
1400 Syntax Error
1401 EOF
1402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1403 { (eval echo configure:1404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1405 if test -z "$ac_err"; then
1406   :
1407 else
1408   echo "$ac_err" >&5
1409   echo "configure: failed program was:" >&5
1410   cat conftest.$ac_ext >&5
1411   rm -rf conftest*
1412   CPP="${CC-cc} -nologo -E"
1413   cat > conftest.$ac_ext <<EOF
1414 #line 1415 "configure"
1415 #include "confdefs.h"
1416 #include <assert.h>
1417 Syntax Error
1418 EOF
1419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1420 { (eval echo configure:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1422 if test -z "$ac_err"; then
1423   :
1424 else
1425   echo "$ac_err" >&5
1426   echo "configure: failed program was:" >&5
1427   cat conftest.$ac_ext >&5
1428   rm -rf conftest*
1429   CPP=/lib/cpp
1430 fi
1431 rm -f conftest*
1432 fi
1433 rm -f conftest*
1434 fi
1435 rm -f conftest*
1436   ac_cv_prog_CPP="$CPP"
1437 fi
1438   CPP="$ac_cv_prog_CPP"
1439 else
1440   ac_cv_prog_CPP="$CPP"
1441 fi
1442 echo "$ac_t""$CPP" 1>&6
1443
1444 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1445 echo "configure:1446: checking for ANSI C header files" >&5
1446 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1447   echo $ac_n "(cached) $ac_c" 1>&6
1448 else
1449   cat > conftest.$ac_ext <<EOF
1450 #line 1451 "configure"
1451 #include "confdefs.h"
1452 #include <stdlib.h>
1453 #include <stdarg.h>
1454 #include <string.h>
1455 #include <float.h>
1456 EOF
1457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1458 { (eval echo configure:1459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1460 if test -z "$ac_err"; then
1461   rm -rf conftest*
1462   ac_cv_header_stdc=yes
1463 else
1464   echo "$ac_err" >&5
1465   echo "configure: failed program was:" >&5
1466   cat conftest.$ac_ext >&5
1467   rm -rf conftest*
1468   ac_cv_header_stdc=no
1469 fi
1470 rm -f conftest*
1471
1472 if test $ac_cv_header_stdc = yes; then
1473   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1474 cat > conftest.$ac_ext <<EOF
1475 #line 1476 "configure"
1476 #include "confdefs.h"
1477 #include <string.h>
1478 EOF
1479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1480   egrep "memchr" >/dev/null 2>&1; then
1481   :
1482 else
1483   rm -rf conftest*
1484   ac_cv_header_stdc=no
1485 fi
1486 rm -f conftest*
1487
1488 fi
1489
1490 if test $ac_cv_header_stdc = yes; then
1491   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1492 cat > conftest.$ac_ext <<EOF
1493 #line 1494 "configure"
1494 #include "confdefs.h"
1495 #include <stdlib.h>
1496 EOF
1497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1498   egrep "free" >/dev/null 2>&1; then
1499   :
1500 else
1501   rm -rf conftest*
1502   ac_cv_header_stdc=no
1503 fi
1504 rm -f conftest*
1505
1506 fi
1507
1508 if test $ac_cv_header_stdc = yes; then
1509   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1510 if test "$cross_compiling" = yes; then
1511   :
1512 else
1513   cat > conftest.$ac_ext <<EOF
1514 #line 1515 "configure"
1515 #include "confdefs.h"
1516 #include <ctype.h>
1517 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1518 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1519 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1520 int main () { int i; for (i = 0; i < 256; i++)
1521 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1522 exit (0); }
1523
1524 EOF
1525 if { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1526 then
1527   :
1528 else
1529   echo "configure: failed program was:" >&5
1530   cat conftest.$ac_ext >&5
1531   rm -fr conftest*
1532   ac_cv_header_stdc=no
1533 fi
1534 rm -fr conftest*
1535 fi
1536
1537 fi
1538 fi
1539
1540 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1541 if test $ac_cv_header_stdc = yes; then
1542   cat >> confdefs.h <<\EOF
1543 #define STDC_HEADERS 1
1544 EOF
1545
1546 fi
1547
1548 for ac_hdr in fcntl.h unistd.h getopt.h time.h
1549 do
1550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1552 echo "configure:1553: checking for $ac_hdr" >&5
1553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1554   echo $ac_n "(cached) $ac_c" 1>&6
1555 else
1556   cat > conftest.$ac_ext <<EOF
1557 #line 1558 "configure"
1558 #include "confdefs.h"
1559 #include <$ac_hdr>
1560 EOF
1561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1562 { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1564 if test -z "$ac_err"; then
1565   rm -rf conftest*
1566   eval "ac_cv_header_$ac_safe=yes"
1567 else
1568   echo "$ac_err" >&5
1569   echo "configure: failed program was:" >&5
1570   cat conftest.$ac_ext >&5
1571   rm -rf conftest*
1572   eval "ac_cv_header_$ac_safe=no"
1573 fi
1574 rm -f conftest*
1575 fi
1576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1577   echo "$ac_t""yes" 1>&6
1578     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1579   cat >> confdefs.h <<EOF
1580 #define $ac_tr_hdr 1
1581 EOF
1582  
1583 else
1584   echo "$ac_t""no" 1>&6
1585 fi
1586 done
1587
1588 for ac_hdr in linux/kdev_t.h linux/major.h sys/timeb.h
1589 do
1590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1592 echo "configure:1593: checking for $ac_hdr" >&5
1593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1594   echo $ac_n "(cached) $ac_c" 1>&6
1595 else
1596   cat > conftest.$ac_ext <<EOF
1597 #line 1598 "configure"
1598 #include "confdefs.h"
1599 #include <$ac_hdr>
1600 EOF
1601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1602 { (eval echo configure:1603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1604 if test -z "$ac_err"; then
1605   rm -rf conftest*
1606   eval "ac_cv_header_$ac_safe=yes"
1607 else
1608   echo "$ac_err" >&5
1609   echo "configure: failed program was:" >&5
1610   cat conftest.$ac_ext >&5
1611   rm -rf conftest*
1612   eval "ac_cv_header_$ac_safe=no"
1613 fi
1614 rm -f conftest*
1615 fi
1616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1617   echo "$ac_t""yes" 1>&6
1618     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1619   cat >> confdefs.h <<EOF
1620 #define $ac_tr_hdr 1
1621 EOF
1622  
1623 else
1624   echo "$ac_t""no" 1>&6
1625 fi
1626 done
1627
1628
1629 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
1630 echo "configure:1631: checking for pid_t" >&5
1631 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
1632   echo $ac_n "(cached) $ac_c" 1>&6
1633 else
1634   cat > conftest.$ac_ext <<EOF
1635 #line 1636 "configure"
1636 #include "confdefs.h"
1637 #include <sys/types.h>
1638 #if STDC_HEADERS
1639 #include <stdlib.h>
1640 #include <stddef.h>
1641 #endif
1642 EOF
1643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1644   egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1645   rm -rf conftest*
1646   ac_cv_type_pid_t=yes
1647 else
1648   rm -rf conftest*
1649   ac_cv_type_pid_t=no
1650 fi
1651 rm -f conftest*
1652
1653 fi
1654 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
1655 if test $ac_cv_type_pid_t = no; then
1656   cat >> confdefs.h <<\EOF
1657 #define pid_t int
1658 EOF
1659
1660 fi
1661
1662
1663 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1664 echo "configure:1665: checking return type of signal handlers" >&5
1665 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1666   echo $ac_n "(cached) $ac_c" 1>&6
1667 else
1668   cat > conftest.$ac_ext <<EOF
1669 #line 1670 "configure"
1670 #include "confdefs.h"
1671 #include <sys/types.h>
1672 #include <signal.h>
1673 #ifdef signal
1674 #undef signal
1675 #endif
1676 #ifdef __cplusplus
1677 extern "C" void (*signal (int, void (*)(int)))(int);
1678 #else
1679 void (*signal ()) ();
1680 #endif
1681
1682 int main() {
1683 int i;
1684 ; return 0; }
1685 EOF
1686 if { (eval echo configure:1687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1687   rm -rf conftest*
1688   ac_cv_type_signal=void
1689 else
1690   echo "configure: failed program was:" >&5
1691   cat conftest.$ac_ext >&5
1692   rm -rf conftest*
1693   ac_cv_type_signal=int
1694 fi
1695 rm -f conftest*
1696 fi
1697
1698 echo "$ac_t""$ac_cv_type_signal" 1>&6
1699 cat >> confdefs.h <<EOF
1700 #define RETSIGTYPE $ac_cv_type_signal
1701 EOF
1702
1703
1704 for ac_func in select strdup getopt_long time ctime ftime
1705 do
1706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1707 echo "configure:1708: checking for $ac_func" >&5
1708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1709   echo $ac_n "(cached) $ac_c" 1>&6
1710 else
1711   cat > conftest.$ac_ext <<EOF
1712 #line 1713 "configure"
1713 #include "confdefs.h"
1714 /* System header to define __stub macros and hopefully few prototypes,
1715     which can conflict with char $ac_func(); below.  */
1716 #include <assert.h>
1717 /* Override any gcc2 internal prototype to avoid an error.  */
1718 /* We use char because int might match the return type of a gcc2
1719     builtin and then its argument prototype would still apply.  */
1720 char $ac_func();
1721
1722 int main() {
1723
1724 /* The GNU C library defines this for functions which it implements
1725     to always fail with ENOSYS.  Some functions are actually named
1726     something starting with __ and the normal name is an alias.  */
1727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1728 choke me
1729 #else
1730 $ac_func();
1731 #endif
1732
1733 ; return 0; }
1734 EOF
1735 if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1736   rm -rf conftest*
1737   eval "ac_cv_func_$ac_func=yes"
1738 else
1739   echo "configure: failed program was:" >&5
1740   cat conftest.$ac_ext >&5
1741   rm -rf conftest*
1742   eval "ac_cv_func_$ac_func=no"
1743 fi
1744 rm -f conftest*
1745 fi
1746
1747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1748   echo "$ac_t""yes" 1>&6
1749     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1750   cat >> confdefs.h <<EOF
1751 #define $ac_tr_func 1
1752 EOF
1753  
1754 else
1755   echo "$ac_t""no" 1>&6
1756 fi
1757 done
1758
1759 echo $ac_n "checking types of arguments for select()""... $ac_c" 1>&6
1760 echo "configure:1761: checking types of arguments for select()" >&5
1761  if eval "test \"`echo '$''{'ac_cv_func_select_arg234'+set}'`\" = set"; then
1762   echo $ac_n "(cached) $ac_c" 1>&6
1763 else
1764    if eval "test \"`echo '$''{'ac_cv_func_select_arg1'+set}'`\" = set"; then
1765   echo $ac_n "(cached) $ac_c" 1>&6
1766 else
1767     if eval "test \"`echo '$''{'ac_cv_func_select_arg5'+set}'`\" = set"; then
1768   echo $ac_n "(cached) $ac_c" 1>&6
1769 else
1770      for ac_cv_func_select_arg234 in 'fd_set *' 'int *' 'void *'; do
1771      for ac_cv_func_select_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
1772       for ac_cv_func_select_arg5 in 'struct timeval *' 'const struct timeval *'; do
1773        cat > conftest.$ac_ext <<EOF
1774 #line 1775 "configure"
1775 #include "confdefs.h"
1776 #ifdef HAVE_SYS_TYPES_H
1777 #include <sys/types.h>
1778 #endif
1779 #ifdef HAVE_SYS_TIME_H
1780 #include <sys/time.h>
1781 #endif
1782 #ifdef HAVE_SYS_SELECT_H
1783 #include <sys/select.h>
1784 #endif
1785 #ifdef HAVE_SYS_SOCKET_H
1786 #include <sys/socket.h>
1787 #endif
1788 extern select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);
1789 int main() {
1790
1791 ; return 0; }
1792 EOF
1793 if { (eval echo configure:1794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1794   rm -rf conftest*
1795           ac_not_found=no ; break 3
1796 else
1797   echo "configure: failed program was:" >&5
1798   cat conftest.$ac_ext >&5
1799   rm -rf conftest*
1800   ac_not_found=yes
1801 fi
1802 rm -f conftest*
1803       done
1804      done
1805     done
1806    
1807 fi
1808   
1809 fi
1810  
1811 fi
1812  if test "$ac_not_found" = yes; then
1813   ac_cv_func_select_arg1=int 
1814   ac_cv_func_select_arg234='int *' 
1815   ac_cv_func_select_arg5='struct timeval *'
1816  fi
1817  echo "$ac_t""$ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5" 1>&6
1818  cat >> confdefs.h <<EOF
1819 #define SELECT_TYPE_ARG1 $ac_cv_func_select_arg1
1820 EOF
1821
1822  cat >> confdefs.h <<EOF
1823 #define SELECT_TYPE_ARG234 ($ac_cv_func_select_arg234)
1824 EOF
1825
1826  cat >> confdefs.h <<EOF
1827 #define SELECT_TYPE_ARG5 ($ac_cv_func_select_arg5)
1828 EOF
1829
1830
1831
1832
1833
1834 trap '' 1 2 15
1835 cat > confcache <<\EOF
1836 # This file is a shell script that caches the results of configure
1837 # tests run on this system so they can be shared between configure
1838 # scripts and configure runs.  It is not useful on other systems.
1839 # If it contains results you don't want to keep, you may remove or edit it.
1840 #
1841 # By default, configure uses ./config.cache as the cache file,
1842 # creating it if it does not exist already.  You can give configure
1843 # the --cache-file=FILE option to use a different cache file; that is
1844 # what configure does when it calls configure scripts in
1845 # subdirectories, so they share the cache.
1846 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1847 # config.status only pays attention to the cache file if you give it the
1848 # --recheck option to rerun configure.
1849 #
1850 EOF
1851 # The following way of writing the cache mishandles newlines in values,
1852 # but we know of no workaround that is simple, portable, and efficient.
1853 # So, don't put newlines in cache variables' values.
1854 # Ultrix sh set writes to stderr and can't be redirected directly,
1855 # and sets the high bit in the cache file unless we assign to the vars.
1856 (set) 2>&1 |
1857   case `(ac_space=' '; set | grep ac_space) 2>&1` in
1858   *ac_space=\ *)
1859     # `set' does not quote correctly, so add quotes (double-quote substitution
1860     # turns \\\\ into \\, and sed turns \\ into \).
1861     sed -n \
1862       -e "s/'/'\\\\''/g" \
1863       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1864     ;;
1865   *)
1866     # `set' quotes correctly as required by POSIX, so do not add quotes.
1867     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1868     ;;
1869   esac >> confcache
1870 if cmp -s $cache_file confcache; then
1871   :
1872 else
1873   if test -w $cache_file; then
1874     echo "updating cache $cache_file"
1875     cat confcache > $cache_file
1876   else
1877     echo "not updating unwritable cache $cache_file"
1878   fi
1879 fi
1880 rm -f confcache
1881
1882 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1883
1884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1885 # Let make expand exec_prefix.
1886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1887
1888 # Any assignment to VPATH causes Sun make to only execute
1889 # the first set of double-colon rules, so remove it if not needed.
1890 # If there is a colon in the path, we need to keep it.
1891 if test "x$srcdir" = x.; then
1892   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1893 fi
1894
1895 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1896
1897 DEFS=-DHAVE_CONFIG_H
1898
1899 # Without the "./", some shells look in PATH for config.status.
1900 : ${CONFIG_STATUS=./config.status}
1901
1902 echo creating $CONFIG_STATUS
1903 rm -f $CONFIG_STATUS
1904 cat > $CONFIG_STATUS <<EOF
1905 #! /bin/sh
1906 # Generated automatically by configure.
1907 # Run this file to recreate the current configuration.
1908 # This directory was configured as follows,
1909 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1910 #
1911 # $0 $ac_configure_args
1912 #
1913 # Compiler output produced by configure, useful for debugging
1914 # configure, is in ./config.log if it exists.
1915
1916 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1917 for ac_option
1918 do
1919   case "\$ac_option" in
1920   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1921     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1922     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1923   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1924     echo "$CONFIG_STATUS generated by autoconf version 2.13"
1925     exit 0 ;;
1926   -help | --help | --hel | --he | --h)
1927     echo "\$ac_cs_usage"; exit 0 ;;
1928   *) echo "\$ac_cs_usage"; exit 1 ;;
1929   esac
1930 done
1931
1932 ac_given_srcdir=$srcdir
1933 ac_given_INSTALL="$INSTALL"
1934
1935 trap 'rm -fr `echo "Makefile src/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1936 EOF
1937 cat >> $CONFIG_STATUS <<EOF
1938
1939 # Protect against being on the right side of a sed subst in config.status.
1940 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1941  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1942 $ac_vpsub
1943 $extrasub
1944 s%@SHELL@%$SHELL%g
1945 s%@CFLAGS@%$CFLAGS%g
1946 s%@CPPFLAGS@%$CPPFLAGS%g
1947 s%@CXXFLAGS@%$CXXFLAGS%g
1948 s%@FFLAGS@%$FFLAGS%g
1949 s%@DEFS@%$DEFS%g
1950 s%@LDFLAGS@%$LDFLAGS%g
1951 s%@LIBS@%$LIBS%g
1952 s%@exec_prefix@%$exec_prefix%g
1953 s%@prefix@%$prefix%g
1954 s%@program_transform_name@%$program_transform_name%g
1955 s%@bindir@%$bindir%g
1956 s%@sbindir@%$sbindir%g
1957 s%@libexecdir@%$libexecdir%g
1958 s%@datadir@%$datadir%g
1959 s%@sysconfdir@%$sysconfdir%g
1960 s%@sharedstatedir@%$sharedstatedir%g
1961 s%@localstatedir@%$localstatedir%g
1962 s%@libdir@%$libdir%g
1963 s%@includedir@%$includedir%g
1964 s%@oldincludedir@%$oldincludedir%g
1965 s%@infodir@%$infodir%g
1966 s%@mandir@%$mandir%g
1967 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1968 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1969 s%@INSTALL_DATA@%$INSTALL_DATA%g
1970 s%@PACKAGE@%$PACKAGE%g
1971 s%@VERSION@%$VERSION%g
1972 s%@ACLOCAL@%$ACLOCAL%g
1973 s%@AUTOCONF@%$AUTOCONF%g
1974 s%@AUTOMAKE@%$AUTOMAKE%g
1975 s%@AUTOHEADER@%$AUTOHEADER%g
1976 s%@MAKEINFO@%$MAKEINFO%g
1977 s%@SET_MAKE@%$SET_MAKE%g
1978 s%@CC@%$CC%g
1979 s%@CPP@%$CPP%g
1980
1981 CEOF
1982 EOF
1983
1984 cat >> $CONFIG_STATUS <<\EOF
1985
1986 # Split the substitutions into bite-sized pieces for seds with
1987 # small command number limits, like on Digital OSF/1 and HP-UX.
1988 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1989 ac_file=1 # Number of current file.
1990 ac_beg=1 # First line for current file.
1991 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1992 ac_more_lines=:
1993 ac_sed_cmds=""
1994 while $ac_more_lines; do
1995   if test $ac_beg -gt 1; then
1996     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1997   else
1998     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1999   fi
2000   if test ! -s conftest.s$ac_file; then
2001     ac_more_lines=false
2002     rm -f conftest.s$ac_file
2003   else
2004     if test -z "$ac_sed_cmds"; then
2005       ac_sed_cmds="sed -f conftest.s$ac_file"
2006     else
2007       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2008     fi
2009     ac_file=`expr $ac_file + 1`
2010     ac_beg=$ac_end
2011     ac_end=`expr $ac_end + $ac_max_sed_cmds`
2012   fi
2013 done
2014 if test -z "$ac_sed_cmds"; then
2015   ac_sed_cmds=cat
2016 fi
2017 EOF
2018
2019 cat >> $CONFIG_STATUS <<EOF
2020
2021 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile"}
2022 EOF
2023 cat >> $CONFIG_STATUS <<\EOF
2024 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2025   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2026   case "$ac_file" in
2027   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2028        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2029   *) ac_file_in="${ac_file}.in" ;;
2030   esac
2031
2032   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2033
2034   # Remove last slash and all that follows it.  Not all systems have dirname.
2035   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2036   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2037     # The file is in a subdirectory.
2038     test ! -d "$ac_dir" && mkdir "$ac_dir"
2039     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2040     # A "../" for each directory in $ac_dir_suffix.
2041     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2042   else
2043     ac_dir_suffix= ac_dots=
2044   fi
2045
2046   case "$ac_given_srcdir" in
2047   .)  srcdir=.
2048       if test -z "$ac_dots"; then top_srcdir=.
2049       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2050   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2051   *) # Relative path.
2052     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2053     top_srcdir="$ac_dots$ac_given_srcdir" ;;
2054   esac
2055
2056   case "$ac_given_INSTALL" in
2057   [/$]*) INSTALL="$ac_given_INSTALL" ;;
2058   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2059   esac
2060
2061   echo creating "$ac_file"
2062   rm -f "$ac_file"
2063   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2064   case "$ac_file" in
2065   *Makefile*) ac_comsub="1i\\
2066 # $configure_input" ;;
2067   *) ac_comsub= ;;
2068   esac
2069
2070   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2071   sed -e "$ac_comsub
2072 s%@configure_input@%$configure_input%g
2073 s%@srcdir@%$srcdir%g
2074 s%@top_srcdir@%$top_srcdir%g
2075 s%@INSTALL@%$INSTALL%g
2076 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2077 fi; done
2078 rm -f conftest.s*
2079
2080 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2081 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2082 #
2083 # ac_d sets the value in "#define NAME VALUE" lines.
2084 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
2085 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
2086 ac_dC='\3'
2087 ac_dD='%g'
2088 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2089 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
2090 ac_uB='\([      ]\)%\1#\2define\3'
2091 ac_uC=' '
2092 ac_uD='\4%g'
2093 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2094 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
2095 ac_eB='$%\1#\2define\3'
2096 ac_eC=' '
2097 ac_eD='%g'
2098
2099 if test "${CONFIG_HEADERS+set}" != set; then
2100 EOF
2101 cat >> $CONFIG_STATUS <<EOF
2102   CONFIG_HEADERS="config.h"
2103 EOF
2104 cat >> $CONFIG_STATUS <<\EOF
2105 fi
2106 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2107   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2108   case "$ac_file" in
2109   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2110        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2111   *) ac_file_in="${ac_file}.in" ;;
2112   esac
2113
2114   echo creating $ac_file
2115
2116   rm -f conftest.frag conftest.in conftest.out
2117   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2118   cat $ac_file_inputs > conftest.in
2119
2120 EOF
2121
2122 # Transform confdefs.h into a sed script conftest.vals that substitutes
2123 # the proper values into config.h.in to produce config.h.  And first:
2124 # Protect against being on the right side of a sed subst in config.status.
2125 # Protect against being in an unquoted here document in config.status.
2126 rm -f conftest.vals
2127 cat > conftest.hdr <<\EOF
2128 s/[\\&%]/\\&/g
2129 s%[\\$`]%\\&%g
2130 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2131 s%ac_d%ac_u%gp
2132 s%ac_u%ac_e%gp
2133 EOF
2134 sed -n -f conftest.hdr confdefs.h > conftest.vals
2135 rm -f conftest.hdr
2136
2137 # This sed command replaces #undef with comments.  This is necessary, for
2138 # example, in the case of _POSIX_SOURCE, which is predefined and required
2139 # on some systems where configure will not decide to define it.
2140 cat >> conftest.vals <<\EOF
2141 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2142 EOF
2143
2144 # Break up conftest.vals because some shells have a limit on
2145 # the size of here documents, and old seds have small limits too.
2146
2147 rm -f conftest.tail
2148 while :
2149 do
2150   ac_lines=`grep -c . conftest.vals`
2151   # grep -c gives empty output for an empty file on some AIX systems.
2152   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2153   # Write a limited-size here document to conftest.frag.
2154   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2155   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2156   echo 'CEOF
2157   sed -f conftest.frag conftest.in > conftest.out
2158   rm -f conftest.in
2159   mv conftest.out conftest.in
2160 ' >> $CONFIG_STATUS
2161   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2162   rm -f conftest.vals
2163   mv conftest.tail conftest.vals
2164 done
2165 rm -f conftest.vals
2166
2167 cat >> $CONFIG_STATUS <<\EOF
2168   rm -f conftest.frag conftest.h
2169   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
2170   cat conftest.in >> conftest.h
2171   rm -f conftest.in
2172   if cmp -s $ac_file conftest.h 2>/dev/null; then
2173     echo "$ac_file is unchanged"
2174     rm -f conftest.h
2175   else
2176     # Remove last slash and all that follows it.  Not all systems have dirname.
2177       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2178       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2179       # The file is in a subdirectory.
2180       test ! -d "$ac_dir" && mkdir "$ac_dir"
2181     fi
2182     rm -f $ac_file
2183     mv conftest.h $ac_file
2184   fi
2185 fi; done
2186
2187 EOF
2188 cat >> $CONFIG_STATUS <<EOF
2189
2190
2191 EOF
2192 cat >> $CONFIG_STATUS <<\EOF
2193 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2194
2195 exit 0
2196 EOF
2197 chmod +x $CONFIG_STATUS
2198 rm -fr confdefs* $ac_clean_files
2199 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2200