ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/dhcpping/configure
Revision: 1.1
Committed: Mon Jul 26 00:46:09 2004 UTC (19 years, 9 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3     # Generated by Autoconf 2.52.
4     #
5     # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6     # Free Software Foundation, Inc.
7     # This configure script is free software; the Free Software Foundation
8     # gives unlimited permission to copy, distribute and modify it.
9    
10     # Avoid depending upon Character Ranges.
11     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14     as_cr_digits='0123456789'
15     as_cr_alnum=$as_cr_Letters$as_cr_digits
16    
17     # Sed expression to map a string onto a valid variable name.
18     as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
19    
20     # Sed expression to map a string onto a valid CPP name.
21     as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22    
23     # Be Bourne compatible
24     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25     emulate sh
26     NULLCMD=:
27     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28     set -o posix
29     fi
30    
31     # Name of the executable.
32     as_me=`echo "$0" |sed 's,.*[\\/],,'`
33    
34     if expr a : '\(a\)' >/dev/null 2>&1; then
35     as_expr=expr
36     else
37     as_expr=false
38     fi
39    
40     rm -f conf$$ conf$$.exe conf$$.file
41     echo >conf$$.file
42     if ln -s conf$$.file conf$$ 2>/dev/null; then
43     # We could just check for DJGPP; but this test a) works b) is more generic
44     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45     if test -f conf$$.exe; then
46     # Don't use ln at all; we don't have any links
47     as_ln_s='cp -p'
48     else
49     as_ln_s='ln -s'
50     fi
51     elif ln conf$$.file conf$$ 2>/dev/null; then
52     as_ln_s=ln
53     else
54     as_ln_s='cp -p'
55     fi
56     rm -f conf$$ conf$$.exe conf$$.file
57    
58     as_executable_p="test -f"
59    
60     # Support unset when possible.
61     if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62     as_unset=unset
63     else
64     as_unset=false
65     fi
66    
67     # NLS nuisances.
68     $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69     $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70     $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71     $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72     $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73     $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74     $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75     $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76    
77     # IFS
78     # We need space, tab and new line, in precisely that order.
79     as_nl='
80     '
81     IFS=" $as_nl"
82    
83     # CDPATH.
84     $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
85    
86     # Name of the host.
87     # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88     # so uname gets run too.
89     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
90    
91     exec 6>&1
92    
93     #
94     # Initializations.
95     #
96     ac_default_prefix=/usr/local
97     cross_compiling=no
98     subdirs=
99     MFLAGS= MAKEFLAGS=
100     SHELL=${CONFIG_SHELL-/bin/sh}
101    
102     # Maximum number of lines to put in a shell here document.
103     # This variable seems obsolete. It should probably be removed, and
104     # only ac_max_sed_lines should be used.
105     : ${ac_max_here_lines=38}
106    
107     ac_unique_file="dhcping.c"
108    
109     # Initialize some variables set by options.
110     ac_init_help=
111     ac_init_version=false
112     # The variables have the same names as the options, with
113     # dashes changed to underlines.
114     cache_file=/dev/null
115     exec_prefix=NONE
116     no_create=
117     no_recursion=
118     prefix=NONE
119     program_prefix=NONE
120     program_suffix=NONE
121     program_transform_name=s,x,x,
122     silent=
123     site=
124     srcdir=
125     verbose=
126     x_includes=NONE
127     x_libraries=NONE
128    
129     # Installation directory options.
130     # These are left unexpanded so users can "make install exec_prefix=/foo"
131     # and all the variables that are supposed to be based on exec_prefix
132     # by default will actually change.
133     # Use braces instead of parens because sh, perl, etc. also accept them.
134     bindir='${exec_prefix}/bin'
135     sbindir='${exec_prefix}/sbin'
136     libexecdir='${exec_prefix}/libexec'
137     datadir='${prefix}/share'
138     sysconfdir='${prefix}/etc'
139     sharedstatedir='${prefix}/com'
140     localstatedir='${prefix}/var'
141     libdir='${exec_prefix}/lib'
142     includedir='${prefix}/include'
143     oldincludedir='/usr/include'
144     infodir='${prefix}/info'
145     mandir='${prefix}/man'
146    
147     # Identity of this package.
148     PACKAGE_NAME=
149     PACKAGE_TARNAME=
150     PACKAGE_VERSION=
151     PACKAGE_STRING=
152     PACKAGE_BUGREPORT=
153    
154     ac_prev=
155     for ac_option
156     do
157     # If the previous option needs an argument, assign it.
158     if test -n "$ac_prev"; then
159     eval "$ac_prev=\$ac_option"
160     ac_prev=
161     continue
162     fi
163    
164     ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
165    
166     # Accept the important Cygnus configure options, so we can diagnose typos.
167    
168     case $ac_option in
169    
170     -bindir | --bindir | --bindi | --bind | --bin | --bi)
171     ac_prev=bindir ;;
172     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
173     bindir=$ac_optarg ;;
174    
175     -build | --build | --buil | --bui | --bu)
176     ac_prev=build_alias ;;
177     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
178     build_alias=$ac_optarg ;;
179    
180     -cache-file | --cache-file | --cache-fil | --cache-fi \
181     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
182     ac_prev=cache_file ;;
183     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
184     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
185     cache_file=$ac_optarg ;;
186    
187     --config-cache | -C)
188     cache_file=config.cache ;;
189    
190     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
191     ac_prev=datadir ;;
192     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
193     | --da=*)
194     datadir=$ac_optarg ;;
195    
196     -disable-* | --disable-*)
197     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198     # Reject names that are not valid shell variable names.
199     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
200     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201     { (exit 1); exit 1; }; }
202     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
203     eval "enable_$ac_feature=no" ;;
204    
205     -enable-* | --enable-*)
206     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207     # Reject names that are not valid shell variable names.
208     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
209     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210     { (exit 1); exit 1; }; }
211     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
212     case $ac_option in
213     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
214     *) ac_optarg=yes ;;
215     esac
216     eval "enable_$ac_feature='$ac_optarg'" ;;
217    
218     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
219     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
220     | --exec | --exe | --ex)
221     ac_prev=exec_prefix ;;
222     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
223     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
224     | --exec=* | --exe=* | --ex=*)
225     exec_prefix=$ac_optarg ;;
226    
227     -gas | --gas | --ga | --g)
228     # Obsolete; use --with-gas.
229     with_gas=yes ;;
230    
231     -help | --help | --hel | --he | -h)
232     ac_init_help=long ;;
233     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
234     ac_init_help=recursive ;;
235     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
236     ac_init_help=short ;;
237    
238     -host | --host | --hos | --ho)
239     ac_prev=host_alias ;;
240     -host=* | --host=* | --hos=* | --ho=*)
241     host_alias=$ac_optarg ;;
242    
243     -includedir | --includedir | --includedi | --included | --include \
244     | --includ | --inclu | --incl | --inc)
245     ac_prev=includedir ;;
246     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247     | --includ=* | --inclu=* | --incl=* | --inc=*)
248     includedir=$ac_optarg ;;
249    
250     -infodir | --infodir | --infodi | --infod | --info | --inf)
251     ac_prev=infodir ;;
252     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253     infodir=$ac_optarg ;;
254    
255     -libdir | --libdir | --libdi | --libd)
256     ac_prev=libdir ;;
257     -libdir=* | --libdir=* | --libdi=* | --libd=*)
258     libdir=$ac_optarg ;;
259    
260     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261     | --libexe | --libex | --libe)
262     ac_prev=libexecdir ;;
263     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264     | --libexe=* | --libex=* | --libe=*)
265     libexecdir=$ac_optarg ;;
266    
267     -localstatedir | --localstatedir | --localstatedi | --localstated \
268     | --localstate | --localstat | --localsta | --localst \
269     | --locals | --local | --loca | --loc | --lo)
270     ac_prev=localstatedir ;;
271     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
273     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274     localstatedir=$ac_optarg ;;
275    
276     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
277     ac_prev=mandir ;;
278     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
279     mandir=$ac_optarg ;;
280    
281     -nfp | --nfp | --nf)
282     # Obsolete; use --without-fp.
283     with_fp=no ;;
284    
285     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
286     | --no-cr | --no-c)
287     no_create=yes ;;
288    
289     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
290     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
291     no_recursion=yes ;;
292    
293     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295     | --oldin | --oldi | --old | --ol | --o)
296     ac_prev=oldincludedir ;;
297     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300     oldincludedir=$ac_optarg ;;
301    
302     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
303     ac_prev=prefix ;;
304     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
305     prefix=$ac_optarg ;;
306    
307     -program-prefix | --program-prefix | --program-prefi | --program-pref \
308     | --program-pre | --program-pr | --program-p)
309     ac_prev=program_prefix ;;
310     -program-prefix=* | --program-prefix=* | --program-prefi=* \
311     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312     program_prefix=$ac_optarg ;;
313    
314     -program-suffix | --program-suffix | --program-suffi | --program-suff \
315     | --program-suf | --program-su | --program-s)
316     ac_prev=program_suffix ;;
317     -program-suffix=* | --program-suffix=* | --program-suffi=* \
318     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319     program_suffix=$ac_optarg ;;
320    
321     -program-transform-name | --program-transform-name \
322     | --program-transform-nam | --program-transform-na \
323     | --program-transform-n | --program-transform- \
324     | --program-transform | --program-transfor \
325     | --program-transfo | --program-transf \
326     | --program-trans | --program-tran \
327     | --progr-tra | --program-tr | --program-t)
328     ac_prev=program_transform_name ;;
329     -program-transform-name=* | --program-transform-name=* \
330     | --program-transform-nam=* | --program-transform-na=* \
331     | --program-transform-n=* | --program-transform-=* \
332     | --program-transform=* | --program-transfor=* \
333     | --program-transfo=* | --program-transf=* \
334     | --program-trans=* | --program-tran=* \
335     | --progr-tra=* | --program-tr=* | --program-t=*)
336     program_transform_name=$ac_optarg ;;
337    
338     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
339     | -silent | --silent | --silen | --sile | --sil)
340     silent=yes ;;
341    
342     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
343     ac_prev=sbindir ;;
344     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
345     | --sbi=* | --sb=*)
346     sbindir=$ac_optarg ;;
347    
348     -sharedstatedir | --sharedstatedir | --sharedstatedi \
349     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350     | --sharedst | --shareds | --shared | --share | --shar \
351     | --sha | --sh)
352     ac_prev=sharedstatedir ;;
353     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
356     | --sha=* | --sh=*)
357     sharedstatedir=$ac_optarg ;;
358    
359     -site | --site | --sit)
360     ac_prev=site ;;
361     -site=* | --site=* | --sit=*)
362     site=$ac_optarg ;;
363    
364     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
365     ac_prev=srcdir ;;
366     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
367     srcdir=$ac_optarg ;;
368    
369     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370     | --syscon | --sysco | --sysc | --sys | --sy)
371     ac_prev=sysconfdir ;;
372     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374     sysconfdir=$ac_optarg ;;
375    
376     -target | --target | --targe | --targ | --tar | --ta | --t)
377     ac_prev=target_alias ;;
378     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379     target_alias=$ac_optarg ;;
380    
381     -v | -verbose | --verbose | --verbos | --verbo | --verb)
382     verbose=yes ;;
383    
384     -version | --version | --versio | --versi | --vers | -V)
385     ac_init_version=: ;;
386    
387     -with-* | --with-*)
388     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389     # Reject names that are not valid shell variable names.
390     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
391     { echo "$as_me: error: invalid package name: $ac_package" >&2
392     { (exit 1); exit 1; }; }
393     ac_package=`echo $ac_package| sed 's/-/_/g'`
394     case $ac_option in
395     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
396     *) ac_optarg=yes ;;
397     esac
398     eval "with_$ac_package='$ac_optarg'" ;;
399    
400     -without-* | --without-*)
401     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402     # Reject names that are not valid shell variable names.
403     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404     { echo "$as_me: error: invalid package name: $ac_package" >&2
405     { (exit 1); exit 1; }; }
406     ac_package=`echo $ac_package | sed 's/-/_/g'`
407     eval "with_$ac_package=no" ;;
408    
409     --x)
410     # Obsolete; use --with-x.
411     with_x=yes ;;
412    
413     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
414     | --x-incl | --x-inc | --x-in | --x-i)
415     ac_prev=x_includes ;;
416     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
417     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
418     x_includes=$ac_optarg ;;
419    
420     -x-libraries | --x-libraries | --x-librarie | --x-librari \
421     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
422     ac_prev=x_libraries ;;
423     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
424     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
425     x_libraries=$ac_optarg ;;
426    
427     -*) { echo "$as_me: error: unrecognized option: $ac_option
428     Try \`$0 --help' for more information." >&2
429     { (exit 1); exit 1; }; }
430     ;;
431    
432     *=*)
433     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434     # Reject names that are not valid shell variable names.
435     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
436     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437     { (exit 1); exit 1; }; }
438     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439     eval "$ac_envvar='$ac_optarg'"
440     export $ac_envvar ;;
441    
442     *)
443     # FIXME: should be removed in autoconf 3.0.
444     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
446     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
448     ;;
449    
450     esac
451     done
452    
453     if test -n "$ac_prev"; then
454     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
455     { echo "$as_me: error: missing argument to $ac_option" >&2
456     { (exit 1); exit 1; }; }
457     fi
458    
459     # Be sure to have absolute paths.
460     for ac_var in exec_prefix prefix
461     do
462     eval ac_val=$`echo $ac_var`
463     case $ac_val in
464     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
465     *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466     { (exit 1); exit 1; }; };;
467     esac
468     done
469    
470     # Be sure to have absolute paths.
471     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472     localstatedir libdir includedir oldincludedir infodir mandir
473     do
474     eval ac_val=$`echo $ac_var`
475     case $ac_val in
476     [\\/$]* | ?:[\\/]* ) ;;
477     *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478     { (exit 1); exit 1; }; };;
479     esac
480     done
481    
482     # There might be people who depend on the old broken behavior: `$host'
483     # used to hold the argument of --host etc.
484     build=$build_alias
485     host=$host_alias
486     target=$target_alias
487    
488     # FIXME: should be removed in autoconf 3.0.
489     if test "x$host_alias" != x; then
490     if test "x$build_alias" = x; then
491     cross_compiling=maybe
492     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493     If a cross compiler is detected then cross compile mode will be used." >&2
494     elif test "x$build_alias" != "x$host_alias"; then
495     cross_compiling=yes
496     fi
497     fi
498    
499     ac_tool_prefix=
500     test -n "$host_alias" && ac_tool_prefix=$host_alias-
501    
502     test "$silent" = yes && exec 6>/dev/null
503    
504     # Find the source files, if location was not specified.
505     if test -z "$srcdir"; then
506     ac_srcdir_defaulted=yes
507     # Try the directory containing this script, then its parent.
508     ac_prog=$0
509     ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
511     srcdir=$ac_confdir
512     if test ! -r $srcdir/$ac_unique_file; then
513     srcdir=..
514     fi
515     else
516     ac_srcdir_defaulted=no
517     fi
518     if test ! -r $srcdir/$ac_unique_file; then
519     if test "$ac_srcdir_defaulted" = yes; then
520     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521     { (exit 1); exit 1; }; }
522     else
523     { echo "$as_me: error: cannot find sources in $srcdir" >&2
524     { (exit 1); exit 1; }; }
525     fi
526     fi
527     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528     ac_env_build_alias_set=${build_alias+set}
529     ac_env_build_alias_value=$build_alias
530     ac_cv_env_build_alias_set=${build_alias+set}
531     ac_cv_env_build_alias_value=$build_alias
532     ac_env_host_alias_set=${host_alias+set}
533     ac_env_host_alias_value=$host_alias
534     ac_cv_env_host_alias_set=${host_alias+set}
535     ac_cv_env_host_alias_value=$host_alias
536     ac_env_target_alias_set=${target_alias+set}
537     ac_env_target_alias_value=$target_alias
538     ac_cv_env_target_alias_set=${target_alias+set}
539     ac_cv_env_target_alias_value=$target_alias
540     ac_env_CC_set=${CC+set}
541     ac_env_CC_value=$CC
542     ac_cv_env_CC_set=${CC+set}
543     ac_cv_env_CC_value=$CC
544     ac_env_CFLAGS_set=${CFLAGS+set}
545     ac_env_CFLAGS_value=$CFLAGS
546     ac_cv_env_CFLAGS_set=${CFLAGS+set}
547     ac_cv_env_CFLAGS_value=$CFLAGS
548     ac_env_LDFLAGS_set=${LDFLAGS+set}
549     ac_env_LDFLAGS_value=$LDFLAGS
550     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
551     ac_cv_env_LDFLAGS_value=$LDFLAGS
552     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
553     ac_env_CPPFLAGS_value=$CPPFLAGS
554     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
555     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
556     ac_env_CPP_set=${CPP+set}
557     ac_env_CPP_value=$CPP
558     ac_cv_env_CPP_set=${CPP+set}
559     ac_cv_env_CPP_value=$CPP
560    
561     #
562     # Report the --help message.
563     #
564     if test "$ac_init_help" = "long"; then
565     # Omit some internal or obsolete options to make the list less imposing.
566     # This message is too long to be a string in the A/UX 3.1 sh.
567     cat <<EOF
568     \`configure' configures this package to adapt to many kinds of systems.
569    
570     Usage: $0 [OPTION]... [VAR=VALUE]...
571    
572     To assign environment variables (e.g., CC, CFLAGS...), specify them as
573     VAR=VALUE. See below for descriptions of some of the useful variables.
574    
575     Defaults for the options are specified in brackets.
576    
577     Configuration:
578     -h, --help display this help and exit
579     --help=short display options specific to this package
580     --help=recursive display the short help of all the included packages
581     -V, --version display version information and exit
582     -q, --quiet, --silent do not print \`checking...' messages
583     --cache-file=FILE cache test results in FILE [disabled]
584     -C, --config-cache alias for \`--cache-file=config.cache'
585     -n, --no-create do not create output files
586     --srcdir=DIR find the sources in DIR [configure dir or \`..']
587    
588     EOF
589    
590     cat <<EOF
591     Installation directories:
592     --prefix=PREFIX install architecture-independent files in PREFIX
593     [$ac_default_prefix]
594     --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
595     [PREFIX]
596    
597     By default, \`make install' will install all the files in
598     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
599     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
600     for instance \`--prefix=\$HOME'.
601    
602     For better control, use the options below.
603    
604     Fine tuning of the installation directories:
605     --bindir=DIR user executables [EPREFIX/bin]
606     --sbindir=DIR system admin executables [EPREFIX/sbin]
607     --libexecdir=DIR program executables [EPREFIX/libexec]
608     --datadir=DIR read-only architecture-independent data [PREFIX/share]
609     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
610     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
611     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
612     --libdir=DIR object code libraries [EPREFIX/lib]
613     --includedir=DIR C header files [PREFIX/include]
614     --oldincludedir=DIR C header files for non-gcc [/usr/include]
615     --infodir=DIR info documentation [PREFIX/info]
616     --mandir=DIR man documentation [PREFIX/man]
617     EOF
618    
619     cat <<\EOF
620    
621     Program names:
622     --program-prefix=PREFIX prepend PREFIX to installed program names
623     --program-suffix=SUFFIX append SUFFIX to installed program names
624     --program-transform-name=PROGRAM run sed PROGRAM on installed program names
625    
626     System types:
627     --build=BUILD configure for building on BUILD [guessed]
628     --host=HOST build programs to run on HOST [BUILD]
629     --target=TARGET configure for building compilers for TARGET [HOST]
630     EOF
631     fi
632    
633     if test -n "$ac_init_help"; then
634    
635     cat <<\EOF
636    
637     Optional Features:
638     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
639     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
640     --disable-dependency-tracking Speeds up one-time builds
641     --enable-dependency-tracking Do not reject slow dependency extractors
642    
643     Some influential environment variables:
644     CC C compiler command
645     CFLAGS C compiler flags
646     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
647     nonstandard directory <lib dir>
648     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
649     headers in a nonstandard directory <include dir>
650     CPP C preprocessor
651    
652     Use these variables to override the choices made by `configure' or to help
653     it to find libraries and programs with nonstandard names/locations.
654    
655     EOF
656     fi
657    
658     if test "$ac_init_help" = "recursive"; then
659     # If there are subdirs, report their specific --help.
660     ac_popdir=`pwd`
661     for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
662     cd $ac_subdir
663     # A "../" for each directory in /$ac_subdir.
664     ac_dots=`echo $ac_subdir |
665     sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
666    
667     case $srcdir in
668     .) # No --srcdir option. We are building in place.
669     ac_sub_srcdir=$srcdir ;;
670     [\\/]* | ?:[\\/]* ) # Absolute path.
671     ac_sub_srcdir=$srcdir/$ac_subdir ;;
672     *) # Relative path.
673     ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
674     esac
675    
676     # Check for guested configure; otherwise get Cygnus style configure.
677     if test -f $ac_sub_srcdir/configure.gnu; then
678     echo
679     $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
680     elif test -f $ac_sub_srcdir/configure; then
681     echo
682     $SHELL $ac_sub_srcdir/configure --help=recursive
683     elif test -f $ac_sub_srcdir/configure.ac ||
684     test -f $ac_sub_srcdir/configure.in; then
685     echo
686     $ac_configure --help
687     else
688     echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
689     fi
690     cd $ac_popdir
691     done
692     fi
693    
694     test -n "$ac_init_help" && exit 0
695     if $ac_init_version; then
696     cat <<\EOF
697    
698     Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
699     Free Software Foundation, Inc.
700     This configure script is free software; the Free Software Foundation
701     gives unlimited permission to copy, distribute and modify it.
702     EOF
703     exit 0
704     fi
705     exec 5>config.log
706     cat >&5 <<EOF
707     This file contains any messages produced by compilers while
708     running configure, to aid debugging if configure makes a mistake.
709    
710     It was created by $as_me, which was
711     generated by GNU Autoconf 2.52. Invocation command line was
712    
713     $ $0 $@
714    
715     EOF
716     {
717     cat <<_ASUNAME
718     ## ---------- ##
719     ## Platform. ##
720     ## ---------- ##
721    
722     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
723     uname -m = `(uname -m) 2>/dev/null || echo unknown`
724     uname -r = `(uname -r) 2>/dev/null || echo unknown`
725     uname -s = `(uname -s) 2>/dev/null || echo unknown`
726     uname -v = `(uname -v) 2>/dev/null || echo unknown`
727    
728     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
729     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
730    
731     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
732     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
733     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
734     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
735     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
736     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
737     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
738    
739     PATH = $PATH
740    
741     _ASUNAME
742     } >&5
743    
744     cat >&5 <<EOF
745     ## ------------ ##
746     ## Core tests. ##
747     ## ------------ ##
748    
749     EOF
750    
751     # Keep a trace of the command line.
752     # Strip out --no-create and --no-recursion so they do not pile up.
753     # Also quote any args containing shell meta-characters.
754     ac_configure_args=
755     ac_sep=
756     for ac_arg
757     do
758     case $ac_arg in
759     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
760     | --no-cr | --no-c) ;;
761     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
762     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
763     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
764     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
765     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
766     ac_sep=" " ;;
767     *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
768     ac_sep=" " ;;
769     esac
770     # Get rid of the leading space.
771     done
772    
773     # When interrupted or exit'd, cleanup temporary files, and complete
774     # config.log. We remove comments because anyway the quotes in there
775     # would cause problems or look ugly.
776     trap 'exit_status=$?
777     # Save into config.log some information that might help in debugging.
778     echo >&5
779     echo "## ----------------- ##" >&5
780     echo "## Cache variables. ##" >&5
781     echo "## ----------------- ##" >&5
782     echo >&5
783     # The following way of writing the cache mishandles newlines in values,
784     {
785     (set) 2>&1 |
786     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
787     *ac_space=\ *)
788     sed -n \
789     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
790     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
791     ;;
792     *)
793     sed -n \
794     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
795     ;;
796     esac;
797     } >&5
798     sed "/^$/d" confdefs.h >conftest.log
799     if test -s conftest.log; then
800     echo >&5
801     echo "## ------------ ##" >&5
802     echo "## confdefs.h. ##" >&5
803     echo "## ------------ ##" >&5
804     echo >&5
805     cat conftest.log >&5
806     fi
807     (echo; echo) >&5
808     test "$ac_signal" != 0 &&
809     echo "$as_me: caught signal $ac_signal" >&5
810     echo "$as_me: exit $exit_status" >&5
811     rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
812     exit $exit_status
813     ' 0
814     for ac_signal in 1 2 13 15; do
815     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
816     done
817     ac_signal=0
818    
819     # confdefs.h avoids OS command line length limits that DEFS can exceed.
820     rm -rf conftest* confdefs.h
821     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
822     echo >confdefs.h
823    
824     # Let the site file select an alternate cache file if it wants to.
825     # Prefer explicitly selected file to automatically selected ones.
826     if test -z "$CONFIG_SITE"; then
827     if test "x$prefix" != xNONE; then
828     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
829     else
830     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
831     fi
832     fi
833     for ac_site_file in $CONFIG_SITE; do
834     if test -r "$ac_site_file"; then
835     { echo "$as_me:835: loading site script $ac_site_file" >&5
836     echo "$as_me: loading site script $ac_site_file" >&6;}
837     cat "$ac_site_file" >&5
838     . "$ac_site_file"
839     fi
840     done
841    
842     if test -r "$cache_file"; then
843     # Some versions of bash will fail to source /dev/null (special
844     # files actually), so we avoid doing that.
845     if test -f "$cache_file"; then
846     { echo "$as_me:846: loading cache $cache_file" >&5
847     echo "$as_me: loading cache $cache_file" >&6;}
848     case $cache_file in
849     [\\/]* | ?:[\\/]* ) . $cache_file;;
850     *) . ./$cache_file;;
851     esac
852     fi
853     else
854     { echo "$as_me:854: creating cache $cache_file" >&5
855     echo "$as_me: creating cache $cache_file" >&6;}
856     >$cache_file
857     fi
858    
859     # Check that the precious variables saved in the cache have kept the same
860     # value.
861     ac_cache_corrupted=false
862     for ac_var in `(set) 2>&1 |
863     sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
864     eval ac_old_set=\$ac_cv_env_${ac_var}_set
865     eval ac_new_set=\$ac_env_${ac_var}_set
866     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
867     eval ac_new_val="\$ac_env_${ac_var}_value"
868     case $ac_old_set,$ac_new_set in
869     set,)
870     { echo "$as_me:870: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
871     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
872     ac_cache_corrupted=: ;;
873     ,set)
874     { echo "$as_me:874: error: \`$ac_var' was not set in the previous run" >&5
875     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
876     ac_cache_corrupted=: ;;
877     ,);;
878     *)
879     if test "x$ac_old_val" != "x$ac_new_val"; then
880     { echo "$as_me:880: error: \`$ac_var' has changed since the previous run:" >&5
881     echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
882     { echo "$as_me:882: former value: $ac_old_val" >&5
883     echo "$as_me: former value: $ac_old_val" >&2;}
884     { echo "$as_me:884: current value: $ac_new_val" >&5
885     echo "$as_me: current value: $ac_new_val" >&2;}
886     ac_cache_corrupted=:
887     fi;;
888     esac
889     # Pass precious variables to config.status. It doesn't matter if
890     # we pass some twice (in addition to the command line arguments).
891     if test "$ac_new_set" = set; then
892     case $ac_new_val in
893     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
894     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
895     ac_configure_args="$ac_configure_args '$ac_arg'"
896     ;;
897     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
898     ;;
899     esac
900     fi
901     done
902     if $ac_cache_corrupted; then
903     { echo "$as_me:903: error: changes in the environment can compromise the build" >&5
904     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
905     { { echo "$as_me:905: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
906     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
907     { (exit 1); exit 1; }; }
908     fi
909    
910     ac_ext=c
911     ac_cpp='$CPP $CPPFLAGS'
912     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
913     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
914     ac_compiler_gnu=$ac_cv_c_compiler_gnu
915    
916     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
917     *c*,-n*) ECHO_N= ECHO_C='
918     ' ECHO_T=' ' ;;
919     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
920     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
921     esac
922     echo "#! $SHELL" >conftest.sh
923     echo "exit 0" >>conftest.sh
924     chmod +x conftest.sh
925     if { (echo "$as_me:925: PATH=\".;.\"; conftest.sh") >&5
926     (PATH=".;."; conftest.sh) 2>&5
927     ac_status=$?
928     echo "$as_me:928: \$? = $ac_status" >&5
929     (exit $ac_status); }; then
930     ac_path_separator=';'
931     else
932     ac_path_separator=:
933     fi
934     PATH_SEPARATOR="$ac_path_separator"
935     rm -f conftest.sh
936    
937     ac_ext=c
938     ac_cpp='$CPP $CPPFLAGS'
939     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
940     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
941     ac_compiler_gnu=$ac_cv_c_compiler_gnu
942     if test -n "$ac_tool_prefix"; then
943     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
944     set dummy ${ac_tool_prefix}gcc; ac_word=$2
945     echo "$as_me:945: checking for $ac_word" >&5
946     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
947     if test "${ac_cv_prog_CC+set}" = set; then
948     echo $ECHO_N "(cached) $ECHO_C" >&6
949     else
950     if test -n "$CC"; then
951     ac_cv_prog_CC="$CC" # Let the user override the test.
952     else
953     ac_save_IFS=$IFS; IFS=$ac_path_separator
954     ac_dummy="$PATH"
955     for ac_dir in $ac_dummy; do
956     IFS=$ac_save_IFS
957     test -z "$ac_dir" && ac_dir=.
958     $as_executable_p "$ac_dir/$ac_word" || continue
959     ac_cv_prog_CC="${ac_tool_prefix}gcc"
960     echo "$as_me:960: found $ac_dir/$ac_word" >&5
961     break
962     done
963    
964     fi
965     fi
966     CC=$ac_cv_prog_CC
967     if test -n "$CC"; then
968     echo "$as_me:968: result: $CC" >&5
969     echo "${ECHO_T}$CC" >&6
970     else
971     echo "$as_me:971: result: no" >&5
972     echo "${ECHO_T}no" >&6
973     fi
974    
975     fi
976     if test -z "$ac_cv_prog_CC"; then
977     ac_ct_CC=$CC
978     # Extract the first word of "gcc", so it can be a program name with args.
979     set dummy gcc; ac_word=$2
980     echo "$as_me:980: checking for $ac_word" >&5
981     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
982     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
983     echo $ECHO_N "(cached) $ECHO_C" >&6
984     else
985     if test -n "$ac_ct_CC"; then
986     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
987     else
988     ac_save_IFS=$IFS; IFS=$ac_path_separator
989     ac_dummy="$PATH"
990     for ac_dir in $ac_dummy; do
991     IFS=$ac_save_IFS
992     test -z "$ac_dir" && ac_dir=.
993     $as_executable_p "$ac_dir/$ac_word" || continue
994     ac_cv_prog_ac_ct_CC="gcc"
995     echo "$as_me:995: found $ac_dir/$ac_word" >&5
996     break
997     done
998    
999     fi
1000     fi
1001     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1002     if test -n "$ac_ct_CC"; then
1003     echo "$as_me:1003: result: $ac_ct_CC" >&5
1004     echo "${ECHO_T}$ac_ct_CC" >&6
1005     else
1006     echo "$as_me:1006: result: no" >&5
1007     echo "${ECHO_T}no" >&6
1008     fi
1009    
1010     CC=$ac_ct_CC
1011     else
1012     CC="$ac_cv_prog_CC"
1013     fi
1014    
1015     if test -z "$CC"; then
1016     if test -n "$ac_tool_prefix"; then
1017     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1018     set dummy ${ac_tool_prefix}cc; ac_word=$2
1019     echo "$as_me:1019: checking for $ac_word" >&5
1020     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1021     if test "${ac_cv_prog_CC+set}" = set; then
1022     echo $ECHO_N "(cached) $ECHO_C" >&6
1023     else
1024     if test -n "$CC"; then
1025     ac_cv_prog_CC="$CC" # Let the user override the test.
1026     else
1027     ac_save_IFS=$IFS; IFS=$ac_path_separator
1028     ac_dummy="$PATH"
1029     for ac_dir in $ac_dummy; do
1030     IFS=$ac_save_IFS
1031     test -z "$ac_dir" && ac_dir=.
1032     $as_executable_p "$ac_dir/$ac_word" || continue
1033     ac_cv_prog_CC="${ac_tool_prefix}cc"
1034     echo "$as_me:1034: found $ac_dir/$ac_word" >&5
1035     break
1036     done
1037    
1038     fi
1039     fi
1040     CC=$ac_cv_prog_CC
1041     if test -n "$CC"; then
1042     echo "$as_me:1042: result: $CC" >&5
1043     echo "${ECHO_T}$CC" >&6
1044     else
1045     echo "$as_me:1045: result: no" >&5
1046     echo "${ECHO_T}no" >&6
1047     fi
1048    
1049     fi
1050     if test -z "$ac_cv_prog_CC"; then
1051     ac_ct_CC=$CC
1052     # Extract the first word of "cc", so it can be a program name with args.
1053     set dummy cc; ac_word=$2
1054     echo "$as_me:1054: checking for $ac_word" >&5
1055     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1056     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1057     echo $ECHO_N "(cached) $ECHO_C" >&6
1058     else
1059     if test -n "$ac_ct_CC"; then
1060     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1061     else
1062     ac_save_IFS=$IFS; IFS=$ac_path_separator
1063     ac_dummy="$PATH"
1064     for ac_dir in $ac_dummy; do
1065     IFS=$ac_save_IFS
1066     test -z "$ac_dir" && ac_dir=.
1067     $as_executable_p "$ac_dir/$ac_word" || continue
1068     ac_cv_prog_ac_ct_CC="cc"
1069     echo "$as_me:1069: found $ac_dir/$ac_word" >&5
1070     break
1071     done
1072    
1073     fi
1074     fi
1075     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1076     if test -n "$ac_ct_CC"; then
1077     echo "$as_me:1077: result: $ac_ct_CC" >&5
1078     echo "${ECHO_T}$ac_ct_CC" >&6
1079     else
1080     echo "$as_me:1080: result: no" >&5
1081     echo "${ECHO_T}no" >&6
1082     fi
1083    
1084     CC=$ac_ct_CC
1085     else
1086     CC="$ac_cv_prog_CC"
1087     fi
1088    
1089     fi
1090     if test -z "$CC"; then
1091     # Extract the first word of "cc", so it can be a program name with args.
1092     set dummy cc; ac_word=$2
1093     echo "$as_me:1093: checking for $ac_word" >&5
1094     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1095     if test "${ac_cv_prog_CC+set}" = set; then
1096     echo $ECHO_N "(cached) $ECHO_C" >&6
1097     else
1098     if test -n "$CC"; then
1099     ac_cv_prog_CC="$CC" # Let the user override the test.
1100     else
1101     ac_prog_rejected=no
1102     ac_save_IFS=$IFS; IFS=$ac_path_separator
1103     ac_dummy="$PATH"
1104     for ac_dir in $ac_dummy; do
1105     IFS=$ac_save_IFS
1106     test -z "$ac_dir" && ac_dir=.
1107     $as_executable_p "$ac_dir/$ac_word" || continue
1108     if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1109     ac_prog_rejected=yes
1110     continue
1111     fi
1112     ac_cv_prog_CC="cc"
1113     echo "$as_me:1113: found $ac_dir/$ac_word" >&5
1114     break
1115     done
1116    
1117     if test $ac_prog_rejected = yes; then
1118     # We found a bogon in the path, so make sure we never use it.
1119     set dummy $ac_cv_prog_CC
1120     shift
1121     if test $# != 0; then
1122     # We chose a different compiler from the bogus one.
1123     # However, it has the same basename, so the bogon will be chosen
1124     # first if we set CC to just the basename; use the full file name.
1125     shift
1126     set dummy "$ac_dir/$ac_word" ${1+"$@"}
1127     shift
1128     ac_cv_prog_CC="$@"
1129     fi
1130     fi
1131     fi
1132     fi
1133     CC=$ac_cv_prog_CC
1134     if test -n "$CC"; then
1135     echo "$as_me:1135: result: $CC" >&5
1136     echo "${ECHO_T}$CC" >&6
1137     else
1138     echo "$as_me:1138: result: no" >&5
1139     echo "${ECHO_T}no" >&6
1140     fi
1141    
1142     fi
1143     if test -z "$CC"; then
1144     if test -n "$ac_tool_prefix"; then
1145     for ac_prog in cl
1146     do
1147     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1148     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1149     echo "$as_me:1149: checking for $ac_word" >&5
1150     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1151     if test "${ac_cv_prog_CC+set}" = set; then
1152     echo $ECHO_N "(cached) $ECHO_C" >&6
1153     else
1154     if test -n "$CC"; then
1155     ac_cv_prog_CC="$CC" # Let the user override the test.
1156     else
1157     ac_save_IFS=$IFS; IFS=$ac_path_separator
1158     ac_dummy="$PATH"
1159     for ac_dir in $ac_dummy; do
1160     IFS=$ac_save_IFS
1161     test -z "$ac_dir" && ac_dir=.
1162     $as_executable_p "$ac_dir/$ac_word" || continue
1163     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1164     echo "$as_me:1164: found $ac_dir/$ac_word" >&5
1165     break
1166     done
1167    
1168     fi
1169     fi
1170     CC=$ac_cv_prog_CC
1171     if test -n "$CC"; then
1172     echo "$as_me:1172: result: $CC" >&5
1173     echo "${ECHO_T}$CC" >&6
1174     else
1175     echo "$as_me:1175: result: no" >&5
1176     echo "${ECHO_T}no" >&6
1177     fi
1178    
1179     test -n "$CC" && break
1180     done
1181     fi
1182     if test -z "$CC"; then
1183     ac_ct_CC=$CC
1184     for ac_prog in cl
1185     do
1186     # Extract the first word of "$ac_prog", so it can be a program name with args.
1187     set dummy $ac_prog; ac_word=$2
1188     echo "$as_me:1188: checking for $ac_word" >&5
1189     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1190     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1191     echo $ECHO_N "(cached) $ECHO_C" >&6
1192     else
1193     if test -n "$ac_ct_CC"; then
1194     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1195     else
1196     ac_save_IFS=$IFS; IFS=$ac_path_separator
1197     ac_dummy="$PATH"
1198     for ac_dir in $ac_dummy; do
1199     IFS=$ac_save_IFS
1200     test -z "$ac_dir" && ac_dir=.
1201     $as_executable_p "$ac_dir/$ac_word" || continue
1202     ac_cv_prog_ac_ct_CC="$ac_prog"
1203     echo "$as_me:1203: found $ac_dir/$ac_word" >&5
1204     break
1205     done
1206    
1207     fi
1208     fi
1209     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1210     if test -n "$ac_ct_CC"; then
1211     echo "$as_me:1211: result: $ac_ct_CC" >&5
1212     echo "${ECHO_T}$ac_ct_CC" >&6
1213     else
1214     echo "$as_me:1214: result: no" >&5
1215     echo "${ECHO_T}no" >&6
1216     fi
1217    
1218     test -n "$ac_ct_CC" && break
1219     done
1220    
1221     CC=$ac_ct_CC
1222     fi
1223    
1224     fi
1225    
1226     test -z "$CC" && { { echo "$as_me:1226: error: no acceptable cc found in \$PATH" >&5
1227     echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1228     { (exit 1); exit 1; }; }
1229    
1230     # Provide some information about the compiler.
1231     echo "$as_me:1231:" \
1232     "checking for C compiler version" >&5
1233     ac_compiler=`set X $ac_compile; echo $2`
1234     { (eval echo "$as_me:1234: \"$ac_compiler --version </dev/null >&5\"") >&5
1235     (eval $ac_compiler --version </dev/null >&5) 2>&5
1236     ac_status=$?
1237     echo "$as_me:1237: \$? = $ac_status" >&5
1238     (exit $ac_status); }
1239     { (eval echo "$as_me:1239: \"$ac_compiler -v </dev/null >&5\"") >&5
1240     (eval $ac_compiler -v </dev/null >&5) 2>&5
1241     ac_status=$?
1242     echo "$as_me:1242: \$? = $ac_status" >&5
1243     (exit $ac_status); }
1244     { (eval echo "$as_me:1244: \"$ac_compiler -V </dev/null >&5\"") >&5
1245     (eval $ac_compiler -V </dev/null >&5) 2>&5
1246     ac_status=$?
1247     echo "$as_me:1247: \$? = $ac_status" >&5
1248     (exit $ac_status); }
1249    
1250     cat >conftest.$ac_ext <<_ACEOF
1251     #line 1251 "configure"
1252     #include "confdefs.h"
1253    
1254     int
1255     main ()
1256     {
1257    
1258     ;
1259     return 0;
1260     }
1261     _ACEOF
1262     ac_clean_files_save=$ac_clean_files
1263     ac_clean_files="$ac_clean_files a.out a.exe"
1264     # Try to create an executable without -o first, disregard a.out.
1265     # It will help us diagnose broken compilers, and finding out an intuition
1266     # of exeext.
1267     echo "$as_me:1267: checking for C compiler default output" >&5
1268     echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1269     ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1270     if { (eval echo "$as_me:1270: \"$ac_link_default\"") >&5
1271     (eval $ac_link_default) 2>&5
1272     ac_status=$?
1273     echo "$as_me:1273: \$? = $ac_status" >&5
1274     (exit $ac_status); }; then
1275     # Find the output, starting from the most likely. This scheme is
1276     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1277     # resort.
1278     for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1279     ls a.out conftest 2>/dev/null;
1280     ls a.* conftest.* 2>/dev/null`; do
1281     case $ac_file in
1282     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1283     a.out ) # We found the default executable, but exeext='' is most
1284     # certainly right.
1285     break;;
1286     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1287     # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1288     export ac_cv_exeext
1289     break;;
1290     * ) break;;
1291     esac
1292     done
1293     else
1294     echo "$as_me: failed program was:" >&5
1295     cat conftest.$ac_ext >&5
1296     { { echo "$as_me:1296: error: C compiler cannot create executables" >&5
1297     echo "$as_me: error: C compiler cannot create executables" >&2;}
1298     { (exit 77); exit 77; }; }
1299     fi
1300    
1301     ac_exeext=$ac_cv_exeext
1302     echo "$as_me:1302: result: $ac_file" >&5
1303     echo "${ECHO_T}$ac_file" >&6
1304    
1305     # Check the compiler produces executables we can run. If not, either
1306     # the compiler is broken, or we cross compile.
1307     echo "$as_me:1307: checking whether the C compiler works" >&5
1308     echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1309     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1310     # If not cross compiling, check that we can run a simple program.
1311     if test "$cross_compiling" != yes; then
1312     if { ac_try='./$ac_file'
1313     { (eval echo "$as_me:1313: \"$ac_try\"") >&5
1314     (eval $ac_try) 2>&5
1315     ac_status=$?
1316     echo "$as_me:1316: \$? = $ac_status" >&5
1317     (exit $ac_status); }; }; then
1318     cross_compiling=no
1319     else
1320     if test "$cross_compiling" = maybe; then
1321     cross_compiling=yes
1322     else
1323     { { echo "$as_me:1323: error: cannot run C compiled programs.
1324     If you meant to cross compile, use \`--host'." >&5
1325     echo "$as_me: error: cannot run C compiled programs.
1326     If you meant to cross compile, use \`--host'." >&2;}
1327     { (exit 1); exit 1; }; }
1328     fi
1329     fi
1330     fi
1331     echo "$as_me:1331: result: yes" >&5
1332     echo "${ECHO_T}yes" >&6
1333    
1334     rm -f a.out a.exe conftest$ac_cv_exeext
1335     ac_clean_files=$ac_clean_files_save
1336     # Check the compiler produces executables we can run. If not, either
1337     # the compiler is broken, or we cross compile.
1338     echo "$as_me:1338: checking whether we are cross compiling" >&5
1339     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1340     echo "$as_me:1340: result: $cross_compiling" >&5
1341     echo "${ECHO_T}$cross_compiling" >&6
1342    
1343     echo "$as_me:1343: checking for executable suffix" >&5
1344     echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1345     if { (eval echo "$as_me:1345: \"$ac_link\"") >&5
1346     (eval $ac_link) 2>&5
1347     ac_status=$?
1348     echo "$as_me:1348: \$? = $ac_status" >&5
1349     (exit $ac_status); }; then
1350     # If both `conftest.exe' and `conftest' are `present' (well, observable)
1351     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1352     # work properly (i.e., refer to `conftest.exe'), while it won't with
1353     # `rm'.
1354     for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1355     case $ac_file in
1356     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1357     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1358     export ac_cv_exeext
1359     break;;
1360     * ) break;;
1361     esac
1362     done
1363     else
1364     { { echo "$as_me:1364: error: cannot compute EXEEXT: cannot compile and link" >&5
1365     echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1366     { (exit 1); exit 1; }; }
1367     fi
1368    
1369     rm -f conftest$ac_cv_exeext
1370     echo "$as_me:1370: result: $ac_cv_exeext" >&5
1371     echo "${ECHO_T}$ac_cv_exeext" >&6
1372    
1373     rm -f conftest.$ac_ext
1374     EXEEXT=$ac_cv_exeext
1375     ac_exeext=$EXEEXT
1376     echo "$as_me:1376: checking for object suffix" >&5
1377     echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1378     if test "${ac_cv_objext+set}" = set; then
1379     echo $ECHO_N "(cached) $ECHO_C" >&6
1380     else
1381     cat >conftest.$ac_ext <<_ACEOF
1382     #line 1382 "configure"
1383     #include "confdefs.h"
1384    
1385     int
1386     main ()
1387     {
1388    
1389     ;
1390     return 0;
1391     }
1392     _ACEOF
1393     rm -f conftest.o conftest.obj
1394     if { (eval echo "$as_me:1394: \"$ac_compile\"") >&5
1395     (eval $ac_compile) 2>&5
1396     ac_status=$?
1397     echo "$as_me:1397: \$? = $ac_status" >&5
1398     (exit $ac_status); }; then
1399     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1400     case $ac_file in
1401     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1402     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1403     break;;
1404     esac
1405     done
1406     else
1407     echo "$as_me: failed program was:" >&5
1408     cat conftest.$ac_ext >&5
1409     { { echo "$as_me:1409: error: cannot compute OBJEXT: cannot compile" >&5
1410     echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1411     { (exit 1); exit 1; }; }
1412     fi
1413    
1414     rm -f conftest.$ac_cv_objext conftest.$ac_ext
1415     fi
1416     echo "$as_me:1416: result: $ac_cv_objext" >&5
1417     echo "${ECHO_T}$ac_cv_objext" >&6
1418     OBJEXT=$ac_cv_objext
1419     ac_objext=$OBJEXT
1420     echo "$as_me:1420: checking whether we are using the GNU C compiler" >&5
1421     echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1422     if test "${ac_cv_c_compiler_gnu+set}" = set; then
1423     echo $ECHO_N "(cached) $ECHO_C" >&6
1424     else
1425     cat >conftest.$ac_ext <<_ACEOF
1426     #line 1426 "configure"
1427     #include "confdefs.h"
1428    
1429     int
1430     main ()
1431     {
1432     #ifndef __GNUC__
1433     choke me
1434     #endif
1435    
1436     ;
1437     return 0;
1438     }
1439     _ACEOF
1440     rm -f conftest.$ac_objext
1441     if { (eval echo "$as_me:1441: \"$ac_compile\"") >&5
1442     (eval $ac_compile) 2>&5
1443     ac_status=$?
1444     echo "$as_me:1444: \$? = $ac_status" >&5
1445     (exit $ac_status); } &&
1446     { ac_try='test -s conftest.$ac_objext'
1447     { (eval echo "$as_me:1447: \"$ac_try\"") >&5
1448     (eval $ac_try) 2>&5
1449     ac_status=$?
1450     echo "$as_me:1450: \$? = $ac_status" >&5
1451     (exit $ac_status); }; }; then
1452     ac_compiler_gnu=yes
1453     else
1454     echo "$as_me: failed program was:" >&5
1455     cat conftest.$ac_ext >&5
1456     ac_compiler_gnu=no
1457     fi
1458     rm -f conftest.$ac_objext conftest.$ac_ext
1459     ac_cv_c_compiler_gnu=$ac_compiler_gnu
1460    
1461     fi
1462     echo "$as_me:1462: result: $ac_cv_c_compiler_gnu" >&5
1463     echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1464     GCC=`test $ac_compiler_gnu = yes && echo yes`
1465     ac_test_CFLAGS=${CFLAGS+set}
1466     ac_save_CFLAGS=$CFLAGS
1467     CFLAGS="-g"
1468     echo "$as_me:1468: checking whether $CC accepts -g" >&5
1469     echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1470     if test "${ac_cv_prog_cc_g+set}" = set; then
1471     echo $ECHO_N "(cached) $ECHO_C" >&6
1472     else
1473     cat >conftest.$ac_ext <<_ACEOF
1474     #line 1474 "configure"
1475     #include "confdefs.h"
1476    
1477     int
1478     main ()
1479     {
1480    
1481     ;
1482     return 0;
1483     }
1484     _ACEOF
1485     rm -f conftest.$ac_objext
1486     if { (eval echo "$as_me:1486: \"$ac_compile\"") >&5
1487     (eval $ac_compile) 2>&5
1488     ac_status=$?
1489     echo "$as_me:1489: \$? = $ac_status" >&5
1490     (exit $ac_status); } &&
1491     { ac_try='test -s conftest.$ac_objext'
1492     { (eval echo "$as_me:1492: \"$ac_try\"") >&5
1493     (eval $ac_try) 2>&5
1494     ac_status=$?
1495     echo "$as_me:1495: \$? = $ac_status" >&5
1496     (exit $ac_status); }; }; then
1497     ac_cv_prog_cc_g=yes
1498     else
1499     echo "$as_me: failed program was:" >&5
1500     cat conftest.$ac_ext >&5
1501     ac_cv_prog_cc_g=no
1502     fi
1503     rm -f conftest.$ac_objext conftest.$ac_ext
1504     fi
1505     echo "$as_me:1505: result: $ac_cv_prog_cc_g" >&5
1506     echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1507     if test "$ac_test_CFLAGS" = set; then
1508     CFLAGS=$ac_save_CFLAGS
1509     elif test $ac_cv_prog_cc_g = yes; then
1510     if test "$GCC" = yes; then
1511     CFLAGS="-g -O2"
1512     else
1513     CFLAGS="-g"
1514     fi
1515     else
1516     if test "$GCC" = yes; then
1517     CFLAGS="-O2"
1518     else
1519     CFLAGS=
1520     fi
1521     fi
1522     # Some people use a C++ compiler to compile C. Since we use `exit',
1523     # in C++ we need to declare it. In case someone uses the same compiler
1524     # for both compiling C and C++ we need to have the C++ compiler decide
1525     # the declaration of exit, since it's the most demanding environment.
1526     cat >conftest.$ac_ext <<_ACEOF
1527     #ifndef __cplusplus
1528     choke me
1529     #endif
1530     _ACEOF
1531     rm -f conftest.$ac_objext
1532     if { (eval echo "$as_me:1532: \"$ac_compile\"") >&5
1533     (eval $ac_compile) 2>&5
1534     ac_status=$?
1535     echo "$as_me:1535: \$? = $ac_status" >&5
1536     (exit $ac_status); } &&
1537     { ac_try='test -s conftest.$ac_objext'
1538     { (eval echo "$as_me:1538: \"$ac_try\"") >&5
1539     (eval $ac_try) 2>&5
1540     ac_status=$?
1541     echo "$as_me:1541: \$? = $ac_status" >&5
1542     (exit $ac_status); }; }; then
1543     for ac_declaration in \
1544     ''\
1545     '#include <stdlib.h>' \
1546     'extern "C" void std::exit (int) throw (); using std::exit;' \
1547     'extern "C" void std::exit (int); using std::exit;' \
1548     'extern "C" void exit (int) throw ();' \
1549     'extern "C" void exit (int);' \
1550     'void exit (int);'
1551     do
1552     cat >conftest.$ac_ext <<_ACEOF
1553     #line 1553 "configure"
1554     #include "confdefs.h"
1555     #include <stdlib.h>
1556     $ac_declaration
1557     int
1558     main ()
1559     {
1560     exit (42);
1561     ;
1562     return 0;
1563     }
1564     _ACEOF
1565     rm -f conftest.$ac_objext
1566     if { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
1567     (eval $ac_compile) 2>&5
1568     ac_status=$?
1569     echo "$as_me:1569: \$? = $ac_status" >&5
1570     (exit $ac_status); } &&
1571     { ac_try='test -s conftest.$ac_objext'
1572     { (eval echo "$as_me:1572: \"$ac_try\"") >&5
1573     (eval $ac_try) 2>&5
1574     ac_status=$?
1575     echo "$as_me:1575: \$? = $ac_status" >&5
1576     (exit $ac_status); }; }; then
1577     :
1578     else
1579     echo "$as_me: failed program was:" >&5
1580     cat conftest.$ac_ext >&5
1581     continue
1582     fi
1583     rm -f conftest.$ac_objext conftest.$ac_ext
1584     cat >conftest.$ac_ext <<_ACEOF
1585     #line 1585 "configure"
1586     #include "confdefs.h"
1587     $ac_declaration
1588     int
1589     main ()
1590     {
1591     exit (42);
1592     ;
1593     return 0;
1594     }
1595     _ACEOF
1596     rm -f conftest.$ac_objext
1597     if { (eval echo "$as_me:1597: \"$ac_compile\"") >&5
1598     (eval $ac_compile) 2>&5
1599     ac_status=$?
1600     echo "$as_me:1600: \$? = $ac_status" >&5
1601     (exit $ac_status); } &&
1602     { ac_try='test -s conftest.$ac_objext'
1603     { (eval echo "$as_me:1603: \"$ac_try\"") >&5
1604     (eval $ac_try) 2>&5
1605     ac_status=$?
1606     echo "$as_me:1606: \$? = $ac_status" >&5
1607     (exit $ac_status); }; }; then
1608     break
1609     else
1610     echo "$as_me: failed program was:" >&5
1611     cat conftest.$ac_ext >&5
1612     fi
1613     rm -f conftest.$ac_objext conftest.$ac_ext
1614     done
1615     rm -f conftest*
1616     if test -n "$ac_declaration"; then
1617     echo '#ifdef __cplusplus' >>confdefs.h
1618     echo $ac_declaration >>confdefs.h
1619     echo '#endif' >>confdefs.h
1620     fi
1621    
1622     else
1623     echo "$as_me: failed program was:" >&5
1624     cat conftest.$ac_ext >&5
1625     fi
1626     rm -f conftest.$ac_objext conftest.$ac_ext
1627     ac_ext=c
1628     ac_cpp='$CPP $CPPFLAGS'
1629     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1630     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1631     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1632    
1633     ac_aux_dir=
1634     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1635     if test -f $ac_dir/install-sh; then
1636     ac_aux_dir=$ac_dir
1637     ac_install_sh="$ac_aux_dir/install-sh -c"
1638     break
1639     elif test -f $ac_dir/install.sh; then
1640     ac_aux_dir=$ac_dir
1641     ac_install_sh="$ac_aux_dir/install.sh -c"
1642     break
1643     elif test -f $ac_dir/shtool; then
1644     ac_aux_dir=$ac_dir
1645     ac_install_sh="$ac_aux_dir/shtool install -c"
1646     break
1647     fi
1648     done
1649     if test -z "$ac_aux_dir"; then
1650     { { echo "$as_me:1650: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1651     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1652     { (exit 1); exit 1; }; }
1653     fi
1654     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1655     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1656     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1657    
1658     # Find a good install program. We prefer a C program (faster),
1659     # so one script is as good as another. But avoid the broken or
1660     # incompatible versions:
1661     # SysV /etc/install, /usr/sbin/install
1662     # SunOS /usr/etc/install
1663     # IRIX /sbin/install
1664     # AIX /bin/install
1665     # AmigaOS /C/install, which installs bootblocks on floppy discs
1666     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1667     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1668     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1669     # ./install, which can be erroneously created by make from ./install.sh.
1670     echo "$as_me:1670: checking for a BSD compatible install" >&5
1671     echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1672     if test -z "$INSTALL"; then
1673     if test "${ac_cv_path_install+set}" = set; then
1674     echo $ECHO_N "(cached) $ECHO_C" >&6
1675     else
1676     ac_save_IFS=$IFS; IFS=$ac_path_separator
1677     for ac_dir in $PATH; do
1678     IFS=$ac_save_IFS
1679     # Account for people who put trailing slashes in PATH elements.
1680     case $ac_dir/ in
1681     / | ./ | .// | /cC/* \
1682     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1683     | /usr/ucb/* ) ;;
1684     *)
1685     # OSF1 and SCO ODT 3.0 have their own names for install.
1686     # Don't use installbsd from OSF since it installs stuff as root
1687     # by default.
1688     for ac_prog in ginstall scoinst install; do
1689     if $as_executable_p "$ac_dir/$ac_prog"; then
1690     if test $ac_prog = install &&
1691     grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1692     # AIX install. It has an incompatible calling convention.
1693     :
1694     elif test $ac_prog = install &&
1695     grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1696     # program-specific install script used by HP pwplus--don't use.
1697     :
1698     else
1699     ac_cv_path_install="$ac_dir/$ac_prog -c"
1700     break 2
1701     fi
1702     fi
1703     done
1704     ;;
1705     esac
1706     done
1707    
1708     fi
1709     if test "${ac_cv_path_install+set}" = set; then
1710     INSTALL=$ac_cv_path_install
1711     else
1712     # As a last resort, use the slow shell script. We don't cache a
1713     # path for INSTALL within a source directory, because that will
1714     # break other packages using the cache if that directory is
1715     # removed, or if the path is relative.
1716     INSTALL=$ac_install_sh
1717     fi
1718     fi
1719     echo "$as_me:1719: result: $INSTALL" >&5
1720     echo "${ECHO_T}$INSTALL" >&6
1721    
1722     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1723     # It thinks the first close brace ends the variable substitution.
1724     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1725    
1726     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1727    
1728     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1729    
1730     # Make sure we can run config.sub.
1731     $ac_config_sub sun4 >/dev/null 2>&1 ||
1732     { { echo "$as_me:1732: error: cannot run $ac_config_sub" >&5
1733     echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1734     { (exit 1); exit 1; }; }
1735    
1736     echo "$as_me:1736: checking build system type" >&5
1737     echo $ECHO_N "checking build system type... $ECHO_C" >&6
1738     if test "${ac_cv_build+set}" = set; then
1739     echo $ECHO_N "(cached) $ECHO_C" >&6
1740     else
1741     ac_cv_build_alias=$build_alias
1742     test -z "$ac_cv_build_alias" &&
1743     ac_cv_build_alias=`$ac_config_guess`
1744     test -z "$ac_cv_build_alias" &&
1745     { { echo "$as_me:1745: error: cannot guess build type; you must specify one" >&5
1746     echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1747     { (exit 1); exit 1; }; }
1748     ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1749     { { echo "$as_me:1749: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1750     echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1751     { (exit 1); exit 1; }; }
1752    
1753     fi
1754     echo "$as_me:1754: result: $ac_cv_build" >&5
1755     echo "${ECHO_T}$ac_cv_build" >&6
1756     build=$ac_cv_build
1757     build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1758     build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1759     build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1760    
1761     echo "$as_me:1761: checking host system type" >&5
1762     echo $ECHO_N "checking host system type... $ECHO_C" >&6
1763     if test "${ac_cv_host+set}" = set; then
1764     echo $ECHO_N "(cached) $ECHO_C" >&6
1765     else
1766     ac_cv_host_alias=$host_alias
1767     test -z "$ac_cv_host_alias" &&
1768     ac_cv_host_alias=$ac_cv_build_alias
1769     ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1770     { { echo "$as_me:1770: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1771     echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1772     { (exit 1); exit 1; }; }
1773    
1774     fi
1775     echo "$as_me:1775: result: $ac_cv_host" >&5
1776     echo "${ECHO_T}$ac_cv_host" >&6
1777     host=$ac_cv_host
1778     host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1779     host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1780     host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1781    
1782     echo "$as_me:1782: checking target system type" >&5
1783     echo $ECHO_N "checking target system type... $ECHO_C" >&6
1784     if test "${ac_cv_target+set}" = set; then
1785     echo $ECHO_N "(cached) $ECHO_C" >&6
1786     else
1787     ac_cv_target_alias=$target_alias
1788     test "x$ac_cv_target_alias" = "x" &&
1789     ac_cv_target_alias=$ac_cv_host_alias
1790     ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1791     { { echo "$as_me:1791: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1792     echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1793     { (exit 1); exit 1; }; }
1794    
1795     fi
1796     echo "$as_me:1796: result: $ac_cv_target" >&5
1797     echo "${ECHO_T}$ac_cv_target" >&6
1798     target=$ac_cv_target
1799     target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1800     target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1801     target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1802    
1803     # The aliases save the names the user supplied, while $host etc.
1804     # will get canonicalized.
1805     test -n "$target_alias" &&
1806     test "$program_prefix$program_suffix$program_transform_name" = \
1807     NONENONEs,x,x, &&
1808     program_prefix=${target_alias}-
1809     case "$target_os" in
1810     sunos*)
1811     cat >>confdefs.h <<\EOF
1812     #define SUNOS 1
1813     EOF
1814    
1815     echo "$as_me:1815: checking for main in -lsocket" >&5
1816     echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
1817     if test "${ac_cv_lib_socket_main+set}" = set; then
1818     echo $ECHO_N "(cached) $ECHO_C" >&6
1819     else
1820     ac_check_lib_save_LIBS=$LIBS
1821     LIBS="-lsocket $LIBS"
1822     cat >conftest.$ac_ext <<_ACEOF
1823     #line 1823 "configure"
1824     #include "confdefs.h"
1825    
1826     int
1827     main ()
1828     {
1829     main ();
1830     ;
1831     return 0;
1832     }
1833     _ACEOF
1834     rm -f conftest.$ac_objext conftest$ac_exeext
1835     if { (eval echo "$as_me:1835: \"$ac_link\"") >&5
1836     (eval $ac_link) 2>&5
1837     ac_status=$?
1838     echo "$as_me:1838: \$? = $ac_status" >&5
1839     (exit $ac_status); } &&
1840     { ac_try='test -s conftest$ac_exeext'
1841     { (eval echo "$as_me:1841: \"$ac_try\"") >&5
1842     (eval $ac_try) 2>&5
1843     ac_status=$?
1844     echo "$as_me:1844: \$? = $ac_status" >&5
1845     (exit $ac_status); }; }; then
1846     ac_cv_lib_socket_main=yes
1847     else
1848     echo "$as_me: failed program was:" >&5
1849     cat conftest.$ac_ext >&5
1850     ac_cv_lib_socket_main=no
1851     fi
1852     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1853     LIBS=$ac_check_lib_save_LIBS
1854     fi
1855     echo "$as_me:1855: result: $ac_cv_lib_socket_main" >&5
1856     echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
1857     if test $ac_cv_lib_socket_main = yes; then
1858     cat >>confdefs.h <<EOF
1859     #define HAVE_LIBSOCKET 1
1860     EOF
1861    
1862     LIBS="-lsocket $LIBS"
1863    
1864     fi
1865    
1866     echo "$as_me:1866: checking for main in -lnsl" >&5
1867     echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
1868     if test "${ac_cv_lib_nsl_main+set}" = set; then
1869     echo $ECHO_N "(cached) $ECHO_C" >&6
1870     else
1871     ac_check_lib_save_LIBS=$LIBS
1872     LIBS="-lnsl $LIBS"
1873     cat >conftest.$ac_ext <<_ACEOF
1874     #line 1874 "configure"
1875     #include "confdefs.h"
1876    
1877     int
1878     main ()
1879     {
1880     main ();
1881     ;
1882     return 0;
1883     }
1884     _ACEOF
1885     rm -f conftest.$ac_objext conftest$ac_exeext
1886     if { (eval echo "$as_me:1886: \"$ac_link\"") >&5
1887     (eval $ac_link) 2>&5
1888     ac_status=$?
1889     echo "$as_me:1889: \$? = $ac_status" >&5
1890     (exit $ac_status); } &&
1891     { ac_try='test -s conftest$ac_exeext'
1892     { (eval echo "$as_me:1892: \"$ac_try\"") >&5
1893     (eval $ac_try) 2>&5
1894     ac_status=$?
1895     echo "$as_me:1895: \$? = $ac_status" >&5
1896     (exit $ac_status); }; }; then
1897     ac_cv_lib_nsl_main=yes
1898     else
1899     echo "$as_me: failed program was:" >&5
1900     cat conftest.$ac_ext >&5
1901     ac_cv_lib_nsl_main=no
1902     fi
1903     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1904     LIBS=$ac_check_lib_save_LIBS
1905     fi
1906     echo "$as_me:1906: result: $ac_cv_lib_nsl_main" >&5
1907     echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
1908     if test $ac_cv_lib_nsl_main = yes; then
1909     cat >>confdefs.h <<EOF
1910     #define HAVE_LIBNSL 1
1911     EOF
1912    
1913     LIBS="-lnsl $LIBS"
1914    
1915     fi
1916    
1917     echo "$as_me:1917: checking for main in -lresolv" >&5
1918     echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
1919     if test "${ac_cv_lib_resolv_main+set}" = set; then
1920     echo $ECHO_N "(cached) $ECHO_C" >&6
1921     else
1922     ac_check_lib_save_LIBS=$LIBS
1923     LIBS="-lresolv $LIBS"
1924     cat >conftest.$ac_ext <<_ACEOF
1925     #line 1925 "configure"
1926     #include "confdefs.h"
1927    
1928     int
1929     main ()
1930     {
1931     main ();
1932     ;
1933     return 0;
1934     }
1935     _ACEOF
1936     rm -f conftest.$ac_objext conftest$ac_exeext
1937     if { (eval echo "$as_me:1937: \"$ac_link\"") >&5
1938     (eval $ac_link) 2>&5
1939     ac_status=$?
1940     echo "$as_me:1940: \$? = $ac_status" >&5
1941     (exit $ac_status); } &&
1942     { ac_try='test -s conftest$ac_exeext'
1943     { (eval echo "$as_me:1943: \"$ac_try\"") >&5
1944     (eval $ac_try) 2>&5
1945     ac_status=$?
1946     echo "$as_me:1946: \$? = $ac_status" >&5
1947     (exit $ac_status); }; }; then
1948     ac_cv_lib_resolv_main=yes
1949     else
1950     echo "$as_me: failed program was:" >&5
1951     cat conftest.$ac_ext >&5
1952     ac_cv_lib_resolv_main=no
1953     fi
1954     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1955     LIBS=$ac_check_lib_save_LIBS
1956     fi
1957     echo "$as_me:1957: result: $ac_cv_lib_resolv_main" >&5
1958     echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
1959     if test $ac_cv_lib_resolv_main = yes; then
1960     cat >>confdefs.h <<EOF
1961     #define HAVE_LIBRESOLV 1
1962     EOF
1963    
1964     LIBS="-lresolv $LIBS"
1965    
1966     fi
1967    
1968     OS_OPT=
1969    
1970     ;;
1971     solaris*)
1972     cat >>confdefs.h <<\EOF
1973     #define SUNOS 1
1974     EOF
1975    
1976     echo "$as_me:1976: checking for main in -lsocket" >&5
1977     echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
1978     if test "${ac_cv_lib_socket_main+set}" = set; then
1979     echo $ECHO_N "(cached) $ECHO_C" >&6
1980     else
1981     ac_check_lib_save_LIBS=$LIBS
1982     LIBS="-lsocket $LIBS"
1983     cat >conftest.$ac_ext <<_ACEOF
1984     #line 1984 "configure"
1985     #include "confdefs.h"
1986    
1987     int
1988     main ()
1989     {
1990     main ();
1991     ;
1992     return 0;
1993     }
1994     _ACEOF
1995     rm -f conftest.$ac_objext conftest$ac_exeext
1996     if { (eval echo "$as_me:1996: \"$ac_link\"") >&5
1997     (eval $ac_link) 2>&5
1998     ac_status=$?
1999     echo "$as_me:1999: \$? = $ac_status" >&5
2000     (exit $ac_status); } &&
2001     { ac_try='test -s conftest$ac_exeext'
2002     { (eval echo "$as_me:2002: \"$ac_try\"") >&5
2003     (eval $ac_try) 2>&5
2004     ac_status=$?
2005     echo "$as_me:2005: \$? = $ac_status" >&5
2006     (exit $ac_status); }; }; then
2007     ac_cv_lib_socket_main=yes
2008     else
2009     echo "$as_me: failed program was:" >&5
2010     cat conftest.$ac_ext >&5
2011     ac_cv_lib_socket_main=no
2012     fi
2013     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2014     LIBS=$ac_check_lib_save_LIBS
2015     fi
2016     echo "$as_me:2016: result: $ac_cv_lib_socket_main" >&5
2017     echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
2018     if test $ac_cv_lib_socket_main = yes; then
2019     cat >>confdefs.h <<EOF
2020     #define HAVE_LIBSOCKET 1
2021     EOF
2022    
2023     LIBS="-lsocket $LIBS"
2024    
2025     fi
2026    
2027     echo "$as_me:2027: checking for main in -lnsl" >&5
2028     echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
2029     if test "${ac_cv_lib_nsl_main+set}" = set; then
2030     echo $ECHO_N "(cached) $ECHO_C" >&6
2031     else
2032     ac_check_lib_save_LIBS=$LIBS
2033     LIBS="-lnsl $LIBS"
2034     cat >conftest.$ac_ext <<_ACEOF
2035     #line 2035 "configure"
2036     #include "confdefs.h"
2037    
2038     int
2039     main ()
2040     {
2041     main ();
2042     ;
2043     return 0;
2044     }
2045     _ACEOF
2046     rm -f conftest.$ac_objext conftest$ac_exeext
2047     if { (eval echo "$as_me:2047: \"$ac_link\"") >&5
2048     (eval $ac_link) 2>&5
2049     ac_status=$?
2050     echo "$as_me:2050: \$? = $ac_status" >&5
2051     (exit $ac_status); } &&
2052     { ac_try='test -s conftest$ac_exeext'
2053     { (eval echo "$as_me:2053: \"$ac_try\"") >&5
2054     (eval $ac_try) 2>&5
2055     ac_status=$?
2056     echo "$as_me:2056: \$? = $ac_status" >&5
2057     (exit $ac_status); }; }; then
2058     ac_cv_lib_nsl_main=yes
2059     else
2060     echo "$as_me: failed program was:" >&5
2061     cat conftest.$ac_ext >&5
2062     ac_cv_lib_nsl_main=no
2063     fi
2064     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2065     LIBS=$ac_check_lib_save_LIBS
2066     fi
2067     echo "$as_me:2067: result: $ac_cv_lib_nsl_main" >&5
2068     echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
2069     if test $ac_cv_lib_nsl_main = yes; then
2070     cat >>confdefs.h <<EOF
2071     #define HAVE_LIBNSL 1
2072     EOF
2073    
2074     LIBS="-lnsl $LIBS"
2075    
2076     fi
2077    
2078     echo "$as_me:2078: checking for main in -lresolv" >&5
2079     echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
2080     if test "${ac_cv_lib_resolv_main+set}" = set; then
2081     echo $ECHO_N "(cached) $ECHO_C" >&6
2082     else
2083     ac_check_lib_save_LIBS=$LIBS
2084     LIBS="-lresolv $LIBS"
2085     cat >conftest.$ac_ext <<_ACEOF
2086     #line 2086 "configure"
2087     #include "confdefs.h"
2088    
2089     int
2090     main ()
2091     {
2092     main ();
2093     ;
2094     return 0;
2095     }
2096     _ACEOF
2097     rm -f conftest.$ac_objext conftest$ac_exeext
2098     if { (eval echo "$as_me:2098: \"$ac_link\"") >&5
2099     (eval $ac_link) 2>&5
2100     ac_status=$?
2101     echo "$as_me:2101: \$? = $ac_status" >&5
2102     (exit $ac_status); } &&
2103     { ac_try='test -s conftest$ac_exeext'
2104     { (eval echo "$as_me:2104: \"$ac_try\"") >&5
2105     (eval $ac_try) 2>&5
2106     ac_status=$?
2107     echo "$as_me:2107: \$? = $ac_status" >&5
2108     (exit $ac_status); }; }; then
2109     ac_cv_lib_resolv_main=yes
2110     else
2111     echo "$as_me: failed program was:" >&5
2112     cat conftest.$ac_ext >&5
2113     ac_cv_lib_resolv_main=no
2114     fi
2115     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2116     LIBS=$ac_check_lib_save_LIBS
2117     fi
2118     echo "$as_me:2118: result: $ac_cv_lib_resolv_main" >&5
2119     echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
2120     if test $ac_cv_lib_resolv_main = yes; then
2121     cat >>confdefs.h <<EOF
2122     #define HAVE_LIBRESOLV 1
2123     EOF
2124    
2125     LIBS="-lresolv $LIBS"
2126    
2127     fi
2128    
2129     OS_OPT=
2130    
2131     ;;
2132     esac
2133    
2134     echo "$as_me:2134: checking whether build environment is sane" >&5
2135     echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2136     # Just in case
2137     sleep 1
2138     echo timestamp > conftest.file
2139     # Do `set' in a subshell so we don't clobber the current shell's
2140     # arguments. Must try -L first in case configure is actually a
2141     # symlink; some systems play weird games with the mod time of symlinks
2142     # (eg FreeBSD returns the mod time of the symlink's containing
2143     # directory).
2144     if (
2145     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2146     if test "$*" = "X"; then
2147     # -L didn't work.
2148     set X `ls -t $srcdir/configure conftest.file`
2149     fi
2150     rm -f conftest.file
2151     if test "$*" != "X $srcdir/configure conftest.file" \
2152     && test "$*" != "X conftest.file $srcdir/configure"; then
2153    
2154     # If neither matched, then we have a broken ls. This can happen
2155     # if, for instance, CONFIG_SHELL is bash and it inherits a
2156     # broken ls alias from the environment. This has actually
2157     # happened. Such a system could not be considered "sane".
2158     { { echo "$as_me:2158: error: ls -t appears to fail. Make sure there is not a broken
2159     alias in your environment" >&5
2160     echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2161     alias in your environment" >&2;}
2162     { (exit 1); exit 1; }; }
2163     fi
2164    
2165     test "$2" = conftest.file
2166     )
2167     then
2168     # Ok.
2169     :
2170     else
2171     { { echo "$as_me:2171: error: newly created file is older than distributed files!
2172     Check your system clock" >&5
2173     echo "$as_me: error: newly created file is older than distributed files!
2174     Check your system clock" >&2;}
2175     { (exit 1); exit 1; }; }
2176     fi
2177     echo "$as_me:2177: result: yes" >&5
2178     echo "${ECHO_T}yes" >&6
2179     test "$program_prefix" != NONE &&
2180     program_transform_name="s,^,$program_prefix,;$program_transform_name"
2181     # Use a double $ so make ignores it.
2182     test "$program_suffix" != NONE &&
2183     program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2184     # Double any \ or $. echo might interpret backslashes.
2185     # By default was `s,x,x', remove it if useless.
2186     cat <<\_ACEOF >conftest.sed
2187     s/[\\$]/&&/g;s/;s,x,x,$//
2188     _ACEOF
2189     program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2190     rm conftest.sed
2191    
2192     # expand $ac_aux_dir to an absolute path
2193     am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
2194    
2195     test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2196     # Use eval to expand $SHELL
2197     if eval "$MISSING --run true"; then
2198     am_missing_run="$MISSING --run "
2199     else
2200     am_missing_run=
2201     am_backtick='`'
2202     { echo "$as_me:2202: WARNING: ${am_backtick}missing' script is too old or missing" >&5
2203     echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
2204     fi
2205    
2206     for ac_prog in mawk gawk nawk awk
2207     do
2208     # Extract the first word of "$ac_prog", so it can be a program name with args.
2209     set dummy $ac_prog; ac_word=$2
2210     echo "$as_me:2210: checking for $ac_word" >&5
2211     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212     if test "${ac_cv_prog_AWK+set}" = set; then
2213     echo $ECHO_N "(cached) $ECHO_C" >&6
2214     else
2215     if test -n "$AWK"; then
2216     ac_cv_prog_AWK="$AWK" # Let the user override the test.
2217     else
2218     ac_save_IFS=$IFS; IFS=$ac_path_separator
2219     ac_dummy="$PATH"
2220     for ac_dir in $ac_dummy; do
2221     IFS=$ac_save_IFS
2222     test -z "$ac_dir" && ac_dir=.
2223     $as_executable_p "$ac_dir/$ac_word" || continue
2224     ac_cv_prog_AWK="$ac_prog"
2225     echo "$as_me:2225: found $ac_dir/$ac_word" >&5
2226     break
2227     done
2228    
2229     fi
2230     fi
2231     AWK=$ac_cv_prog_AWK
2232     if test -n "$AWK"; then
2233     echo "$as_me:2233: result: $AWK" >&5
2234     echo "${ECHO_T}$AWK" >&6
2235     else
2236     echo "$as_me:2236: result: no" >&5
2237     echo "${ECHO_T}no" >&6
2238     fi
2239    
2240     test -n "$AWK" && break
2241     done
2242    
2243     echo "$as_me:2243: checking whether ${MAKE-make} sets \${MAKE}" >&5
2244     echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2245     set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2246     if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2247     echo $ECHO_N "(cached) $ECHO_C" >&6
2248     else
2249     cat >conftest.make <<\EOF
2250     all:
2251     @echo 'ac_maketemp="${MAKE}"'
2252     EOF
2253     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254     eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2255     if test -n "$ac_maketemp"; then
2256     eval ac_cv_prog_make_${ac_make}_set=yes
2257     else
2258     eval ac_cv_prog_make_${ac_make}_set=no
2259     fi
2260     rm -f conftest.make
2261     fi
2262     if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2263     echo "$as_me:2263: result: yes" >&5
2264     echo "${ECHO_T}yes" >&6
2265     SET_MAKE=
2266     else
2267     echo "$as_me:2267: result: no" >&5
2268     echo "${ECHO_T}no" >&6
2269     SET_MAKE="MAKE=${MAKE-make}"
2270     fi
2271    
2272     # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2273     if test "${enable_dependency_tracking+set}" = set; then
2274     enableval="$enable_dependency_tracking"
2275    
2276     fi;
2277     if test "x$enable_dependency_tracking" != xno; then
2278     am_depcomp="$ac_aux_dir/depcomp"
2279     AMDEPBACKSLASH='\'
2280     fi
2281    
2282     if test "x$enable_dependency_tracking" != xno; then
2283     AMDEP_TRUE=
2284     AMDEP_FALSE='#'
2285     else
2286     AMDEP_TRUE='#'
2287     AMDEP_FALSE=
2288     fi
2289    
2290     rm -f .deps 2>/dev/null
2291     mkdir .deps 2>/dev/null
2292     if test -d .deps; then
2293     DEPDIR=.deps
2294     else
2295     # MS-DOS does not allow filenames that begin with a dot.
2296     DEPDIR=_deps
2297     fi
2298     rmdir .deps 2>/dev/null
2299    
2300     ac_config_commands="$ac_config_commands default-1"
2301    
2302     am_make=${MAKE-make}
2303     cat > confinc << 'END'
2304     doit:
2305     @echo done
2306     END
2307     # If we don't find an include directive, just comment out the code.
2308     echo "$as_me:2308: checking for style of include used by $am_make" >&5
2309     echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2310     am__include='#'
2311     am__quote=
2312     _am_result=none
2313     # First try GNU make style include.
2314     echo "include confinc" > confmf
2315     # We grep out `Entering directory' and `Leaving directory'
2316     # messages which can occur if `w' ends up in MAKEFLAGS.
2317     # In particular we don't look at `^make:' because GNU make might
2318     # be invoked under some other name (usually "gmake"), in which
2319     # case it prints its new name instead of `make'.
2320     if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2321     am__include=include
2322     am__quote=
2323     _am_result=GNU
2324     fi
2325     # Now try BSD make style include.
2326     if test "$am__include" = "#"; then
2327     echo '.include "confinc"' > confmf
2328     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2329     am__include=.include
2330     am__quote='"'
2331     _am_result=BSD
2332     fi
2333     fi
2334    
2335     echo "$as_me:2335: result: $_am_result" >&5
2336     echo "${ECHO_T}$_am_result" >&6
2337     rm -f confinc confmf
2338    
2339     # test to see if srcdir already configured
2340     if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
2341     test -f $srcdir/config.status; then
2342     { { echo "$as_me:2342: error: source directory already configured; run \"make distclean\" there first" >&5
2343     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2344     { (exit 1); exit 1; }; }
2345     fi
2346    
2347     # Define the identity of the package.
2348     PACKAGE=dhcping
2349     VERSION=1.2
2350    
2351     cat >>confdefs.h <<EOF
2352     #define PACKAGE "$PACKAGE"
2353     EOF
2354    
2355     cat >>confdefs.h <<EOF
2356     #define VERSION "$VERSION"
2357     EOF
2358    
2359     # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
2360     # the ones we care about.
2361    
2362     # Autoconf 2.50 always computes EXEEXT. However we need to be
2363     # compatible with 2.13, for now. So we always define EXEEXT, but we
2364     # don't compute it.
2365    
2366     # Similar for OBJEXT -- only we only use OBJEXT if the user actually
2367     # requests that it be used. This is a bit dumb.
2368     : ${OBJEXT=o}
2369    
2370     # Some tools Automake needs.
2371    
2372     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
2373    
2374     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2375    
2376     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
2377    
2378     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2379    
2380     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2381    
2382     AMTAR=${AMTAR-"${am_missing_run}tar"}
2383    
2384     install_sh=${install_sh-"$am_aux_dir/install-sh"}
2385    
2386     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2387    
2388     # We need awk for the "check" target. The system "awk" is bad on
2389     # some platforms.
2390    
2391     depcc="$CC" am_compiler_list=
2392    
2393     echo "$as_me:2393: checking dependency style of $depcc" >&5
2394     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2395     if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2396     echo $ECHO_N "(cached) $ECHO_C" >&6
2397     else
2398     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2399     # We make a subdir and do the tests there. Otherwise we can end up
2400     # making bogus files that we don't know about and never remove. For
2401     # instance it was reported that on HP-UX the gcc test will end up
2402     # making a dummy file named `D' -- because `-MD' means `put the output
2403     # in D'.
2404     mkdir conftest.dir
2405     # Copy depcomp to subdir because otherwise we won't find it if we're
2406     # using a relative directory.
2407     cp "$am_depcomp" conftest.dir
2408     cd conftest.dir
2409    
2410     am_cv_CC_dependencies_compiler_type=none
2411     if test "$am_compiler_list" = ""; then
2412     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2413     fi
2414     for depmode in $am_compiler_list; do
2415     # We need to recreate these files for each test, as the compiler may
2416     # overwrite some of them when testing with obscure command lines.
2417     # This happens at least with the AIX C compiler.
2418     echo '#include "conftest.h"' > conftest.c
2419     echo 'int i;' > conftest.h
2420     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2421    
2422     case $depmode in
2423     nosideeffect)
2424     # after this tag, mechanisms are not by side-effect, so they'll
2425     # only be used when explicitly requested
2426     if test "x$enable_dependency_tracking" = xyes; then
2427     continue
2428     else
2429     break
2430     fi
2431     ;;
2432     none) break ;;
2433     esac
2434     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2435     # mode. It turns out that the SunPro C++ compiler does not properly
2436     # handle `-M -o', and we need to detect this.
2437     if depmode=$depmode \
2438     source=conftest.c object=conftest.o \
2439     depfile=conftest.Po tmpdepfile=conftest.TPo \
2440     $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2441     grep conftest.h conftest.Po > /dev/null 2>&1 &&
2442     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2443     am_cv_CC_dependencies_compiler_type=$depmode
2444     break
2445     fi
2446     done
2447    
2448     cd ..
2449     rm -rf conftest.dir
2450     else
2451     am_cv_CC_dependencies_compiler_type=none
2452     fi
2453    
2454     fi
2455     echo "$as_me:2455: result: $am_cv_CC_dependencies_compiler_type" >&5
2456     echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2457     CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2458    
2459     ac_ext=c
2460     ac_cpp='$CPP $CPPFLAGS'
2461     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464     echo "$as_me:2464: checking how to run the C preprocessor" >&5
2465     echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2466     # On Suns, sometimes $CPP names a directory.
2467     if test -n "$CPP" && test -d "$CPP"; then
2468     CPP=
2469     fi
2470     if test -z "$CPP"; then
2471     if test "${ac_cv_prog_CPP+set}" = set; then
2472     echo $ECHO_N "(cached) $ECHO_C" >&6
2473     else
2474     # Double quotes because CPP needs to be expanded
2475     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2476     do
2477     ac_preproc_ok=false
2478     for ac_c_preproc_warn_flag in '' yes
2479     do
2480     # Use a header file that comes with gcc, so configuring glibc
2481     # with a fresh cross-compiler works.
2482     # On the NeXT, cc -E runs the code through the compiler's parser,
2483     # not just through cpp. "Syntax error" is here to catch this case.
2484     cat >conftest.$ac_ext <<_ACEOF
2485     #line 2485 "configure"
2486     #include "confdefs.h"
2487     #include <assert.h>
2488     Syntax error
2489     _ACEOF
2490     if { (eval echo "$as_me:2490: \"$ac_cpp conftest.$ac_ext\"") >&5
2491     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2492     ac_status=$?
2493     egrep -v '^ *\+' conftest.er1 >conftest.err
2494     rm -f conftest.er1
2495     cat conftest.err >&5
2496     echo "$as_me:2496: \$? = $ac_status" >&5
2497     (exit $ac_status); } >/dev/null; then
2498     if test -s conftest.err; then
2499     ac_cpp_err=$ac_c_preproc_warn_flag
2500     else
2501     ac_cpp_err=
2502     fi
2503     else
2504     ac_cpp_err=yes
2505     fi
2506     if test -z "$ac_cpp_err"; then
2507     :
2508     else
2509     echo "$as_me: failed program was:" >&5
2510     cat conftest.$ac_ext >&5
2511     # Broken: fails on valid input.
2512     continue
2513     fi
2514     rm -f conftest.err conftest.$ac_ext
2515    
2516     # OK, works on sane cases. Now check whether non-existent headers
2517     # can be detected and how.
2518     cat >conftest.$ac_ext <<_ACEOF
2519     #line 2519 "configure"
2520     #include "confdefs.h"
2521     #include <ac_nonexistent.h>
2522     _ACEOF
2523     if { (eval echo "$as_me:2523: \"$ac_cpp conftest.$ac_ext\"") >&5
2524     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2525     ac_status=$?
2526     egrep -v '^ *\+' conftest.er1 >conftest.err
2527     rm -f conftest.er1
2528     cat conftest.err >&5
2529     echo "$as_me:2529: \$? = $ac_status" >&5
2530     (exit $ac_status); } >/dev/null; then
2531     if test -s conftest.err; then
2532     ac_cpp_err=$ac_c_preproc_warn_flag
2533     else
2534     ac_cpp_err=
2535     fi
2536     else
2537     ac_cpp_err=yes
2538     fi
2539     if test -z "$ac_cpp_err"; then
2540     # Broken: success on invalid input.
2541     continue
2542     else
2543     echo "$as_me: failed program was:" >&5
2544     cat conftest.$ac_ext >&5
2545     # Passes both tests.
2546     ac_preproc_ok=:
2547     break
2548     fi
2549     rm -f conftest.err conftest.$ac_ext
2550    
2551     done
2552     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2553     rm -f conftest.err conftest.$ac_ext
2554     if $ac_preproc_ok; then
2555     break
2556     fi
2557    
2558     done
2559     ac_cv_prog_CPP=$CPP
2560    
2561     fi
2562     CPP=$ac_cv_prog_CPP
2563     else
2564     ac_cv_prog_CPP=$CPP
2565     fi
2566     echo "$as_me:2566: result: $CPP" >&5
2567     echo "${ECHO_T}$CPP" >&6
2568     ac_preproc_ok=false
2569     for ac_c_preproc_warn_flag in '' yes
2570     do
2571     # Use a header file that comes with gcc, so configuring glibc
2572     # with a fresh cross-compiler works.
2573     # On the NeXT, cc -E runs the code through the compiler's parser,
2574     # not just through cpp. "Syntax error" is here to catch this case.
2575     cat >conftest.$ac_ext <<_ACEOF
2576     #line 2576 "configure"
2577     #include "confdefs.h"
2578     #include <assert.h>
2579     Syntax error
2580     _ACEOF
2581     if { (eval echo "$as_me:2581: \"$ac_cpp conftest.$ac_ext\"") >&5
2582     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2583     ac_status=$?
2584     egrep -v '^ *\+' conftest.er1 >conftest.err
2585     rm -f conftest.er1
2586     cat conftest.err >&5
2587     echo "$as_me:2587: \$? = $ac_status" >&5
2588     (exit $ac_status); } >/dev/null; then
2589     if test -s conftest.err; then
2590     ac_cpp_err=$ac_c_preproc_warn_flag
2591     else
2592     ac_cpp_err=
2593     fi
2594     else
2595     ac_cpp_err=yes
2596     fi
2597     if test -z "$ac_cpp_err"; then
2598     :
2599     else
2600     echo "$as_me: failed program was:" >&5
2601     cat conftest.$ac_ext >&5
2602     # Broken: fails on valid input.
2603     continue
2604     fi
2605     rm -f conftest.err conftest.$ac_ext
2606    
2607     # OK, works on sane cases. Now check whether non-existent headers
2608     # can be detected and how.
2609     cat >conftest.$ac_ext <<_ACEOF
2610     #line 2610 "configure"
2611     #include "confdefs.h"
2612     #include <ac_nonexistent.h>
2613     _ACEOF
2614     if { (eval echo "$as_me:2614: \"$ac_cpp conftest.$ac_ext\"") >&5
2615     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2616     ac_status=$?
2617     egrep -v '^ *\+' conftest.er1 >conftest.err
2618     rm -f conftest.er1
2619     cat conftest.err >&5
2620     echo "$as_me:2620: \$? = $ac_status" >&5
2621     (exit $ac_status); } >/dev/null; then
2622     if test -s conftest.err; then
2623     ac_cpp_err=$ac_c_preproc_warn_flag
2624     else
2625     ac_cpp_err=
2626     fi
2627     else
2628     ac_cpp_err=yes
2629     fi
2630     if test -z "$ac_cpp_err"; then
2631     # Broken: success on invalid input.
2632     continue
2633     else
2634     echo "$as_me: failed program was:" >&5
2635     cat conftest.$ac_ext >&5
2636     # Passes both tests.
2637     ac_preproc_ok=:
2638     break
2639     fi
2640     rm -f conftest.err conftest.$ac_ext
2641    
2642     done
2643     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2644     rm -f conftest.err conftest.$ac_ext
2645     if $ac_preproc_ok; then
2646     :
2647     else
2648     { { echo "$as_me:2648: error: C preprocessor \"$CPP\" fails sanity check" >&5
2649     echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2650     { (exit 1); exit 1; }; }
2651     fi
2652    
2653     ac_ext=c
2654     ac_cpp='$CPP $CPPFLAGS'
2655     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2656     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2657     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2658    
2659     echo "$as_me:2659: checking for ANSI C header files" >&5
2660     echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2661     if test "${ac_cv_header_stdc+set}" = set; then
2662     echo $ECHO_N "(cached) $ECHO_C" >&6
2663     else
2664     cat >conftest.$ac_ext <<_ACEOF
2665     #line 2665 "configure"
2666     #include "confdefs.h"
2667     #include <stdlib.h>
2668     #include <stdarg.h>
2669     #include <string.h>
2670     #include <float.h>
2671    
2672     _ACEOF
2673     if { (eval echo "$as_me:2673: \"$ac_cpp conftest.$ac_ext\"") >&5
2674     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2675     ac_status=$?
2676     egrep -v '^ *\+' conftest.er1 >conftest.err
2677     rm -f conftest.er1
2678     cat conftest.err >&5
2679     echo "$as_me:2679: \$? = $ac_status" >&5
2680     (exit $ac_status); } >/dev/null; then
2681     if test -s conftest.err; then
2682     ac_cpp_err=$ac_c_preproc_warn_flag
2683     else
2684     ac_cpp_err=
2685     fi
2686     else
2687     ac_cpp_err=yes
2688     fi
2689     if test -z "$ac_cpp_err"; then
2690     ac_cv_header_stdc=yes
2691     else
2692     echo "$as_me: failed program was:" >&5
2693     cat conftest.$ac_ext >&5
2694     ac_cv_header_stdc=no
2695     fi
2696     rm -f conftest.err conftest.$ac_ext
2697    
2698     if test $ac_cv_header_stdc = yes; then
2699     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2700     cat >conftest.$ac_ext <<_ACEOF
2701     #line 2701 "configure"
2702     #include "confdefs.h"
2703     #include <string.h>
2704    
2705     _ACEOF
2706     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2707     egrep "memchr" >/dev/null 2>&1; then
2708     :
2709     else
2710     ac_cv_header_stdc=no
2711     fi
2712     rm -f conftest*
2713    
2714     fi
2715    
2716     if test $ac_cv_header_stdc = yes; then
2717     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2718     cat >conftest.$ac_ext <<_ACEOF
2719     #line 2719 "configure"
2720     #include "confdefs.h"
2721     #include <stdlib.h>
2722    
2723     _ACEOF
2724     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2725     egrep "free" >/dev/null 2>&1; then
2726     :
2727     else
2728     ac_cv_header_stdc=no
2729     fi
2730     rm -f conftest*
2731    
2732     fi
2733    
2734     if test $ac_cv_header_stdc = yes; then
2735     # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2736     if test "$cross_compiling" = yes; then
2737     :
2738     else
2739     cat >conftest.$ac_ext <<_ACEOF
2740     #line 2740 "configure"
2741     #include "confdefs.h"
2742     #include <ctype.h>
2743     #if ((' ' & 0x0FF) == 0x020)
2744     # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2745     # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2746     #else
2747     # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2748     || ('j' <= (c) && (c) <= 'r') \
2749     || ('s' <= (c) && (c) <= 'z'))
2750     # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2751     #endif
2752    
2753     #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2754     int
2755     main ()
2756     {
2757     int i;
2758     for (i = 0; i < 256; i++)
2759     if (XOR (islower (i), ISLOWER (i))
2760     || toupper (i) != TOUPPER (i))
2761     exit(2);
2762     exit (0);
2763     }
2764     _ACEOF
2765     rm -f conftest$ac_exeext
2766     if { (eval echo "$as_me:2766: \"$ac_link\"") >&5
2767     (eval $ac_link) 2>&5
2768     ac_status=$?
2769     echo "$as_me:2769: \$? = $ac_status" >&5
2770     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2771     { (eval echo "$as_me:2771: \"$ac_try\"") >&5
2772     (eval $ac_try) 2>&5
2773     ac_status=$?
2774     echo "$as_me:2774: \$? = $ac_status" >&5
2775     (exit $ac_status); }; }; then
2776     :
2777     else
2778     echo "$as_me: program exited with status $ac_status" >&5
2779     echo "$as_me: failed program was:" >&5
2780     cat conftest.$ac_ext >&5
2781     ac_cv_header_stdc=no
2782     fi
2783     rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2784     fi
2785     fi
2786     fi
2787     echo "$as_me:2787: result: $ac_cv_header_stdc" >&5
2788     echo "${ECHO_T}$ac_cv_header_stdc" >&6
2789     if test $ac_cv_header_stdc = yes; then
2790    
2791     cat >>confdefs.h <<\EOF
2792     #define STDC_HEADERS 1
2793     EOF
2794    
2795     fi
2796    
2797     echo "$as_me:2797: checking whether time.h and sys/time.h may both be included" >&5
2798     echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2799     if test "${ac_cv_header_time+set}" = set; then
2800     echo $ECHO_N "(cached) $ECHO_C" >&6
2801     else
2802     cat >conftest.$ac_ext <<_ACEOF
2803     #line 2803 "configure"
2804     #include "confdefs.h"
2805     #include <sys/types.h>
2806     #include <sys/time.h>
2807     #include <time.h>
2808    
2809     int
2810     main ()
2811     {
2812     if ((struct tm *) 0)
2813     return 0;
2814     ;
2815     return 0;
2816     }
2817     _ACEOF
2818     rm -f conftest.$ac_objext
2819     if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
2820     (eval $ac_compile) 2>&5
2821     ac_status=$?
2822     echo "$as_me:2822: \$? = $ac_status" >&5
2823     (exit $ac_status); } &&
2824     { ac_try='test -s conftest.$ac_objext'
2825     { (eval echo "$as_me:2825: \"$ac_try\"") >&5
2826     (eval $ac_try) 2>&5
2827     ac_status=$?
2828     echo "$as_me:2828: \$? = $ac_status" >&5
2829     (exit $ac_status); }; }; then
2830     ac_cv_header_time=yes
2831     else
2832     echo "$as_me: failed program was:" >&5
2833     cat conftest.$ac_ext >&5
2834     ac_cv_header_time=no
2835     fi
2836     rm -f conftest.$ac_objext conftest.$ac_ext
2837     fi
2838     echo "$as_me:2838: result: $ac_cv_header_time" >&5
2839     echo "${ECHO_T}$ac_cv_header_time" >&6
2840     if test $ac_cv_header_time = yes; then
2841    
2842     cat >>confdefs.h <<\EOF
2843     #define TIME_WITH_SYS_TIME 1
2844     EOF
2845    
2846     fi
2847    
2848     for ac_header in netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h
2849     do
2850     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2851     echo "$as_me:2851: checking for $ac_header" >&5
2852     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2853     if eval "test \"\${$as_ac_Header+set}\" = set"; then
2854     echo $ECHO_N "(cached) $ECHO_C" >&6
2855     else
2856     cat >conftest.$ac_ext <<_ACEOF
2857     #line 2857 "configure"
2858     #include "confdefs.h"
2859     #include <$ac_header>
2860     _ACEOF
2861     if { (eval echo "$as_me:2861: \"$ac_cpp conftest.$ac_ext\"") >&5
2862     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2863     ac_status=$?
2864     egrep -v '^ *\+' conftest.er1 >conftest.err
2865     rm -f conftest.er1
2866     cat conftest.err >&5
2867     echo "$as_me:2867: \$? = $ac_status" >&5
2868     (exit $ac_status); } >/dev/null; then
2869     if test -s conftest.err; then
2870     ac_cpp_err=$ac_c_preproc_warn_flag
2871     else
2872     ac_cpp_err=
2873     fi
2874     else
2875     ac_cpp_err=yes
2876     fi
2877     if test -z "$ac_cpp_err"; then
2878     eval "$as_ac_Header=yes"
2879     else
2880     echo "$as_me: failed program was:" >&5
2881     cat conftest.$ac_ext >&5
2882     eval "$as_ac_Header=no"
2883     fi
2884     rm -f conftest.err conftest.$ac_ext
2885     fi
2886     echo "$as_me:2886: result: `eval echo '${'$as_ac_Header'}'`" >&5
2887     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2888     if test `eval echo '${'$as_ac_Header'}'` = yes; then
2889     cat >>confdefs.h <<EOF
2890     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2891     EOF
2892    
2893     fi
2894     done
2895    
2896     for ac_func in gethostbyname memset select socket
2897     do
2898     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2899     echo "$as_me:2899: checking for $ac_func" >&5
2900     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2901     if eval "test \"\${$as_ac_var+set}\" = set"; then
2902     echo $ECHO_N "(cached) $ECHO_C" >&6
2903     else
2904     cat >conftest.$ac_ext <<_ACEOF
2905     #line 2905 "configure"
2906     #include "confdefs.h"
2907     /* System header to define __stub macros and hopefully few prototypes,
2908     which can conflict with char $ac_func (); below. */
2909     #include <assert.h>
2910     /* Override any gcc2 internal prototype to avoid an error. */
2911     #ifdef __cplusplus
2912     extern "C"
2913     #endif
2914     /* We use char because int might match the return type of a gcc2
2915     builtin and then its argument prototype would still apply. */
2916     char $ac_func ();
2917     char (*f) ();
2918    
2919     int
2920     main ()
2921     {
2922     /* The GNU C library defines this for functions which it implements
2923     to always fail with ENOSYS. Some functions are actually named
2924     something starting with __ and the normal name is an alias. */
2925     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2926     choke me
2927     #else
2928     f = $ac_func;
2929     #endif
2930    
2931     ;
2932     return 0;
2933     }
2934     _ACEOF
2935     rm -f conftest.$ac_objext conftest$ac_exeext
2936     if { (eval echo "$as_me:2936: \"$ac_link\"") >&5
2937     (eval $ac_link) 2>&5
2938     ac_status=$?
2939     echo "$as_me:2939: \$? = $ac_status" >&5
2940     (exit $ac_status); } &&
2941     { ac_try='test -s conftest$ac_exeext'
2942     { (eval echo "$as_me:2942: \"$ac_try\"") >&5
2943     (eval $ac_try) 2>&5
2944     ac_status=$?
2945     echo "$as_me:2945: \$? = $ac_status" >&5
2946     (exit $ac_status); }; }; then
2947     eval "$as_ac_var=yes"
2948     else
2949     echo "$as_me: failed program was:" >&5
2950     cat conftest.$ac_ext >&5
2951     eval "$as_ac_var=no"
2952     fi
2953     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2954     fi
2955     echo "$as_me:2955: result: `eval echo '${'$as_ac_var'}'`" >&5
2956     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2957     if test `eval echo '${'$as_ac_var'}'` = yes; then
2958     cat >>confdefs.h <<EOF
2959     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2960     EOF
2961    
2962     fi
2963     done
2964    
2965     ac_config_files="$ac_config_files Makefile"
2966     cat >confcache <<\_ACEOF
2967     # This file is a shell script that caches the results of configure
2968     # tests run on this system so they can be shared between configure
2969     # scripts and configure runs, see configure's option --config-cache.
2970     # It is not useful on other systems. If it contains results you don't
2971     # want to keep, you may remove or edit it.
2972     #
2973     # config.status only pays attention to the cache file if you give it
2974     # the --recheck option to rerun configure.
2975     #
2976     # `ac_cv_env_foo' variables (set or unset) will be overriden when
2977     # loading this file, other *unset* `ac_cv_foo' will be assigned the
2978     # following values.
2979    
2980     _ACEOF
2981    
2982     # The following way of writing the cache mishandles newlines in values,
2983     # but we know of no workaround that is simple, portable, and efficient.
2984     # So, don't put newlines in cache variables' values.
2985     # Ultrix sh set writes to stderr and can't be redirected directly,
2986     # and sets the high bit in the cache file unless we assign to the vars.
2987     {
2988     (set) 2>&1 |
2989     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2990     *ac_space=\ *)
2991     # `set' does not quote correctly, so add quotes (double-quote
2992     # substitution turns \\\\ into \\, and sed turns \\ into \).
2993     sed -n \
2994     "s/'/'\\\\''/g;
2995     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2996     ;;
2997     *)
2998     # `set' quotes correctly as required by POSIX, so do not add quotes.
2999     sed -n \
3000     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3001     ;;
3002     esac;
3003     } |
3004     sed '
3005     t clear
3006     : clear
3007     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3008     t end
3009     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3010     : end' >>confcache
3011     if cmp -s $cache_file confcache; then :; else
3012     if test -w $cache_file; then
3013     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3014     cat confcache >$cache_file
3015     else
3016     echo "not updating unwritable cache $cache_file"
3017     fi
3018     fi
3019     rm -f confcache
3020    
3021     test "x$prefix" = xNONE && prefix=$ac_default_prefix
3022     # Let make expand exec_prefix.
3023     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3024    
3025     # VPATH may cause trouble with some makes, so we remove $(srcdir),
3026     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3027     # trailing colons and then remove the whole line if VPATH becomes empty
3028     # (actually we leave an empty line to preserve line numbers).
3029     if test "x$srcdir" = x.; then
3030     ac_vpsub='/^[ ]*VPATH[ ]*=/{
3031     s/:*\$(srcdir):*/:/;
3032     s/:*\${srcdir}:*/:/;
3033     s/:*@srcdir@:*/:/;
3034     s/^\([^=]*=[ ]*\):*/\1/;
3035     s/:*$//;
3036     s/^[^=]*=[ ]*$//;
3037     }'
3038     fi
3039    
3040     # Transform confdefs.h into DEFS.
3041     # Protect against shell expansion while executing Makefile rules.
3042     # Protect against Makefile macro expansion.
3043     #
3044     # If the first sed substitution is executed (which looks for macros that
3045     # take arguments), then we branch to the quote section. Otherwise,
3046     # look for a macro that doesn't take arguments.
3047     cat >confdef2opt.sed <<\EOF
3048     t clear
3049     : clear
3050     s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3051     t quote
3052     s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3053     t quote
3054     d
3055     : quote
3056     s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3057     s,\[,\\&,g
3058     s,\],\\&,g
3059     s,\$,$$,g
3060     p
3061     EOF
3062     # We use echo to avoid assuming a particular line-breaking character.
3063     # The extra dot is to prevent the shell from consuming trailing
3064     # line-breaks from the sub-command output. A line-break within
3065     # single-quotes doesn't work because, if this script is created in a
3066     # platform that uses two characters for line-breaks (e.g., DOS), tr
3067     # would break.
3068     ac_LF_and_DOT=`echo; echo .`
3069     DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3070     rm -f confdef2opt.sed
3071    
3072     : ${CONFIG_STATUS=./config.status}
3073     ac_clean_files_save=$ac_clean_files
3074     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3075     { echo "$as_me:3075: creating $CONFIG_STATUS" >&5
3076     echo "$as_me: creating $CONFIG_STATUS" >&6;}
3077     cat >$CONFIG_STATUS <<_ACEOF
3078     #! $SHELL
3079     # Generated automatically by configure.
3080     # Run this file to recreate the current configuration.
3081     # Compiler output produced by configure, useful for debugging
3082     # configure, is in config.log if it exists.
3083    
3084     debug=false
3085     SHELL=\${CONFIG_SHELL-$SHELL}
3086     ac_cs_invocation="\$0 \$@"
3087    
3088     _ACEOF
3089    
3090     cat >>$CONFIG_STATUS <<\_ACEOF
3091     # Be Bourne compatible
3092     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3093     emulate sh
3094     NULLCMD=:
3095     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3096     set -o posix
3097     fi
3098    
3099     # Name of the executable.
3100     as_me=`echo "$0" |sed 's,.*[\\/],,'`
3101    
3102     if expr a : '\(a\)' >/dev/null 2>&1; then
3103     as_expr=expr
3104     else
3105     as_expr=false
3106     fi
3107    
3108     rm -f conf$$ conf$$.exe conf$$.file
3109     echo >conf$$.file
3110     if ln -s conf$$.file conf$$ 2>/dev/null; then
3111     # We could just check for DJGPP; but this test a) works b) is more generic
3112     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3113     if test -f conf$$.exe; then
3114     # Don't use ln at all; we don't have any links
3115     as_ln_s='cp -p'
3116     else
3117     as_ln_s='ln -s'
3118     fi
3119     elif ln conf$$.file conf$$ 2>/dev/null; then
3120     as_ln_s=ln
3121     else
3122     as_ln_s='cp -p'
3123     fi
3124     rm -f conf$$ conf$$.exe conf$$.file
3125    
3126     as_executable_p="test -f"
3127    
3128     # Support unset when possible.
3129     if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3130     as_unset=unset
3131     else
3132     as_unset=false
3133     fi
3134    
3135     # NLS nuisances.
3136     $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3137     $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3138     $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3139     $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3140     $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3141     $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3142     $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3143     $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3144    
3145     # IFS
3146     # We need space, tab and new line, in precisely that order.
3147     as_nl='
3148     '
3149     IFS=" $as_nl"
3150    
3151     # CDPATH.
3152     $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3153    
3154     exec 6>&1
3155    
3156     _ACEOF
3157    
3158     # Files that config.status was made for.
3159     if test -n "$ac_config_files"; then
3160     echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3161     fi
3162    
3163     if test -n "$ac_config_headers"; then
3164     echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3165     fi
3166    
3167     if test -n "$ac_config_links"; then
3168     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3169     fi
3170    
3171     if test -n "$ac_config_commands"; then
3172     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3173     fi
3174    
3175     cat >>$CONFIG_STATUS <<\EOF
3176    
3177     ac_cs_usage="\
3178     \`$as_me' instantiates files from templates according to the
3179     current configuration.
3180    
3181     Usage: $0 [OPTIONS] [FILE]...
3182    
3183     -h, --help print this help, then exit
3184     -V, --version print version number, then exit
3185     -d, --debug don't remove temporary files
3186     --recheck update $as_me by reconfiguring in the same conditions
3187     --file=FILE[:TEMPLATE]
3188     instantiate the configuration file FILE
3189    
3190     Configuration files:
3191     $config_files
3192    
3193     Configuration commands:
3194     $config_commands
3195    
3196     Report bugs to <bug-autoconf@gnu.org>."
3197     EOF
3198    
3199     cat >>$CONFIG_STATUS <<EOF
3200     ac_cs_version="\\
3201     config.status
3202     configured by $0, generated by GNU Autoconf 2.52,
3203     with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3204    
3205     Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3206     Free Software Foundation, Inc.
3207     This config.status script is free software; the Free Software Foundation
3208     gives unlimited permission to copy, distribute and modify it."
3209     srcdir=$srcdir
3210     INSTALL="$INSTALL"
3211     EOF
3212    
3213     cat >>$CONFIG_STATUS <<\EOF
3214     # If no file are specified by the user, then we need to provide default
3215     # value. By we need to know if files were specified by the user.
3216     ac_need_defaults=:
3217     while test $# != 0
3218     do
3219     case $1 in
3220     --*=*)
3221     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3222     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3223     shift
3224     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3225     shift
3226     ;;
3227     -*);;
3228     *) # This is not an option, so the user has probably given explicit
3229     # arguments.
3230     ac_need_defaults=false;;
3231     esac
3232    
3233     case $1 in
3234     # Handling of the options.
3235     EOF
3236     cat >>$CONFIG_STATUS <<EOF
3237     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3238     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3239     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3240     EOF
3241     cat >>$CONFIG_STATUS <<\EOF
3242     --version | --vers* | -V )
3243     echo "$ac_cs_version"; exit 0 ;;
3244     --he | --h)
3245     # Conflict between --help and --header
3246     { { echo "$as_me:3246: error: ambiguous option: $1
3247     Try \`$0 --help' for more information." >&5
3248     echo "$as_me: error: ambiguous option: $1
3249     Try \`$0 --help' for more information." >&2;}
3250     { (exit 1); exit 1; }; };;
3251     --help | --hel | -h )
3252     echo "$ac_cs_usage"; exit 0 ;;
3253     --debug | --d* | -d )
3254     debug=: ;;
3255     --file | --fil | --fi | --f )
3256     shift
3257     CONFIG_FILES="$CONFIG_FILES $1"
3258     ac_need_defaults=false;;
3259     --header | --heade | --head | --hea )
3260     shift
3261     CONFIG_HEADERS="$CONFIG_HEADERS $1"
3262     ac_need_defaults=false;;
3263    
3264     # This is an error.
3265     -*) { { echo "$as_me:3265: error: unrecognized option: $1
3266     Try \`$0 --help' for more information." >&5
3267     echo "$as_me: error: unrecognized option: $1
3268     Try \`$0 --help' for more information." >&2;}
3269     { (exit 1); exit 1; }; } ;;
3270    
3271     *) ac_config_targets="$ac_config_targets $1" ;;
3272    
3273     esac
3274     shift
3275     done
3276    
3277     exec 5>>config.log
3278     cat >&5 << _ACEOF
3279    
3280     ## ----------------------- ##
3281     ## Running config.status. ##
3282     ## ----------------------- ##
3283    
3284     This file was extended by $as_me 2.52, executed with
3285     CONFIG_FILES = $CONFIG_FILES
3286     CONFIG_HEADERS = $CONFIG_HEADERS
3287     CONFIG_LINKS = $CONFIG_LINKS
3288     CONFIG_COMMANDS = $CONFIG_COMMANDS
3289     > $ac_cs_invocation
3290     on `(hostname || uname -n) 2>/dev/null | sed 1q`
3291    
3292     _ACEOF
3293     EOF
3294    
3295     cat >>$CONFIG_STATUS <<EOF
3296     #
3297     # INIT-COMMANDS section.
3298     #
3299    
3300     AMDEP_TRUE="$AMDEP_TRUE"
3301     ac_aux_dir="$ac_aux_dir"
3302    
3303     EOF
3304    
3305     cat >>$CONFIG_STATUS <<\EOF
3306     for ac_config_target in $ac_config_targets
3307     do
3308     case "$ac_config_target" in
3309     # Handling of arguments.
3310     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3311     "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3312     *) { { echo "$as_me:3312: error: invalid argument: $ac_config_target" >&5
3313     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3314     { (exit 1); exit 1; }; };;
3315     esac
3316     done
3317    
3318     # If the user did not use the arguments to specify the items to instantiate,
3319     # then the envvar interface is used. Set only those that are not.
3320     # We use the long form for the default assignment because of an extremely
3321     # bizarre bug on SunOS 4.1.3.
3322     if $ac_need_defaults; then
3323     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3324     test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3325     fi
3326    
3327     # Create a temporary directory, and hook for its removal unless debugging.
3328     $debug ||
3329     {
3330     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3331     trap '{ (exit 1); exit 1; }' 1 2 13 15
3332     }
3333    
3334     # Create a (secure) tmp directory for tmp files.
3335     : ${TMPDIR=/tmp}
3336     {
3337     tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3338     test -n "$tmp" && test -d "$tmp"
3339     } ||
3340     {
3341     tmp=$TMPDIR/cs$$-$RANDOM
3342     (umask 077 && mkdir $tmp)
3343     } ||
3344     {
3345     echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3346     { (exit 1); exit 1; }
3347     }
3348    
3349     EOF
3350    
3351     cat >>$CONFIG_STATUS <<EOF
3352    
3353     #
3354     # CONFIG_FILES section.
3355     #
3356    
3357     # No need to generate the scripts if there are no CONFIG_FILES.
3358     # This happens for instance when ./config.status config.h
3359     if test -n "\$CONFIG_FILES"; then
3360     # Protect against being on the right side of a sed subst in config.status.
3361     sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3362     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3363     s,@SHELL@,$SHELL,;t t
3364     s,@exec_prefix@,$exec_prefix,;t t
3365     s,@prefix@,$prefix,;t t
3366     s,@program_transform_name@,$program_transform_name,;t t
3367     s,@bindir@,$bindir,;t t
3368     s,@sbindir@,$sbindir,;t t
3369     s,@libexecdir@,$libexecdir,;t t
3370     s,@datadir@,$datadir,;t t
3371     s,@sysconfdir@,$sysconfdir,;t t
3372     s,@sharedstatedir@,$sharedstatedir,;t t
3373     s,@localstatedir@,$localstatedir,;t t
3374     s,@libdir@,$libdir,;t t
3375     s,@includedir@,$includedir,;t t
3376     s,@oldincludedir@,$oldincludedir,;t t
3377     s,@infodir@,$infodir,;t t
3378     s,@mandir@,$mandir,;t t
3379     s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3380     s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3381     s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3382     s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3383     s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3384     s,@build_alias@,$build_alias,;t t
3385     s,@host_alias@,$host_alias,;t t
3386     s,@target_alias@,$target_alias,;t t
3387     s,@ECHO_C@,$ECHO_C,;t t
3388     s,@ECHO_N@,$ECHO_N,;t t
3389     s,@ECHO_T@,$ECHO_T,;t t
3390     s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3391     s,@DEFS@,$DEFS,;t t
3392     s,@LIBS@,$LIBS,;t t
3393     s,@CC@,$CC,;t t
3394     s,@CFLAGS@,$CFLAGS,;t t
3395     s,@LDFLAGS@,$LDFLAGS,;t t
3396     s,@CPPFLAGS@,$CPPFLAGS,;t t
3397     s,@ac_ct_CC@,$ac_ct_CC,;t t
3398     s,@EXEEXT@,$EXEEXT,;t t
3399     s,@OBJEXT@,$OBJEXT,;t t
3400     s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3401     s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3402     s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3403     s,@build@,$build,;t t
3404     s,@build_cpu@,$build_cpu,;t t
3405     s,@build_vendor@,$build_vendor,;t t
3406     s,@build_os@,$build_os,;t t
3407     s,@host@,$host,;t t
3408     s,@host_cpu@,$host_cpu,;t t
3409     s,@host_vendor@,$host_vendor,;t t
3410     s,@host_os@,$host_os,;t t
3411     s,@target@,$target,;t t
3412     s,@target_cpu@,$target_cpu,;t t
3413     s,@target_vendor@,$target_vendor,;t t
3414     s,@target_os@,$target_os,;t t
3415     s,@OS_OPT@,$OS_OPT,;t t
3416     s,@PACKAGE@,$PACKAGE,;t t
3417     s,@VERSION@,$VERSION,;t t
3418     s,@ACLOCAL@,$ACLOCAL,;t t
3419     s,@AUTOCONF@,$AUTOCONF,;t t
3420     s,@AUTOMAKE@,$AUTOMAKE,;t t
3421     s,@AUTOHEADER@,$AUTOHEADER,;t t
3422     s,@MAKEINFO@,$MAKEINFO,;t t
3423     s,@AMTAR@,$AMTAR,;t t
3424     s,@install_sh@,$install_sh,;t t
3425     s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3426     s,@AWK@,$AWK,;t t
3427     s,@SET_MAKE@,$SET_MAKE,;t t
3428     s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3429     s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3430     s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3431     s,@DEPDIR@,$DEPDIR,;t t
3432     s,@am__include@,$am__include,;t t
3433     s,@am__quote@,$am__quote,;t t
3434     s,@CCDEPMODE@,$CCDEPMODE,;t t
3435     s,@CPP@,$CPP,;t t
3436     CEOF
3437    
3438     EOF
3439    
3440     cat >>$CONFIG_STATUS <<\EOF
3441     # Split the substitutions into bite-sized pieces for seds with
3442     # small command number limits, like on Digital OSF/1 and HP-UX.
3443     ac_max_sed_lines=48
3444     ac_sed_frag=1 # Number of current file.
3445     ac_beg=1 # First line for current file.
3446     ac_end=$ac_max_sed_lines # Line after last line for current file.
3447     ac_more_lines=:
3448     ac_sed_cmds=
3449     while $ac_more_lines; do
3450     if test $ac_beg -gt 1; then
3451     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3452     else
3453     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3454     fi
3455     if test ! -s $tmp/subs.frag; then
3456     ac_more_lines=false
3457     else
3458     # The purpose of the label and of the branching condition is to
3459     # speed up the sed processing (if there are no `@' at all, there
3460     # is no need to browse any of the substitutions).
3461     # These are the two extra sed commands mentioned above.
3462     (echo ':t
3463     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3464     if test -z "$ac_sed_cmds"; then
3465     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3466     else
3467     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3468     fi
3469     ac_sed_frag=`expr $ac_sed_frag + 1`
3470     ac_beg=$ac_end
3471     ac_end=`expr $ac_end + $ac_max_sed_lines`
3472     fi
3473     done
3474     if test -z "$ac_sed_cmds"; then
3475     ac_sed_cmds=cat
3476     fi
3477     fi # test -n "$CONFIG_FILES"
3478    
3479     EOF
3480     cat >>$CONFIG_STATUS <<\EOF
3481     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3482     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3483     case $ac_file in
3484     - | *:- | *:-:* ) # input from stdin
3485     cat >$tmp/stdin
3486     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3487     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3488     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3489     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3490     * ) ac_file_in=$ac_file.in ;;
3491     esac
3492    
3493     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3494     ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3495     X"$ac_file" : 'X\(//\)[^/]' \| \
3496     X"$ac_file" : 'X\(//\)$' \| \
3497     X"$ac_file" : 'X\(/\)' \| \
3498     . : '\(.\)' 2>/dev/null ||
3499     echo X"$ac_file" |
3500     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3501     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3502     /^X\(\/\/\)$/{ s//\1/; q; }
3503     /^X\(\/\).*/{ s//\1/; q; }
3504     s/.*/./; q'`
3505     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3506     { case "$ac_dir" in
3507     [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3508     *) as_incr_dir=.;;
3509     esac
3510     as_dummy="$ac_dir"
3511     for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3512     case $as_mkdir_dir in
3513     # Skip DOS drivespec
3514     ?:) as_incr_dir=$as_mkdir_dir ;;
3515     *)
3516     as_incr_dir=$as_incr_dir/$as_mkdir_dir
3517     test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3518     ;;
3519     esac
3520     done; }
3521    
3522     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3523     # A "../" for each directory in $ac_dir_suffix.
3524     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3525     else
3526     ac_dir_suffix= ac_dots=
3527     fi
3528    
3529     case $srcdir in
3530     .) ac_srcdir=.
3531     if test -z "$ac_dots"; then
3532     ac_top_srcdir=.
3533     else
3534     ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3535     fi ;;
3536     [\\/]* | ?:[\\/]* )
3537     ac_srcdir=$srcdir$ac_dir_suffix;
3538     ac_top_srcdir=$srcdir ;;
3539     *) # Relative path.
3540     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3541     ac_top_srcdir=$ac_dots$srcdir ;;
3542     esac
3543    
3544     case $INSTALL in
3545     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3546     *) ac_INSTALL=$ac_dots$INSTALL ;;
3547     esac
3548    
3549     if test x"$ac_file" != x-; then
3550     { echo "$as_me:3550: creating $ac_file" >&5
3551     echo "$as_me: creating $ac_file" >&6;}
3552     rm -f "$ac_file"
3553     fi
3554     # Let's still pretend it is `configure' which instantiates (i.e., don't
3555     # use $as_me), people would be surprised to read:
3556     # /* config.h. Generated automatically by config.status. */
3557     configure_input="Generated automatically from `echo $ac_file_in |
3558     sed 's,.*/,,'` by configure."
3559    
3560     # First look for the input files in the build tree, otherwise in the
3561     # src tree.
3562     ac_file_inputs=`IFS=:
3563     for f in $ac_file_in; do
3564     case $f in
3565     -) echo $tmp/stdin ;;
3566     [\\/$]*)
3567     # Absolute (can't be DOS-style, as IFS=:)
3568     test -f "$f" || { { echo "$as_me:3568: error: cannot find input file: $f" >&5
3569     echo "$as_me: error: cannot find input file: $f" >&2;}
3570     { (exit 1); exit 1; }; }
3571     echo $f;;
3572     *) # Relative
3573     if test -f "$f"; then
3574     # Build tree
3575     echo $f
3576     elif test -f "$srcdir/$f"; then
3577     # Source tree
3578     echo $srcdir/$f
3579     else
3580     # /dev/null tree
3581     { { echo "$as_me:3581: error: cannot find input file: $f" >&5
3582     echo "$as_me: error: cannot find input file: $f" >&2;}
3583     { (exit 1); exit 1; }; }
3584     fi;;
3585     esac
3586     done` || { (exit 1); exit 1; }
3587     EOF
3588     cat >>$CONFIG_STATUS <<EOF
3589     sed "$ac_vpsub
3590     $extrasub
3591     EOF
3592     cat >>$CONFIG_STATUS <<\EOF
3593     :t
3594     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3595     s,@configure_input@,$configure_input,;t t
3596     s,@srcdir@,$ac_srcdir,;t t
3597     s,@top_srcdir@,$ac_top_srcdir,;t t
3598     s,@INSTALL@,$ac_INSTALL,;t t
3599     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3600     rm -f $tmp/stdin
3601     if test x"$ac_file" != x-; then
3602     mv $tmp/out $ac_file
3603     else
3604     cat $tmp/out
3605     rm -f $tmp/out
3606     fi
3607    
3608     done
3609     EOF
3610     cat >>$CONFIG_STATUS <<\EOF
3611    
3612     #
3613     # CONFIG_COMMANDS section.
3614     #
3615     for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3616     ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3617     ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3618    
3619     case $ac_dest in
3620     default-1 )
3621     test x"$AMDEP_TRUE" != x"" ||
3622     for mf in $CONFIG_FILES; do
3623     case "$mf" in
3624     Makefile) dirpart=.;;
3625     */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
3626     *) continue;;
3627     esac
3628     grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3629     # Extract the definition of DEP_FILES from the Makefile without
3630     # running `make'.
3631     DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3632     test -z "$DEPDIR" && continue
3633     # When using ansi2knr, U may be empty or an underscore; expand it
3634     U=`sed -n -e '/^U = / s///p' < "$mf"`
3635     test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3636     # We invoke sed twice because it is the simplest approach to
3637     # changing $(DEPDIR) to its actual value in the expansion.
3638     for file in `sed -n -e '
3639     /^DEP_FILES = .*\\\\$/ {
3640     s/^DEP_FILES = //
3641     :loop
3642     s/\\\\$//
3643     p
3644     n
3645     /\\\\$/ b loop
3646     p
3647     }
3648     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3649     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3650     # Make sure the directory exists.
3651     test -f "$dirpart/$file" && continue
3652     fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
3653     $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
3654     # echo "creating $dirpart/$file"
3655     echo '# dummy' > "$dirpart/$file"
3656     done
3657     done
3658     ;;
3659     esac
3660     done
3661     EOF
3662    
3663     cat >>$CONFIG_STATUS <<\EOF
3664    
3665     { (exit 0); exit 0; }
3666     EOF
3667     chmod +x $CONFIG_STATUS
3668     ac_clean_files=$ac_clean_files_save
3669    
3670     # configure is writing to config.log, and then calls config.status.
3671     # config.status does its own redirection, appending to config.log.
3672     # Unfortunately, on DOS this fails, as config.log is still kept open
3673     # by configure, so config.status won't be able to write to it; its
3674     # output is simply discarded. So we exec the FD to /dev/null,
3675     # effectively closing config.log, so it can be properly (re)opened and
3676     # appended to by config.status. When coming back to configure, we
3677     # need to make the FD available again.
3678     if test "$no_create" != yes; then
3679     ac_cs_success=:
3680     exec 5>/dev/null
3681     $SHELL $CONFIG_STATUS || ac_cs_success=false
3682     exec 5>>config.log
3683     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3684     # would make configure fail if this is the last instruction.
3685     $ac_cs_success || { (exit 1); exit 1; }
3686     fi
3687