OSDN Git Service

Fix no pic
[uclinux-h8/uClinux-dist.git] / user / ez-ipupdate / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="ez-ipupdate.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os EXTRASRC EXTRAOBJ LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773
774 #
775 # Report the --help message.
776 #
777 if test "$ac_init_help" = "long"; then
778   # Omit some internal or obsolete options to make the list less imposing.
779   # This message is too long to be a string in the A/UX 3.1 sh.
780   cat <<_ACEOF
781 \`configure' configures this package to adapt to many kinds of systems.
782
783 Usage: $0 [OPTION]... [VAR=VALUE]...
784
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE.  See below for descriptions of some of the useful variables.
787
788 Defaults for the options are specified in brackets.
789
790 Configuration:
791   -h, --help              display this help and exit
792       --help=short        display options specific to this package
793       --help=recursive    display the short help of all the included packages
794   -V, --version           display version information and exit
795   -q, --quiet, --silent   do not print \`checking...' messages
796       --cache-file=FILE   cache test results in FILE [disabled]
797   -C, --config-cache      alias for \`--cache-file=config.cache'
798   -n, --no-create         do not create output files
799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
800
801 _ACEOF
802
803   cat <<_ACEOF
804 Installation directories:
805   --prefix=PREFIX         install architecture-independent files in PREFIX
806                           [$ac_default_prefix]
807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808                           [PREFIX]
809
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
814
815 For better control, use the options below.
816
817 Fine tuning of the installation directories:
818   --bindir=DIR           user executables [EPREFIX/bin]
819   --sbindir=DIR          system admin executables [EPREFIX/sbin]
820   --libexecdir=DIR       program executables [EPREFIX/libexec]
821   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
822   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
823   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
824   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
825   --libdir=DIR           object code libraries [EPREFIX/lib]
826   --includedir=DIR       C header files [PREFIX/include]
827   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
828   --infodir=DIR          info documentation [PREFIX/info]
829   --mandir=DIR           man documentation [PREFIX/man]
830 _ACEOF
831
832   cat <<\_ACEOF
833
834 Program names:
835   --program-prefix=PREFIX            prepend PREFIX to installed program names
836   --program-suffix=SUFFIX            append SUFFIX to installed program names
837   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
838
839 System types:
840   --build=BUILD     configure for building on BUILD [guessed]
841   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
842 _ACEOF
843 fi
844
845 if test -n "$ac_init_help"; then
846
847   cat <<\_ACEOF
848
849 Optional Features:
850   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
851   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
852   --disable-dependency-tracking Speeds up one-time builds
853   --enable-dependency-tracking  Do not reject slow dependency extractors
854   --enable-default-service=SERVICE
855                           the default service type to use
856                           possibilities are: ezip, pgpow, justlinux, dhs,
857                           dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb
858   --enable-debug          include support for debugging
859   --disable-md5           disable MD5 support
860
861 Some influential environment variables:
862   CC          C compiler command
863   CFLAGS      C compiler flags
864   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
865               nonstandard directory <lib dir>
866   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
867               headers in a nonstandard directory <include dir>
868   CPP         C preprocessor
869
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
872
873 _ACEOF
874 fi
875
876 if test "$ac_init_help" = "recursive"; then
877   # If there are subdirs, report their specific --help.
878   ac_popdir=`pwd`
879   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880     test -d $ac_dir || continue
881     ac_builddir=.
882
883 if test "$ac_dir" != .; then
884   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885   # A "../" for each directory in $ac_dir_suffix.
886   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887 else
888   ac_dir_suffix= ac_top_builddir=
889 fi
890
891 case $srcdir in
892   .)  # No --srcdir option.  We are building in place.
893     ac_srcdir=.
894     if test -z "$ac_top_builddir"; then
895        ac_top_srcdir=.
896     else
897        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898     fi ;;
899   [\\/]* | ?:[\\/]* )  # Absolute path.
900     ac_srcdir=$srcdir$ac_dir_suffix;
901     ac_top_srcdir=$srcdir ;;
902   *) # Relative path.
903     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904     ac_top_srcdir=$ac_top_builddir$srcdir ;;
905 esac
906
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
909 case `pwd` in
910 .) ac_abs_builddir="$ac_dir";;
911 *)
912   case "$ac_dir" in
913   .) ac_abs_builddir=`pwd`;;
914   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915   *) ac_abs_builddir=`pwd`/"$ac_dir";;
916   esac;;
917 esac
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 *)
921   case ${ac_top_builddir}. in
922   .) ac_abs_top_builddir=$ac_abs_builddir;;
923   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
925   esac;;
926 esac
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
929 *)
930   case $ac_srcdir in
931   .) ac_abs_srcdir=$ac_abs_builddir;;
932   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
934   esac;;
935 esac
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 *)
939   case $ac_top_srcdir in
940   .) ac_abs_top_srcdir=$ac_abs_builddir;;
941   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
943   esac;;
944 esac
945
946     cd $ac_dir
947     # Check for guested configure; otherwise get Cygnus style configure.
948     if test -f $ac_srcdir/configure.gnu; then
949       echo
950       $SHELL $ac_srcdir/configure.gnu  --help=recursive
951     elif test -f $ac_srcdir/configure; then
952       echo
953       $SHELL $ac_srcdir/configure  --help=recursive
954     elif test -f $ac_srcdir/configure.ac ||
955            test -f $ac_srcdir/configure.in; then
956       echo
957       $ac_configure --help
958     else
959       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960     fi
961     cd "$ac_popdir"
962   done
963 fi
964
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
967   cat <<\_ACEOF
968
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
972 _ACEOF
973   exit 0
974 fi
975 exec 5>config.log
976 cat >&5 <<_ACEOF
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
979
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59.  Invocation command line was
982
983   $ $0 $@
984
985 _ACEOF
986 {
987 cat <<_ASUNAME
988 ## --------- ##
989 ## Platform. ##
990 ## --------- ##
991
992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
997
998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
999 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1000
1001 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1002 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1004 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1005 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1006 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1007 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1008
1009 _ASUNAME
1010
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012 for as_dir in $PATH
1013 do
1014   IFS=$as_save_IFS
1015   test -z "$as_dir" && as_dir=.
1016   echo "PATH: $as_dir"
1017 done
1018
1019 } >&5
1020
1021 cat >&5 <<_ACEOF
1022
1023
1024 ## ----------- ##
1025 ## Core tests. ##
1026 ## ----------- ##
1027
1028 _ACEOF
1029
1030
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1036 ac_configure_args=
1037 ac_configure_args0=
1038 ac_configure_args1=
1039 ac_sep=
1040 ac_must_keep_next=false
1041 for ac_pass in 1 2
1042 do
1043   for ac_arg
1044   do
1045     case $ac_arg in
1046     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048     | -silent | --silent | --silen | --sile | --sil)
1049       continue ;;
1050     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1052     esac
1053     case $ac_pass in
1054     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1055     2)
1056       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057       if test $ac_must_keep_next = true; then
1058         ac_must_keep_next=false # Got value, back to normal.
1059       else
1060         case $ac_arg in
1061           *=* | --config-cache | -C | -disable-* | --disable-* \
1062           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064           | -with-* | --with-* | -without-* | --without-* | --x)
1065             case "$ac_configure_args0 " in
1066               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1067             esac
1068             ;;
1069           -* ) ac_must_keep_next=true ;;
1070         esac
1071       fi
1072       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073       # Get rid of the leading space.
1074       ac_sep=" "
1075       ;;
1076     esac
1077   done
1078 done
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1081
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log.  We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close' the trap.
1087 trap 'exit_status=$?
1088   # Save into config.log some information that might help in debugging.
1089   {
1090     echo
1091
1092     cat <<\_ASBOX
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1096 _ASBOX
1097     echo
1098     # The following way of writing the cache mishandles newlines in values,
1099 {
1100   (set) 2>&1 |
1101     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1102     *ac_space=\ *)
1103       sed -n \
1104         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106       ;;
1107     *)
1108       sed -n \
1109         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1110       ;;
1111     esac;
1112 }
1113     echo
1114
1115     cat <<\_ASBOX
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1119 _ASBOX
1120     echo
1121     for ac_var in $ac_subst_vars
1122     do
1123       eval ac_val=$`echo $ac_var`
1124       echo "$ac_var='"'"'$ac_val'"'"'"
1125     done | sort
1126     echo
1127
1128     if test -n "$ac_subst_files"; then
1129       cat <<\_ASBOX
1130 ## ------------- ##
1131 ## Output files. ##
1132 ## ------------- ##
1133 _ASBOX
1134       echo
1135       for ac_var in $ac_subst_files
1136       do
1137         eval ac_val=$`echo $ac_var`
1138         echo "$ac_var='"'"'$ac_val'"'"'"
1139       done | sort
1140       echo
1141     fi
1142
1143     if test -s confdefs.h; then
1144       cat <<\_ASBOX
1145 ## ----------- ##
1146 ## confdefs.h. ##
1147 ## ----------- ##
1148 _ASBOX
1149       echo
1150       sed "/^$/d" confdefs.h | sort
1151       echo
1152     fi
1153     test "$ac_signal" != 0 &&
1154       echo "$as_me: caught signal $ac_signal"
1155     echo "$as_me: exit $exit_status"
1156   } >&5
1157   rm -f core *.core &&
1158   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1159     exit $exit_status
1160      ' 0
1161 for ac_signal in 1 2 13 15; do
1162   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1163 done
1164 ac_signal=0
1165
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1169 echo >confdefs.h
1170
1171 # Predefined preprocessor variables.
1172
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1175 _ACEOF
1176
1177
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180 _ACEOF
1181
1182
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1185 _ACEOF
1186
1187
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1190 _ACEOF
1191
1192
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1195 _ACEOF
1196
1197
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201   if test "x$prefix" != xNONE; then
1202     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1203   else
1204     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1205   fi
1206 fi
1207 for ac_site_file in $CONFIG_SITE; do
1208   if test -r "$ac_site_file"; then
1209     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211     sed 's/^/| /' "$ac_site_file" >&5
1212     . "$ac_site_file"
1213   fi
1214 done
1215
1216 if test -r "$cache_file"; then
1217   # Some versions of bash will fail to source /dev/null (special
1218   # files actually), so we avoid doing that.
1219   if test -f "$cache_file"; then
1220     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1222     case $cache_file in
1223       [\\/]* | ?:[\\/]* ) . $cache_file;;
1224       *)                      . ./$cache_file;;
1225     esac
1226   fi
1227 else
1228   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1230   >$cache_file
1231 fi
1232
1233 # Check that the precious variables saved in the cache have kept the same
1234 # value.
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1238   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239   eval ac_new_set=\$ac_env_${ac_var}_set
1240   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241   eval ac_new_val="\$ac_env_${ac_var}_value"
1242   case $ac_old_set,$ac_new_set in
1243     set,)
1244       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1246       ac_cache_corrupted=: ;;
1247     ,set)
1248       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250       ac_cache_corrupted=: ;;
1251     ,);;
1252     *)
1253       if test "x$ac_old_val" != "x$ac_new_val"; then
1254         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1256         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1257 echo "$as_me:   former value:  $ac_old_val" >&2;}
1258         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1259 echo "$as_me:   current value: $ac_new_val" >&2;}
1260         ac_cache_corrupted=:
1261       fi;;
1262   esac
1263   # Pass precious variables to config.status.
1264   if test "$ac_new_set" = set; then
1265     case $ac_new_val in
1266     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1268     *) ac_arg=$ac_var=$ac_new_val ;;
1269     esac
1270     case " $ac_configure_args " in
1271       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1272       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1273     esac
1274   fi
1275 done
1276 if $ac_cache_corrupted; then
1277   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281    { (exit 1); exit 1; }; }
1282 fi
1283
1284 ac_ext=c
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308 # Add the stamp file to the list of files AC keeps track of,
1309 # along with our hook.
1310           ac_config_headers="$ac_config_headers config.h"
1311
1312
1313
1314 am__api_version="1.6"
1315 ac_aux_dir=
1316 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1317   if test -f $ac_dir/install-sh; then
1318     ac_aux_dir=$ac_dir
1319     ac_install_sh="$ac_aux_dir/install-sh -c"
1320     break
1321   elif test -f $ac_dir/install.sh; then
1322     ac_aux_dir=$ac_dir
1323     ac_install_sh="$ac_aux_dir/install.sh -c"
1324     break
1325   elif test -f $ac_dir/shtool; then
1326     ac_aux_dir=$ac_dir
1327     ac_install_sh="$ac_aux_dir/shtool install -c"
1328     break
1329   fi
1330 done
1331 if test -z "$ac_aux_dir"; then
1332   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1333 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1334    { (exit 1); exit 1; }; }
1335 fi
1336 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1337 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1338 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1339
1340 # Find a good install program.  We prefer a C program (faster),
1341 # so one script is as good as another.  But avoid the broken or
1342 # incompatible versions:
1343 # SysV /etc/install, /usr/sbin/install
1344 # SunOS /usr/etc/install
1345 # IRIX /sbin/install
1346 # AIX /bin/install
1347 # AmigaOS /C/install, which installs bootblocks on floppy discs
1348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1351 # OS/2's system install, which has a completely different semantic
1352 # ./install, which can be erroneously created by make from ./install.sh.
1353 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1354 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1355 if test -z "$INSTALL"; then
1356 if test "${ac_cv_path_install+set}" = set; then
1357   echo $ECHO_N "(cached) $ECHO_C" >&6
1358 else
1359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1360 for as_dir in $PATH
1361 do
1362   IFS=$as_save_IFS
1363   test -z "$as_dir" && as_dir=.
1364   # Account for people who put trailing slashes in PATH elements.
1365 case $as_dir/ in
1366   ./ | .// | /cC/* | \
1367   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1368   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1369   /usr/ucb/* ) ;;
1370   *)
1371     # OSF1 and SCO ODT 3.0 have their own names for install.
1372     # Don't use installbsd from OSF since it installs stuff as root
1373     # by default.
1374     for ac_prog in ginstall scoinst install; do
1375       for ac_exec_ext in '' $ac_executable_extensions; do
1376         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1377           if test $ac_prog = install &&
1378             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1379             # AIX install.  It has an incompatible calling convention.
1380             :
1381           elif test $ac_prog = install &&
1382             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1383             # program-specific install script used by HP pwplus--don't use.
1384             :
1385           else
1386             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1387             break 3
1388           fi
1389         fi
1390       done
1391     done
1392     ;;
1393 esac
1394 done
1395
1396
1397 fi
1398   if test "${ac_cv_path_install+set}" = set; then
1399     INSTALL=$ac_cv_path_install
1400   else
1401     # As a last resort, use the slow shell script.  We don't cache a
1402     # path for INSTALL within a source directory, because that will
1403     # break other packages using the cache if that directory is
1404     # removed, or if the path is relative.
1405     INSTALL=$ac_install_sh
1406   fi
1407 fi
1408 echo "$as_me:$LINENO: result: $INSTALL" >&5
1409 echo "${ECHO_T}$INSTALL" >&6
1410
1411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1412 # It thinks the first close brace ends the variable substitution.
1413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414
1415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1416
1417 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1418
1419 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1420 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1421 # Just in case
1422 sleep 1
1423 echo timestamp > conftest.file
1424 # Do `set' in a subshell so we don't clobber the current shell's
1425 # arguments.  Must try -L first in case configure is actually a
1426 # symlink; some systems play weird games with the mod time of symlinks
1427 # (eg FreeBSD returns the mod time of the symlink's containing
1428 # directory).
1429 if (
1430    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1431    if test "$*" = "X"; then
1432       # -L didn't work.
1433       set X `ls -t $srcdir/configure conftest.file`
1434    fi
1435    rm -f conftest.file
1436    if test "$*" != "X $srcdir/configure conftest.file" \
1437       && test "$*" != "X conftest.file $srcdir/configure"; then
1438
1439       # If neither matched, then we have a broken ls.  This can happen
1440       # if, for instance, CONFIG_SHELL is bash and it inherits a
1441       # broken ls alias from the environment.  This has actually
1442       # happened.  Such a system could not be considered "sane".
1443       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1444 alias in your environment" >&5
1445 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1446 alias in your environment" >&2;}
1447    { (exit 1); exit 1; }; }
1448    fi
1449
1450    test "$2" = conftest.file
1451    )
1452 then
1453    # Ok.
1454    :
1455 else
1456    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1457 Check your system clock" >&5
1458 echo "$as_me: error: newly created file is older than distributed files!
1459 Check your system clock" >&2;}
1460    { (exit 1); exit 1; }; }
1461 fi
1462 echo "$as_me:$LINENO: result: yes" >&5
1463 echo "${ECHO_T}yes" >&6
1464 test "$program_prefix" != NONE &&
1465   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1466 # Use a double $ so make ignores it.
1467 test "$program_suffix" != NONE &&
1468   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1469 # Double any \ or $.  echo might interpret backslashes.
1470 # By default was `s,x,x', remove it if useless.
1471 cat <<\_ACEOF >conftest.sed
1472 s/[\\$]/&&/g;s/;s,x,x,$//
1473 _ACEOF
1474 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1475 rm conftest.sed
1476
1477
1478 # expand $ac_aux_dir to an absolute path
1479 am_aux_dir=`cd $ac_aux_dir && pwd`
1480
1481 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1482 # Use eval to expand $SHELL
1483 if eval "$MISSING --run true"; then
1484   am_missing_run="$MISSING --run "
1485 else
1486   am_missing_run=
1487   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1488 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1489 fi
1490
1491 for ac_prog in gawk mawk nawk awk
1492 do
1493   # Extract the first word of "$ac_prog", so it can be a program name with args.
1494 set dummy $ac_prog; ac_word=$2
1495 echo "$as_me:$LINENO: checking for $ac_word" >&5
1496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1497 if test "${ac_cv_prog_AWK+set}" = set; then
1498   echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500   if test -n "$AWK"; then
1501   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1502 else
1503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504 for as_dir in $PATH
1505 do
1506   IFS=$as_save_IFS
1507   test -z "$as_dir" && as_dir=.
1508   for ac_exec_ext in '' $ac_executable_extensions; do
1509   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1510     ac_cv_prog_AWK="$ac_prog"
1511     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1512     break 2
1513   fi
1514 done
1515 done
1516
1517 fi
1518 fi
1519 AWK=$ac_cv_prog_AWK
1520 if test -n "$AWK"; then
1521   echo "$as_me:$LINENO: result: $AWK" >&5
1522 echo "${ECHO_T}$AWK" >&6
1523 else
1524   echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1526 fi
1527
1528   test -n "$AWK" && break
1529 done
1530
1531 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1532 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1533 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1534 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1535   echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537   cat >conftest.make <<\_ACEOF
1538 all:
1539         @echo 'ac_maketemp="$(MAKE)"'
1540 _ACEOF
1541 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1542 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1543 if test -n "$ac_maketemp"; then
1544   eval ac_cv_prog_make_${ac_make}_set=yes
1545 else
1546   eval ac_cv_prog_make_${ac_make}_set=no
1547 fi
1548 rm -f conftest.make
1549 fi
1550 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1551   echo "$as_me:$LINENO: result: yes" >&5
1552 echo "${ECHO_T}yes" >&6
1553   SET_MAKE=
1554 else
1555   echo "$as_me:$LINENO: result: no" >&5
1556 echo "${ECHO_T}no" >&6
1557   SET_MAKE="MAKE=${MAKE-make}"
1558 fi
1559
1560  # test to see if srcdir already configured
1561 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1562    test -f $srcdir/config.status; then
1563   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1564 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1565    { (exit 1); exit 1; }; }
1566 fi
1567
1568 # Define the identity of the package.
1569  PACKAGE=ez-ipupdate
1570  VERSION=3.0.11b7
1571
1572
1573 cat >>confdefs.h <<_ACEOF
1574 #define PACKAGE "$PACKAGE"
1575 _ACEOF
1576
1577
1578 cat >>confdefs.h <<_ACEOF
1579 #define VERSION "$VERSION"
1580 _ACEOF
1581
1582 # Some tools Automake needs.
1583
1584 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1585
1586
1587 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1588
1589
1590 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1591
1592
1593 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1594
1595
1596 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1597
1598
1599 AMTAR=${AMTAR-"${am_missing_run}tar"}
1600
1601 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1602
1603 # Installed binaries are usually stripped using `strip' when the user
1604 # run `make install-strip'.  However `strip' might not be the right
1605 # tool to use in cross-compilation environments, therefore Automake
1606 # will honor the `STRIP' environment variable to overrule this program.
1607 if test "$cross_compiling" != no; then
1608   if test -n "$ac_tool_prefix"; then
1609   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1610 set dummy ${ac_tool_prefix}strip; ac_word=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_STRIP+set}" = set; then
1614   echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616   if test -n "$STRIP"; then
1617   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1618 else
1619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 for as_dir in $PATH
1621 do
1622   IFS=$as_save_IFS
1623   test -z "$as_dir" && as_dir=.
1624   for ac_exec_ext in '' $ac_executable_extensions; do
1625   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1627     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628     break 2
1629   fi
1630 done
1631 done
1632
1633 fi
1634 fi
1635 STRIP=$ac_cv_prog_STRIP
1636 if test -n "$STRIP"; then
1637   echo "$as_me:$LINENO: result: $STRIP" >&5
1638 echo "${ECHO_T}$STRIP" >&6
1639 else
1640   echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1642 fi
1643
1644 fi
1645 if test -z "$ac_cv_prog_STRIP"; then
1646   ac_ct_STRIP=$STRIP
1647   # Extract the first word of "strip", so it can be a program name with args.
1648 set dummy strip; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1652   echo $ECHO_N "(cached) $ECHO_C" >&6
1653 else
1654   if test -n "$ac_ct_STRIP"; then
1655   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1656 else
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658 for as_dir in $PATH
1659 do
1660   IFS=$as_save_IFS
1661   test -z "$as_dir" && as_dir=.
1662   for ac_exec_ext in '' $ac_executable_extensions; do
1663   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664     ac_cv_prog_ac_ct_STRIP="strip"
1665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666     break 2
1667   fi
1668 done
1669 done
1670
1671   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1672 fi
1673 fi
1674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1675 if test -n "$ac_ct_STRIP"; then
1676   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1677 echo "${ECHO_T}$ac_ct_STRIP" >&6
1678 else
1679   echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1681 fi
1682
1683   STRIP=$ac_ct_STRIP
1684 else
1685   STRIP="$ac_cv_prog_STRIP"
1686 fi
1687
1688 fi
1689 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1690
1691 # We need awk for the "check" target.  The system "awk" is bad on
1692 # some platforms.
1693
1694
1695
1696
1697
1698
1699 ac_ext=c
1700 ac_cpp='$CPP $CPPFLAGS'
1701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1704 if test -n "$ac_tool_prefix"; then
1705   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1706 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1707 echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709 if test "${ac_cv_prog_CC+set}" = set; then
1710   echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712   if test -n "$CC"; then
1713   ac_cv_prog_CC="$CC" # Let the user override the test.
1714 else
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 for as_dir in $PATH
1717 do
1718   IFS=$as_save_IFS
1719   test -z "$as_dir" && as_dir=.
1720   for ac_exec_ext in '' $ac_executable_extensions; do
1721   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1722     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1723     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724     break 2
1725   fi
1726 done
1727 done
1728
1729 fi
1730 fi
1731 CC=$ac_cv_prog_CC
1732 if test -n "$CC"; then
1733   echo "$as_me:$LINENO: result: $CC" >&5
1734 echo "${ECHO_T}$CC" >&6
1735 else
1736   echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6
1738 fi
1739
1740 fi
1741 if test -z "$ac_cv_prog_CC"; then
1742   ac_ct_CC=$CC
1743   # Extract the first word of "gcc", so it can be a program name with args.
1744 set dummy gcc; ac_word=$2
1745 echo "$as_me:$LINENO: checking for $ac_word" >&5
1746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1748   echo $ECHO_N "(cached) $ECHO_C" >&6
1749 else
1750   if test -n "$ac_ct_CC"; then
1751   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1752 else
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in $PATH
1755 do
1756   IFS=$as_save_IFS
1757   test -z "$as_dir" && as_dir=.
1758   for ac_exec_ext in '' $ac_executable_extensions; do
1759   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1760     ac_cv_prog_ac_ct_CC="gcc"
1761     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1762     break 2
1763   fi
1764 done
1765 done
1766
1767 fi
1768 fi
1769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1770 if test -n "$ac_ct_CC"; then
1771   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1772 echo "${ECHO_T}$ac_ct_CC" >&6
1773 else
1774   echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1776 fi
1777
1778   CC=$ac_ct_CC
1779 else
1780   CC="$ac_cv_prog_CC"
1781 fi
1782
1783 if test -z "$CC"; then
1784   if test -n "$ac_tool_prefix"; then
1785   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1786 set dummy ${ac_tool_prefix}cc; ac_word=$2
1787 echo "$as_me:$LINENO: checking for $ac_word" >&5
1788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1789 if test "${ac_cv_prog_CC+set}" = set; then
1790   echo $ECHO_N "(cached) $ECHO_C" >&6
1791 else
1792   if test -n "$CC"; then
1793   ac_cv_prog_CC="$CC" # Let the user override the test.
1794 else
1795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 for as_dir in $PATH
1797 do
1798   IFS=$as_save_IFS
1799   test -z "$as_dir" && as_dir=.
1800   for ac_exec_ext in '' $ac_executable_extensions; do
1801   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1802     ac_cv_prog_CC="${ac_tool_prefix}cc"
1803     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1804     break 2
1805   fi
1806 done
1807 done
1808
1809 fi
1810 fi
1811 CC=$ac_cv_prog_CC
1812 if test -n "$CC"; then
1813   echo "$as_me:$LINENO: result: $CC" >&5
1814 echo "${ECHO_T}$CC" >&6
1815 else
1816   echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1818 fi
1819
1820 fi
1821 if test -z "$ac_cv_prog_CC"; then
1822   ac_ct_CC=$CC
1823   # Extract the first word of "cc", so it can be a program name with args.
1824 set dummy cc; ac_word=$2
1825 echo "$as_me:$LINENO: checking for $ac_word" >&5
1826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1828   echo $ECHO_N "(cached) $ECHO_C" >&6
1829 else
1830   if test -n "$ac_ct_CC"; then
1831   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1832 else
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 for as_dir in $PATH
1835 do
1836   IFS=$as_save_IFS
1837   test -z "$as_dir" && as_dir=.
1838   for ac_exec_ext in '' $ac_executable_extensions; do
1839   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840     ac_cv_prog_ac_ct_CC="cc"
1841     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842     break 2
1843   fi
1844 done
1845 done
1846
1847 fi
1848 fi
1849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1850 if test -n "$ac_ct_CC"; then
1851   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1852 echo "${ECHO_T}$ac_ct_CC" >&6
1853 else
1854   echo "$as_me:$LINENO: result: no" >&5
1855 echo "${ECHO_T}no" >&6
1856 fi
1857
1858   CC=$ac_ct_CC
1859 else
1860   CC="$ac_cv_prog_CC"
1861 fi
1862
1863 fi
1864 if test -z "$CC"; then
1865   # Extract the first word of "cc", so it can be a program name with args.
1866 set dummy cc; ac_word=$2
1867 echo "$as_me:$LINENO: checking for $ac_word" >&5
1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1869 if test "${ac_cv_prog_CC+set}" = set; then
1870   echo $ECHO_N "(cached) $ECHO_C" >&6
1871 else
1872   if test -n "$CC"; then
1873   ac_cv_prog_CC="$CC" # Let the user override the test.
1874 else
1875   ac_prog_rejected=no
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 for as_dir in $PATH
1878 do
1879   IFS=$as_save_IFS
1880   test -z "$as_dir" && as_dir=.
1881   for ac_exec_ext in '' $ac_executable_extensions; do
1882   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1884        ac_prog_rejected=yes
1885        continue
1886      fi
1887     ac_cv_prog_CC="cc"
1888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889     break 2
1890   fi
1891 done
1892 done
1893
1894 if test $ac_prog_rejected = yes; then
1895   # We found a bogon in the path, so make sure we never use it.
1896   set dummy $ac_cv_prog_CC
1897   shift
1898   if test $# != 0; then
1899     # We chose a different compiler from the bogus one.
1900     # However, it has the same basename, so the bogon will be chosen
1901     # first if we set CC to just the basename; use the full file name.
1902     shift
1903     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1904   fi
1905 fi
1906 fi
1907 fi
1908 CC=$ac_cv_prog_CC
1909 if test -n "$CC"; then
1910   echo "$as_me:$LINENO: result: $CC" >&5
1911 echo "${ECHO_T}$CC" >&6
1912 else
1913   echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1915 fi
1916
1917 fi
1918 if test -z "$CC"; then
1919   if test -n "$ac_tool_prefix"; then
1920   for ac_prog in cl
1921   do
1922     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_CC+set}" = set; then
1927   echo $ECHO_N "(cached) $ECHO_C" >&6
1928 else
1929   if test -n "$CC"; then
1930   ac_cv_prog_CC="$CC" # Let the user override the test.
1931 else
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 for as_dir in $PATH
1934 do
1935   IFS=$as_save_IFS
1936   test -z "$as_dir" && as_dir=.
1937   for ac_exec_ext in '' $ac_executable_extensions; do
1938   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1940     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941     break 2
1942   fi
1943 done
1944 done
1945
1946 fi
1947 fi
1948 CC=$ac_cv_prog_CC
1949 if test -n "$CC"; then
1950   echo "$as_me:$LINENO: result: $CC" >&5
1951 echo "${ECHO_T}$CC" >&6
1952 else
1953   echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1955 fi
1956
1957     test -n "$CC" && break
1958   done
1959 fi
1960 if test -z "$CC"; then
1961   ac_ct_CC=$CC
1962   for ac_prog in cl
1963 do
1964   # Extract the first word of "$ac_prog", so it can be a program name with args.
1965 set dummy $ac_prog; ac_word=$2
1966 echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1969   echo $ECHO_N "(cached) $ECHO_C" >&6
1970 else
1971   if test -n "$ac_ct_CC"; then
1972   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1973 else
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 for as_dir in $PATH
1976 do
1977   IFS=$as_save_IFS
1978   test -z "$as_dir" && as_dir=.
1979   for ac_exec_ext in '' $ac_executable_extensions; do
1980   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1981     ac_cv_prog_ac_ct_CC="$ac_prog"
1982     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983     break 2
1984   fi
1985 done
1986 done
1987
1988 fi
1989 fi
1990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1991 if test -n "$ac_ct_CC"; then
1992   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1993 echo "${ECHO_T}$ac_ct_CC" >&6
1994 else
1995   echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6
1997 fi
1998
1999   test -n "$ac_ct_CC" && break
2000 done
2001
2002   CC=$ac_ct_CC
2003 fi
2004
2005 fi
2006
2007
2008 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2009 See \`config.log' for more details." >&5
2010 echo "$as_me: error: no acceptable C compiler found in \$PATH
2011 See \`config.log' for more details." >&2;}
2012    { (exit 1); exit 1; }; }
2013
2014 # Provide some information about the compiler.
2015 echo "$as_me:$LINENO:" \
2016      "checking for C compiler version" >&5
2017 ac_compiler=`set X $ac_compile; echo $2`
2018 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2019   (eval $ac_compiler --version </dev/null >&5) 2>&5
2020   ac_status=$?
2021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022   (exit $ac_status); }
2023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2024   (eval $ac_compiler -v </dev/null >&5) 2>&5
2025   ac_status=$?
2026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027   (exit $ac_status); }
2028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2029   (eval $ac_compiler -V </dev/null >&5) 2>&5
2030   ac_status=$?
2031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032   (exit $ac_status); }
2033
2034 cat >conftest.$ac_ext <<_ACEOF
2035 /* confdefs.h.  */
2036 _ACEOF
2037 cat confdefs.h >>conftest.$ac_ext
2038 cat >>conftest.$ac_ext <<_ACEOF
2039 /* end confdefs.h.  */
2040
2041 int
2042 main ()
2043 {
2044
2045   ;
2046   return 0;
2047 }
2048 _ACEOF
2049 ac_clean_files_save=$ac_clean_files
2050 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2051 # Try to create an executable without -o first, disregard a.out.
2052 # It will help us diagnose broken compilers, and finding out an intuition
2053 # of exeext.
2054 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2055 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2056 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2057 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2058   (eval $ac_link_default) 2>&5
2059   ac_status=$?
2060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061   (exit $ac_status); }; then
2062   # Find the output, starting from the most likely.  This scheme is
2063 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2064 # resort.
2065
2066 # Be careful to initialize this variable, since it used to be cached.
2067 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2068 ac_cv_exeext=
2069 # b.out is created by i960 compilers.
2070 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2071 do
2072   test -f "$ac_file" || continue
2073   case $ac_file in
2074     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2075         ;;
2076     conftest.$ac_ext )
2077         # This is the source file.
2078         ;;
2079     [ab].out )
2080         # We found the default executable, but exeext='' is most
2081         # certainly right.
2082         break;;
2083     *.* )
2084         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2085         # FIXME: I believe we export ac_cv_exeext for Libtool,
2086         # but it would be cool to find out if it's true.  Does anybody
2087         # maintain Libtool? --akim.
2088         export ac_cv_exeext
2089         break;;
2090     * )
2091         break;;
2092   esac
2093 done
2094 else
2095   echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2097
2098 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2099 See \`config.log' for more details." >&5
2100 echo "$as_me: error: C compiler cannot create executables
2101 See \`config.log' for more details." >&2;}
2102    { (exit 77); exit 77; }; }
2103 fi
2104
2105 ac_exeext=$ac_cv_exeext
2106 echo "$as_me:$LINENO: result: $ac_file" >&5
2107 echo "${ECHO_T}$ac_file" >&6
2108
2109 # Check the compiler produces executables we can run.  If not, either
2110 # the compiler is broken, or we cross compile.
2111 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2112 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2113 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2114 # If not cross compiling, check that we can run a simple program.
2115 if test "$cross_compiling" != yes; then
2116   if { ac_try='./$ac_file'
2117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118   (eval $ac_try) 2>&5
2119   ac_status=$?
2120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121   (exit $ac_status); }; }; then
2122     cross_compiling=no
2123   else
2124     if test "$cross_compiling" = maybe; then
2125         cross_compiling=yes
2126     else
2127         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2128 If you meant to cross compile, use \`--host'.
2129 See \`config.log' for more details." >&5
2130 echo "$as_me: error: cannot run C compiled programs.
2131 If you meant to cross compile, use \`--host'.
2132 See \`config.log' for more details." >&2;}
2133    { (exit 1); exit 1; }; }
2134     fi
2135   fi
2136 fi
2137 echo "$as_me:$LINENO: result: yes" >&5
2138 echo "${ECHO_T}yes" >&6
2139
2140 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2141 ac_clean_files=$ac_clean_files_save
2142 # Check the compiler produces executables we can run.  If not, either
2143 # the compiler is broken, or we cross compile.
2144 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2145 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2146 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2147 echo "${ECHO_T}$cross_compiling" >&6
2148
2149 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2150 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2152   (eval $ac_link) 2>&5
2153   ac_status=$?
2154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155   (exit $ac_status); }; then
2156   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2157 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2158 # work properly (i.e., refer to `conftest.exe'), while it won't with
2159 # `rm'.
2160 for ac_file in conftest.exe conftest conftest.*; do
2161   test -f "$ac_file" || continue
2162   case $ac_file in
2163     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2164     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2165           export ac_cv_exeext
2166           break;;
2167     * ) break;;
2168   esac
2169 done
2170 else
2171   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2172 See \`config.log' for more details." >&5
2173 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2174 See \`config.log' for more details." >&2;}
2175    { (exit 1); exit 1; }; }
2176 fi
2177
2178 rm -f conftest$ac_cv_exeext
2179 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2180 echo "${ECHO_T}$ac_cv_exeext" >&6
2181
2182 rm -f conftest.$ac_ext
2183 EXEEXT=$ac_cv_exeext
2184 ac_exeext=$EXEEXT
2185 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2186 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2187 if test "${ac_cv_objext+set}" = set; then
2188   echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190   cat >conftest.$ac_ext <<_ACEOF
2191 /* confdefs.h.  */
2192 _ACEOF
2193 cat confdefs.h >>conftest.$ac_ext
2194 cat >>conftest.$ac_ext <<_ACEOF
2195 /* end confdefs.h.  */
2196
2197 int
2198 main ()
2199 {
2200
2201   ;
2202   return 0;
2203 }
2204 _ACEOF
2205 rm -f conftest.o conftest.obj
2206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207   (eval $ac_compile) 2>&5
2208   ac_status=$?
2209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210   (exit $ac_status); }; then
2211   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2212   case $ac_file in
2213     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2214     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2215        break;;
2216   esac
2217 done
2218 else
2219   echo "$as_me: failed program was:" >&5
2220 sed 's/^/| /' conftest.$ac_ext >&5
2221
2222 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2225 See \`config.log' for more details." >&2;}
2226    { (exit 1); exit 1; }; }
2227 fi
2228
2229 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2230 fi
2231 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2232 echo "${ECHO_T}$ac_cv_objext" >&6
2233 OBJEXT=$ac_cv_objext
2234 ac_objext=$OBJEXT
2235 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2236 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2237 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2238   echo $ECHO_N "(cached) $ECHO_C" >&6
2239 else
2240   cat >conftest.$ac_ext <<_ACEOF
2241 /* confdefs.h.  */
2242 _ACEOF
2243 cat confdefs.h >>conftest.$ac_ext
2244 cat >>conftest.$ac_ext <<_ACEOF
2245 /* end confdefs.h.  */
2246
2247 int
2248 main ()
2249 {
2250 #ifndef __GNUC__
2251        choke me
2252 #endif
2253
2254   ;
2255   return 0;
2256 }
2257 _ACEOF
2258 rm -f conftest.$ac_objext
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260   (eval $ac_compile) 2>conftest.er1
2261   ac_status=$?
2262   grep -v '^ *+' conftest.er1 >conftest.err
2263   rm -f conftest.er1
2264   cat conftest.err >&5
2265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266   (exit $ac_status); } &&
2267          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269   (eval $ac_try) 2>&5
2270   ac_status=$?
2271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272   (exit $ac_status); }; } &&
2273          { ac_try='test -s conftest.$ac_objext'
2274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275   (eval $ac_try) 2>&5
2276   ac_status=$?
2277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278   (exit $ac_status); }; }; then
2279   ac_compiler_gnu=yes
2280 else
2281   echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2283
2284 ac_compiler_gnu=no
2285 fi
2286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2287 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2288
2289 fi
2290 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2291 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2292 GCC=`test $ac_compiler_gnu = yes && echo yes`
2293 ac_test_CFLAGS=${CFLAGS+set}
2294 ac_save_CFLAGS=$CFLAGS
2295 CFLAGS="-g"
2296 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2297 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2298 if test "${ac_cv_prog_cc_g+set}" = set; then
2299   echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301   cat >conftest.$ac_ext <<_ACEOF
2302 /* confdefs.h.  */
2303 _ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h.  */
2307
2308 int
2309 main ()
2310 {
2311
2312   ;
2313   return 0;
2314 }
2315 _ACEOF
2316 rm -f conftest.$ac_objext
2317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2318   (eval $ac_compile) 2>conftest.er1
2319   ac_status=$?
2320   grep -v '^ *+' conftest.er1 >conftest.err
2321   rm -f conftest.er1
2322   cat conftest.err >&5
2323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324   (exit $ac_status); } &&
2325          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327   (eval $ac_try) 2>&5
2328   ac_status=$?
2329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330   (exit $ac_status); }; } &&
2331          { ac_try='test -s conftest.$ac_objext'
2332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333   (eval $ac_try) 2>&5
2334   ac_status=$?
2335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336   (exit $ac_status); }; }; then
2337   ac_cv_prog_cc_g=yes
2338 else
2339   echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2341
2342 ac_cv_prog_cc_g=no
2343 fi
2344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2345 fi
2346 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2347 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2348 if test "$ac_test_CFLAGS" = set; then
2349   CFLAGS=$ac_save_CFLAGS
2350 elif test $ac_cv_prog_cc_g = yes; then
2351   if test "$GCC" = yes; then
2352     CFLAGS="-g -O2"
2353   else
2354     CFLAGS="-g"
2355   fi
2356 else
2357   if test "$GCC" = yes; then
2358     CFLAGS="-O2"
2359   else
2360     CFLAGS=
2361   fi
2362 fi
2363 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2364 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2365 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2366   echo $ECHO_N "(cached) $ECHO_C" >&6
2367 else
2368   ac_cv_prog_cc_stdc=no
2369 ac_save_CC=$CC
2370 cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h.  */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h.  */
2376 #include <stdarg.h>
2377 #include <stdio.h>
2378 #include <sys/types.h>
2379 #include <sys/stat.h>
2380 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2381 struct buf { int x; };
2382 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2383 static char *e (p, i)
2384      char **p;
2385      int i;
2386 {
2387   return p[i];
2388 }
2389 static char *f (char * (*g) (char **, int), char **p, ...)
2390 {
2391   char *s;
2392   va_list v;
2393   va_start (v,p);
2394   s = g (p, va_arg (v,int));
2395   va_end (v);
2396   return s;
2397 }
2398
2399 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2400    function prototypes and stuff, but not '\xHH' hex character constants.
2401    These don't provoke an error unfortunately, instead are silently treated
2402    as 'x'.  The following induces an error, until -std1 is added to get
2403    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2404    array size at least.  It's necessary to write '\x00'==0 to get something
2405    that's true only with -std1.  */
2406 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2407
2408 int test (int i, double x);
2409 struct s1 {int (*f) (int a);};
2410 struct s2 {int (*f) (double a);};
2411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2412 int argc;
2413 char **argv;
2414 int
2415 main ()
2416 {
2417 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2418   ;
2419   return 0;
2420 }
2421 _ACEOF
2422 # Don't try gcc -ansi; that turns off useful extensions and
2423 # breaks some systems' header files.
2424 # AIX                   -qlanglvl=ansi
2425 # Ultrix and OSF/1      -std1
2426 # HP-UX 10.20 and later -Ae
2427 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2428 # SVR4                  -Xc -D__EXTENSIONS__
2429 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2430 do
2431   CC="$ac_save_CC $ac_arg"
2432   rm -f conftest.$ac_objext
2433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2434   (eval $ac_compile) 2>conftest.er1
2435   ac_status=$?
2436   grep -v '^ *+' conftest.er1 >conftest.err
2437   rm -f conftest.er1
2438   cat conftest.err >&5
2439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440   (exit $ac_status); } &&
2441          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443   (eval $ac_try) 2>&5
2444   ac_status=$?
2445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446   (exit $ac_status); }; } &&
2447          { ac_try='test -s conftest.$ac_objext'
2448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449   (eval $ac_try) 2>&5
2450   ac_status=$?
2451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452   (exit $ac_status); }; }; then
2453   ac_cv_prog_cc_stdc=$ac_arg
2454 break
2455 else
2456   echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.$ac_ext >&5
2458
2459 fi
2460 rm -f conftest.err conftest.$ac_objext
2461 done
2462 rm -f conftest.$ac_ext conftest.$ac_objext
2463 CC=$ac_save_CC
2464
2465 fi
2466
2467 case "x$ac_cv_prog_cc_stdc" in
2468   x|xno)
2469     echo "$as_me:$LINENO: result: none needed" >&5
2470 echo "${ECHO_T}none needed" >&6 ;;
2471   *)
2472     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2473 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2474     CC="$CC $ac_cv_prog_cc_stdc" ;;
2475 esac
2476
2477 # Some people use a C++ compiler to compile C.  Since we use `exit',
2478 # in C++ we need to declare it.  In case someone uses the same compiler
2479 # for both compiling C and C++ we need to have the C++ compiler decide
2480 # the declaration of exit, since it's the most demanding environment.
2481 cat >conftest.$ac_ext <<_ACEOF
2482 #ifndef __cplusplus
2483   choke me
2484 #endif
2485 _ACEOF
2486 rm -f conftest.$ac_objext
2487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488   (eval $ac_compile) 2>conftest.er1
2489   ac_status=$?
2490   grep -v '^ *+' conftest.er1 >conftest.err
2491   rm -f conftest.er1
2492   cat conftest.err >&5
2493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494   (exit $ac_status); } &&
2495          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497   (eval $ac_try) 2>&5
2498   ac_status=$?
2499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500   (exit $ac_status); }; } &&
2501          { ac_try='test -s conftest.$ac_objext'
2502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503   (eval $ac_try) 2>&5
2504   ac_status=$?
2505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506   (exit $ac_status); }; }; then
2507   for ac_declaration in \
2508    '' \
2509    'extern "C" void std::exit (int) throw (); using std::exit;' \
2510    'extern "C" void std::exit (int); using std::exit;' \
2511    'extern "C" void exit (int) throw ();' \
2512    'extern "C" void exit (int);' \
2513    'void exit (int);'
2514 do
2515   cat >conftest.$ac_ext <<_ACEOF
2516 /* confdefs.h.  */
2517 _ACEOF
2518 cat confdefs.h >>conftest.$ac_ext
2519 cat >>conftest.$ac_ext <<_ACEOF
2520 /* end confdefs.h.  */
2521 $ac_declaration
2522 #include <stdlib.h>
2523 int
2524 main ()
2525 {
2526 exit (42);
2527   ;
2528   return 0;
2529 }
2530 _ACEOF
2531 rm -f conftest.$ac_objext
2532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2533   (eval $ac_compile) 2>conftest.er1
2534   ac_status=$?
2535   grep -v '^ *+' conftest.er1 >conftest.err
2536   rm -f conftest.er1
2537   cat conftest.err >&5
2538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539   (exit $ac_status); } &&
2540          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542   (eval $ac_try) 2>&5
2543   ac_status=$?
2544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545   (exit $ac_status); }; } &&
2546          { ac_try='test -s conftest.$ac_objext'
2547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548   (eval $ac_try) 2>&5
2549   ac_status=$?
2550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551   (exit $ac_status); }; }; then
2552   :
2553 else
2554   echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2556
2557 continue
2558 fi
2559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2560   cat >conftest.$ac_ext <<_ACEOF
2561 /* confdefs.h.  */
2562 _ACEOF
2563 cat confdefs.h >>conftest.$ac_ext
2564 cat >>conftest.$ac_ext <<_ACEOF
2565 /* end confdefs.h.  */
2566 $ac_declaration
2567 int
2568 main ()
2569 {
2570 exit (42);
2571   ;
2572   return 0;
2573 }
2574 _ACEOF
2575 rm -f conftest.$ac_objext
2576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577   (eval $ac_compile) 2>conftest.er1
2578   ac_status=$?
2579   grep -v '^ *+' conftest.er1 >conftest.err
2580   rm -f conftest.er1
2581   cat conftest.err >&5
2582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583   (exit $ac_status); } &&
2584          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586   (eval $ac_try) 2>&5
2587   ac_status=$?
2588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589   (exit $ac_status); }; } &&
2590          { ac_try='test -s conftest.$ac_objext'
2591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592   (eval $ac_try) 2>&5
2593   ac_status=$?
2594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595   (exit $ac_status); }; }; then
2596   break
2597 else
2598   echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2600
2601 fi
2602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2603 done
2604 rm -f conftest*
2605 if test -n "$ac_declaration"; then
2606   echo '#ifdef __cplusplus' >>confdefs.h
2607   echo $ac_declaration      >>confdefs.h
2608   echo '#endif'             >>confdefs.h
2609 fi
2610
2611 else
2612   echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2614
2615 fi
2616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2617 ac_ext=c
2618 ac_cpp='$CPP $CPPFLAGS'
2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2622 rm -f .deps 2>/dev/null
2623 mkdir .deps 2>/dev/null
2624 if test -d .deps; then
2625   DEPDIR=.deps
2626 else
2627   # MS-DOS does not allow filenames that begin with a dot.
2628   DEPDIR=_deps
2629 fi
2630 rmdir .deps 2>/dev/null
2631
2632
2633           ac_config_commands="$ac_config_commands depfiles"
2634
2635
2636 am_make=${MAKE-make}
2637 cat > confinc << 'END'
2638 doit:
2639         @echo done
2640 END
2641 # If we don't find an include directive, just comment out the code.
2642 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2643 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2644 am__include="#"
2645 am__quote=
2646 _am_result=none
2647 # First try GNU make style include.
2648 echo "include confinc" > confmf
2649 # We grep out `Entering directory' and `Leaving directory'
2650 # messages which can occur if `w' ends up in MAKEFLAGS.
2651 # In particular we don't look at `^make:' because GNU make might
2652 # be invoked under some other name (usually "gmake"), in which
2653 # case it prints its new name instead of `make'.
2654 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2655    am__include=include
2656    am__quote=
2657    _am_result=GNU
2658 fi
2659 # Now try BSD make style include.
2660 if test "$am__include" = "#"; then
2661    echo '.include "confinc"' > confmf
2662    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2663       am__include=.include
2664       am__quote="\""
2665       _am_result=BSD
2666    fi
2667 fi
2668
2669
2670 echo "$as_me:$LINENO: result: $_am_result" >&5
2671 echo "${ECHO_T}$_am_result" >&6
2672 rm -f confinc confmf
2673
2674 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2675 if test "${enable_dependency_tracking+set}" = set; then
2676   enableval="$enable_dependency_tracking"
2677
2678 fi;
2679 if test "x$enable_dependency_tracking" != xno; then
2680   am_depcomp="$ac_aux_dir/depcomp"
2681   AMDEPBACKSLASH='\'
2682 fi
2683
2684
2685 if test "x$enable_dependency_tracking" != xno; then
2686   AMDEP_TRUE=
2687   AMDEP_FALSE='#'
2688 else
2689   AMDEP_TRUE='#'
2690   AMDEP_FALSE=
2691 fi
2692
2693
2694
2695
2696 depcc="$CC"   am_compiler_list=
2697
2698 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2699 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2700 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2701   echo $ECHO_N "(cached) $ECHO_C" >&6
2702 else
2703   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2704   # We make a subdir and do the tests there.  Otherwise we can end up
2705   # making bogus files that we don't know about and never remove.  For
2706   # instance it was reported that on HP-UX the gcc test will end up
2707   # making a dummy file named `D' -- because `-MD' means `put the output
2708   # in D'.
2709   mkdir conftest.dir
2710   # Copy depcomp to subdir because otherwise we won't find it if we're
2711   # using a relative directory.
2712   cp "$am_depcomp" conftest.dir
2713   cd conftest.dir
2714
2715   am_cv_CC_dependencies_compiler_type=none
2716   if test "$am_compiler_list" = ""; then
2717      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2718   fi
2719   for depmode in $am_compiler_list; do
2720     # We need to recreate these files for each test, as the compiler may
2721     # overwrite some of them when testing with obscure command lines.
2722     # This happens at least with the AIX C compiler.
2723     echo '#include "conftest.h"' > conftest.c
2724     echo 'int i;' > conftest.h
2725     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2726
2727     case $depmode in
2728     nosideeffect)
2729       # after this tag, mechanisms are not by side-effect, so they'll
2730       # only be used when explicitly requested
2731       if test "x$enable_dependency_tracking" = xyes; then
2732         continue
2733       else
2734         break
2735       fi
2736       ;;
2737     none) break ;;
2738     esac
2739     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2740     # mode.  It turns out that the SunPro C++ compiler does not properly
2741     # handle `-M -o', and we need to detect this.
2742     if depmode=$depmode \
2743        source=conftest.c object=conftest.o \
2744        depfile=conftest.Po tmpdepfile=conftest.TPo \
2745        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2746        grep conftest.h conftest.Po > /dev/null 2>&1 &&
2747        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2748       am_cv_CC_dependencies_compiler_type=$depmode
2749       break
2750     fi
2751   done
2752
2753   cd ..
2754   rm -rf conftest.dir
2755 else
2756   am_cv_CC_dependencies_compiler_type=none
2757 fi
2758
2759 fi
2760 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2761 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2762 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2763
2764
2765 ac_ext=c
2766 ac_cpp='$CPP $CPPFLAGS'
2767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2770 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2771 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2772 # On Suns, sometimes $CPP names a directory.
2773 if test -n "$CPP" && test -d "$CPP"; then
2774   CPP=
2775 fi
2776 if test -z "$CPP"; then
2777   if test "${ac_cv_prog_CPP+set}" = set; then
2778   echo $ECHO_N "(cached) $ECHO_C" >&6
2779 else
2780       # Double quotes because CPP needs to be expanded
2781     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2782     do
2783       ac_preproc_ok=false
2784 for ac_c_preproc_warn_flag in '' yes
2785 do
2786   # Use a header file that comes with gcc, so configuring glibc
2787   # with a fresh cross-compiler works.
2788   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2789   # <limits.h> exists even on freestanding compilers.
2790   # On the NeXT, cc -E runs the code through the compiler's parser,
2791   # not just through cpp. "Syntax error" is here to catch this case.
2792   cat >conftest.$ac_ext <<_ACEOF
2793 /* confdefs.h.  */
2794 _ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h.  */
2798 #ifdef __STDC__
2799 # include <limits.h>
2800 #else
2801 # include <assert.h>
2802 #endif
2803                      Syntax error
2804 _ACEOF
2805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2806   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2807   ac_status=$?
2808   grep -v '^ *+' conftest.er1 >conftest.err
2809   rm -f conftest.er1
2810   cat conftest.err >&5
2811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812   (exit $ac_status); } >/dev/null; then
2813   if test -s conftest.err; then
2814     ac_cpp_err=$ac_c_preproc_warn_flag
2815     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2816   else
2817     ac_cpp_err=
2818   fi
2819 else
2820   ac_cpp_err=yes
2821 fi
2822 if test -z "$ac_cpp_err"; then
2823   :
2824 else
2825   echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2827
2828   # Broken: fails on valid input.
2829 continue
2830 fi
2831 rm -f conftest.err conftest.$ac_ext
2832
2833   # OK, works on sane cases.  Now check whether non-existent headers
2834   # can be detected and how.
2835   cat >conftest.$ac_ext <<_ACEOF
2836 /* confdefs.h.  */
2837 _ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h.  */
2841 #include <ac_nonexistent.h>
2842 _ACEOF
2843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2844   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2845   ac_status=$?
2846   grep -v '^ *+' conftest.er1 >conftest.err
2847   rm -f conftest.er1
2848   cat conftest.err >&5
2849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850   (exit $ac_status); } >/dev/null; then
2851   if test -s conftest.err; then
2852     ac_cpp_err=$ac_c_preproc_warn_flag
2853     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2854   else
2855     ac_cpp_err=
2856   fi
2857 else
2858   ac_cpp_err=yes
2859 fi
2860 if test -z "$ac_cpp_err"; then
2861   # Broken: success on invalid input.
2862 continue
2863 else
2864   echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.$ac_ext >&5
2866
2867   # Passes both tests.
2868 ac_preproc_ok=:
2869 break
2870 fi
2871 rm -f conftest.err conftest.$ac_ext
2872
2873 done
2874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2875 rm -f conftest.err conftest.$ac_ext
2876 if $ac_preproc_ok; then
2877   break
2878 fi
2879
2880     done
2881     ac_cv_prog_CPP=$CPP
2882
2883 fi
2884   CPP=$ac_cv_prog_CPP
2885 else
2886   ac_cv_prog_CPP=$CPP
2887 fi
2888 echo "$as_me:$LINENO: result: $CPP" >&5
2889 echo "${ECHO_T}$CPP" >&6
2890 ac_preproc_ok=false
2891 for ac_c_preproc_warn_flag in '' yes
2892 do
2893   # Use a header file that comes with gcc, so configuring glibc
2894   # with a fresh cross-compiler works.
2895   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2896   # <limits.h> exists even on freestanding compilers.
2897   # On the NeXT, cc -E runs the code through the compiler's parser,
2898   # not just through cpp. "Syntax error" is here to catch this case.
2899   cat >conftest.$ac_ext <<_ACEOF
2900 /* confdefs.h.  */
2901 _ACEOF
2902 cat confdefs.h >>conftest.$ac_ext
2903 cat >>conftest.$ac_ext <<_ACEOF
2904 /* end confdefs.h.  */
2905 #ifdef __STDC__
2906 # include <limits.h>
2907 #else
2908 # include <assert.h>
2909 #endif
2910                      Syntax error
2911 _ACEOF
2912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2913   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2914   ac_status=$?
2915   grep -v '^ *+' conftest.er1 >conftest.err
2916   rm -f conftest.er1
2917   cat conftest.err >&5
2918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919   (exit $ac_status); } >/dev/null; then
2920   if test -s conftest.err; then
2921     ac_cpp_err=$ac_c_preproc_warn_flag
2922     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2923   else
2924     ac_cpp_err=
2925   fi
2926 else
2927   ac_cpp_err=yes
2928 fi
2929 if test -z "$ac_cpp_err"; then
2930   :
2931 else
2932   echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2934
2935   # Broken: fails on valid input.
2936 continue
2937 fi
2938 rm -f conftest.err conftest.$ac_ext
2939
2940   # OK, works on sane cases.  Now check whether non-existent headers
2941   # can be detected and how.
2942   cat >conftest.$ac_ext <<_ACEOF
2943 /* confdefs.h.  */
2944 _ACEOF
2945 cat confdefs.h >>conftest.$ac_ext
2946 cat >>conftest.$ac_ext <<_ACEOF
2947 /* end confdefs.h.  */
2948 #include <ac_nonexistent.h>
2949 _ACEOF
2950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2951   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2952   ac_status=$?
2953   grep -v '^ *+' conftest.er1 >conftest.err
2954   rm -f conftest.er1
2955   cat conftest.err >&5
2956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957   (exit $ac_status); } >/dev/null; then
2958   if test -s conftest.err; then
2959     ac_cpp_err=$ac_c_preproc_warn_flag
2960     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2961   else
2962     ac_cpp_err=
2963   fi
2964 else
2965   ac_cpp_err=yes
2966 fi
2967 if test -z "$ac_cpp_err"; then
2968   # Broken: success on invalid input.
2969 continue
2970 else
2971   echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2973
2974   # Passes both tests.
2975 ac_preproc_ok=:
2976 break
2977 fi
2978 rm -f conftest.err conftest.$ac_ext
2979
2980 done
2981 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2982 rm -f conftest.err conftest.$ac_ext
2983 if $ac_preproc_ok; then
2984   :
2985 else
2986   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2987 See \`config.log' for more details." >&5
2988 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2989 See \`config.log' for more details." >&2;}
2990    { (exit 1); exit 1; }; }
2991 fi
2992
2993 ac_ext=c
2994 ac_cpp='$CPP $CPPFLAGS'
2995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998
2999 # Find a good install program.  We prefer a C program (faster),
3000 # so one script is as good as another.  But avoid the broken or
3001 # incompatible versions:
3002 # SysV /etc/install, /usr/sbin/install
3003 # SunOS /usr/etc/install
3004 # IRIX /sbin/install
3005 # AIX /bin/install
3006 # AmigaOS /C/install, which installs bootblocks on floppy discs
3007 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3008 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3009 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3010 # OS/2's system install, which has a completely different semantic
3011 # ./install, which can be erroneously created by make from ./install.sh.
3012 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3013 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3014 if test -z "$INSTALL"; then
3015 if test "${ac_cv_path_install+set}" = set; then
3016   echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3020 do
3021   IFS=$as_save_IFS
3022   test -z "$as_dir" && as_dir=.
3023   # Account for people who put trailing slashes in PATH elements.
3024 case $as_dir/ in
3025   ./ | .// | /cC/* | \
3026   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3027   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3028   /usr/ucb/* ) ;;
3029   *)
3030     # OSF1 and SCO ODT 3.0 have their own names for install.
3031     # Don't use installbsd from OSF since it installs stuff as root
3032     # by default.
3033     for ac_prog in ginstall scoinst install; do
3034       for ac_exec_ext in '' $ac_executable_extensions; do
3035         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3036           if test $ac_prog = install &&
3037             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3038             # AIX install.  It has an incompatible calling convention.
3039             :
3040           elif test $ac_prog = install &&
3041             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3042             # program-specific install script used by HP pwplus--don't use.
3043             :
3044           else
3045             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3046             break 3
3047           fi
3048         fi
3049       done
3050     done
3051     ;;
3052 esac
3053 done
3054
3055
3056 fi
3057   if test "${ac_cv_path_install+set}" = set; then
3058     INSTALL=$ac_cv_path_install
3059   else
3060     # As a last resort, use the slow shell script.  We don't cache a
3061     # path for INSTALL within a source directory, because that will
3062     # break other packages using the cache if that directory is
3063     # removed, or if the path is relative.
3064     INSTALL=$ac_install_sh
3065   fi
3066 fi
3067 echo "$as_me:$LINENO: result: $INSTALL" >&5
3068 echo "${ECHO_T}$INSTALL" >&6
3069
3070 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3071 # It thinks the first close brace ends the variable substitution.
3072 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3073
3074 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3075
3076 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3077
3078
3079
3080 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3081 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3082 if test "${ac_cv_type_signal+set}" = set; then
3083   echo $ECHO_N "(cached) $ECHO_C" >&6
3084 else
3085   cat >conftest.$ac_ext <<_ACEOF
3086 /* confdefs.h.  */
3087 _ACEOF
3088 cat confdefs.h >>conftest.$ac_ext
3089 cat >>conftest.$ac_ext <<_ACEOF
3090 /* end confdefs.h.  */
3091 #include <sys/types.h>
3092 #include <signal.h>
3093 #ifdef signal
3094 # undef signal
3095 #endif
3096 #ifdef __cplusplus
3097 extern "C" void (*signal (int, void (*)(int)))(int);
3098 #else
3099 void (*signal ()) ();
3100 #endif
3101
3102 int
3103 main ()
3104 {
3105 int i;
3106   ;
3107   return 0;
3108 }
3109 _ACEOF
3110 rm -f conftest.$ac_objext
3111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3112   (eval $ac_compile) 2>conftest.er1
3113   ac_status=$?
3114   grep -v '^ *+' conftest.er1 >conftest.err
3115   rm -f conftest.er1
3116   cat conftest.err >&5
3117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118   (exit $ac_status); } &&
3119          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121   (eval $ac_try) 2>&5
3122   ac_status=$?
3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124   (exit $ac_status); }; } &&
3125          { ac_try='test -s conftest.$ac_objext'
3126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127   (eval $ac_try) 2>&5
3128   ac_status=$?
3129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130   (exit $ac_status); }; }; then
3131   ac_cv_type_signal=void
3132 else
3133   echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3135
3136 ac_cv_type_signal=int
3137 fi
3138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3139 fi
3140 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3141 echo "${ECHO_T}$ac_cv_type_signal" >&6
3142
3143 cat >>confdefs.h <<_ACEOF
3144 #define RETSIGTYPE $ac_cv_type_signal
3145 _ACEOF
3146
3147
3148
3149
3150 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3151 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3152 if test "${ac_cv_func_gethostbyname+set}" = set; then
3153   echo $ECHO_N "(cached) $ECHO_C" >&6
3154 else
3155   cat >conftest.$ac_ext <<_ACEOF
3156 /* confdefs.h.  */
3157 _ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h.  */
3161 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3163 #define gethostbyname innocuous_gethostbyname
3164
3165 /* System header to define __stub macros and hopefully few prototypes,
3166     which can conflict with char gethostbyname (); below.
3167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3168     <limits.h> exists even on freestanding compilers.  */
3169
3170 #ifdef __STDC__
3171 # include <limits.h>
3172 #else
3173 # include <assert.h>
3174 #endif
3175
3176 #undef gethostbyname
3177
3178 /* Override any gcc2 internal prototype to avoid an error.  */
3179 #ifdef __cplusplus
3180 extern "C"
3181 {
3182 #endif
3183 /* We use char because int might match the return type of a gcc2
3184    builtin and then its argument prototype would still apply.  */
3185 char gethostbyname ();
3186 /* The GNU C library defines this for functions which it implements
3187     to always fail with ENOSYS.  Some functions are actually named
3188     something starting with __ and the normal name is an alias.  */
3189 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3190 choke me
3191 #else
3192 char (*f) () = gethostbyname;
3193 #endif
3194 #ifdef __cplusplus
3195 }
3196 #endif
3197
3198 int
3199 main ()
3200 {
3201 return f != gethostbyname;
3202   ;
3203   return 0;
3204 }
3205 _ACEOF
3206 rm -f conftest.$ac_objext conftest$ac_exeext
3207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3208   (eval $ac_link) 2>conftest.er1
3209   ac_status=$?
3210   grep -v '^ *+' conftest.er1 >conftest.err
3211   rm -f conftest.er1
3212   cat conftest.err >&5
3213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214   (exit $ac_status); } &&
3215          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217   (eval $ac_try) 2>&5
3218   ac_status=$?
3219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220   (exit $ac_status); }; } &&
3221          { ac_try='test -s conftest$ac_exeext'
3222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223   (eval $ac_try) 2>&5
3224   ac_status=$?
3225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226   (exit $ac_status); }; }; then
3227   ac_cv_func_gethostbyname=yes
3228 else
3229   echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3231
3232 ac_cv_func_gethostbyname=no
3233 fi
3234 rm -f conftest.err conftest.$ac_objext \
3235       conftest$ac_exeext conftest.$ac_ext
3236 fi
3237 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3238 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3239
3240 if test $ac_cv_func_gethostbyname = no; then
3241
3242 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3243 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3244 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3245   echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else
3247   ac_check_lib_save_LIBS=$LIBS
3248 LIBS="-lnsl  $LIBS"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h.  */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h.  */
3255
3256 /* Override any gcc2 internal prototype to avoid an error.  */
3257 #ifdef __cplusplus
3258 extern "C"
3259 #endif
3260 /* We use char because int might match the return type of a gcc2
3261    builtin and then its argument prototype would still apply.  */
3262 char gethostbyname ();
3263 int
3264 main ()
3265 {
3266 gethostbyname ();
3267   ;
3268   return 0;
3269 }
3270 _ACEOF
3271 rm -f conftest.$ac_objext conftest$ac_exeext
3272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3273   (eval $ac_link) 2>conftest.er1
3274   ac_status=$?
3275   grep -v '^ *+' conftest.er1 >conftest.err
3276   rm -f conftest.er1
3277   cat conftest.err >&5
3278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279   (exit $ac_status); } &&
3280          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3282   (eval $ac_try) 2>&5
3283   ac_status=$?
3284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285   (exit $ac_status); }; } &&
3286          { ac_try='test -s conftest$ac_exeext'
3287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288   (eval $ac_try) 2>&5
3289   ac_status=$?
3290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291   (exit $ac_status); }; }; then
3292   ac_cv_lib_nsl_gethostbyname=yes
3293 else
3294   echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3296
3297 ac_cv_lib_nsl_gethostbyname=no
3298 fi
3299 rm -f conftest.err conftest.$ac_objext \
3300       conftest$ac_exeext conftest.$ac_ext
3301 LIBS=$ac_check_lib_save_LIBS
3302 fi
3303 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3304 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3305 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3306   cat >>confdefs.h <<_ACEOF
3307 #define HAVE_LIBNSL 1
3308 _ACEOF
3309
3310   LIBS="-lnsl $LIBS"
3311
3312 fi
3313
3314 fi
3315 echo "$as_me:$LINENO: checking for connect" >&5
3316 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3317 if test "${ac_cv_func_connect+set}" = set; then
3318   echo $ECHO_N "(cached) $ECHO_C" >&6
3319 else
3320   cat >conftest.$ac_ext <<_ACEOF
3321 /* confdefs.h.  */
3322 _ACEOF
3323 cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h.  */
3326 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3328 #define connect innocuous_connect
3329
3330 /* System header to define __stub macros and hopefully few prototypes,
3331     which can conflict with char connect (); below.
3332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3333     <limits.h> exists even on freestanding compilers.  */
3334
3335 #ifdef __STDC__
3336 # include <limits.h>
3337 #else
3338 # include <assert.h>
3339 #endif
3340
3341 #undef connect
3342
3343 /* Override any gcc2 internal prototype to avoid an error.  */
3344 #ifdef __cplusplus
3345 extern "C"
3346 {
3347 #endif
3348 /* We use char because int might match the return type of a gcc2
3349    builtin and then its argument prototype would still apply.  */
3350 char connect ();
3351 /* The GNU C library defines this for functions which it implements
3352     to always fail with ENOSYS.  Some functions are actually named
3353     something starting with __ and the normal name is an alias.  */
3354 #if defined (__stub_connect) || defined (__stub___connect)
3355 choke me
3356 #else
3357 char (*f) () = connect;
3358 #endif
3359 #ifdef __cplusplus
3360 }
3361 #endif
3362
3363 int
3364 main ()
3365 {
3366 return f != connect;
3367   ;
3368   return 0;
3369 }
3370 _ACEOF
3371 rm -f conftest.$ac_objext conftest$ac_exeext
3372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3373   (eval $ac_link) 2>conftest.er1
3374   ac_status=$?
3375   grep -v '^ *+' conftest.er1 >conftest.err
3376   rm -f conftest.er1
3377   cat conftest.err >&5
3378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379   (exit $ac_status); } &&
3380          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382   (eval $ac_try) 2>&5
3383   ac_status=$?
3384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385   (exit $ac_status); }; } &&
3386          { ac_try='test -s conftest$ac_exeext'
3387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3388   (eval $ac_try) 2>&5
3389   ac_status=$?
3390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391   (exit $ac_status); }; }; then
3392   ac_cv_func_connect=yes
3393 else
3394   echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3396
3397 ac_cv_func_connect=no
3398 fi
3399 rm -f conftest.err conftest.$ac_objext \
3400       conftest$ac_exeext conftest.$ac_ext
3401 fi
3402 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3403 echo "${ECHO_T}$ac_cv_func_connect" >&6
3404
3405 if test $ac_cv_func_connect = no; then
3406
3407 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3408 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3409 if test "${ac_cv_lib_socket_connect+set}" = set; then
3410   echo $ECHO_N "(cached) $ECHO_C" >&6
3411 else
3412   ac_check_lib_save_LIBS=$LIBS
3413 LIBS="-lsocket  $LIBS"
3414 cat >conftest.$ac_ext <<_ACEOF
3415 /* confdefs.h.  */
3416 _ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h.  */
3420
3421 /* Override any gcc2 internal prototype to avoid an error.  */
3422 #ifdef __cplusplus
3423 extern "C"
3424 #endif
3425 /* We use char because int might match the return type of a gcc2
3426    builtin and then its argument prototype would still apply.  */
3427 char connect ();
3428 int
3429 main ()
3430 {
3431 connect ();
3432   ;
3433   return 0;
3434 }
3435 _ACEOF
3436 rm -f conftest.$ac_objext conftest$ac_exeext
3437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3438   (eval $ac_link) 2>conftest.er1
3439   ac_status=$?
3440   grep -v '^ *+' conftest.er1 >conftest.err
3441   rm -f conftest.er1
3442   cat conftest.err >&5
3443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444   (exit $ac_status); } &&
3445          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447   (eval $ac_try) 2>&5
3448   ac_status=$?
3449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450   (exit $ac_status); }; } &&
3451          { ac_try='test -s conftest$ac_exeext'
3452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453   (eval $ac_try) 2>&5
3454   ac_status=$?
3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456   (exit $ac_status); }; }; then
3457   ac_cv_lib_socket_connect=yes
3458 else
3459   echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3461
3462 ac_cv_lib_socket_connect=no
3463 fi
3464 rm -f conftest.err conftest.$ac_objext \
3465       conftest$ac_exeext conftest.$ac_ext
3466 LIBS=$ac_check_lib_save_LIBS
3467 fi
3468 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3469 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3470 if test $ac_cv_lib_socket_connect = yes; then
3471   cat >>confdefs.h <<_ACEOF
3472 #define HAVE_LIBSOCKET 1
3473 _ACEOF
3474
3475   LIBS="-lsocket $LIBS"
3476
3477 fi
3478
3479 fi
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510 for ac_func in socket \
3511                 strdup \
3512                 getopt_long \
3513                 gethostbyaddr \
3514                 getservbyname \
3515                 inet_addr \
3516                 inet_ntoa \
3517                 snprintf \
3518                 vfprintf \
3519                 stat \
3520                 vsprintf \
3521                 vsnprintf \
3522                 strerror \
3523                 strftime \
3524                 wait \
3525                 waitpid \
3526                 getpid \
3527                 fork \
3528                 vfork \
3529                 getuid \
3530                 geteuid \
3531                 setuid \
3532                 seteuid \
3533                 getgid \
3534                 getegid \
3535                 setgid \
3536                 setegid \
3537                 inet_aton \
3538                 herror
3539 do
3540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3541 echo "$as_me:$LINENO: checking for $ac_func" >&5
3542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3543 if eval "test \"\${$as_ac_var+set}\" = set"; then
3544   echo $ECHO_N "(cached) $ECHO_C" >&6
3545 else
3546   cat >conftest.$ac_ext <<_ACEOF
3547 /* confdefs.h.  */
3548 _ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h.  */
3552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3554 #define $ac_func innocuous_$ac_func
3555
3556 /* System header to define __stub macros and hopefully few prototypes,
3557     which can conflict with char $ac_func (); below.
3558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3559     <limits.h> exists even on freestanding compilers.  */
3560
3561 #ifdef __STDC__
3562 # include <limits.h>
3563 #else
3564 # include <assert.h>
3565 #endif
3566
3567 #undef $ac_func
3568
3569 /* Override any gcc2 internal prototype to avoid an error.  */
3570 #ifdef __cplusplus
3571 extern "C"
3572 {
3573 #endif
3574 /* We use char because int might match the return type of a gcc2
3575    builtin and then its argument prototype would still apply.  */
3576 char $ac_func ();
3577 /* The GNU C library defines this for functions which it implements
3578     to always fail with ENOSYS.  Some functions are actually named
3579     something starting with __ and the normal name is an alias.  */
3580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3581 choke me
3582 #else
3583 char (*f) () = $ac_func;
3584 #endif
3585 #ifdef __cplusplus
3586 }
3587 #endif
3588
3589 int
3590 main ()
3591 {
3592 return f != $ac_func;
3593   ;
3594   return 0;
3595 }
3596 _ACEOF
3597 rm -f conftest.$ac_objext conftest$ac_exeext
3598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3599   (eval $ac_link) 2>conftest.er1
3600   ac_status=$?
3601   grep -v '^ *+' conftest.er1 >conftest.err
3602   rm -f conftest.er1
3603   cat conftest.err >&5
3604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605   (exit $ac_status); } &&
3606          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608   (eval $ac_try) 2>&5
3609   ac_status=$?
3610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611   (exit $ac_status); }; } &&
3612          { ac_try='test -s conftest$ac_exeext'
3613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614   (eval $ac_try) 2>&5
3615   ac_status=$?
3616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617   (exit $ac_status); }; }; then
3618   eval "$as_ac_var=yes"
3619 else
3620   echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.$ac_ext >&5
3622
3623 eval "$as_ac_var=no"
3624 fi
3625 rm -f conftest.err conftest.$ac_objext \
3626       conftest$ac_exeext conftest.$ac_ext
3627 fi
3628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3630 if test `eval echo '${'$as_ac_var'}'` = yes; then
3631   cat >>confdefs.h <<_ACEOF
3632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3633 _ACEOF
3634
3635 fi
3636 done
3637
3638
3639
3640 echo "$as_me:$LINENO: checking for egrep" >&5
3641 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3642 if test "${ac_cv_prog_egrep+set}" = set; then
3643   echo $ECHO_N "(cached) $ECHO_C" >&6
3644 else
3645   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3646     then ac_cv_prog_egrep='grep -E'
3647     else ac_cv_prog_egrep='egrep'
3648     fi
3649 fi
3650 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3651 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3652  EGREP=$ac_cv_prog_egrep
3653
3654
3655 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3656 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3657 if test "${ac_cv_header_stdc+set}" = set; then
3658   echo $ECHO_N "(cached) $ECHO_C" >&6
3659 else
3660   cat >conftest.$ac_ext <<_ACEOF
3661 /* confdefs.h.  */
3662 _ACEOF
3663 cat confdefs.h >>conftest.$ac_ext
3664 cat >>conftest.$ac_ext <<_ACEOF
3665 /* end confdefs.h.  */
3666 #include <stdlib.h>
3667 #include <stdarg.h>
3668 #include <string.h>
3669 #include <float.h>
3670
3671 int
3672 main ()
3673 {
3674
3675   ;
3676   return 0;
3677 }
3678 _ACEOF
3679 rm -f conftest.$ac_objext
3680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3681   (eval $ac_compile) 2>conftest.er1
3682   ac_status=$?
3683   grep -v '^ *+' conftest.er1 >conftest.err
3684   rm -f conftest.er1
3685   cat conftest.err >&5
3686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687   (exit $ac_status); } &&
3688          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690   (eval $ac_try) 2>&5
3691   ac_status=$?
3692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693   (exit $ac_status); }; } &&
3694          { ac_try='test -s conftest.$ac_objext'
3695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696   (eval $ac_try) 2>&5
3697   ac_status=$?
3698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699   (exit $ac_status); }; }; then
3700   ac_cv_header_stdc=yes
3701 else
3702   echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3704
3705 ac_cv_header_stdc=no
3706 fi
3707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3708
3709 if test $ac_cv_header_stdc = yes; then
3710   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3711   cat >conftest.$ac_ext <<_ACEOF
3712 /* confdefs.h.  */
3713 _ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h.  */
3717 #include <string.h>
3718
3719 _ACEOF
3720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3721   $EGREP "memchr" >/dev/null 2>&1; then
3722   :
3723 else
3724   ac_cv_header_stdc=no
3725 fi
3726 rm -f conftest*
3727
3728 fi
3729
3730 if test $ac_cv_header_stdc = yes; then
3731   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3732   cat >conftest.$ac_ext <<_ACEOF
3733 /* confdefs.h.  */
3734 _ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h.  */
3738 #include <stdlib.h>
3739
3740 _ACEOF
3741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3742   $EGREP "free" >/dev/null 2>&1; then
3743   :
3744 else
3745   ac_cv_header_stdc=no
3746 fi
3747 rm -f conftest*
3748
3749 fi
3750
3751 if test $ac_cv_header_stdc = yes; then
3752   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3753   if test "$cross_compiling" = yes; then
3754   :
3755 else
3756   cat >conftest.$ac_ext <<_ACEOF
3757 /* confdefs.h.  */
3758 _ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h.  */
3762 #include <ctype.h>
3763 #if ((' ' & 0x0FF) == 0x020)
3764 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3765 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3766 #else
3767 # define ISLOWER(c) \
3768                    (('a' <= (c) && (c) <= 'i') \
3769                      || ('j' <= (c) && (c) <= 'r') \
3770                      || ('s' <= (c) && (c) <= 'z'))
3771 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3772 #endif
3773
3774 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3775 int
3776 main ()
3777 {
3778   int i;
3779   for (i = 0; i < 256; i++)
3780     if (XOR (islower (i), ISLOWER (i))
3781         || toupper (i) != TOUPPER (i))
3782       exit(2);
3783   exit (0);
3784 }
3785 _ACEOF
3786 rm -f conftest$ac_exeext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3788   (eval $ac_link) 2>&5
3789   ac_status=$?
3790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793   (eval $ac_try) 2>&5
3794   ac_status=$?
3795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796   (exit $ac_status); }; }; then
3797   :
3798 else
3799   echo "$as_me: program exited with status $ac_status" >&5
3800 echo "$as_me: failed program was:" >&5
3801 sed 's/^/| /' conftest.$ac_ext >&5
3802
3803 ( exit $ac_status )
3804 ac_cv_header_stdc=no
3805 fi
3806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3807 fi
3808 fi
3809 fi
3810 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3811 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3812 if test $ac_cv_header_stdc = yes; then
3813
3814 cat >>confdefs.h <<\_ACEOF
3815 #define STDC_HEADERS 1
3816 _ACEOF
3817
3818 fi
3819
3820 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3831                   inttypes.h stdint.h unistd.h
3832 do
3833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3834 echo "$as_me:$LINENO: checking for $ac_header" >&5
3835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3837   echo $ECHO_N "(cached) $ECHO_C" >&6
3838 else
3839   cat >conftest.$ac_ext <<_ACEOF
3840 /* confdefs.h.  */
3841 _ACEOF
3842 cat confdefs.h >>conftest.$ac_ext
3843 cat >>conftest.$ac_ext <<_ACEOF
3844 /* end confdefs.h.  */
3845 $ac_includes_default
3846
3847 #include <$ac_header>
3848 _ACEOF
3849 rm -f conftest.$ac_objext
3850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3851   (eval $ac_compile) 2>conftest.er1
3852   ac_status=$?
3853   grep -v '^ *+' conftest.er1 >conftest.err
3854   rm -f conftest.er1
3855   cat conftest.err >&5
3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857   (exit $ac_status); } &&
3858          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860   (eval $ac_try) 2>&5
3861   ac_status=$?
3862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863   (exit $ac_status); }; } &&
3864          { ac_try='test -s conftest.$ac_objext'
3865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866   (eval $ac_try) 2>&5
3867   ac_status=$?
3868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869   (exit $ac_status); }; }; then
3870   eval "$as_ac_Header=yes"
3871 else
3872   echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3874
3875 eval "$as_ac_Header=no"
3876 fi
3877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3878 fi
3879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3882   cat >>confdefs.h <<_ACEOF
3883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3884 _ACEOF
3885
3886 fi
3887
3888 done
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905 for ac_header in arpa/inet.h \
3906                   sys/types.h \
3907                   sys/time.h \
3908                   sys/stat.h \
3909                   fcntl.h \
3910                   signal.h \
3911                   syslog.h \
3912                   pwd.h \
3913                   stdarg.h \
3914                   grp.h \
3915                   errno.h \
3916                   sys/sockio.h \
3917                   sys/wait.h \
3918                   getopt.h
3919 do
3920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3922   echo "$as_me:$LINENO: checking for $ac_header" >&5
3923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3925   echo $ECHO_N "(cached) $ECHO_C" >&6
3926 fi
3927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3929 else
3930   # Is the header compilable?
3931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3933 cat >conftest.$ac_ext <<_ACEOF
3934 /* confdefs.h.  */
3935 _ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3938 /* end confdefs.h.  */
3939 $ac_includes_default
3940 #include <$ac_header>
3941 _ACEOF
3942 rm -f conftest.$ac_objext
3943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3944   (eval $ac_compile) 2>conftest.er1
3945   ac_status=$?
3946   grep -v '^ *+' conftest.er1 >conftest.err
3947   rm -f conftest.er1
3948   cat conftest.err >&5
3949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950   (exit $ac_status); } &&
3951          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953   (eval $ac_try) 2>&5
3954   ac_status=$?
3955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956   (exit $ac_status); }; } &&
3957          { ac_try='test -s conftest.$ac_objext'
3958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959   (eval $ac_try) 2>&5
3960   ac_status=$?
3961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962   (exit $ac_status); }; }; then
3963   ac_header_compiler=yes
3964 else
3965   echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3967
3968 ac_header_compiler=no
3969 fi
3970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3972 echo "${ECHO_T}$ac_header_compiler" >&6
3973
3974 # Is the header present?
3975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3977 cat >conftest.$ac_ext <<_ACEOF
3978 /* confdefs.h.  */
3979 _ACEOF
3980 cat confdefs.h >>conftest.$ac_ext
3981 cat >>conftest.$ac_ext <<_ACEOF
3982 /* end confdefs.h.  */
3983 #include <$ac_header>
3984 _ACEOF
3985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3986   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3987   ac_status=$?
3988   grep -v '^ *+' conftest.er1 >conftest.err
3989   rm -f conftest.er1
3990   cat conftest.err >&5
3991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992   (exit $ac_status); } >/dev/null; then
3993   if test -s conftest.err; then
3994     ac_cpp_err=$ac_c_preproc_warn_flag
3995     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3996   else
3997     ac_cpp_err=
3998   fi
3999 else
4000   ac_cpp_err=yes
4001 fi
4002 if test -z "$ac_cpp_err"; then
4003   ac_header_preproc=yes
4004 else
4005   echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4007
4008   ac_header_preproc=no
4009 fi
4010 rm -f conftest.err conftest.$ac_ext
4011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4012 echo "${ECHO_T}$ac_header_preproc" >&6
4013
4014 # So?  What about this header?
4015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4016   yes:no: )
4017     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4021     ac_header_preproc=yes
4022     ;;
4023   no:yes:* )
4024     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4026     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4027 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4028     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4030     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4031 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4032     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4034     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4036     (
4037       cat <<\_ASBOX
4038 ## ------------------------------------------ ##
4039 ## Report this to the AC_PACKAGE_NAME lists.  ##
4040 ## ------------------------------------------ ##
4041 _ASBOX
4042     ) |
4043       sed "s/^/$as_me: WARNING:     /" >&2
4044     ;;
4045 esac
4046 echo "$as_me:$LINENO: checking for $ac_header" >&5
4047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4049   echo $ECHO_N "(cached) $ECHO_C" >&6
4050 else
4051   eval "$as_ac_Header=\$ac_header_preproc"
4052 fi
4053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4055
4056 fi
4057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4058   cat >>confdefs.h <<_ACEOF
4059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4060 _ACEOF
4061
4062 fi
4063
4064 done
4065
4066
4067
4068
4069
4070 for ac_header in unistd.h \
4071                   netinet/in.h \
4072                   netdb.h \
4073                   sys/socket.h
4074
4075 do
4076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4078   echo "$as_me:$LINENO: checking for $ac_header" >&5
4079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4081   echo $ECHO_N "(cached) $ECHO_C" >&6
4082 fi
4083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4085 else
4086   # Is the header compilable?
4087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4089 cat >conftest.$ac_ext <<_ACEOF
4090 /* confdefs.h.  */
4091 _ACEOF
4092 cat confdefs.h >>conftest.$ac_ext
4093 cat >>conftest.$ac_ext <<_ACEOF
4094 /* end confdefs.h.  */
4095 $ac_includes_default
4096 #include <$ac_header>
4097 _ACEOF
4098 rm -f conftest.$ac_objext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4100   (eval $ac_compile) 2>conftest.er1
4101   ac_status=$?
4102   grep -v '^ *+' conftest.er1 >conftest.err
4103   rm -f conftest.er1
4104   cat conftest.err >&5
4105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106   (exit $ac_status); } &&
4107          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109   (eval $ac_try) 2>&5
4110   ac_status=$?
4111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112   (exit $ac_status); }; } &&
4113          { ac_try='test -s conftest.$ac_objext'
4114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115   (eval $ac_try) 2>&5
4116   ac_status=$?
4117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118   (exit $ac_status); }; }; then
4119   ac_header_compiler=yes
4120 else
4121   echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4123
4124 ac_header_compiler=no
4125 fi
4126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4128 echo "${ECHO_T}$ac_header_compiler" >&6
4129
4130 # Is the header present?
4131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4133 cat >conftest.$ac_ext <<_ACEOF
4134 /* confdefs.h.  */
4135 _ACEOF
4136 cat confdefs.h >>conftest.$ac_ext
4137 cat >>conftest.$ac_ext <<_ACEOF
4138 /* end confdefs.h.  */
4139 #include <$ac_header>
4140 _ACEOF
4141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4142   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4143   ac_status=$?
4144   grep -v '^ *+' conftest.er1 >conftest.err
4145   rm -f conftest.er1
4146   cat conftest.err >&5
4147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148   (exit $ac_status); } >/dev/null; then
4149   if test -s conftest.err; then
4150     ac_cpp_err=$ac_c_preproc_warn_flag
4151     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4152   else
4153     ac_cpp_err=
4154   fi
4155 else
4156   ac_cpp_err=yes
4157 fi
4158 if test -z "$ac_cpp_err"; then
4159   ac_header_preproc=yes
4160 else
4161   echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4163
4164   ac_header_preproc=no
4165 fi
4166 rm -f conftest.err conftest.$ac_ext
4167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4168 echo "${ECHO_T}$ac_header_preproc" >&6
4169
4170 # So?  What about this header?
4171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4172   yes:no: )
4173     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4175     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4177     ac_header_preproc=yes
4178     ;;
4179   no:yes:* )
4180     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4182     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4183 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4184     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4186     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4187 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4190     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4192     (
4193       cat <<\_ASBOX
4194 ## ------------------------------------------ ##
4195 ## Report this to the AC_PACKAGE_NAME lists.  ##
4196 ## ------------------------------------------ ##
4197 _ASBOX
4198     ) |
4199       sed "s/^/$as_me: WARNING:     /" >&2
4200     ;;
4201 esac
4202 echo "$as_me:$LINENO: checking for $ac_header" >&5
4203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4205   echo $ECHO_N "(cached) $ECHO_C" >&6
4206 else
4207   eval "$as_ac_Header=\$ac_header_preproc"
4208 fi
4209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4211
4212 fi
4213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4214   cat >>confdefs.h <<_ACEOF
4215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4216 _ACEOF
4217
4218 else
4219   { { echo "$as_me:$LINENO: error: could not locate neccessary system header files" >&5
4220 echo "$as_me: error: could not locate neccessary system header files" >&2;}
4221    { (exit 1); exit 1; }; }
4222 fi
4223
4224 done
4225
4226
4227 echo "$as_me:$LINENO: checking for sys_errlist in -lc" >&5
4228 echo $ECHO_N "checking for sys_errlist in -lc... $ECHO_C" >&6
4229 if test "${ac_cv_lib_c_sys_errlist+set}" = set; then
4230   echo $ECHO_N "(cached) $ECHO_C" >&6
4231 else
4232   ac_check_lib_save_LIBS=$LIBS
4233 LIBS="-lc  $LIBS"
4234 cat >conftest.$ac_ext <<_ACEOF
4235 /* confdefs.h.  */
4236 _ACEOF
4237 cat confdefs.h >>conftest.$ac_ext
4238 cat >>conftest.$ac_ext <<_ACEOF
4239 /* end confdefs.h.  */
4240
4241 /* Override any gcc2 internal prototype to avoid an error.  */
4242 #ifdef __cplusplus
4243 extern "C"
4244 #endif
4245 /* We use char because int might match the return type of a gcc2
4246    builtin and then its argument prototype would still apply.  */
4247 char sys_errlist ();
4248 int
4249 main ()
4250 {
4251 sys_errlist ();
4252   ;
4253   return 0;
4254 }
4255 _ACEOF
4256 rm -f conftest.$ac_objext conftest$ac_exeext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258   (eval $ac_link) 2>conftest.er1
4259   ac_status=$?
4260   grep -v '^ *+' conftest.er1 >conftest.err
4261   rm -f conftest.er1
4262   cat conftest.err >&5
4263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264   (exit $ac_status); } &&
4265          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267   (eval $ac_try) 2>&5
4268   ac_status=$?
4269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270   (exit $ac_status); }; } &&
4271          { ac_try='test -s conftest$ac_exeext'
4272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4273   (eval $ac_try) 2>&5
4274   ac_status=$?
4275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276   (exit $ac_status); }; }; then
4277   ac_cv_lib_c_sys_errlist=yes
4278 else
4279   echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.$ac_ext >&5
4281
4282 ac_cv_lib_c_sys_errlist=no
4283 fi
4284 rm -f conftest.err conftest.$ac_objext \
4285       conftest$ac_exeext conftest.$ac_ext
4286 LIBS=$ac_check_lib_save_LIBS
4287 fi
4288 echo "$as_me:$LINENO: result: $ac_cv_lib_c_sys_errlist" >&5
4289 echo "${ECHO_T}$ac_cv_lib_c_sys_errlist" >&6
4290 if test $ac_cv_lib_c_sys_errlist = yes; then
4291   cat >>confdefs.h <<\_ACEOF
4292 #define HAVE_SYS_ERRLIST 1
4293 _ACEOF
4294
4295 fi
4296
4297
4298
4299 for ac_func in getopt
4300 do
4301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4302 echo "$as_me:$LINENO: checking for $ac_func" >&5
4303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4304 if eval "test \"\${$as_ac_var+set}\" = set"; then
4305   echo $ECHO_N "(cached) $ECHO_C" >&6
4306 else
4307   cat >conftest.$ac_ext <<_ACEOF
4308 /* confdefs.h.  */
4309 _ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h.  */
4313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4315 #define $ac_func innocuous_$ac_func
4316
4317 /* System header to define __stub macros and hopefully few prototypes,
4318     which can conflict with char $ac_func (); below.
4319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4320     <limits.h> exists even on freestanding compilers.  */
4321
4322 #ifdef __STDC__
4323 # include <limits.h>
4324 #else
4325 # include <assert.h>
4326 #endif
4327
4328 #undef $ac_func
4329
4330 /* Override any gcc2 internal prototype to avoid an error.  */
4331 #ifdef __cplusplus
4332 extern "C"
4333 {
4334 #endif
4335 /* We use char because int might match the return type of a gcc2
4336    builtin and then its argument prototype would still apply.  */
4337 char $ac_func ();
4338 /* The GNU C library defines this for functions which it implements
4339     to always fail with ENOSYS.  Some functions are actually named
4340     something starting with __ and the normal name is an alias.  */
4341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4342 choke me
4343 #else
4344 char (*f) () = $ac_func;
4345 #endif
4346 #ifdef __cplusplus
4347 }
4348 #endif
4349
4350 int
4351 main ()
4352 {
4353 return f != $ac_func;
4354   ;
4355   return 0;
4356 }
4357 _ACEOF
4358 rm -f conftest.$ac_objext conftest$ac_exeext
4359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4360   (eval $ac_link) 2>conftest.er1
4361   ac_status=$?
4362   grep -v '^ *+' conftest.er1 >conftest.err
4363   rm -f conftest.er1
4364   cat conftest.err >&5
4365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366   (exit $ac_status); } &&
4367          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369   (eval $ac_try) 2>&5
4370   ac_status=$?
4371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372   (exit $ac_status); }; } &&
4373          { ac_try='test -s conftest$ac_exeext'
4374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375   (eval $ac_try) 2>&5
4376   ac_status=$?
4377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378   (exit $ac_status); }; }; then
4379   eval "$as_ac_var=yes"
4380 else
4381   echo "$as_me: failed program was:" >&5
4382 sed 's/^/| /' conftest.$ac_ext >&5
4383
4384 eval "$as_ac_var=no"
4385 fi
4386 rm -f conftest.err conftest.$ac_objext \
4387       conftest$ac_exeext conftest.$ac_ext
4388 fi
4389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4391 if test `eval echo '${'$as_ac_var'}'` = yes; then
4392   cat >>confdefs.h <<_ACEOF
4393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4394 _ACEOF
4395
4396 fi
4397 done
4398
4399 if test "$ac_cv_func_getopt" != yes; then
4400   { { echo "$as_me:$LINENO: error: getopt is needed for this program to work" >&5
4401 echo "$as_me: error: getopt is needed for this program to work" >&2;}
4402    { (exit 1); exit 1; }; }
4403 fi
4404
4405 echo "$as_me:$LINENO: checking for getpass" >&5
4406 echo $ECHO_N "checking for getpass... $ECHO_C" >&6
4407 if test "${ac_cv_func_getpass+set}" = set; then
4408   echo $ECHO_N "(cached) $ECHO_C" >&6
4409 else
4410   cat >conftest.$ac_ext <<_ACEOF
4411 /* confdefs.h.  */
4412 _ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h.  */
4416 /* Define getpass to an innocuous variant, in case <limits.h> declares getpass.
4417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4418 #define getpass innocuous_getpass
4419
4420 /* System header to define __stub macros and hopefully few prototypes,
4421     which can conflict with char getpass (); below.
4422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4423     <limits.h> exists even on freestanding compilers.  */
4424
4425 #ifdef __STDC__
4426 # include <limits.h>
4427 #else
4428 # include <assert.h>
4429 #endif
4430
4431 #undef getpass
4432
4433 /* Override any gcc2 internal prototype to avoid an error.  */
4434 #ifdef __cplusplus
4435 extern "C"
4436 {
4437 #endif
4438 /* We use char because int might match the return type of a gcc2
4439    builtin and then its argument prototype would still apply.  */
4440 char getpass ();
4441 /* The GNU C library defines this for functions which it implements
4442     to always fail with ENOSYS.  Some functions are actually named
4443     something starting with __ and the normal name is an alias.  */
4444 #if defined (__stub_getpass) || defined (__stub___getpass)
4445 choke me
4446 #else
4447 char (*f) () = getpass;
4448 #endif
4449 #ifdef __cplusplus
4450 }
4451 #endif
4452
4453 int
4454 main ()
4455 {
4456 return f != getpass;
4457   ;
4458   return 0;
4459 }
4460 _ACEOF
4461 rm -f conftest.$ac_objext conftest$ac_exeext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4463   (eval $ac_link) 2>conftest.er1
4464   ac_status=$?
4465   grep -v '^ *+' conftest.er1 >conftest.err
4466   rm -f conftest.er1
4467   cat conftest.err >&5
4468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469   (exit $ac_status); } &&
4470          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472   (eval $ac_try) 2>&5
4473   ac_status=$?
4474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475   (exit $ac_status); }; } &&
4476          { ac_try='test -s conftest$ac_exeext'
4477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478   (eval $ac_try) 2>&5
4479   ac_status=$?
4480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481   (exit $ac_status); }; }; then
4482   ac_cv_func_getpass=yes
4483 else
4484   echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4486
4487 ac_cv_func_getpass=no
4488 fi
4489 rm -f conftest.err conftest.$ac_objext \
4490       conftest$ac_exeext conftest.$ac_ext
4491 fi
4492 echo "$as_me:$LINENO: result: $ac_cv_func_getpass" >&5
4493 echo "${ECHO_T}$ac_cv_func_getpass" >&6
4494 if test $ac_cv_func_getpass = yes; then
4495   cat >>confdefs.h <<\_ACEOF
4496 #define HAVE_GETPASS 1
4497 _ACEOF
4498
4499 else
4500   EXTRASRC="$EXTRASRC \$(srcdir)/getpass.c"
4501     EXTRAOBJ="$EXTRAOBJ \$(srcdir)/getpass.o"
4502 fi
4503
4504
4505 # Make sure we can run config.sub.
4506 $ac_config_sub sun4 >/dev/null 2>&1 ||
4507   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4508 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4509    { (exit 1); exit 1; }; }
4510
4511 echo "$as_me:$LINENO: checking build system type" >&5
4512 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4513 if test "${ac_cv_build+set}" = set; then
4514   echo $ECHO_N "(cached) $ECHO_C" >&6
4515 else
4516   ac_cv_build_alias=$build_alias
4517 test -z "$ac_cv_build_alias" &&
4518   ac_cv_build_alias=`$ac_config_guess`
4519 test -z "$ac_cv_build_alias" &&
4520   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4521 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4522    { (exit 1); exit 1; }; }
4523 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4524   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4525 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4526    { (exit 1); exit 1; }; }
4527
4528 fi
4529 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4530 echo "${ECHO_T}$ac_cv_build" >&6
4531 build=$ac_cv_build
4532 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4533 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4534 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4535
4536
4537 echo "$as_me:$LINENO: checking host system type" >&5
4538 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4539 if test "${ac_cv_host+set}" = set; then
4540   echo $ECHO_N "(cached) $ECHO_C" >&6
4541 else
4542   ac_cv_host_alias=$host_alias
4543 test -z "$ac_cv_host_alias" &&
4544   ac_cv_host_alias=$ac_cv_build_alias
4545 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4546   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4547 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4548    { (exit 1); exit 1; }; }
4549
4550 fi
4551 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4552 echo "${ECHO_T}$ac_cv_host" >&6
4553 host=$ac_cv_host
4554 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4555 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4556 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4557
4558
4559 cat >>confdefs.h <<_ACEOF
4560 #define OS "${host}"
4561 _ACEOF
4562
4563
4564 echo "$as_me:$LINENO: checking for user supplied default service" >&5
4565 echo $ECHO_N "checking for user supplied default service... $ECHO_C" >&6
4566 # Check whether --enable-default-service or --disable-default-service was given.
4567 if test "${enable_default_service+set}" = set; then
4568   enableval="$enable_default_service"
4569    use_SERVICE=$enableval;
4570                 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573    echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575                 use_SERVICE=null
4576                 { echo "$as_me:$LINENO: WARNING: not setting default service" >&5
4577 echo "$as_me: WARNING: not setting default service" >&2;}
4578 fi;
4579 case "$use_SERVICE" in
4580   ezip ) cat >>confdefs.h <<\_ACEOF
4581 #define DEF_SERVICE "ezip"
4582 _ACEOF
4583 ;;
4584   ez-ip ) cat >>confdefs.h <<\_ACEOF
4585 #define DEF_SERVICE "ezip"
4586 _ACEOF
4587 ;;
4588   pgpow ) cat >>confdefs.h <<\_ACEOF
4589 #define DEF_SERVICE "pgpow"
4590 _ACEOF
4591 ;;
4592   penguinpowered ) cat >>confdefs.h <<\_ACEOF
4593 #define DEF_SERVICE "pgpow"
4594 _ACEOF
4595 ;;
4596   justlinux ) cat >>confdefs.h <<\_ACEOF
4597 #define DEF_SERVICE "justlinux"
4598 _ACEOF
4599 ;;
4600   dhs ) cat >>confdefs.h <<\_ACEOF
4601 #define DEF_SERVICE "dhs"
4602 _ACEOF
4603 ;;
4604   dyndns ) cat >>confdefs.h <<\_ACEOF
4605 #define DEF_SERVICE "dyndns"
4606 _ACEOF
4607 ;;
4608   dyndns-stat ) cat >>confdefs.h <<\_ACEOF
4609 #define DEF_SERVICE "dyndns-stat"
4610 _ACEOF
4611 ;;
4612   dyndns-static ) cat >>confdefs.h <<\_ACEOF
4613 #define DEF_SERVICE "dyndns-static"
4614 _ACEOF
4615 ;;
4616   ods ) cat >>confdefs.h <<\_ACEOF
4617 #define DEF_SERVICE "ods"
4618 _ACEOF
4619 ;;
4620   tzo ) cat >>confdefs.h <<\_ACEOF
4621 #define DEF_SERVICE "tzo"
4622 _ACEOF
4623 ;;
4624   gnudip ) cat >>confdefs.h <<\_ACEOF
4625 #define DEF_SERVICE "gnudip"
4626 _ACEOF
4627 ;;
4628   easydns ) cat >>confdefs.h <<\_ACEOF
4629 #define DEF_SERVICE "easydns"
4630 _ACEOF
4631 ;;
4632   easydns-partner ) cat >>confdefs.h <<\_ACEOF
4633 #define DEF_SERVICE "easydns-partner"
4634 _ACEOF
4635 ;;
4636   dyns ) cat >>confdefs.h <<\_ACEOF
4637 #define DEF_SERVICE "dyns"
4638 _ACEOF
4639 ;;
4640   hn ) cat >>confdefs.h <<\_ACEOF
4641 #define DEF_SERVICE "hn"
4642 _ACEOF
4643 ;;
4644   zoneedit ) cat >>confdefs.h <<\_ACEOF
4645 #define DEF_SERVICE "zoneedit"
4646 _ACEOF
4647 ;;
4648   heipv6tb ) cat >>confdefs.h <<\_ACEOF
4649 #define DEF_SERVICE "heipv6tb"
4650 _ACEOF
4651 ;;
4652   null ) cat >>confdefs.h <<\_ACEOF
4653 #define DEF_SERVICE "NULL"
4654 _ACEOF
4655 ;;
4656   "" ) ;;
4657   * ) { { echo "$as_me:$LINENO: error: unknown default service type" >&5
4658 echo "$as_me: error: unknown default service type" >&2;}
4659    { (exit 1); exit 1; }; };;
4660 esac
4661
4662 echo "$as_me:$LINENO: checking whether user wants debugging support" >&5
4663 echo $ECHO_N "checking whether user wants debugging support... $ECHO_C" >&6
4664 # Check whether --enable-debug or --disable-debug was given.
4665 if test "${enable_debug+set}" = set; then
4666   enableval="$enable_debug"
4667    cat >>confdefs.h <<\_ACEOF
4668 #define DEBUG 1
4669 _ACEOF
4670
4671                 echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6
4673 else
4674    echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6
4676 fi;
4677
4678 echo "$as_me:$LINENO: checking whether user wants to dissable MD5 support" >&5
4679 echo $ECHO_N "checking whether user wants to dissable MD5 support... $ECHO_C" >&6
4680 # Check whether --enable-md5 or --disable-md5 was given.
4681 if test "${enable_md5+set}" = set; then
4682   enableval="$enable_md5"
4683    echo "$as_me:$LINENO: result: yes" >&5
4684 echo "${ECHO_T}yes" >&6
4685 else
4686    cat >>confdefs.h <<\_ACEOF
4687 #define USE_MD5 1
4688 _ACEOF
4689
4690                 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4692 fi;
4693
4694
4695
4696
4697           ac_config_files="$ac_config_files Makefile"
4698 cat >confcache <<\_ACEOF
4699 # This file is a shell script that caches the results of configure
4700 # tests run on this system so they can be shared between configure
4701 # scripts and configure runs, see configure's option --config-cache.
4702 # It is not useful on other systems.  If it contains results you don't
4703 # want to keep, you may remove or edit it.
4704 #
4705 # config.status only pays attention to the cache file if you give it
4706 # the --recheck option to rerun configure.
4707 #
4708 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4709 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4710 # following values.
4711
4712 _ACEOF
4713
4714 # The following way of writing the cache mishandles newlines in values,
4715 # but we know of no workaround that is simple, portable, and efficient.
4716 # So, don't put newlines in cache variables' values.
4717 # Ultrix sh set writes to stderr and can't be redirected directly,
4718 # and sets the high bit in the cache file unless we assign to the vars.
4719 {
4720   (set) 2>&1 |
4721     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4722     *ac_space=\ *)
4723       # `set' does not quote correctly, so add quotes (double-quote
4724       # substitution turns \\\\ into \\, and sed turns \\ into \).
4725       sed -n \
4726         "s/'/'\\\\''/g;
4727           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4728       ;;
4729     *)
4730       # `set' quotes correctly as required by POSIX, so do not add quotes.
4731       sed -n \
4732         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4733       ;;
4734     esac;
4735 } |
4736   sed '
4737      t clear
4738      : clear
4739      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4740      t end
4741      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4742      : end' >>confcache
4743 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4744   if test -w $cache_file; then
4745     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4746     cat confcache >$cache_file
4747   else
4748     echo "not updating unwritable cache $cache_file"
4749   fi
4750 fi
4751 rm -f confcache
4752
4753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4754 # Let make expand exec_prefix.
4755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4756
4757 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4758 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4759 # trailing colons and then remove the whole line if VPATH becomes empty
4760 # (actually we leave an empty line to preserve line numbers).
4761 if test "x$srcdir" = x.; then
4762   ac_vpsub='/^[  ]*VPATH[        ]*=/{
4763 s/:*\$(srcdir):*/:/;
4764 s/:*\${srcdir}:*/:/;
4765 s/:*@srcdir@:*/:/;
4766 s/^\([^=]*=[     ]*\):*/\1/;
4767 s/:*$//;
4768 s/^[^=]*=[       ]*$//;
4769 }'
4770 fi
4771
4772 DEFS=-DHAVE_CONFIG_H
4773
4774 ac_libobjs=
4775 ac_ltlibobjs=
4776 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4777   # 1. Remove the extension, and $U if already installed.
4778   ac_i=`echo "$ac_i" |
4779          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4780   # 2. Add them.
4781   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4782   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4783 done
4784 LIBOBJS=$ac_libobjs
4785
4786 LTLIBOBJS=$ac_ltlibobjs
4787
4788
4789 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4790   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4791 Usually this means the macro was only invoked conditionally." >&5
4792 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4793 Usually this means the macro was only invoked conditionally." >&2;}
4794    { (exit 1); exit 1; }; }
4795 fi
4796
4797 : ${CONFIG_STATUS=./config.status}
4798 ac_clean_files_save=$ac_clean_files
4799 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4800 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4801 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4802 cat >$CONFIG_STATUS <<_ACEOF
4803 #! $SHELL
4804 # Generated by $as_me.
4805 # Run this file to recreate the current configuration.
4806 # Compiler output produced by configure, useful for debugging
4807 # configure, is in config.log if it exists.
4808
4809 debug=false
4810 ac_cs_recheck=false
4811 ac_cs_silent=false
4812 SHELL=\${CONFIG_SHELL-$SHELL}
4813 _ACEOF
4814
4815 cat >>$CONFIG_STATUS <<\_ACEOF
4816 ## --------------------- ##
4817 ## M4sh Initialization.  ##
4818 ## --------------------- ##
4819
4820 # Be Bourne compatible
4821 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4822   emulate sh
4823   NULLCMD=:
4824   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4825   # is contrary to our usage.  Disable this feature.
4826   alias -g '${1+"$@"}'='"$@"'
4827 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4828   set -o posix
4829 fi
4830 DUALCASE=1; export DUALCASE # for MKS sh
4831
4832 # Support unset when possible.
4833 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4834   as_unset=unset
4835 else
4836   as_unset=false
4837 fi
4838
4839
4840 # Work around bugs in pre-3.0 UWIN ksh.
4841 $as_unset ENV MAIL MAILPATH
4842 PS1='$ '
4843 PS2='> '
4844 PS4='+ '
4845
4846 # NLS nuisances.
4847 for as_var in \
4848   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4849   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4850   LC_TELEPHONE LC_TIME
4851 do
4852   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4853     eval $as_var=C; export $as_var
4854   else
4855     $as_unset $as_var
4856   fi
4857 done
4858
4859 # Required to use basename.
4860 if expr a : '\(a\)' >/dev/null 2>&1; then
4861   as_expr=expr
4862 else
4863   as_expr=false
4864 fi
4865
4866 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4867   as_basename=basename
4868 else
4869   as_basename=false
4870 fi
4871
4872
4873 # Name of the executable.
4874 as_me=`$as_basename "$0" ||
4875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4876          X"$0" : 'X\(//\)$' \| \
4877          X"$0" : 'X\(/\)$' \| \
4878          .     : '\(.\)' 2>/dev/null ||
4879 echo X/"$0" |
4880     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4881           /^X\/\(\/\/\)$/{ s//\1/; q; }
4882           /^X\/\(\/\).*/{ s//\1/; q; }
4883           s/.*/./; q'`
4884
4885
4886 # PATH needs CR, and LINENO needs CR and PATH.
4887 # Avoid depending upon Character Ranges.
4888 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4889 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4890 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4891 as_cr_digits='0123456789'
4892 as_cr_alnum=$as_cr_Letters$as_cr_digits
4893
4894 # The user is always right.
4895 if test "${PATH_SEPARATOR+set}" != set; then
4896   echo "#! /bin/sh" >conf$$.sh
4897   echo  "exit 0"   >>conf$$.sh
4898   chmod +x conf$$.sh
4899   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4900     PATH_SEPARATOR=';'
4901   else
4902     PATH_SEPARATOR=:
4903   fi
4904   rm -f conf$$.sh
4905 fi
4906
4907
4908   as_lineno_1=$LINENO
4909   as_lineno_2=$LINENO
4910   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4911   test "x$as_lineno_1" != "x$as_lineno_2" &&
4912   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4913   # Find who we are.  Look in the path if we contain no path at all
4914   # relative or not.
4915   case $0 in
4916     *[\\/]* ) as_myself=$0 ;;
4917     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 for as_dir in $PATH
4919 do
4920   IFS=$as_save_IFS
4921   test -z "$as_dir" && as_dir=.
4922   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4923 done
4924
4925        ;;
4926   esac
4927   # We did not find ourselves, most probably we were run as `sh COMMAND'
4928   # in which case we are not to be found in the path.
4929   if test "x$as_myself" = x; then
4930     as_myself=$0
4931   fi
4932   if test ! -f "$as_myself"; then
4933     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4934 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4935    { (exit 1); exit 1; }; }
4936   fi
4937   case $CONFIG_SHELL in
4938   '')
4939     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4941 do
4942   IFS=$as_save_IFS
4943   test -z "$as_dir" && as_dir=.
4944   for as_base in sh bash ksh sh5; do
4945          case $as_dir in
4946          /*)
4947            if ("$as_dir/$as_base" -c '
4948   as_lineno_1=$LINENO
4949   as_lineno_2=$LINENO
4950   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4951   test "x$as_lineno_1" != "x$as_lineno_2" &&
4952   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4953              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4954              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4955              CONFIG_SHELL=$as_dir/$as_base
4956              export CONFIG_SHELL
4957              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4958            fi;;
4959          esac
4960        done
4961 done
4962 ;;
4963   esac
4964
4965   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4966   # uniformly replaced by the line number.  The first 'sed' inserts a
4967   # line-number line before each line; the second 'sed' does the real
4968   # work.  The second script uses 'N' to pair each line-number line
4969   # with the numbered line, and appends trailing '-' during
4970   # substitution so that $LINENO is not a special case at line end.
4971   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4972   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4973   sed '=' <$as_myself |
4974     sed '
4975       N
4976       s,$,-,
4977       : loop
4978       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4979       t loop
4980       s,-$,,
4981       s,^['$as_cr_digits']*\n,,
4982     ' >$as_me.lineno &&
4983   chmod +x $as_me.lineno ||
4984     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4985 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4986    { (exit 1); exit 1; }; }
4987
4988   # Don't try to exec as it changes $[0], causing all sort of problems
4989   # (the dirname of $[0] is not the place where we might find the
4990   # original and so on.  Autoconf is especially sensible to this).
4991   . ./$as_me.lineno
4992   # Exit status is that of the last command.
4993   exit
4994 }
4995
4996
4997 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4998   *c*,-n*) ECHO_N= ECHO_C='
4999 ' ECHO_T='      ' ;;
5000   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5001   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5002 esac
5003
5004 if expr a : '\(a\)' >/dev/null 2>&1; then
5005   as_expr=expr
5006 else
5007   as_expr=false
5008 fi
5009
5010 rm -f conf$$ conf$$.exe conf$$.file
5011 echo >conf$$.file
5012 if ln -s conf$$.file conf$$ 2>/dev/null; then
5013   # We could just check for DJGPP; but this test a) works b) is more generic
5014   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5015   if test -f conf$$.exe; then
5016     # Don't use ln at all; we don't have any links
5017     as_ln_s='cp -p'
5018   else
5019     as_ln_s='ln -s'
5020   fi
5021 elif ln conf$$.file conf$$ 2>/dev/null; then
5022   as_ln_s=ln
5023 else
5024   as_ln_s='cp -p'
5025 fi
5026 rm -f conf$$ conf$$.exe conf$$.file
5027
5028 if mkdir -p . 2>/dev/null; then
5029   as_mkdir_p=:
5030 else
5031   test -d ./-p && rmdir ./-p
5032   as_mkdir_p=false
5033 fi
5034
5035 as_executable_p="test -f"
5036
5037 # Sed expression to map a string onto a valid CPP name.
5038 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5039
5040 # Sed expression to map a string onto a valid variable name.
5041 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5042
5043
5044 # IFS
5045 # We need space, tab and new line, in precisely that order.
5046 as_nl='
5047 '
5048 IFS="   $as_nl"
5049
5050 # CDPATH.
5051 $as_unset CDPATH
5052
5053 exec 6>&1
5054
5055 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5056 # report actual input values of CONFIG_FILES etc. instead of their
5057 # values after options handling.  Logging --version etc. is OK.
5058 exec 5>>config.log
5059 {
5060   echo
5061   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5062 ## Running $as_me. ##
5063 _ASBOX
5064 } >&5
5065 cat >&5 <<_CSEOF
5066
5067 This file was extended by $as_me, which was
5068 generated by GNU Autoconf 2.59.  Invocation command line was
5069
5070   CONFIG_FILES    = $CONFIG_FILES
5071   CONFIG_HEADERS  = $CONFIG_HEADERS
5072   CONFIG_LINKS    = $CONFIG_LINKS
5073   CONFIG_COMMANDS = $CONFIG_COMMANDS
5074   $ $0 $@
5075
5076 _CSEOF
5077 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5078 echo >&5
5079 _ACEOF
5080
5081 # Files that config.status was made for.
5082 if test -n "$ac_config_files"; then
5083   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5084 fi
5085
5086 if test -n "$ac_config_headers"; then
5087   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5088 fi
5089
5090 if test -n "$ac_config_links"; then
5091   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5092 fi
5093
5094 if test -n "$ac_config_commands"; then
5095   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5096 fi
5097
5098 cat >>$CONFIG_STATUS <<\_ACEOF
5099
5100 ac_cs_usage="\
5101 \`$as_me' instantiates files from templates according to the
5102 current configuration.
5103
5104 Usage: $0 [OPTIONS] [FILE]...
5105
5106   -h, --help       print this help, then exit
5107   -V, --version    print version number, then exit
5108   -q, --quiet      do not print progress messages
5109   -d, --debug      don't remove temporary files
5110       --recheck    update $as_me by reconfiguring in the same conditions
5111   --file=FILE[:TEMPLATE]
5112                    instantiate the configuration file FILE
5113   --header=FILE[:TEMPLATE]
5114                    instantiate the configuration header FILE
5115
5116 Configuration files:
5117 $config_files
5118
5119 Configuration headers:
5120 $config_headers
5121
5122 Configuration commands:
5123 $config_commands
5124
5125 Report bugs to <bug-autoconf@gnu.org>."
5126 _ACEOF
5127
5128 cat >>$CONFIG_STATUS <<_ACEOF
5129 ac_cs_version="\\
5130 config.status
5131 configured by $0, generated by GNU Autoconf 2.59,
5132   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5133
5134 Copyright (C) 2003 Free Software Foundation, Inc.
5135 This config.status script is free software; the Free Software Foundation
5136 gives unlimited permission to copy, distribute and modify it."
5137 srcdir=$srcdir
5138 INSTALL="$INSTALL"
5139 _ACEOF
5140
5141 cat >>$CONFIG_STATUS <<\_ACEOF
5142 # If no file are specified by the user, then we need to provide default
5143 # value.  By we need to know if files were specified by the user.
5144 ac_need_defaults=:
5145 while test $# != 0
5146 do
5147   case $1 in
5148   --*=*)
5149     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5150     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5151     ac_shift=:
5152     ;;
5153   -*)
5154     ac_option=$1
5155     ac_optarg=$2
5156     ac_shift=shift
5157     ;;
5158   *) # This is not an option, so the user has probably given explicit
5159      # arguments.
5160      ac_option=$1
5161      ac_need_defaults=false;;
5162   esac
5163
5164   case $ac_option in
5165   # Handling of the options.
5166 _ACEOF
5167 cat >>$CONFIG_STATUS <<\_ACEOF
5168   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5169     ac_cs_recheck=: ;;
5170   --version | --vers* | -V )
5171     echo "$ac_cs_version"; exit 0 ;;
5172   --he | --h)
5173     # Conflict between --help and --header
5174     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5175 Try \`$0 --help' for more information." >&5
5176 echo "$as_me: error: ambiguous option: $1
5177 Try \`$0 --help' for more information." >&2;}
5178    { (exit 1); exit 1; }; };;
5179   --help | --hel | -h )
5180     echo "$ac_cs_usage"; exit 0 ;;
5181   --debug | --d* | -d )
5182     debug=: ;;
5183   --file | --fil | --fi | --f )
5184     $ac_shift
5185     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5186     ac_need_defaults=false;;
5187   --header | --heade | --head | --hea )
5188     $ac_shift
5189     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5190     ac_need_defaults=false;;
5191   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5192   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5193     ac_cs_silent=: ;;
5194
5195   # This is an error.
5196   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5197 Try \`$0 --help' for more information." >&5
5198 echo "$as_me: error: unrecognized option: $1
5199 Try \`$0 --help' for more information." >&2;}
5200    { (exit 1); exit 1; }; } ;;
5201
5202   *) ac_config_targets="$ac_config_targets $1" ;;
5203
5204   esac
5205   shift
5206 done
5207
5208 ac_configure_extra_args=
5209
5210 if $ac_cs_silent; then
5211   exec 6>/dev/null
5212   ac_configure_extra_args="$ac_configure_extra_args --silent"
5213 fi
5214
5215 _ACEOF
5216 cat >>$CONFIG_STATUS <<_ACEOF
5217 if \$ac_cs_recheck; then
5218   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5219   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5220 fi
5221
5222 _ACEOF
5223
5224 cat >>$CONFIG_STATUS <<_ACEOF
5225 #
5226 # INIT-COMMANDS section.
5227 #
5228
5229 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5230
5231 _ACEOF
5232
5233
5234
5235 cat >>$CONFIG_STATUS <<\_ACEOF
5236 for ac_config_target in $ac_config_targets
5237 do
5238   case "$ac_config_target" in
5239   # Handling of arguments.
5240   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5241   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5242   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5243   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5244 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5245    { (exit 1); exit 1; }; };;
5246   esac
5247 done
5248
5249 # If the user did not use the arguments to specify the items to instantiate,
5250 # then the envvar interface is used.  Set only those that are not.
5251 # We use the long form for the default assignment because of an extremely
5252 # bizarre bug on SunOS 4.1.3.
5253 if $ac_need_defaults; then
5254   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5255   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5256   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5257 fi
5258
5259 # Have a temporary directory for convenience.  Make it in the build tree
5260 # simply because there is no reason to put it here, and in addition,
5261 # creating and moving files from /tmp can sometimes cause problems.
5262 # Create a temporary directory, and hook for its removal unless debugging.
5263 $debug ||
5264 {
5265   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5266   trap '{ (exit 1); exit 1; }' 1 2 13 15
5267 }
5268
5269 # Create a (secure) tmp directory for tmp files.
5270
5271 {
5272   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5273   test -n "$tmp" && test -d "$tmp"
5274 }  ||
5275 {
5276   tmp=./confstat$$-$RANDOM
5277   (umask 077 && mkdir $tmp)
5278 } ||
5279 {
5280    echo "$me: cannot create a temporary directory in ." >&2
5281    { (exit 1); exit 1; }
5282 }
5283
5284 _ACEOF
5285
5286 cat >>$CONFIG_STATUS <<_ACEOF
5287
5288 #
5289 # CONFIG_FILES section.
5290 #
5291
5292 # No need to generate the scripts if there are no CONFIG_FILES.
5293 # This happens for instance when ./config.status config.h
5294 if test -n "\$CONFIG_FILES"; then
5295   # Protect against being on the right side of a sed subst in config.status.
5296   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5297    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5298 s,@SHELL@,$SHELL,;t t
5299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5300 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5301 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5302 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5303 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5304 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5305 s,@exec_prefix@,$exec_prefix,;t t
5306 s,@prefix@,$prefix,;t t
5307 s,@program_transform_name@,$program_transform_name,;t t
5308 s,@bindir@,$bindir,;t t
5309 s,@sbindir@,$sbindir,;t t
5310 s,@libexecdir@,$libexecdir,;t t
5311 s,@datadir@,$datadir,;t t
5312 s,@sysconfdir@,$sysconfdir,;t t
5313 s,@sharedstatedir@,$sharedstatedir,;t t
5314 s,@localstatedir@,$localstatedir,;t t
5315 s,@libdir@,$libdir,;t t
5316 s,@includedir@,$includedir,;t t
5317 s,@oldincludedir@,$oldincludedir,;t t
5318 s,@infodir@,$infodir,;t t
5319 s,@mandir@,$mandir,;t t
5320 s,@build_alias@,$build_alias,;t t
5321 s,@host_alias@,$host_alias,;t t
5322 s,@target_alias@,$target_alias,;t t
5323 s,@DEFS@,$DEFS,;t t
5324 s,@ECHO_C@,$ECHO_C,;t t
5325 s,@ECHO_N@,$ECHO_N,;t t
5326 s,@ECHO_T@,$ECHO_T,;t t
5327 s,@LIBS@,$LIBS,;t t
5328 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5329 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5330 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5331 s,@PACKAGE@,$PACKAGE,;t t
5332 s,@VERSION@,$VERSION,;t t
5333 s,@ACLOCAL@,$ACLOCAL,;t t
5334 s,@AUTOCONF@,$AUTOCONF,;t t
5335 s,@AUTOMAKE@,$AUTOMAKE,;t t
5336 s,@AUTOHEADER@,$AUTOHEADER,;t t
5337 s,@MAKEINFO@,$MAKEINFO,;t t
5338 s,@AMTAR@,$AMTAR,;t t
5339 s,@install_sh@,$install_sh,;t t
5340 s,@STRIP@,$STRIP,;t t
5341 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5342 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5343 s,@AWK@,$AWK,;t t
5344 s,@SET_MAKE@,$SET_MAKE,;t t
5345 s,@CC@,$CC,;t t
5346 s,@CFLAGS@,$CFLAGS,;t t
5347 s,@LDFLAGS@,$LDFLAGS,;t t
5348 s,@CPPFLAGS@,$CPPFLAGS,;t t
5349 s,@ac_ct_CC@,$ac_ct_CC,;t t
5350 s,@EXEEXT@,$EXEEXT,;t t
5351 s,@OBJEXT@,$OBJEXT,;t t
5352 s,@DEPDIR@,$DEPDIR,;t t
5353 s,@am__include@,$am__include,;t t
5354 s,@am__quote@,$am__quote,;t t
5355 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5356 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5357 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5358 s,@CCDEPMODE@,$CCDEPMODE,;t t
5359 s,@CPP@,$CPP,;t t
5360 s,@EGREP@,$EGREP,;t t
5361 s,@build@,$build,;t t
5362 s,@build_cpu@,$build_cpu,;t t
5363 s,@build_vendor@,$build_vendor,;t t
5364 s,@build_os@,$build_os,;t t
5365 s,@host@,$host,;t t
5366 s,@host_cpu@,$host_cpu,;t t
5367 s,@host_vendor@,$host_vendor,;t t
5368 s,@host_os@,$host_os,;t t
5369 s,@EXTRASRC@,$EXTRASRC,;t t
5370 s,@EXTRAOBJ@,$EXTRAOBJ,;t t
5371 s,@LIBOBJS@,$LIBOBJS,;t t
5372 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5373 CEOF
5374
5375 _ACEOF
5376
5377   cat >>$CONFIG_STATUS <<\_ACEOF
5378   # Split the substitutions into bite-sized pieces for seds with
5379   # small command number limits, like on Digital OSF/1 and HP-UX.
5380   ac_max_sed_lines=48
5381   ac_sed_frag=1 # Number of current file.
5382   ac_beg=1 # First line for current file.
5383   ac_end=$ac_max_sed_lines # Line after last line for current file.
5384   ac_more_lines=:
5385   ac_sed_cmds=
5386   while $ac_more_lines; do
5387     if test $ac_beg -gt 1; then
5388       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5389     else
5390       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5391     fi
5392     if test ! -s $tmp/subs.frag; then
5393       ac_more_lines=false
5394     else
5395       # The purpose of the label and of the branching condition is to
5396       # speed up the sed processing (if there are no `@' at all, there
5397       # is no need to browse any of the substitutions).
5398       # These are the two extra sed commands mentioned above.
5399       (echo ':t
5400   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5401       if test -z "$ac_sed_cmds"; then
5402         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5403       else
5404         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5405       fi
5406       ac_sed_frag=`expr $ac_sed_frag + 1`
5407       ac_beg=$ac_end
5408       ac_end=`expr $ac_end + $ac_max_sed_lines`
5409     fi
5410   done
5411   if test -z "$ac_sed_cmds"; then
5412     ac_sed_cmds=cat
5413   fi
5414 fi # test -n "$CONFIG_FILES"
5415
5416 _ACEOF
5417 cat >>$CONFIG_STATUS <<\_ACEOF
5418 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5419   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5420   case $ac_file in
5421   - | *:- | *:-:* ) # input from stdin
5422         cat >$tmp/stdin
5423         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5424         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5425   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5426         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5427   * )   ac_file_in=$ac_file.in ;;
5428   esac
5429
5430   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5431   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5433          X"$ac_file" : 'X\(//\)[^/]' \| \
5434          X"$ac_file" : 'X\(//\)$' \| \
5435          X"$ac_file" : 'X\(/\)' \| \
5436          .     : '\(.\)' 2>/dev/null ||
5437 echo X"$ac_file" |
5438     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5439           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5440           /^X\(\/\/\)$/{ s//\1/; q; }
5441           /^X\(\/\).*/{ s//\1/; q; }
5442           s/.*/./; q'`
5443   { if $as_mkdir_p; then
5444     mkdir -p "$ac_dir"
5445   else
5446     as_dir="$ac_dir"
5447     as_dirs=
5448     while test ! -d "$as_dir"; do
5449       as_dirs="$as_dir $as_dirs"
5450       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5452          X"$as_dir" : 'X\(//\)[^/]' \| \
5453          X"$as_dir" : 'X\(//\)$' \| \
5454          X"$as_dir" : 'X\(/\)' \| \
5455          .     : '\(.\)' 2>/dev/null ||
5456 echo X"$as_dir" |
5457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5458           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5459           /^X\(\/\/\)$/{ s//\1/; q; }
5460           /^X\(\/\).*/{ s//\1/; q; }
5461           s/.*/./; q'`
5462     done
5463     test ! -n "$as_dirs" || mkdir $as_dirs
5464   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5465 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5466    { (exit 1); exit 1; }; }; }
5467
5468   ac_builddir=.
5469
5470 if test "$ac_dir" != .; then
5471   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5472   # A "../" for each directory in $ac_dir_suffix.
5473   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5474 else
5475   ac_dir_suffix= ac_top_builddir=
5476 fi
5477
5478 case $srcdir in
5479   .)  # No --srcdir option.  We are building in place.
5480     ac_srcdir=.
5481     if test -z "$ac_top_builddir"; then
5482        ac_top_srcdir=.
5483     else
5484        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5485     fi ;;
5486   [\\/]* | ?:[\\/]* )  # Absolute path.
5487     ac_srcdir=$srcdir$ac_dir_suffix;
5488     ac_top_srcdir=$srcdir ;;
5489   *) # Relative path.
5490     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5491     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5492 esac
5493
5494 # Do not use `cd foo && pwd` to compute absolute paths, because
5495 # the directories may not exist.
5496 case `pwd` in
5497 .) ac_abs_builddir="$ac_dir";;
5498 *)
5499   case "$ac_dir" in
5500   .) ac_abs_builddir=`pwd`;;
5501   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5502   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5503   esac;;
5504 esac
5505 case $ac_abs_builddir in
5506 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5507 *)
5508   case ${ac_top_builddir}. in
5509   .) ac_abs_top_builddir=$ac_abs_builddir;;
5510   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5511   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5512   esac;;
5513 esac
5514 case $ac_abs_builddir in
5515 .) ac_abs_srcdir=$ac_srcdir;;
5516 *)
5517   case $ac_srcdir in
5518   .) ac_abs_srcdir=$ac_abs_builddir;;
5519   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5520   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5521   esac;;
5522 esac
5523 case $ac_abs_builddir in
5524 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5525 *)
5526   case $ac_top_srcdir in
5527   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5528   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5529   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5530   esac;;
5531 esac
5532
5533
5534   case $INSTALL in
5535   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5536   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5537   esac
5538
5539   # Let's still pretend it is `configure' which instantiates (i.e., don't
5540   # use $as_me), people would be surprised to read:
5541   #    /* config.h.  Generated by config.status.  */
5542   if test x"$ac_file" = x-; then
5543     configure_input=
5544   else
5545     configure_input="$ac_file.  "
5546   fi
5547   configure_input=$configure_input"Generated from `echo $ac_file_in |
5548                                      sed 's,.*/,,'` by configure."
5549
5550   # First look for the input files in the build tree, otherwise in the
5551   # src tree.
5552   ac_file_inputs=`IFS=:
5553     for f in $ac_file_in; do
5554       case $f in
5555       -) echo $tmp/stdin ;;
5556       [\\/$]*)
5557          # Absolute (can't be DOS-style, as IFS=:)
5558          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5559 echo "$as_me: error: cannot find input file: $f" >&2;}
5560    { (exit 1); exit 1; }; }
5561          echo "$f";;
5562       *) # Relative
5563          if test -f "$f"; then
5564            # Build tree
5565            echo "$f"
5566          elif test -f "$srcdir/$f"; then
5567            # Source tree
5568            echo "$srcdir/$f"
5569          else
5570            # /dev/null tree
5571            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5572 echo "$as_me: error: cannot find input file: $f" >&2;}
5573    { (exit 1); exit 1; }; }
5574          fi;;
5575       esac
5576     done` || { (exit 1); exit 1; }
5577
5578   if test x"$ac_file" != x-; then
5579     { echo "$as_me:$LINENO: creating $ac_file" >&5
5580 echo "$as_me: creating $ac_file" >&6;}
5581     rm -f "$ac_file"
5582   fi
5583 _ACEOF
5584 cat >>$CONFIG_STATUS <<_ACEOF
5585   sed "$ac_vpsub
5586 $extrasub
5587 _ACEOF
5588 cat >>$CONFIG_STATUS <<\_ACEOF
5589 :t
5590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5591 s,@configure_input@,$configure_input,;t t
5592 s,@srcdir@,$ac_srcdir,;t t
5593 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5594 s,@top_srcdir@,$ac_top_srcdir,;t t
5595 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5596 s,@builddir@,$ac_builddir,;t t
5597 s,@abs_builddir@,$ac_abs_builddir,;t t
5598 s,@top_builddir@,$ac_top_builddir,;t t
5599 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5600 s,@INSTALL@,$ac_INSTALL,;t t
5601 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5602   rm -f $tmp/stdin
5603   if test x"$ac_file" != x-; then
5604     mv $tmp/out $ac_file
5605   else
5606     cat $tmp/out
5607     rm -f $tmp/out
5608   fi
5609
5610 done
5611 _ACEOF
5612 cat >>$CONFIG_STATUS <<\_ACEOF
5613
5614 #
5615 # CONFIG_HEADER section.
5616 #
5617
5618 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5619 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5620 #
5621 # ac_d sets the value in "#define NAME VALUE" lines.
5622 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5623 ac_dB='[         ].*$,\1#\2'
5624 ac_dC=' '
5625 ac_dD=',;t'
5626 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5627 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5628 ac_uB='$,\1#\2define\3'
5629 ac_uC=' '
5630 ac_uD=',;t'
5631
5632 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5633   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5634   case $ac_file in
5635   - | *:- | *:-:* ) # input from stdin
5636         cat >$tmp/stdin
5637         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5638         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5639   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5640         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5641   * )   ac_file_in=$ac_file.in ;;
5642   esac
5643
5644   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5645 echo "$as_me: creating $ac_file" >&6;}
5646
5647   # First look for the input files in the build tree, otherwise in the
5648   # src tree.
5649   ac_file_inputs=`IFS=:
5650     for f in $ac_file_in; do
5651       case $f in
5652       -) echo $tmp/stdin ;;
5653       [\\/$]*)
5654          # Absolute (can't be DOS-style, as IFS=:)
5655          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5656 echo "$as_me: error: cannot find input file: $f" >&2;}
5657    { (exit 1); exit 1; }; }
5658          # Do quote $f, to prevent DOS paths from being IFS'd.
5659          echo "$f";;
5660       *) # Relative
5661          if test -f "$f"; then
5662            # Build tree
5663            echo "$f"
5664          elif test -f "$srcdir/$f"; then
5665            # Source tree
5666            echo "$srcdir/$f"
5667          else
5668            # /dev/null tree
5669            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5670 echo "$as_me: error: cannot find input file: $f" >&2;}
5671    { (exit 1); exit 1; }; }
5672          fi;;
5673       esac
5674     done` || { (exit 1); exit 1; }
5675   # Remove the trailing spaces.
5676   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5677
5678 _ACEOF
5679
5680 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5681 # `conftest.undefs', that substitutes the proper values into
5682 # config.h.in to produce config.h.  The first handles `#define'
5683 # templates, and the second `#undef' templates.
5684 # And first: Protect against being on the right side of a sed subst in
5685 # config.status.  Protect against being in an unquoted here document
5686 # in config.status.
5687 rm -f conftest.defines conftest.undefs
5688 # Using a here document instead of a string reduces the quoting nightmare.
5689 # Putting comments in sed scripts is not portable.
5690 #
5691 # `end' is used to avoid that the second main sed command (meant for
5692 # 0-ary CPP macros) applies to n-ary macro definitions.
5693 # See the Autoconf documentation for `clear'.
5694 cat >confdef2sed.sed <<\_ACEOF
5695 s/[\\&,]/\\&/g
5696 s,[\\$`],\\&,g
5697 t clear
5698 : clear
5699 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5700 t end
5701 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5702 : end
5703 _ACEOF
5704 # If some macros were called several times there might be several times
5705 # the same #defines, which is useless.  Nevertheless, we may not want to
5706 # sort them, since we want the *last* AC-DEFINE to be honored.
5707 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5708 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5709 rm -f confdef2sed.sed
5710
5711 # This sed command replaces #undef with comments.  This is necessary, for
5712 # example, in the case of _POSIX_SOURCE, which is predefined and required
5713 # on some systems where configure will not decide to define it.
5714 cat >>conftest.undefs <<\_ACEOF
5715 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5716 _ACEOF
5717
5718 # Break up conftest.defines because some shells have a limit on the size
5719 # of here documents, and old seds have small limits too (100 cmds).
5720 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5721 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5722 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5723 echo '  :' >>$CONFIG_STATUS
5724 rm -f conftest.tail
5725 while grep . conftest.defines >/dev/null
5726 do
5727   # Write a limited-size here document to $tmp/defines.sed.
5728   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5729   # Speed up: don't consider the non `#define' lines.
5730   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5731   # Work around the forget-to-reset-the-flag bug.
5732   echo 't clr' >>$CONFIG_STATUS
5733   echo ': clr' >>$CONFIG_STATUS
5734   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5735   echo 'CEOF
5736   sed -f $tmp/defines.sed $tmp/in >$tmp/out
5737   rm -f $tmp/in
5738   mv $tmp/out $tmp/in
5739 ' >>$CONFIG_STATUS
5740   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5741   rm -f conftest.defines
5742   mv conftest.tail conftest.defines
5743 done
5744 rm -f conftest.defines
5745 echo '  fi # grep' >>$CONFIG_STATUS
5746 echo >>$CONFIG_STATUS
5747
5748 # Break up conftest.undefs because some shells have a limit on the size
5749 # of here documents, and old seds have small limits too (100 cmds).
5750 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5751 rm -f conftest.tail
5752 while grep . conftest.undefs >/dev/null
5753 do
5754   # Write a limited-size here document to $tmp/undefs.sed.
5755   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5756   # Speed up: don't consider the non `#undef'
5757   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5758   # Work around the forget-to-reset-the-flag bug.
5759   echo 't clr' >>$CONFIG_STATUS
5760   echo ': clr' >>$CONFIG_STATUS
5761   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5762   echo 'CEOF
5763   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5764   rm -f $tmp/in
5765   mv $tmp/out $tmp/in
5766 ' >>$CONFIG_STATUS
5767   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5768   rm -f conftest.undefs
5769   mv conftest.tail conftest.undefs
5770 done
5771 rm -f conftest.undefs
5772
5773 cat >>$CONFIG_STATUS <<\_ACEOF
5774   # Let's still pretend it is `configure' which instantiates (i.e., don't
5775   # use $as_me), people would be surprised to read:
5776   #    /* config.h.  Generated by config.status.  */
5777   if test x"$ac_file" = x-; then
5778     echo "/* Generated by configure.  */" >$tmp/config.h
5779   else
5780     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5781   fi
5782   cat $tmp/in >>$tmp/config.h
5783   rm -f $tmp/in
5784   if test x"$ac_file" != x-; then
5785     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5786       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5787 echo "$as_me: $ac_file is unchanged" >&6;}
5788     else
5789       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5791          X"$ac_file" : 'X\(//\)[^/]' \| \
5792          X"$ac_file" : 'X\(//\)$' \| \
5793          X"$ac_file" : 'X\(/\)' \| \
5794          .     : '\(.\)' 2>/dev/null ||
5795 echo X"$ac_file" |
5796     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5797           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5798           /^X\(\/\/\)$/{ s//\1/; q; }
5799           /^X\(\/\).*/{ s//\1/; q; }
5800           s/.*/./; q'`
5801       { if $as_mkdir_p; then
5802     mkdir -p "$ac_dir"
5803   else
5804     as_dir="$ac_dir"
5805     as_dirs=
5806     while test ! -d "$as_dir"; do
5807       as_dirs="$as_dir $as_dirs"
5808       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5810          X"$as_dir" : 'X\(//\)[^/]' \| \
5811          X"$as_dir" : 'X\(//\)$' \| \
5812          X"$as_dir" : 'X\(/\)' \| \
5813          .     : '\(.\)' 2>/dev/null ||
5814 echo X"$as_dir" |
5815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5816           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5817           /^X\(\/\/\)$/{ s//\1/; q; }
5818           /^X\(\/\).*/{ s//\1/; q; }
5819           s/.*/./; q'`
5820     done
5821     test ! -n "$as_dirs" || mkdir $as_dirs
5822   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5824    { (exit 1); exit 1; }; }; }
5825
5826       rm -f $ac_file
5827       mv $tmp/config.h $ac_file
5828     fi
5829   else
5830     cat $tmp/config.h
5831     rm -f $tmp/config.h
5832   fi
5833   # Run the commands associated with the file.
5834   case $ac_file in
5835     config.h ) # update the timestamp
5836 echo 'timestamp for config.h' >"./stamp-h1"
5837  ;;
5838   esac
5839 done
5840 _ACEOF
5841 cat >>$CONFIG_STATUS <<\_ACEOF
5842
5843 #
5844 # CONFIG_COMMANDS section.
5845 #
5846 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5847   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5848   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5849   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5850 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5851          X"$ac_dest" : 'X\(//\)[^/]' \| \
5852          X"$ac_dest" : 'X\(//\)$' \| \
5853          X"$ac_dest" : 'X\(/\)' \| \
5854          .     : '\(.\)' 2>/dev/null ||
5855 echo X"$ac_dest" |
5856     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5857           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5858           /^X\(\/\/\)$/{ s//\1/; q; }
5859           /^X\(\/\).*/{ s//\1/; q; }
5860           s/.*/./; q'`
5861   { if $as_mkdir_p; then
5862     mkdir -p "$ac_dir"
5863   else
5864     as_dir="$ac_dir"
5865     as_dirs=
5866     while test ! -d "$as_dir"; do
5867       as_dirs="$as_dir $as_dirs"
5868       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5870          X"$as_dir" : 'X\(//\)[^/]' \| \
5871          X"$as_dir" : 'X\(//\)$' \| \
5872          X"$as_dir" : 'X\(/\)' \| \
5873          .     : '\(.\)' 2>/dev/null ||
5874 echo X"$as_dir" |
5875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5876           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5877           /^X\(\/\/\)$/{ s//\1/; q; }
5878           /^X\(\/\).*/{ s//\1/; q; }
5879           s/.*/./; q'`
5880     done
5881     test ! -n "$as_dirs" || mkdir $as_dirs
5882   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5883 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5884    { (exit 1); exit 1; }; }; }
5885
5886   ac_builddir=.
5887
5888 if test "$ac_dir" != .; then
5889   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5890   # A "../" for each directory in $ac_dir_suffix.
5891   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5892 else
5893   ac_dir_suffix= ac_top_builddir=
5894 fi
5895
5896 case $srcdir in
5897   .)  # No --srcdir option.  We are building in place.
5898     ac_srcdir=.
5899     if test -z "$ac_top_builddir"; then
5900        ac_top_srcdir=.
5901     else
5902        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5903     fi ;;
5904   [\\/]* | ?:[\\/]* )  # Absolute path.
5905     ac_srcdir=$srcdir$ac_dir_suffix;
5906     ac_top_srcdir=$srcdir ;;
5907   *) # Relative path.
5908     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5909     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5910 esac
5911
5912 # Do not use `cd foo && pwd` to compute absolute paths, because
5913 # the directories may not exist.
5914 case `pwd` in
5915 .) ac_abs_builddir="$ac_dir";;
5916 *)
5917   case "$ac_dir" in
5918   .) ac_abs_builddir=`pwd`;;
5919   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5920   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5921   esac;;
5922 esac
5923 case $ac_abs_builddir in
5924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5925 *)
5926   case ${ac_top_builddir}. in
5927   .) ac_abs_top_builddir=$ac_abs_builddir;;
5928   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5929   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5930   esac;;
5931 esac
5932 case $ac_abs_builddir in
5933 .) ac_abs_srcdir=$ac_srcdir;;
5934 *)
5935   case $ac_srcdir in
5936   .) ac_abs_srcdir=$ac_abs_builddir;;
5937   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5938   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5939   esac;;
5940 esac
5941 case $ac_abs_builddir in
5942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5943 *)
5944   case $ac_top_srcdir in
5945   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5946   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5947   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5948   esac;;
5949 esac
5950
5951
5952   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5953 echo "$as_me: executing $ac_dest commands" >&6;}
5954   case $ac_dest in
5955     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5956   # Strip MF so we end up with the name of the file.
5957   mf=`echo "$mf" | sed -e 's/:.*$//'`
5958   # Check whether this is an Automake generated Makefile or not.
5959   # We used to match only the files named `Makefile.in', but
5960   # some people rename them; so instead we look at the file content.
5961   # Grep'ing the first line is not enough: some people post-process
5962   # each Makefile.in and add a new line on top of each file to say so.
5963   # So let's grep whole file.
5964   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5965     dirpart=`(dirname "$mf") 2>/dev/null ||
5966 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5967          X"$mf" : 'X\(//\)[^/]' \| \
5968          X"$mf" : 'X\(//\)$' \| \
5969          X"$mf" : 'X\(/\)' \| \
5970          .     : '\(.\)' 2>/dev/null ||
5971 echo X"$mf" |
5972     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5973           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5974           /^X\(\/\/\)$/{ s//\1/; q; }
5975           /^X\(\/\).*/{ s//\1/; q; }
5976           s/.*/./; q'`
5977   else
5978     continue
5979   fi
5980   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5981   # Extract the definition of DEP_FILES from the Makefile without
5982   # running `make'.
5983   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5984   test -z "$DEPDIR" && continue
5985   # When using ansi2knr, U may be empty or an underscore; expand it
5986   U=`sed -n -e '/^U = / s///p' < "$mf"`
5987   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5988   # We invoke sed twice because it is the simplest approach to
5989   # changing $(DEPDIR) to its actual value in the expansion.
5990   for file in `sed -n -e '
5991     /^DEP_FILES = .*\\\\$/ {
5992       s/^DEP_FILES = //
5993       :loop
5994         s/\\\\$//
5995         p
5996         n
5997         /\\\\$/ b loop
5998       p
5999     }
6000     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6001        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6002     # Make sure the directory exists.
6003     test -f "$dirpart/$file" && continue
6004     fdir=`(dirname "$file") 2>/dev/null ||
6005 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6006          X"$file" : 'X\(//\)[^/]' \| \
6007          X"$file" : 'X\(//\)$' \| \
6008          X"$file" : 'X\(/\)' \| \
6009          .     : '\(.\)' 2>/dev/null ||
6010 echo X"$file" |
6011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6012           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6013           /^X\(\/\/\)$/{ s//\1/; q; }
6014           /^X\(\/\).*/{ s//\1/; q; }
6015           s/.*/./; q'`
6016     { if $as_mkdir_p; then
6017     mkdir -p $dirpart/$fdir
6018   else
6019     as_dir=$dirpart/$fdir
6020     as_dirs=
6021     while test ! -d "$as_dir"; do
6022       as_dirs="$as_dir $as_dirs"
6023       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6025          X"$as_dir" : 'X\(//\)[^/]' \| \
6026          X"$as_dir" : 'X\(//\)$' \| \
6027          X"$as_dir" : 'X\(/\)' \| \
6028          .     : '\(.\)' 2>/dev/null ||
6029 echo X"$as_dir" |
6030     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6031           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6032           /^X\(\/\/\)$/{ s//\1/; q; }
6033           /^X\(\/\).*/{ s//\1/; q; }
6034           s/.*/./; q'`
6035     done
6036     test ! -n "$as_dirs" || mkdir $as_dirs
6037   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6038 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6039    { (exit 1); exit 1; }; }; }
6040
6041     # echo "creating $dirpart/$file"
6042     echo '# dummy' > "$dirpart/$file"
6043   done
6044 done
6045  ;;
6046   esac
6047 done
6048 _ACEOF
6049
6050 cat >>$CONFIG_STATUS <<\_ACEOF
6051
6052 { (exit 0); exit 0; }
6053 _ACEOF
6054 chmod +x $CONFIG_STATUS
6055 ac_clean_files=$ac_clean_files_save
6056
6057
6058 # configure is writing to config.log, and then calls config.status.
6059 # config.status does its own redirection, appending to config.log.
6060 # Unfortunately, on DOS this fails, as config.log is still kept open
6061 # by configure, so config.status won't be able to write to it; its
6062 # output is simply discarded.  So we exec the FD to /dev/null,
6063 # effectively closing config.log, so it can be properly (re)opened and
6064 # appended to by config.status.  When coming back to configure, we
6065 # need to make the FD available again.
6066 if test "$no_create" != yes; then
6067   ac_cs_success=:
6068   ac_config_status_args=
6069   test "$silent" = yes &&
6070     ac_config_status_args="$ac_config_status_args --quiet"
6071   exec 5>/dev/null
6072   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6073   exec 5>>config.log
6074   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6075   # would make configure fail if this is the last instruction.
6076   $ac_cs_success || { (exit 1); exit 1; }
6077 fi
6078
6079