1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for whois3 3.2.2.
4#
5# Report bugs to <dbtools@ripe.net>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization.  ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22  set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45do
46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70	 X"$0" : 'X\(//\)$' \| \
71	 X"$0" : 'X\(/\)$' \| \
72	 .     : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
76  	  /^X\/\(\/\).*/{ s//\1/; q; }
77  	  s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90  echo "#! /bin/sh" >conf$$.sh
91  echo  "exit 0"   >>conf$$.sh
92  chmod +x conf$$.sh
93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94    PATH_SEPARATOR=';'
95  else
96    PATH_SEPARATOR=:
97  fi
98  rm -f conf$$.sh
99fi
100
101
102  as_lineno_1=$LINENO
103  as_lineno_2=$LINENO
104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105  test "x$as_lineno_1" != "x$as_lineno_2" &&
106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107  # Find who we are.  Look in the path if we contain no path at all
108  # relative or not.
109  case $0 in
110    *[\\/]* ) as_myself=$0 ;;
111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119       ;;
120  esac
121  # We did not find ourselves, most probably we were run as `sh COMMAND'
122  # in which case we are not to be found in the path.
123  if test "x$as_myself" = x; then
124    as_myself=$0
125  fi
126  if test ! -f "$as_myself"; then
127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128   { (exit 1); exit 1; }; }
129  fi
130  case $CONFIG_SHELL in
131  '')
132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135  IFS=$as_save_IFS
136  test -z "$as_dir" && as_dir=.
137  for as_base in sh bash ksh sh5; do
138	 case $as_dir in
139	 /*)
140	   if ("$as_dir/$as_base" -c '
141  as_lineno_1=$LINENO
142  as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144  test "x$as_lineno_1" != "x$as_lineno_2" &&
145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148	     CONFIG_SHELL=$as_dir/$as_base
149	     export CONFIG_SHELL
150	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151	   fi;;
152	 esac
153       done
154done
155;;
156  esac
157
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T='	' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205  # We could just check for DJGPP; but this test a) works b) is more generic
206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207  if test -f conf$$.exe; then
208    # Don't use ln at all; we don't have any links
209    as_ln_s='cp -p'
210  else
211    as_ln_s='ln -s'
212  fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  test -d ./-p && rmdir ./-p
224  as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" 	$as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete.  It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='whois3'
271PACKAGE_TARNAME='whois3'
272PACKAGE_VERSION='3.2.2'
273PACKAGE_STRING='whois3 3.2.2'
274PACKAGE_BUGREPORT='dbtools@ripe.net'
275
276ac_unique_file="whois3.c"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291#  include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296#  include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307#  include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_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 PRODUCT VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB CYGPATH_W PACKAGE ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS PERL LTLIBOBJS'
315ac_subst_files=''
316
317# Initialize some variables set by options.
318ac_init_help=
319ac_init_version=false
320# The variables have the same names as the options, with
321# dashes changed to underlines.
322cache_file=/dev/null
323exec_prefix=NONE
324no_create=
325no_recursion=
326prefix=NONE
327program_prefix=NONE
328program_suffix=NONE
329program_transform_name=s,x,x,
330silent=
331site=
332srcdir=
333verbose=
334x_includes=NONE
335x_libraries=NONE
336
337# Installation directory options.
338# These are left unexpanded so users can "make install exec_prefix=/foo"
339# and all the variables that are supposed to be based on exec_prefix
340# by default will actually change.
341# Use braces instead of parens because sh, perl, etc. also accept them.
342bindir='${exec_prefix}/bin'
343sbindir='${exec_prefix}/sbin'
344libexecdir='${exec_prefix}/libexec'
345datadir='${prefix}/share'
346sysconfdir='${prefix}/etc'
347sharedstatedir='${prefix}/com'
348localstatedir='${prefix}/var'
349libdir='${exec_prefix}/lib'
350includedir='${prefix}/include'
351oldincludedir='/usr/include'
352infodir='${prefix}/info'
353mandir='${prefix}/man'
354
355ac_prev=
356for ac_option
357do
358  # If the previous option needs an argument, assign it.
359  if test -n "$ac_prev"; then
360    eval "$ac_prev=\$ac_option"
361    ac_prev=
362    continue
363  fi
364
365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367  # Accept the important Cygnus configure options, so we can diagnose typos.
368
369  case $ac_option in
370
371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
372    ac_prev=bindir ;;
373  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374    bindir=$ac_optarg ;;
375
376  -build | --build | --buil | --bui | --bu)
377    ac_prev=build_alias ;;
378  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379    build_alias=$ac_optarg ;;
380
381  -cache-file | --cache-file | --cache-fil | --cache-fi \
382  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383    ac_prev=cache_file ;;
384  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386    cache_file=$ac_optarg ;;
387
388  --config-cache | -C)
389    cache_file=config.cache ;;
390
391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392    ac_prev=datadir ;;
393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394  | --da=*)
395    datadir=$ac_optarg ;;
396
397  -disable-* | --disable-*)
398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399    # Reject names that are not valid shell variable names.
400    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402   { (exit 1); exit 1; }; }
403    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404    eval "enable_$ac_feature=no" ;;
405
406  -enable-* | --enable-*)
407    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408    # Reject names that are not valid shell variable names.
409    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411   { (exit 1); exit 1; }; }
412    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413    case $ac_option in
414      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415      *) ac_optarg=yes ;;
416    esac
417    eval "enable_$ac_feature='$ac_optarg'" ;;
418
419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421  | --exec | --exe | --ex)
422    ac_prev=exec_prefix ;;
423  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425  | --exec=* | --exe=* | --ex=*)
426    exec_prefix=$ac_optarg ;;
427
428  -gas | --gas | --ga | --g)
429    # Obsolete; use --with-gas.
430    with_gas=yes ;;
431
432  -help | --help | --hel | --he | -h)
433    ac_init_help=long ;;
434  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435    ac_init_help=recursive ;;
436  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437    ac_init_help=short ;;
438
439  -host | --host | --hos | --ho)
440    ac_prev=host_alias ;;
441  -host=* | --host=* | --hos=* | --ho=*)
442    host_alias=$ac_optarg ;;
443
444  -includedir | --includedir | --includedi | --included | --include \
445  | --includ | --inclu | --incl | --inc)
446    ac_prev=includedir ;;
447  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448  | --includ=* | --inclu=* | --incl=* | --inc=*)
449    includedir=$ac_optarg ;;
450
451  -infodir | --infodir | --infodi | --infod | --info | --inf)
452    ac_prev=infodir ;;
453  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454    infodir=$ac_optarg ;;
455
456  -libdir | --libdir | --libdi | --libd)
457    ac_prev=libdir ;;
458  -libdir=* | --libdir=* | --libdi=* | --libd=*)
459    libdir=$ac_optarg ;;
460
461  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462  | --libexe | --libex | --libe)
463    ac_prev=libexecdir ;;
464  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465  | --libexe=* | --libex=* | --libe=*)
466    libexecdir=$ac_optarg ;;
467
468  -localstatedir | --localstatedir | --localstatedi | --localstated \
469  | --localstate | --localstat | --localsta | --localst \
470  | --locals | --local | --loca | --loc | --lo)
471    ac_prev=localstatedir ;;
472  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475    localstatedir=$ac_optarg ;;
476
477  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478    ac_prev=mandir ;;
479  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480    mandir=$ac_optarg ;;
481
482  -nfp | --nfp | --nf)
483    # Obsolete; use --without-fp.
484    with_fp=no ;;
485
486  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487  | --no-cr | --no-c | -n)
488    no_create=yes ;;
489
490  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492    no_recursion=yes ;;
493
494  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496  | --oldin | --oldi | --old | --ol | --o)
497    ac_prev=oldincludedir ;;
498  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501    oldincludedir=$ac_optarg ;;
502
503  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504    ac_prev=prefix ;;
505  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506    prefix=$ac_optarg ;;
507
508  -program-prefix | --program-prefix | --program-prefi | --program-pref \
509  | --program-pre | --program-pr | --program-p)
510    ac_prev=program_prefix ;;
511  -program-prefix=* | --program-prefix=* | --program-prefi=* \
512  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513    program_prefix=$ac_optarg ;;
514
515  -program-suffix | --program-suffix | --program-suffi | --program-suff \
516  | --program-suf | --program-su | --program-s)
517    ac_prev=program_suffix ;;
518  -program-suffix=* | --program-suffix=* | --program-suffi=* \
519  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520    program_suffix=$ac_optarg ;;
521
522  -program-transform-name | --program-transform-name \
523  | --program-transform-nam | --program-transform-na \
524  | --program-transform-n | --program-transform- \
525  | --program-transform | --program-transfor \
526  | --program-transfo | --program-transf \
527  | --program-trans | --program-tran \
528  | --progr-tra | --program-tr | --program-t)
529    ac_prev=program_transform_name ;;
530  -program-transform-name=* | --program-transform-name=* \
531  | --program-transform-nam=* | --program-transform-na=* \
532  | --program-transform-n=* | --program-transform-=* \
533  | --program-transform=* | --program-transfor=* \
534  | --program-transfo=* | --program-transf=* \
535  | --program-trans=* | --program-tran=* \
536  | --progr-tra=* | --program-tr=* | --program-t=*)
537    program_transform_name=$ac_optarg ;;
538
539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540  | -silent | --silent | --silen | --sile | --sil)
541    silent=yes ;;
542
543  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544    ac_prev=sbindir ;;
545  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546  | --sbi=* | --sb=*)
547    sbindir=$ac_optarg ;;
548
549  -sharedstatedir | --sharedstatedir | --sharedstatedi \
550  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551  | --sharedst | --shareds | --shared | --share | --shar \
552  | --sha | --sh)
553    ac_prev=sharedstatedir ;;
554  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557  | --sha=* | --sh=*)
558    sharedstatedir=$ac_optarg ;;
559
560  -site | --site | --sit)
561    ac_prev=site ;;
562  -site=* | --site=* | --sit=*)
563    site=$ac_optarg ;;
564
565  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566    ac_prev=srcdir ;;
567  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568    srcdir=$ac_optarg ;;
569
570  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571  | --syscon | --sysco | --sysc | --sys | --sy)
572    ac_prev=sysconfdir ;;
573  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575    sysconfdir=$ac_optarg ;;
576
577  -target | --target | --targe | --targ | --tar | --ta | --t)
578    ac_prev=target_alias ;;
579  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580    target_alias=$ac_optarg ;;
581
582  -v | -verbose | --verbose | --verbos | --verbo | --verb)
583    verbose=yes ;;
584
585  -version | --version | --versio | --versi | --vers | -V)
586    ac_init_version=: ;;
587
588  -with-* | --with-*)
589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590    # Reject names that are not valid shell variable names.
591    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592      { echo "$as_me: error: invalid package name: $ac_package" >&2
593   { (exit 1); exit 1; }; }
594    ac_package=`echo $ac_package| sed 's/-/_/g'`
595    case $ac_option in
596      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597      *) ac_optarg=yes ;;
598    esac
599    eval "with_$ac_package='$ac_optarg'" ;;
600
601  -without-* | --without-*)
602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603    # Reject names that are not valid shell variable names.
604    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605      { echo "$as_me: error: invalid package name: $ac_package" >&2
606   { (exit 1); exit 1; }; }
607    ac_package=`echo $ac_package | sed 's/-/_/g'`
608    eval "with_$ac_package=no" ;;
609
610  --x)
611    # Obsolete; use --with-x.
612    with_x=yes ;;
613
614  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615  | --x-incl | --x-inc | --x-in | --x-i)
616    ac_prev=x_includes ;;
617  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619    x_includes=$ac_optarg ;;
620
621  -x-libraries | --x-libraries | --x-librarie | --x-librari \
622  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623    ac_prev=x_libraries ;;
624  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626    x_libraries=$ac_optarg ;;
627
628  -*) { echo "$as_me: error: unrecognized option: $ac_option
629Try \`$0 --help' for more information." >&2
630   { (exit 1); exit 1; }; }
631    ;;
632
633  *=*)
634    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635    # Reject names that are not valid shell variable names.
636    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638   { (exit 1); exit 1; }; }
639    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640    eval "$ac_envvar='$ac_optarg'"
641    export $ac_envvar ;;
642
643  *)
644    # FIXME: should be removed in autoconf 3.0.
645    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649    ;;
650
651  esac
652done
653
654if test -n "$ac_prev"; then
655  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656  { echo "$as_me: error: missing argument to $ac_option" >&2
657   { (exit 1); exit 1; }; }
658fi
659
660# Be sure to have absolute paths.
661for ac_var in exec_prefix prefix
662do
663  eval ac_val=$`echo $ac_var`
664  case $ac_val in
665    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667   { (exit 1); exit 1; }; };;
668  esac
669done
670
671# Be sure to have absolute paths.
672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673	      localstatedir libdir includedir oldincludedir infodir mandir
674do
675  eval ac_val=$`echo $ac_var`
676  case $ac_val in
677    [\\/$]* | ?:[\\/]* ) ;;
678    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679   { (exit 1); exit 1; }; };;
680  esac
681done
682
683# There might be people who depend on the old broken behavior: `$host'
684# used to hold the argument of --host etc.
685# FIXME: To remove some day.
686build=$build_alias
687host=$host_alias
688target=$target_alias
689
690# FIXME: To remove some day.
691if test "x$host_alias" != x; then
692  if test "x$build_alias" = x; then
693    cross_compiling=maybe
694    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695    If a cross compiler is detected then cross compile mode will be used." >&2
696  elif test "x$build_alias" != "x$host_alias"; then
697    cross_compiling=yes
698  fi
699fi
700
701ac_tool_prefix=
702test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704test "$silent" = yes && exec 6>/dev/null
705
706
707# Find the source files, if location was not specified.
708if test -z "$srcdir"; then
709  ac_srcdir_defaulted=yes
710  # Try the directory containing this script, then its parent.
711  ac_confdir=`(dirname "$0") 2>/dev/null ||
712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713	 X"$0" : 'X\(//\)[^/]' \| \
714	 X"$0" : 'X\(//\)$' \| \
715	 X"$0" : 'X\(/\)' \| \
716	 .     : '\(.\)' 2>/dev/null ||
717echo X"$0" |
718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720  	  /^X\(\/\/\)$/{ s//\1/; q; }
721  	  /^X\(\/\).*/{ s//\1/; q; }
722  	  s/.*/./; q'`
723  srcdir=$ac_confdir
724  if test ! -r $srcdir/$ac_unique_file; then
725    srcdir=..
726  fi
727else
728  ac_srcdir_defaulted=no
729fi
730if test ! -r $srcdir/$ac_unique_file; then
731  if test "$ac_srcdir_defaulted" = yes; then
732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733   { (exit 1); exit 1; }; }
734  else
735    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736   { (exit 1); exit 1; }; }
737  fi
738fi
739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741   { (exit 1); exit 1; }; }
742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743ac_env_build_alias_set=${build_alias+set}
744ac_env_build_alias_value=$build_alias
745ac_cv_env_build_alias_set=${build_alias+set}
746ac_cv_env_build_alias_value=$build_alias
747ac_env_host_alias_set=${host_alias+set}
748ac_env_host_alias_value=$host_alias
749ac_cv_env_host_alias_set=${host_alias+set}
750ac_cv_env_host_alias_value=$host_alias
751ac_env_target_alias_set=${target_alias+set}
752ac_env_target_alias_value=$target_alias
753ac_cv_env_target_alias_set=${target_alias+set}
754ac_cv_env_target_alias_value=$target_alias
755ac_env_CC_set=${CC+set}
756ac_env_CC_value=$CC
757ac_cv_env_CC_set=${CC+set}
758ac_cv_env_CC_value=$CC
759ac_env_CFLAGS_set=${CFLAGS+set}
760ac_env_CFLAGS_value=$CFLAGS
761ac_cv_env_CFLAGS_set=${CFLAGS+set}
762ac_cv_env_CFLAGS_value=$CFLAGS
763ac_env_LDFLAGS_set=${LDFLAGS+set}
764ac_env_LDFLAGS_value=$LDFLAGS
765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766ac_cv_env_LDFLAGS_value=$LDFLAGS
767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_env_CPPFLAGS_value=$CPPFLAGS
769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771ac_env_CPP_set=${CPP+set}
772ac_env_CPP_value=$CPP
773ac_cv_env_CPP_set=${CPP+set}
774ac_cv_env_CPP_value=$CPP
775
776#
777# Report the --help message.
778#
779if test "$ac_init_help" = "long"; then
780  # Omit some internal or obsolete options to make the list less imposing.
781  # This message is too long to be a string in the A/UX 3.1 sh.
782  cat <<_ACEOF
783\`configure' configures whois3 3.2.2 to adapt to many kinds of systems.
784
785Usage: $0 [OPTION]... [VAR=VALUE]...
786
787To assign environment variables (e.g., CC, CFLAGS...), specify them as
788VAR=VALUE.  See below for descriptions of some of the useful variables.
789
790Defaults for the options are specified in brackets.
791
792Configuration:
793  -h, --help              display this help and exit
794      --help=short        display options specific to this package
795      --help=recursive    display the short help of all the included packages
796  -V, --version           display version information and exit
797  -q, --quiet, --silent   do not print \`checking...' messages
798      --cache-file=FILE   cache test results in FILE [disabled]
799  -C, --config-cache      alias for \`--cache-file=config.cache'
800  -n, --no-create         do not create output files
801      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
802
803_ACEOF
804
805  cat <<_ACEOF
806Installation directories:
807  --prefix=PREFIX         install architecture-independent files in PREFIX
808			  [$ac_default_prefix]
809  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
810			  [PREFIX]
811
812By default, \`make install' will install all the files in
813\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
814an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815for instance \`--prefix=\$HOME'.
816
817For better control, use the options below.
818
819Fine tuning of the installation directories:
820  --bindir=DIR           user executables [EPREFIX/bin]
821  --sbindir=DIR          system admin executables [EPREFIX/sbin]
822  --libexecdir=DIR       program executables [EPREFIX/libexec]
823  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
824  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
825  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
826  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
827  --libdir=DIR           object code libraries [EPREFIX/lib]
828  --includedir=DIR       C header files [PREFIX/include]
829  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
830  --infodir=DIR          info documentation [PREFIX/info]
831  --mandir=DIR           man documentation [PREFIX/man]
832_ACEOF
833
834  cat <<\_ACEOF
835
836Program names:
837  --program-prefix=PREFIX            prepend PREFIX to installed program names
838  --program-suffix=SUFFIX            append SUFFIX to installed program names
839  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
840_ACEOF
841fi
842
843if test -n "$ac_init_help"; then
844  case $ac_init_help in
845     short | recursive ) echo "Configuration of whois3 3.2.2:";;
846   esac
847  cat <<\_ACEOF
848
849Optional 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 build
853  --enable-dependency-tracking   do not reject slow dependency extractors
854
855Some influential environment variables:
856  CC          C compiler command
857  CFLAGS      C compiler flags
858  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
859              nonstandard directory <lib dir>
860  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
861              headers in a nonstandard directory <include dir>
862  CPP         C preprocessor
863
864Use these variables to override the choices made by `configure' or to help
865it to find libraries and programs with nonstandard names/locations.
866
867Report bugs to <dbtools@ripe.net>.
868_ACEOF
869fi
870
871if test "$ac_init_help" = "recursive"; then
872  # If there are subdirs, report their specific --help.
873  ac_popdir=`pwd`
874  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
875    test -d $ac_dir || continue
876    ac_builddir=.
877
878if test "$ac_dir" != .; then
879  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
880  # A "../" for each directory in $ac_dir_suffix.
881  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
882else
883  ac_dir_suffix= ac_top_builddir=
884fi
885
886case $srcdir in
887  .)  # No --srcdir option.  We are building in place.
888    ac_srcdir=.
889    if test -z "$ac_top_builddir"; then
890       ac_top_srcdir=.
891    else
892       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
893    fi ;;
894  [\\/]* | ?:[\\/]* )  # Absolute path.
895    ac_srcdir=$srcdir$ac_dir_suffix;
896    ac_top_srcdir=$srcdir ;;
897  *) # Relative path.
898    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
899    ac_top_srcdir=$ac_top_builddir$srcdir ;;
900esac
901
902# Do not use `cd foo && pwd` to compute absolute paths, because
903# the directories may not exist.
904case `pwd` in
905.) ac_abs_builddir="$ac_dir";;
906*)
907  case "$ac_dir" in
908  .) ac_abs_builddir=`pwd`;;
909  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
910  *) ac_abs_builddir=`pwd`/"$ac_dir";;
911  esac;;
912esac
913case $ac_abs_builddir in
914.) ac_abs_top_builddir=${ac_top_builddir}.;;
915*)
916  case ${ac_top_builddir}. in
917  .) ac_abs_top_builddir=$ac_abs_builddir;;
918  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
919  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
920  esac;;
921esac
922case $ac_abs_builddir in
923.) ac_abs_srcdir=$ac_srcdir;;
924*)
925  case $ac_srcdir in
926  .) ac_abs_srcdir=$ac_abs_builddir;;
927  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
928  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
929  esac;;
930esac
931case $ac_abs_builddir in
932.) ac_abs_top_srcdir=$ac_top_srcdir;;
933*)
934  case $ac_top_srcdir in
935  .) ac_abs_top_srcdir=$ac_abs_builddir;;
936  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
937  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
938  esac;;
939esac
940
941    cd $ac_dir
942    # Check for guested configure; otherwise get Cygnus style configure.
943    if test -f $ac_srcdir/configure.gnu; then
944      echo
945      $SHELL $ac_srcdir/configure.gnu  --help=recursive
946    elif test -f $ac_srcdir/configure; then
947      echo
948      $SHELL $ac_srcdir/configure  --help=recursive
949    elif test -f $ac_srcdir/configure.ac ||
950	   test -f $ac_srcdir/configure.in; then
951      echo
952      $ac_configure --help
953    else
954      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955    fi
956    cd $ac_popdir
957  done
958fi
959
960test -n "$ac_init_help" && exit 0
961if $ac_init_version; then
962  cat <<\_ACEOF
963whois3 configure 3.2.2
964generated by GNU Autoconf 2.59
965
966Copyright (C) 2003 Free Software Foundation, Inc.
967This configure script is free software; the Free Software Foundation
968gives unlimited permission to copy, distribute and modify it.
969_ACEOF
970  exit 0
971fi
972exec 5>config.log
973cat >&5 <<_ACEOF
974This file contains any messages produced by compilers while
975running configure, to aid debugging if configure makes a mistake.
976
977It was created by whois3 $as_me 3.2.2, which was
978generated by GNU Autoconf 2.59.  Invocation command line was
979
980  $ $0 $@
981
982_ACEOF
983{
984cat <<_ASUNAME
985## --------- ##
986## Platform. ##
987## --------- ##
988
989hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
990uname -m = `(uname -m) 2>/dev/null || echo unknown`
991uname -r = `(uname -r) 2>/dev/null || echo unknown`
992uname -s = `(uname -s) 2>/dev/null || echo unknown`
993uname -v = `(uname -v) 2>/dev/null || echo unknown`
994
995/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
996/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
997
998/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
999/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1000/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1001hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1002/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1003/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1004/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1005
1006_ASUNAME
1007
1008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1009for as_dir in $PATH
1010do
1011  IFS=$as_save_IFS
1012  test -z "$as_dir" && as_dir=.
1013  echo "PATH: $as_dir"
1014done
1015
1016} >&5
1017
1018cat >&5 <<_ACEOF
1019
1020
1021## ----------- ##
1022## Core tests. ##
1023## ----------- ##
1024
1025_ACEOF
1026
1027
1028# Keep a trace of the command line.
1029# Strip out --no-create and --no-recursion so they do not pile up.
1030# Strip out --silent because we don't want to record it for future runs.
1031# Also quote any args containing shell meta-characters.
1032# Make two passes to allow for proper duplicate-argument suppression.
1033ac_configure_args=
1034ac_configure_args0=
1035ac_configure_args1=
1036ac_sep=
1037ac_must_keep_next=false
1038for ac_pass in 1 2
1039do
1040  for ac_arg
1041  do
1042    case $ac_arg in
1043    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1044    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045    | -silent | --silent | --silen | --sile | --sil)
1046      continue ;;
1047    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1048      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1049    esac
1050    case $ac_pass in
1051    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1052    2)
1053      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1054      if test $ac_must_keep_next = true; then
1055	ac_must_keep_next=false # Got value, back to normal.
1056      else
1057	case $ac_arg in
1058	  *=* | --config-cache | -C | -disable-* | --disable-* \
1059	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061	  | -with-* | --with-* | -without-* | --without-* | --x)
1062	    case "$ac_configure_args0 " in
1063	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064	    esac
1065	    ;;
1066	  -* ) ac_must_keep_next=true ;;
1067	esac
1068      fi
1069      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070      # Get rid of the leading space.
1071      ac_sep=" "
1072      ;;
1073    esac
1074  done
1075done
1076$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1077$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1078
1079# When interrupted or exit'd, cleanup temporary files, and complete
1080# config.log.  We remove comments because anyway the quotes in there
1081# would cause problems or look ugly.
1082# WARNING: Be sure not to use single quotes in there, as some shells,
1083# such as our DU 5.0 friend, will then `close' the trap.
1084trap 'exit_status=$?
1085  # Save into config.log some information that might help in debugging.
1086  {
1087    echo
1088
1089    cat <<\_ASBOX
1090## ---------------- ##
1091## Cache variables. ##
1092## ---------------- ##
1093_ASBOX
1094    echo
1095    # The following way of writing the cache mishandles newlines in values,
1096{
1097  (set) 2>&1 |
1098    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1099    *ac_space=\ *)
1100      sed -n \
1101	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1103      ;;
1104    *)
1105      sed -n \
1106	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1107      ;;
1108    esac;
1109}
1110    echo
1111
1112    cat <<\_ASBOX
1113## ----------------- ##
1114## Output variables. ##
1115## ----------------- ##
1116_ASBOX
1117    echo
1118    for ac_var in $ac_subst_vars
1119    do
1120      eval ac_val=$`echo $ac_var`
1121      echo "$ac_var='"'"'$ac_val'"'"'"
1122    done | sort
1123    echo
1124
1125    if test -n "$ac_subst_files"; then
1126      cat <<\_ASBOX
1127## ------------- ##
1128## Output files. ##
1129## ------------- ##
1130_ASBOX
1131      echo
1132      for ac_var in $ac_subst_files
1133      do
1134	eval ac_val=$`echo $ac_var`
1135	echo "$ac_var='"'"'$ac_val'"'"'"
1136      done | sort
1137      echo
1138    fi
1139
1140    if test -s confdefs.h; then
1141      cat <<\_ASBOX
1142## ----------- ##
1143## confdefs.h. ##
1144## ----------- ##
1145_ASBOX
1146      echo
1147      sed "/^$/d" confdefs.h | sort
1148      echo
1149    fi
1150    test "$ac_signal" != 0 &&
1151      echo "$as_me: caught signal $ac_signal"
1152    echo "$as_me: exit $exit_status"
1153  } >&5
1154  rm -f core *.core &&
1155  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1156    exit $exit_status
1157     ' 0
1158for ac_signal in 1 2 13 15; do
1159  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1160done
1161ac_signal=0
1162
1163# confdefs.h avoids OS command line length limits that DEFS can exceed.
1164rm -rf conftest* confdefs.h
1165# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1166echo >confdefs.h
1167
1168# Predefined preprocessor variables.
1169
1170cat >>confdefs.h <<_ACEOF
1171#define PACKAGE_NAME "$PACKAGE_NAME"
1172_ACEOF
1173
1174
1175cat >>confdefs.h <<_ACEOF
1176#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1177_ACEOF
1178
1179
1180cat >>confdefs.h <<_ACEOF
1181#define PACKAGE_VERSION "$PACKAGE_VERSION"
1182_ACEOF
1183
1184
1185cat >>confdefs.h <<_ACEOF
1186#define PACKAGE_STRING "$PACKAGE_STRING"
1187_ACEOF
1188
1189
1190cat >>confdefs.h <<_ACEOF
1191#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1192_ACEOF
1193
1194
1195# Let the site file select an alternate cache file if it wants to.
1196# Prefer explicitly selected file to automatically selected ones.
1197if test -z "$CONFIG_SITE"; then
1198  if test "x$prefix" != xNONE; then
1199    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1200  else
1201    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1202  fi
1203fi
1204for ac_site_file in $CONFIG_SITE; do
1205  if test -r "$ac_site_file"; then
1206    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1207echo "$as_me: loading site script $ac_site_file" >&6;}
1208    sed 's/^/| /' "$ac_site_file" >&5
1209    . "$ac_site_file"
1210  fi
1211done
1212
1213if test -r "$cache_file"; then
1214  # Some versions of bash will fail to source /dev/null (special
1215  # files actually), so we avoid doing that.
1216  if test -f "$cache_file"; then
1217    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1218echo "$as_me: loading cache $cache_file" >&6;}
1219    case $cache_file in
1220      [\\/]* | ?:[\\/]* ) . $cache_file;;
1221      *)                      . ./$cache_file;;
1222    esac
1223  fi
1224else
1225  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1226echo "$as_me: creating cache $cache_file" >&6;}
1227  >$cache_file
1228fi
1229
1230# Check that the precious variables saved in the cache have kept the same
1231# value.
1232ac_cache_corrupted=false
1233for ac_var in `(set) 2>&1 |
1234	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1235  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1236  eval ac_new_set=\$ac_env_${ac_var}_set
1237  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1238  eval ac_new_val="\$ac_env_${ac_var}_value"
1239  case $ac_old_set,$ac_new_set in
1240    set,)
1241      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1242echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1243      ac_cache_corrupted=: ;;
1244    ,set)
1245      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1246echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1247      ac_cache_corrupted=: ;;
1248    ,);;
1249    *)
1250      if test "x$ac_old_val" != "x$ac_new_val"; then
1251	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1252echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1253	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1254echo "$as_me:   former value:  $ac_old_val" >&2;}
1255	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1256echo "$as_me:   current value: $ac_new_val" >&2;}
1257	ac_cache_corrupted=:
1258      fi;;
1259  esac
1260  # Pass precious variables to config.status.
1261  if test "$ac_new_set" = set; then
1262    case $ac_new_val in
1263    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1264      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1265    *) ac_arg=$ac_var=$ac_new_val ;;
1266    esac
1267    case " $ac_configure_args " in
1268      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1269      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1270    esac
1271  fi
1272done
1273if $ac_cache_corrupted; then
1274  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1275echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1276  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1277echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1278   { (exit 1); exit 1; }; }
1279fi
1280
1281ac_ext=c
1282ac_cpp='$CPP $CPPFLAGS'
1283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1285ac_compiler_gnu=$ac_cv_c_compiler_gnu
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315PRODUCT=whois3
1316VERSION_NO_IPV6=`echo $VERSION|sed 's/v6$//'`
1317cat >>confdefs.h <<_ACEOF
1318#define PRODUCT "$PRODUCT"
1319_ACEOF
1320
1321
1322
1323
1324ac_ext=c
1325ac_cpp='$CPP $CPPFLAGS'
1326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1328ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329if test -n "$ac_tool_prefix"; then
1330  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1331set dummy ${ac_tool_prefix}gcc; ac_word=$2
1332echo "$as_me:$LINENO: checking for $ac_word" >&5
1333echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1334if test "${ac_cv_prog_CC+set}" = set; then
1335  echo $ECHO_N "(cached) $ECHO_C" >&6
1336else
1337  if test -n "$CC"; then
1338  ac_cv_prog_CC="$CC" # Let the user override the test.
1339else
1340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1341for as_dir in $PATH
1342do
1343  IFS=$as_save_IFS
1344  test -z "$as_dir" && as_dir=.
1345  for ac_exec_ext in '' $ac_executable_extensions; do
1346  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1347    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1348    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1349    break 2
1350  fi
1351done
1352done
1353
1354fi
1355fi
1356CC=$ac_cv_prog_CC
1357if test -n "$CC"; then
1358  echo "$as_me:$LINENO: result: $CC" >&5
1359echo "${ECHO_T}$CC" >&6
1360else
1361  echo "$as_me:$LINENO: result: no" >&5
1362echo "${ECHO_T}no" >&6
1363fi
1364
1365fi
1366if test -z "$ac_cv_prog_CC"; then
1367  ac_ct_CC=$CC
1368  # Extract the first word of "gcc", so it can be a program name with args.
1369set dummy gcc; ac_word=$2
1370echo "$as_me:$LINENO: checking for $ac_word" >&5
1371echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1372if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1373  echo $ECHO_N "(cached) $ECHO_C" >&6
1374else
1375  if test -n "$ac_ct_CC"; then
1376  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1377else
1378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379for as_dir in $PATH
1380do
1381  IFS=$as_save_IFS
1382  test -z "$as_dir" && as_dir=.
1383  for ac_exec_ext in '' $ac_executable_extensions; do
1384  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1385    ac_cv_prog_ac_ct_CC="gcc"
1386    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1387    break 2
1388  fi
1389done
1390done
1391
1392fi
1393fi
1394ac_ct_CC=$ac_cv_prog_ac_ct_CC
1395if test -n "$ac_ct_CC"; then
1396  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1397echo "${ECHO_T}$ac_ct_CC" >&6
1398else
1399  echo "$as_me:$LINENO: result: no" >&5
1400echo "${ECHO_T}no" >&6
1401fi
1402
1403  CC=$ac_ct_CC
1404else
1405  CC="$ac_cv_prog_CC"
1406fi
1407
1408if test -z "$CC"; then
1409  if test -n "$ac_tool_prefix"; then
1410  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1411set dummy ${ac_tool_prefix}cc; ac_word=$2
1412echo "$as_me:$LINENO: checking for $ac_word" >&5
1413echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1414if test "${ac_cv_prog_CC+set}" = set; then
1415  echo $ECHO_N "(cached) $ECHO_C" >&6
1416else
1417  if test -n "$CC"; then
1418  ac_cv_prog_CC="$CC" # Let the user override the test.
1419else
1420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421for as_dir in $PATH
1422do
1423  IFS=$as_save_IFS
1424  test -z "$as_dir" && as_dir=.
1425  for ac_exec_ext in '' $ac_executable_extensions; do
1426  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1427    ac_cv_prog_CC="${ac_tool_prefix}cc"
1428    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1429    break 2
1430  fi
1431done
1432done
1433
1434fi
1435fi
1436CC=$ac_cv_prog_CC
1437if test -n "$CC"; then
1438  echo "$as_me:$LINENO: result: $CC" >&5
1439echo "${ECHO_T}$CC" >&6
1440else
1441  echo "$as_me:$LINENO: result: no" >&5
1442echo "${ECHO_T}no" >&6
1443fi
1444
1445fi
1446if test -z "$ac_cv_prog_CC"; then
1447  ac_ct_CC=$CC
1448  # Extract the first word of "cc", so it can be a program name with args.
1449set dummy cc; ac_word=$2
1450echo "$as_me:$LINENO: checking for $ac_word" >&5
1451echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1452if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1453  echo $ECHO_N "(cached) $ECHO_C" >&6
1454else
1455  if test -n "$ac_ct_CC"; then
1456  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1457else
1458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459for as_dir in $PATH
1460do
1461  IFS=$as_save_IFS
1462  test -z "$as_dir" && as_dir=.
1463  for ac_exec_ext in '' $ac_executable_extensions; do
1464  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1465    ac_cv_prog_ac_ct_CC="cc"
1466    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467    break 2
1468  fi
1469done
1470done
1471
1472fi
1473fi
1474ac_ct_CC=$ac_cv_prog_ac_ct_CC
1475if test -n "$ac_ct_CC"; then
1476  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1477echo "${ECHO_T}$ac_ct_CC" >&6
1478else
1479  echo "$as_me:$LINENO: result: no" >&5
1480echo "${ECHO_T}no" >&6
1481fi
1482
1483  CC=$ac_ct_CC
1484else
1485  CC="$ac_cv_prog_CC"
1486fi
1487
1488fi
1489if test -z "$CC"; then
1490  # Extract the first word of "cc", so it can be a program name with args.
1491set dummy cc; ac_word=$2
1492echo "$as_me:$LINENO: checking for $ac_word" >&5
1493echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1494if test "${ac_cv_prog_CC+set}" = set; then
1495  echo $ECHO_N "(cached) $ECHO_C" >&6
1496else
1497  if test -n "$CC"; then
1498  ac_cv_prog_CC="$CC" # Let the user override the test.
1499else
1500  ac_prog_rejected=no
1501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502for as_dir in $PATH
1503do
1504  IFS=$as_save_IFS
1505  test -z "$as_dir" && as_dir=.
1506  for ac_exec_ext in '' $ac_executable_extensions; do
1507  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1509       ac_prog_rejected=yes
1510       continue
1511     fi
1512    ac_cv_prog_CC="cc"
1513    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514    break 2
1515  fi
1516done
1517done
1518
1519if test $ac_prog_rejected = yes; then
1520  # We found a bogon in the path, so make sure we never use it.
1521  set dummy $ac_cv_prog_CC
1522  shift
1523  if test $# != 0; then
1524    # We chose a different compiler from the bogus one.
1525    # However, it has the same basename, so the bogon will be chosen
1526    # first if we set CC to just the basename; use the full file name.
1527    shift
1528    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1529  fi
1530fi
1531fi
1532fi
1533CC=$ac_cv_prog_CC
1534if test -n "$CC"; then
1535  echo "$as_me:$LINENO: result: $CC" >&5
1536echo "${ECHO_T}$CC" >&6
1537else
1538  echo "$as_me:$LINENO: result: no" >&5
1539echo "${ECHO_T}no" >&6
1540fi
1541
1542fi
1543if test -z "$CC"; then
1544  if test -n "$ac_tool_prefix"; then
1545  for ac_prog in cl
1546  do
1547    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1548set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1549echo "$as_me:$LINENO: checking for $ac_word" >&5
1550echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1551if test "${ac_cv_prog_CC+set}" = set; then
1552  echo $ECHO_N "(cached) $ECHO_C" >&6
1553else
1554  if test -n "$CC"; then
1555  ac_cv_prog_CC="$CC" # Let the user override the test.
1556else
1557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558for as_dir in $PATH
1559do
1560  IFS=$as_save_IFS
1561  test -z "$as_dir" && as_dir=.
1562  for ac_exec_ext in '' $ac_executable_extensions; do
1563  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1565    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566    break 2
1567  fi
1568done
1569done
1570
1571fi
1572fi
1573CC=$ac_cv_prog_CC
1574if test -n "$CC"; then
1575  echo "$as_me:$LINENO: result: $CC" >&5
1576echo "${ECHO_T}$CC" >&6
1577else
1578  echo "$as_me:$LINENO: result: no" >&5
1579echo "${ECHO_T}no" >&6
1580fi
1581
1582    test -n "$CC" && break
1583  done
1584fi
1585if test -z "$CC"; then
1586  ac_ct_CC=$CC
1587  for ac_prog in cl
1588do
1589  # Extract the first word of "$ac_prog", so it can be a program name with args.
1590set dummy $ac_prog; ac_word=$2
1591echo "$as_me:$LINENO: checking for $ac_word" >&5
1592echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1594  echo $ECHO_N "(cached) $ECHO_C" >&6
1595else
1596  if test -n "$ac_ct_CC"; then
1597  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1598else
1599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1600for as_dir in $PATH
1601do
1602  IFS=$as_save_IFS
1603  test -z "$as_dir" && as_dir=.
1604  for ac_exec_ext in '' $ac_executable_extensions; do
1605  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606    ac_cv_prog_ac_ct_CC="$ac_prog"
1607    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608    break 2
1609  fi
1610done
1611done
1612
1613fi
1614fi
1615ac_ct_CC=$ac_cv_prog_ac_ct_CC
1616if test -n "$ac_ct_CC"; then
1617  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1618echo "${ECHO_T}$ac_ct_CC" >&6
1619else
1620  echo "$as_me:$LINENO: result: no" >&5
1621echo "${ECHO_T}no" >&6
1622fi
1623
1624  test -n "$ac_ct_CC" && break
1625done
1626
1627  CC=$ac_ct_CC
1628fi
1629
1630fi
1631
1632
1633test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1634See \`config.log' for more details." >&5
1635echo "$as_me: error: no acceptable C compiler found in \$PATH
1636See \`config.log' for more details." >&2;}
1637   { (exit 1); exit 1; }; }
1638
1639# Provide some information about the compiler.
1640echo "$as_me:$LINENO:" \
1641     "checking for C compiler version" >&5
1642ac_compiler=`set X $ac_compile; echo $2`
1643{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1644  (eval $ac_compiler --version </dev/null >&5) 2>&5
1645  ac_status=$?
1646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1647  (exit $ac_status); }
1648{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1649  (eval $ac_compiler -v </dev/null >&5) 2>&5
1650  ac_status=$?
1651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1652  (exit $ac_status); }
1653{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1654  (eval $ac_compiler -V </dev/null >&5) 2>&5
1655  ac_status=$?
1656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1657  (exit $ac_status); }
1658
1659cat >conftest.$ac_ext <<_ACEOF
1660/* confdefs.h.  */
1661_ACEOF
1662cat confdefs.h >>conftest.$ac_ext
1663cat >>conftest.$ac_ext <<_ACEOF
1664/* end confdefs.h.  */
1665
1666int
1667main ()
1668{
1669
1670  ;
1671  return 0;
1672}
1673_ACEOF
1674ac_clean_files_save=$ac_clean_files
1675ac_clean_files="$ac_clean_files a.out a.exe b.out"
1676# Try to create an executable without -o first, disregard a.out.
1677# It will help us diagnose broken compilers, and finding out an intuition
1678# of exeext.
1679echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1680echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1681ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1682if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1683  (eval $ac_link_default) 2>&5
1684  ac_status=$?
1685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1686  (exit $ac_status); }; then
1687  # Find the output, starting from the most likely.  This scheme is
1688# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1689# resort.
1690
1691# Be careful to initialize this variable, since it used to be cached.
1692# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1693ac_cv_exeext=
1694# b.out is created by i960 compilers.
1695for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1696do
1697  test -f "$ac_file" || continue
1698  case $ac_file in
1699    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1700	;;
1701    conftest.$ac_ext )
1702	# This is the source file.
1703	;;
1704    [ab].out )
1705	# We found the default executable, but exeext='' is most
1706	# certainly right.
1707	break;;
1708    *.* )
1709	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1710	# FIXME: I believe we export ac_cv_exeext for Libtool,
1711	# but it would be cool to find out if it's true.  Does anybody
1712	# maintain Libtool? --akim.
1713	export ac_cv_exeext
1714	break;;
1715    * )
1716	break;;
1717  esac
1718done
1719else
1720  echo "$as_me: failed program was:" >&5
1721sed 's/^/| /' conftest.$ac_ext >&5
1722
1723{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1724See \`config.log' for more details." >&5
1725echo "$as_me: error: C compiler cannot create executables
1726See \`config.log' for more details." >&2;}
1727   { (exit 77); exit 77; }; }
1728fi
1729
1730ac_exeext=$ac_cv_exeext
1731echo "$as_me:$LINENO: result: $ac_file" >&5
1732echo "${ECHO_T}$ac_file" >&6
1733
1734# Check the compiler produces executables we can run.  If not, either
1735# the compiler is broken, or we cross compile.
1736echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1737echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1738# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1739# If not cross compiling, check that we can run a simple program.
1740if test "$cross_compiling" != yes; then
1741  if { ac_try='./$ac_file'
1742  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1743  (eval $ac_try) 2>&5
1744  ac_status=$?
1745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746  (exit $ac_status); }; }; then
1747    cross_compiling=no
1748  else
1749    if test "$cross_compiling" = maybe; then
1750	cross_compiling=yes
1751    else
1752	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1753If you meant to cross compile, use \`--host'.
1754See \`config.log' for more details." >&5
1755echo "$as_me: error: cannot run C compiled programs.
1756If you meant to cross compile, use \`--host'.
1757See \`config.log' for more details." >&2;}
1758   { (exit 1); exit 1; }; }
1759    fi
1760  fi
1761fi
1762echo "$as_me:$LINENO: result: yes" >&5
1763echo "${ECHO_T}yes" >&6
1764
1765rm -f a.out a.exe conftest$ac_cv_exeext b.out
1766ac_clean_files=$ac_clean_files_save
1767# Check the compiler produces executables we can run.  If not, either
1768# the compiler is broken, or we cross compile.
1769echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1770echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1771echo "$as_me:$LINENO: result: $cross_compiling" >&5
1772echo "${ECHO_T}$cross_compiling" >&6
1773
1774echo "$as_me:$LINENO: checking for suffix of executables" >&5
1775echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1776if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1777  (eval $ac_link) 2>&5
1778  ac_status=$?
1779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780  (exit $ac_status); }; then
1781  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1782# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1783# work properly (i.e., refer to `conftest.exe'), while it won't with
1784# `rm'.
1785for ac_file in conftest.exe conftest conftest.*; do
1786  test -f "$ac_file" || continue
1787  case $ac_file in
1788    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1789    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1790	  export ac_cv_exeext
1791	  break;;
1792    * ) break;;
1793  esac
1794done
1795else
1796  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1797See \`config.log' for more details." >&5
1798echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1799See \`config.log' for more details." >&2;}
1800   { (exit 1); exit 1; }; }
1801fi
1802
1803rm -f conftest$ac_cv_exeext
1804echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1805echo "${ECHO_T}$ac_cv_exeext" >&6
1806
1807rm -f conftest.$ac_ext
1808EXEEXT=$ac_cv_exeext
1809ac_exeext=$EXEEXT
1810echo "$as_me:$LINENO: checking for suffix of object files" >&5
1811echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1812if test "${ac_cv_objext+set}" = set; then
1813  echo $ECHO_N "(cached) $ECHO_C" >&6
1814else
1815  cat >conftest.$ac_ext <<_ACEOF
1816/* confdefs.h.  */
1817_ACEOF
1818cat confdefs.h >>conftest.$ac_ext
1819cat >>conftest.$ac_ext <<_ACEOF
1820/* end confdefs.h.  */
1821
1822int
1823main ()
1824{
1825
1826  ;
1827  return 0;
1828}
1829_ACEOF
1830rm -f conftest.o conftest.obj
1831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1832  (eval $ac_compile) 2>&5
1833  ac_status=$?
1834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835  (exit $ac_status); }; then
1836  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1837  case $ac_file in
1838    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1839    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1840       break;;
1841  esac
1842done
1843else
1844  echo "$as_me: failed program was:" >&5
1845sed 's/^/| /' conftest.$ac_ext >&5
1846
1847{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1848See \`config.log' for more details." >&5
1849echo "$as_me: error: cannot compute suffix of object files: cannot compile
1850See \`config.log' for more details." >&2;}
1851   { (exit 1); exit 1; }; }
1852fi
1853
1854rm -f conftest.$ac_cv_objext conftest.$ac_ext
1855fi
1856echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1857echo "${ECHO_T}$ac_cv_objext" >&6
1858OBJEXT=$ac_cv_objext
1859ac_objext=$OBJEXT
1860echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1861echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1862if test "${ac_cv_c_compiler_gnu+set}" = set; then
1863  echo $ECHO_N "(cached) $ECHO_C" >&6
1864else
1865  cat >conftest.$ac_ext <<_ACEOF
1866/* confdefs.h.  */
1867_ACEOF
1868cat confdefs.h >>conftest.$ac_ext
1869cat >>conftest.$ac_ext <<_ACEOF
1870/* end confdefs.h.  */
1871
1872int
1873main ()
1874{
1875#ifndef __GNUC__
1876       choke me
1877#endif
1878
1879  ;
1880  return 0;
1881}
1882_ACEOF
1883rm -f conftest.$ac_objext
1884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1885  (eval $ac_compile) 2>conftest.er1
1886  ac_status=$?
1887  grep -v '^ *+' conftest.er1 >conftest.err
1888  rm -f conftest.er1
1889  cat conftest.err >&5
1890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891  (exit $ac_status); } &&
1892	 { ac_try='test -z "$ac_c_werror_flag"
1893			 || test ! -s conftest.err'
1894  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1895  (eval $ac_try) 2>&5
1896  ac_status=$?
1897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898  (exit $ac_status); }; } &&
1899	 { ac_try='test -s conftest.$ac_objext'
1900  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1901  (eval $ac_try) 2>&5
1902  ac_status=$?
1903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904  (exit $ac_status); }; }; then
1905  ac_compiler_gnu=yes
1906else
1907  echo "$as_me: failed program was:" >&5
1908sed 's/^/| /' conftest.$ac_ext >&5
1909
1910ac_compiler_gnu=no
1911fi
1912rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1913ac_cv_c_compiler_gnu=$ac_compiler_gnu
1914
1915fi
1916echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1917echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1918GCC=`test $ac_compiler_gnu = yes && echo yes`
1919ac_test_CFLAGS=${CFLAGS+set}
1920ac_save_CFLAGS=$CFLAGS
1921CFLAGS="-g"
1922echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1923echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1924if test "${ac_cv_prog_cc_g+set}" = set; then
1925  echo $ECHO_N "(cached) $ECHO_C" >&6
1926else
1927  cat >conftest.$ac_ext <<_ACEOF
1928/* confdefs.h.  */
1929_ACEOF
1930cat confdefs.h >>conftest.$ac_ext
1931cat >>conftest.$ac_ext <<_ACEOF
1932/* end confdefs.h.  */
1933
1934int
1935main ()
1936{
1937
1938  ;
1939  return 0;
1940}
1941_ACEOF
1942rm -f conftest.$ac_objext
1943if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1944  (eval $ac_compile) 2>conftest.er1
1945  ac_status=$?
1946  grep -v '^ *+' conftest.er1 >conftest.err
1947  rm -f conftest.er1
1948  cat conftest.err >&5
1949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950  (exit $ac_status); } &&
1951	 { ac_try='test -z "$ac_c_werror_flag"
1952			 || test ! -s conftest.err'
1953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1954  (eval $ac_try) 2>&5
1955  ac_status=$?
1956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957  (exit $ac_status); }; } &&
1958	 { ac_try='test -s conftest.$ac_objext'
1959  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1960  (eval $ac_try) 2>&5
1961  ac_status=$?
1962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963  (exit $ac_status); }; }; then
1964  ac_cv_prog_cc_g=yes
1965else
1966  echo "$as_me: failed program was:" >&5
1967sed 's/^/| /' conftest.$ac_ext >&5
1968
1969ac_cv_prog_cc_g=no
1970fi
1971rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1972fi
1973echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1974echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1975if test "$ac_test_CFLAGS" = set; then
1976  CFLAGS=$ac_save_CFLAGS
1977elif test $ac_cv_prog_cc_g = yes; then
1978  if test "$GCC" = yes; then
1979    CFLAGS="-g -O2"
1980  else
1981    CFLAGS="-g"
1982  fi
1983else
1984  if test "$GCC" = yes; then
1985    CFLAGS="-O2"
1986  else
1987    CFLAGS=
1988  fi
1989fi
1990echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1991echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1992if test "${ac_cv_prog_cc_stdc+set}" = set; then
1993  echo $ECHO_N "(cached) $ECHO_C" >&6
1994else
1995  ac_cv_prog_cc_stdc=no
1996ac_save_CC=$CC
1997cat >conftest.$ac_ext <<_ACEOF
1998/* confdefs.h.  */
1999_ACEOF
2000cat confdefs.h >>conftest.$ac_ext
2001cat >>conftest.$ac_ext <<_ACEOF
2002/* end confdefs.h.  */
2003#include <stdarg.h>
2004#include <stdio.h>
2005#include <sys/types.h>
2006#include <sys/stat.h>
2007/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2008struct buf { int x; };
2009FILE * (*rcsopen) (struct buf *, struct stat *, int);
2010static char *e (p, i)
2011     char **p;
2012     int i;
2013{
2014  return p[i];
2015}
2016static char *f (char * (*g) (char **, int), char **p, ...)
2017{
2018  char *s;
2019  va_list v;
2020  va_start (v,p);
2021  s = g (p, va_arg (v,int));
2022  va_end (v);
2023  return s;
2024}
2025
2026/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2027   function prototypes and stuff, but not '\xHH' hex character constants.
2028   These don't provoke an error unfortunately, instead are silently treated
2029   as 'x'.  The following induces an error, until -std1 is added to get
2030   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2031   array size at least.  It's necessary to write '\x00'==0 to get something
2032   that's true only with -std1.  */
2033int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2034
2035int test (int i, double x);
2036struct s1 {int (*f) (int a);};
2037struct s2 {int (*f) (double a);};
2038int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2039int argc;
2040char **argv;
2041int
2042main ()
2043{
2044return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2045  ;
2046  return 0;
2047}
2048_ACEOF
2049# Don't try gcc -ansi; that turns off useful extensions and
2050# breaks some systems' header files.
2051# AIX			-qlanglvl=ansi
2052# Ultrix and OSF/1	-std1
2053# HP-UX 10.20 and later	-Ae
2054# HP-UX older versions	-Aa -D_HPUX_SOURCE
2055# SVR4			-Xc -D__EXTENSIONS__
2056for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2057do
2058  CC="$ac_save_CC $ac_arg"
2059  rm -f conftest.$ac_objext
2060if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2061  (eval $ac_compile) 2>conftest.er1
2062  ac_status=$?
2063  grep -v '^ *+' conftest.er1 >conftest.err
2064  rm -f conftest.er1
2065  cat conftest.err >&5
2066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067  (exit $ac_status); } &&
2068	 { ac_try='test -z "$ac_c_werror_flag"
2069			 || test ! -s conftest.err'
2070  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071  (eval $ac_try) 2>&5
2072  ac_status=$?
2073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074  (exit $ac_status); }; } &&
2075	 { ac_try='test -s conftest.$ac_objext'
2076  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2077  (eval $ac_try) 2>&5
2078  ac_status=$?
2079  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080  (exit $ac_status); }; }; then
2081  ac_cv_prog_cc_stdc=$ac_arg
2082break
2083else
2084  echo "$as_me: failed program was:" >&5
2085sed 's/^/| /' conftest.$ac_ext >&5
2086
2087fi
2088rm -f conftest.err conftest.$ac_objext
2089done
2090rm -f conftest.$ac_ext conftest.$ac_objext
2091CC=$ac_save_CC
2092
2093fi
2094
2095case "x$ac_cv_prog_cc_stdc" in
2096  x|xno)
2097    echo "$as_me:$LINENO: result: none needed" >&5
2098echo "${ECHO_T}none needed" >&6 ;;
2099  *)
2100    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2101echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2102    CC="$CC $ac_cv_prog_cc_stdc" ;;
2103esac
2104
2105# Some people use a C++ compiler to compile C.  Since we use `exit',
2106# in C++ we need to declare it.  In case someone uses the same compiler
2107# for both compiling C and C++ we need to have the C++ compiler decide
2108# the declaration of exit, since it's the most demanding environment.
2109cat >conftest.$ac_ext <<_ACEOF
2110#ifndef __cplusplus
2111  choke me
2112#endif
2113_ACEOF
2114rm -f conftest.$ac_objext
2115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116  (eval $ac_compile) 2>conftest.er1
2117  ac_status=$?
2118  grep -v '^ *+' conftest.er1 >conftest.err
2119  rm -f conftest.er1
2120  cat conftest.err >&5
2121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122  (exit $ac_status); } &&
2123	 { ac_try='test -z "$ac_c_werror_flag"
2124			 || test ! -s conftest.err'
2125  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2126  (eval $ac_try) 2>&5
2127  ac_status=$?
2128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129  (exit $ac_status); }; } &&
2130	 { ac_try='test -s conftest.$ac_objext'
2131  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132  (eval $ac_try) 2>&5
2133  ac_status=$?
2134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135  (exit $ac_status); }; }; then
2136  for ac_declaration in \
2137   '' \
2138   'extern "C" void std::exit (int) throw (); using std::exit;' \
2139   'extern "C" void std::exit (int); using std::exit;' \
2140   'extern "C" void exit (int) throw ();' \
2141   'extern "C" void exit (int);' \
2142   'void exit (int);'
2143do
2144  cat >conftest.$ac_ext <<_ACEOF
2145/* confdefs.h.  */
2146_ACEOF
2147cat confdefs.h >>conftest.$ac_ext
2148cat >>conftest.$ac_ext <<_ACEOF
2149/* end confdefs.h.  */
2150$ac_declaration
2151#include <stdlib.h>
2152int
2153main ()
2154{
2155exit (42);
2156  ;
2157  return 0;
2158}
2159_ACEOF
2160rm -f conftest.$ac_objext
2161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162  (eval $ac_compile) 2>conftest.er1
2163  ac_status=$?
2164  grep -v '^ *+' conftest.er1 >conftest.err
2165  rm -f conftest.er1
2166  cat conftest.err >&5
2167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168  (exit $ac_status); } &&
2169	 { ac_try='test -z "$ac_c_werror_flag"
2170			 || test ! -s conftest.err'
2171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172  (eval $ac_try) 2>&5
2173  ac_status=$?
2174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175  (exit $ac_status); }; } &&
2176	 { ac_try='test -s conftest.$ac_objext'
2177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178  (eval $ac_try) 2>&5
2179  ac_status=$?
2180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181  (exit $ac_status); }; }; then
2182  :
2183else
2184  echo "$as_me: failed program was:" >&5
2185sed 's/^/| /' conftest.$ac_ext >&5
2186
2187continue
2188fi
2189rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2190  cat >conftest.$ac_ext <<_ACEOF
2191/* confdefs.h.  */
2192_ACEOF
2193cat confdefs.h >>conftest.$ac_ext
2194cat >>conftest.$ac_ext <<_ACEOF
2195/* end confdefs.h.  */
2196$ac_declaration
2197int
2198main ()
2199{
2200exit (42);
2201  ;
2202  return 0;
2203}
2204_ACEOF
2205rm -f conftest.$ac_objext
2206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207  (eval $ac_compile) 2>conftest.er1
2208  ac_status=$?
2209  grep -v '^ *+' conftest.er1 >conftest.err
2210  rm -f conftest.er1
2211  cat conftest.err >&5
2212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213  (exit $ac_status); } &&
2214	 { ac_try='test -z "$ac_c_werror_flag"
2215			 || test ! -s conftest.err'
2216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217  (eval $ac_try) 2>&5
2218  ac_status=$?
2219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220  (exit $ac_status); }; } &&
2221	 { ac_try='test -s conftest.$ac_objext'
2222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223  (eval $ac_try) 2>&5
2224  ac_status=$?
2225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226  (exit $ac_status); }; }; then
2227  break
2228else
2229  echo "$as_me: failed program was:" >&5
2230sed 's/^/| /' conftest.$ac_ext >&5
2231
2232fi
2233rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2234done
2235rm -f conftest*
2236if test -n "$ac_declaration"; then
2237  echo '#ifdef __cplusplus' >>confdefs.h
2238  echo $ac_declaration      >>confdefs.h
2239  echo '#endif'             >>confdefs.h
2240fi
2241
2242else
2243  echo "$as_me: failed program was:" >&5
2244sed 's/^/| /' conftest.$ac_ext >&5
2245
2246fi
2247rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2248ac_ext=c
2249ac_cpp='$CPP $CPPFLAGS'
2250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253
2254ac_aux_dir=
2255for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2256  if test -f $ac_dir/install-sh; then
2257    ac_aux_dir=$ac_dir
2258    ac_install_sh="$ac_aux_dir/install-sh -c"
2259    break
2260  elif test -f $ac_dir/install.sh; then
2261    ac_aux_dir=$ac_dir
2262    ac_install_sh="$ac_aux_dir/install.sh -c"
2263    break
2264  elif test -f $ac_dir/shtool; then
2265    ac_aux_dir=$ac_dir
2266    ac_install_sh="$ac_aux_dir/shtool install -c"
2267    break
2268  fi
2269done
2270if test -z "$ac_aux_dir"; then
2271  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2272echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2273   { (exit 1); exit 1; }; }
2274fi
2275ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2276ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2277ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2278
2279# Find a good install program.  We prefer a C program (faster),
2280# so one script is as good as another.  But avoid the broken or
2281# incompatible versions:
2282# SysV /etc/install, /usr/sbin/install
2283# SunOS /usr/etc/install
2284# IRIX /sbin/install
2285# AIX /bin/install
2286# AmigaOS /C/install, which installs bootblocks on floppy discs
2287# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2288# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2289# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2290# OS/2's system install, which has a completely different semantic
2291# ./install, which can be erroneously created by make from ./install.sh.
2292echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2293echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2294if test -z "$INSTALL"; then
2295if test "${ac_cv_path_install+set}" = set; then
2296  echo $ECHO_N "(cached) $ECHO_C" >&6
2297else
2298  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299for as_dir in $PATH
2300do
2301  IFS=$as_save_IFS
2302  test -z "$as_dir" && as_dir=.
2303  # Account for people who put trailing slashes in PATH elements.
2304case $as_dir/ in
2305  ./ | .// | /cC/* | \
2306  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2307  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2308  /usr/ucb/* ) ;;
2309  *)
2310    # OSF1 and SCO ODT 3.0 have their own names for install.
2311    # Don't use installbsd from OSF since it installs stuff as root
2312    # by default.
2313    for ac_prog in ginstall scoinst install; do
2314      for ac_exec_ext in '' $ac_executable_extensions; do
2315	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2316	  if test $ac_prog = install &&
2317	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2318	    # AIX install.  It has an incompatible calling convention.
2319	    :
2320	  elif test $ac_prog = install &&
2321	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2322	    # program-specific install script used by HP pwplus--don't use.
2323	    :
2324	  else
2325	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2326	    break 3
2327	  fi
2328	fi
2329      done
2330    done
2331    ;;
2332esac
2333done
2334
2335
2336fi
2337  if test "${ac_cv_path_install+set}" = set; then
2338    INSTALL=$ac_cv_path_install
2339  else
2340    # As a last resort, use the slow shell script.  We don't cache a
2341    # path for INSTALL within a source directory, because that will
2342    # break other packages using the cache if that directory is
2343    # removed, or if the path is relative.
2344    INSTALL=$ac_install_sh
2345  fi
2346fi
2347echo "$as_me:$LINENO: result: $INSTALL" >&5
2348echo "${ECHO_T}$INSTALL" >&6
2349
2350# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2351# It thinks the first close brace ends the variable substitution.
2352test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2353
2354test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2355
2356test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2357
2358echo "$as_me:$LINENO: checking whether ln -s works" >&5
2359echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2360LN_S=$as_ln_s
2361if test "$LN_S" = "ln -s"; then
2362  echo "$as_me:$LINENO: result: yes" >&5
2363echo "${ECHO_T}yes" >&6
2364else
2365  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2366echo "${ECHO_T}no, using $LN_S" >&6
2367fi
2368
2369if test -n "$ac_tool_prefix"; then
2370  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2371set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2372echo "$as_me:$LINENO: checking for $ac_word" >&5
2373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374if test "${ac_cv_prog_RANLIB+set}" = set; then
2375  echo $ECHO_N "(cached) $ECHO_C" >&6
2376else
2377  if test -n "$RANLIB"; then
2378  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2379else
2380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381for as_dir in $PATH
2382do
2383  IFS=$as_save_IFS
2384  test -z "$as_dir" && as_dir=.
2385  for ac_exec_ext in '' $ac_executable_extensions; do
2386  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2388    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389    break 2
2390  fi
2391done
2392done
2393
2394fi
2395fi
2396RANLIB=$ac_cv_prog_RANLIB
2397if test -n "$RANLIB"; then
2398  echo "$as_me:$LINENO: result: $RANLIB" >&5
2399echo "${ECHO_T}$RANLIB" >&6
2400else
2401  echo "$as_me:$LINENO: result: no" >&5
2402echo "${ECHO_T}no" >&6
2403fi
2404
2405fi
2406if test -z "$ac_cv_prog_RANLIB"; then
2407  ac_ct_RANLIB=$RANLIB
2408  # Extract the first word of "ranlib", so it can be a program name with args.
2409set dummy ranlib; ac_word=$2
2410echo "$as_me:$LINENO: checking for $ac_word" >&5
2411echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2412if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2413  echo $ECHO_N "(cached) $ECHO_C" >&6
2414else
2415  if test -n "$ac_ct_RANLIB"; then
2416  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2417else
2418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419for as_dir in $PATH
2420do
2421  IFS=$as_save_IFS
2422  test -z "$as_dir" && as_dir=.
2423  for ac_exec_ext in '' $ac_executable_extensions; do
2424  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2425    ac_cv_prog_ac_ct_RANLIB="ranlib"
2426    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427    break 2
2428  fi
2429done
2430done
2431
2432  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2433fi
2434fi
2435ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2436if test -n "$ac_ct_RANLIB"; then
2437  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2438echo "${ECHO_T}$ac_ct_RANLIB" >&6
2439else
2440  echo "$as_me:$LINENO: result: no" >&5
2441echo "${ECHO_T}no" >&6
2442fi
2443
2444  RANLIB=$ac_ct_RANLIB
2445else
2446  RANLIB="$ac_cv_prog_RANLIB"
2447fi
2448
2449am__api_version="1.9"
2450echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2451echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2452# Just in case
2453sleep 1
2454echo timestamp > conftest.file
2455# Do `set' in a subshell so we don't clobber the current shell's
2456# arguments.  Must try -L first in case configure is actually a
2457# symlink; some systems play weird games with the mod time of symlinks
2458# (eg FreeBSD returns the mod time of the symlink's containing
2459# directory).
2460if (
2461   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2462   if test "$*" = "X"; then
2463      # -L didn't work.
2464      set X `ls -t $srcdir/configure conftest.file`
2465   fi
2466   rm -f conftest.file
2467   if test "$*" != "X $srcdir/configure conftest.file" \
2468      && test "$*" != "X conftest.file $srcdir/configure"; then
2469
2470      # If neither matched, then we have a broken ls.  This can happen
2471      # if, for instance, CONFIG_SHELL is bash and it inherits a
2472      # broken ls alias from the environment.  This has actually
2473      # happened.  Such a system could not be considered "sane".
2474      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2475alias in your environment" >&5
2476echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2477alias in your environment" >&2;}
2478   { (exit 1); exit 1; }; }
2479   fi
2480
2481   test "$2" = conftest.file
2482   )
2483then
2484   # Ok.
2485   :
2486else
2487   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2488Check your system clock" >&5
2489echo "$as_me: error: newly created file is older than distributed files!
2490Check your system clock" >&2;}
2491   { (exit 1); exit 1; }; }
2492fi
2493echo "$as_me:$LINENO: result: yes" >&5
2494echo "${ECHO_T}yes" >&6
2495test "$program_prefix" != NONE &&
2496  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2497# Use a double $ so make ignores it.
2498test "$program_suffix" != NONE &&
2499  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2500# Double any \ or $.  echo might interpret backslashes.
2501# By default was `s,x,x', remove it if useless.
2502cat <<\_ACEOF >conftest.sed
2503s/[\\$]/&&/g;s/;s,x,x,$//
2504_ACEOF
2505program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2506rm conftest.sed
2507
2508# expand $ac_aux_dir to an absolute path
2509am_aux_dir=`cd $ac_aux_dir && pwd`
2510
2511test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2512# Use eval to expand $SHELL
2513if eval "$MISSING --run true"; then
2514  am_missing_run="$MISSING --run "
2515else
2516  am_missing_run=
2517  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2518echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2519fi
2520
2521if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2522  # We used to keeping the `.' as first argument, in order to
2523  # allow $(mkdir_p) to be used without argument.  As in
2524  #   $(mkdir_p) $(somedir)
2525  # where $(somedir) is conditionally defined.  However this is wrong
2526  # for two reasons:
2527  #  1. if the package is installed by a user who cannot write `.'
2528  #     make install will fail,
2529  #  2. the above comment should most certainly read
2530  #     $(mkdir_p) $(DESTDIR)$(somedir)
2531  #     so it does not work when $(somedir) is undefined and
2532  #     $(DESTDIR) is not.
2533  #  To support the latter case, we have to write
2534  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2535  #  so the `.' trick is pointless.
2536  mkdir_p='mkdir -p --'
2537else
2538  # On NextStep and OpenStep, the `mkdir' command does not
2539  # recognize any option.  It will interpret all options as
2540  # directories to create, and then abort because `.' already
2541  # exists.
2542  for d in ./-p ./--version;
2543  do
2544    test -d $d && rmdir $d
2545  done
2546  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2547  if test -f "$ac_aux_dir/mkinstalldirs"; then
2548    mkdir_p='$(mkinstalldirs)'
2549  else
2550    mkdir_p='$(install_sh) -d'
2551  fi
2552fi
2553
2554for ac_prog in gawk mawk nawk awk
2555do
2556  # Extract the first word of "$ac_prog", so it can be a program name with args.
2557set dummy $ac_prog; ac_word=$2
2558echo "$as_me:$LINENO: checking for $ac_word" >&5
2559echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2560if test "${ac_cv_prog_AWK+set}" = set; then
2561  echo $ECHO_N "(cached) $ECHO_C" >&6
2562else
2563  if test -n "$AWK"; then
2564  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2565else
2566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567for as_dir in $PATH
2568do
2569  IFS=$as_save_IFS
2570  test -z "$as_dir" && as_dir=.
2571  for ac_exec_ext in '' $ac_executable_extensions; do
2572  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2573    ac_cv_prog_AWK="$ac_prog"
2574    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575    break 2
2576  fi
2577done
2578done
2579
2580fi
2581fi
2582AWK=$ac_cv_prog_AWK
2583if test -n "$AWK"; then
2584  echo "$as_me:$LINENO: result: $AWK" >&5
2585echo "${ECHO_T}$AWK" >&6
2586else
2587  echo "$as_me:$LINENO: result: no" >&5
2588echo "${ECHO_T}no" >&6
2589fi
2590
2591  test -n "$AWK" && break
2592done
2593
2594echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2595echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2596set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2597if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2598  echo $ECHO_N "(cached) $ECHO_C" >&6
2599else
2600  cat >conftest.make <<\_ACEOF
2601all:
2602	@echo 'ac_maketemp="$(MAKE)"'
2603_ACEOF
2604# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2605eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2606if test -n "$ac_maketemp"; then
2607  eval ac_cv_prog_make_${ac_make}_set=yes
2608else
2609  eval ac_cv_prog_make_${ac_make}_set=no
2610fi
2611rm -f conftest.make
2612fi
2613if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2614  echo "$as_me:$LINENO: result: yes" >&5
2615echo "${ECHO_T}yes" >&6
2616  SET_MAKE=
2617else
2618  echo "$as_me:$LINENO: result: no" >&5
2619echo "${ECHO_T}no" >&6
2620  SET_MAKE="MAKE=${MAKE-make}"
2621fi
2622
2623rm -rf .tst 2>/dev/null
2624mkdir .tst 2>/dev/null
2625if test -d .tst; then
2626  am__leading_dot=.
2627else
2628  am__leading_dot=_
2629fi
2630rmdir .tst 2>/dev/null
2631
2632DEPDIR="${am__leading_dot}deps"
2633
2634          ac_config_commands="$ac_config_commands depfiles"
2635
2636
2637am_make=${MAKE-make}
2638cat > confinc << 'END'
2639am__doit:
2640	@echo done
2641.PHONY: am__doit
2642END
2643# If we don't find an include directive, just comment out the code.
2644echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2645echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2646am__include="#"
2647am__quote=
2648_am_result=none
2649# First try GNU make style include.
2650echo "include confinc" > confmf
2651# We grep out `Entering directory' and `Leaving directory'
2652# messages which can occur if `w' ends up in MAKEFLAGS.
2653# In particular we don't look at `^make:' because GNU make might
2654# be invoked under some other name (usually "gmake"), in which
2655# case it prints its new name instead of `make'.
2656if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2657   am__include=include
2658   am__quote=
2659   _am_result=GNU
2660fi
2661# Now try BSD make style include.
2662if test "$am__include" = "#"; then
2663   echo '.include "confinc"' > confmf
2664   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2665      am__include=.include
2666      am__quote="\""
2667      _am_result=BSD
2668   fi
2669fi
2670
2671
2672echo "$as_me:$LINENO: result: $_am_result" >&5
2673echo "${ECHO_T}$_am_result" >&6
2674rm -f confinc confmf
2675
2676# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2677if test "${enable_dependency_tracking+set}" = set; then
2678  enableval="$enable_dependency_tracking"
2679
2680fi;
2681if test "x$enable_dependency_tracking" != xno; then
2682  am_depcomp="$ac_aux_dir/depcomp"
2683  AMDEPBACKSLASH='\'
2684fi
2685
2686
2687if test "x$enable_dependency_tracking" != xno; then
2688  AMDEP_TRUE=
2689  AMDEP_FALSE='#'
2690else
2691  AMDEP_TRUE='#'
2692  AMDEP_FALSE=
2693fi
2694
2695
2696
2697# test to see if srcdir already configured
2698if test "`cd $srcdir && pwd`" != "`pwd`" &&
2699   test -f $srcdir/config.status; then
2700  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2701echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2702   { (exit 1); exit 1; }; }
2703fi
2704
2705# test whether we have cygpath
2706if test -z "$CYGPATH_W"; then
2707  if (cygpath --version) >/dev/null 2>/dev/null; then
2708    CYGPATH_W='cygpath -w'
2709  else
2710    CYGPATH_W=echo
2711  fi
2712fi
2713
2714
2715# Define the identity of the package.
2716 PACKAGE='whois3'
2717 VERSION='3.2.2'
2718
2719
2720cat >>confdefs.h <<_ACEOF
2721#define PACKAGE "$PACKAGE"
2722_ACEOF
2723
2724
2725cat >>confdefs.h <<_ACEOF
2726#define VERSION "$VERSION"
2727_ACEOF
2728
2729# Some tools Automake needs.
2730
2731ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2732
2733
2734AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2735
2736
2737AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2738
2739
2740AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2741
2742
2743MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2744
2745install_sh=${install_sh-"$am_aux_dir/install-sh"}
2746
2747# Installed binaries are usually stripped using `strip' when the user
2748# run `make install-strip'.  However `strip' might not be the right
2749# tool to use in cross-compilation environments, therefore Automake
2750# will honor the `STRIP' environment variable to overrule this program.
2751if test "$cross_compiling" != no; then
2752  if test -n "$ac_tool_prefix"; then
2753  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2754set dummy ${ac_tool_prefix}strip; ac_word=$2
2755echo "$as_me:$LINENO: checking for $ac_word" >&5
2756echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757if test "${ac_cv_prog_STRIP+set}" = set; then
2758  echo $ECHO_N "(cached) $ECHO_C" >&6
2759else
2760  if test -n "$STRIP"; then
2761  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2762else
2763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764for as_dir in $PATH
2765do
2766  IFS=$as_save_IFS
2767  test -z "$as_dir" && as_dir=.
2768  for ac_exec_ext in '' $ac_executable_extensions; do
2769  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2771    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2772    break 2
2773  fi
2774done
2775done
2776
2777fi
2778fi
2779STRIP=$ac_cv_prog_STRIP
2780if test -n "$STRIP"; then
2781  echo "$as_me:$LINENO: result: $STRIP" >&5
2782echo "${ECHO_T}$STRIP" >&6
2783else
2784  echo "$as_me:$LINENO: result: no" >&5
2785echo "${ECHO_T}no" >&6
2786fi
2787
2788fi
2789if test -z "$ac_cv_prog_STRIP"; then
2790  ac_ct_STRIP=$STRIP
2791  # Extract the first word of "strip", so it can be a program name with args.
2792set dummy strip; ac_word=$2
2793echo "$as_me:$LINENO: checking for $ac_word" >&5
2794echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2796  echo $ECHO_N "(cached) $ECHO_C" >&6
2797else
2798  if test -n "$ac_ct_STRIP"; then
2799  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2800else
2801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802for as_dir in $PATH
2803do
2804  IFS=$as_save_IFS
2805  test -z "$as_dir" && as_dir=.
2806  for ac_exec_ext in '' $ac_executable_extensions; do
2807  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808    ac_cv_prog_ac_ct_STRIP="strip"
2809    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810    break 2
2811  fi
2812done
2813done
2814
2815  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2816fi
2817fi
2818ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2819if test -n "$ac_ct_STRIP"; then
2820  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2821echo "${ECHO_T}$ac_ct_STRIP" >&6
2822else
2823  echo "$as_me:$LINENO: result: no" >&5
2824echo "${ECHO_T}no" >&6
2825fi
2826
2827  STRIP=$ac_ct_STRIP
2828else
2829  STRIP="$ac_cv_prog_STRIP"
2830fi
2831
2832fi
2833INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2834
2835# We need awk for the "check" target.  The system "awk" is bad on
2836# some platforms.
2837# Always define AMTAR for backward compatibility.
2838
2839AMTAR=${AMTAR-"${am_missing_run}tar"}
2840
2841am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2842
2843
2844
2845
2846depcc="$CC"   am_compiler_list=
2847
2848echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2849echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2850if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2851  echo $ECHO_N "(cached) $ECHO_C" >&6
2852else
2853  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2854  # We make a subdir and do the tests there.  Otherwise we can end up
2855  # making bogus files that we don't know about and never remove.  For
2856  # instance it was reported that on HP-UX the gcc test will end up
2857  # making a dummy file named `D' -- because `-MD' means `put the output
2858  # in D'.
2859  mkdir conftest.dir
2860  # Copy depcomp to subdir because otherwise we won't find it if we're
2861  # using a relative directory.
2862  cp "$am_depcomp" conftest.dir
2863  cd conftest.dir
2864  # We will build objects and dependencies in a subdirectory because
2865  # it helps to detect inapplicable dependency modes.  For instance
2866  # both Tru64's cc and ICC support -MD to output dependencies as a
2867  # side effect of compilation, but ICC will put the dependencies in
2868  # the current directory while Tru64 will put them in the object
2869  # directory.
2870  mkdir sub
2871
2872  am_cv_CC_dependencies_compiler_type=none
2873  if test "$am_compiler_list" = ""; then
2874     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2875  fi
2876  for depmode in $am_compiler_list; do
2877    # Setup a source with many dependencies, because some compilers
2878    # like to wrap large dependency lists on column 80 (with \), and
2879    # we should not choose a depcomp mode which is confused by this.
2880    #
2881    # We need to recreate these files for each test, as the compiler may
2882    # overwrite some of them when testing with obscure command lines.
2883    # This happens at least with the AIX C compiler.
2884    : > sub/conftest.c
2885    for i in 1 2 3 4 5 6; do
2886      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2887      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2888      # Solaris 8's {/usr,}/bin/sh.
2889      touch sub/conftst$i.h
2890    done
2891    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2892
2893    case $depmode in
2894    nosideeffect)
2895      # after this tag, mechanisms are not by side-effect, so they'll
2896      # only be used when explicitly requested
2897      if test "x$enable_dependency_tracking" = xyes; then
2898	continue
2899      else
2900	break
2901      fi
2902      ;;
2903    none) break ;;
2904    esac
2905    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2906    # mode.  It turns out that the SunPro C++ compiler does not properly
2907    # handle `-M -o', and we need to detect this.
2908    if depmode=$depmode \
2909       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2910       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2911       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2912         >/dev/null 2>conftest.err &&
2913       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2914       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2915       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2916      # icc doesn't choke on unknown options, it will just issue warnings
2917      # or remarks (even with -Werror).  So we grep stderr for any message
2918      # that says an option was ignored or not supported.
2919      # When given -MP, icc 7.0 and 7.1 complain thusly:
2920      #   icc: Command line warning: ignoring option '-M'; no argument required
2921      # The diagnosis changed in icc 8.0:
2922      #   icc: Command line remark: option '-MP' not supported
2923      if (grep 'ignoring option' conftest.err ||
2924          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2925        am_cv_CC_dependencies_compiler_type=$depmode
2926        break
2927      fi
2928    fi
2929  done
2930
2931  cd ..
2932  rm -rf conftest.dir
2933else
2934  am_cv_CC_dependencies_compiler_type=none
2935fi
2936
2937fi
2938echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2939echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2940CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2941
2942
2943
2944if
2945  test "x$enable_dependency_tracking" != xno \
2946  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2947  am__fastdepCC_TRUE=
2948  am__fastdepCC_FALSE='#'
2949else
2950  am__fastdepCC_TRUE='#'
2951  am__fastdepCC_FALSE=
2952fi
2953
2954
2955
2956
2957
2958
2959ac_ext=c
2960ac_cpp='$CPP $CPPFLAGS'
2961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2965echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2966# On Suns, sometimes $CPP names a directory.
2967if test -n "$CPP" && test -d "$CPP"; then
2968  CPP=
2969fi
2970if test -z "$CPP"; then
2971  if test "${ac_cv_prog_CPP+set}" = set; then
2972  echo $ECHO_N "(cached) $ECHO_C" >&6
2973else
2974      # Double quotes because CPP needs to be expanded
2975    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2976    do
2977      ac_preproc_ok=false
2978for ac_c_preproc_warn_flag in '' yes
2979do
2980  # Use a header file that comes with gcc, so configuring glibc
2981  # with a fresh cross-compiler works.
2982  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2983  # <limits.h> exists even on freestanding compilers.
2984  # On the NeXT, cc -E runs the code through the compiler's parser,
2985  # not just through cpp. "Syntax error" is here to catch this case.
2986  cat >conftest.$ac_ext <<_ACEOF
2987/* confdefs.h.  */
2988_ACEOF
2989cat confdefs.h >>conftest.$ac_ext
2990cat >>conftest.$ac_ext <<_ACEOF
2991/* end confdefs.h.  */
2992#ifdef __STDC__
2993# include <limits.h>
2994#else
2995# include <assert.h>
2996#endif
2997		     Syntax error
2998_ACEOF
2999if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3001  ac_status=$?
3002  grep -v '^ *+' conftest.er1 >conftest.err
3003  rm -f conftest.er1
3004  cat conftest.err >&5
3005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006  (exit $ac_status); } >/dev/null; then
3007  if test -s conftest.err; then
3008    ac_cpp_err=$ac_c_preproc_warn_flag
3009    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3010  else
3011    ac_cpp_err=
3012  fi
3013else
3014  ac_cpp_err=yes
3015fi
3016if test -z "$ac_cpp_err"; then
3017  :
3018else
3019  echo "$as_me: failed program was:" >&5
3020sed 's/^/| /' conftest.$ac_ext >&5
3021
3022  # Broken: fails on valid input.
3023continue
3024fi
3025rm -f conftest.err conftest.$ac_ext
3026
3027  # OK, works on sane cases.  Now check whether non-existent headers
3028  # can be detected and how.
3029  cat >conftest.$ac_ext <<_ACEOF
3030/* confdefs.h.  */
3031_ACEOF
3032cat confdefs.h >>conftest.$ac_ext
3033cat >>conftest.$ac_ext <<_ACEOF
3034/* end confdefs.h.  */
3035#include <ac_nonexistent.h>
3036_ACEOF
3037if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3038  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3039  ac_status=$?
3040  grep -v '^ *+' conftest.er1 >conftest.err
3041  rm -f conftest.er1
3042  cat conftest.err >&5
3043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044  (exit $ac_status); } >/dev/null; then
3045  if test -s conftest.err; then
3046    ac_cpp_err=$ac_c_preproc_warn_flag
3047    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3048  else
3049    ac_cpp_err=
3050  fi
3051else
3052  ac_cpp_err=yes
3053fi
3054if test -z "$ac_cpp_err"; then
3055  # Broken: success on invalid input.
3056continue
3057else
3058  echo "$as_me: failed program was:" >&5
3059sed 's/^/| /' conftest.$ac_ext >&5
3060
3061  # Passes both tests.
3062ac_preproc_ok=:
3063break
3064fi
3065rm -f conftest.err conftest.$ac_ext
3066
3067done
3068# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3069rm -f conftest.err conftest.$ac_ext
3070if $ac_preproc_ok; then
3071  break
3072fi
3073
3074    done
3075    ac_cv_prog_CPP=$CPP
3076
3077fi
3078  CPP=$ac_cv_prog_CPP
3079else
3080  ac_cv_prog_CPP=$CPP
3081fi
3082echo "$as_me:$LINENO: result: $CPP" >&5
3083echo "${ECHO_T}$CPP" >&6
3084ac_preproc_ok=false
3085for ac_c_preproc_warn_flag in '' yes
3086do
3087  # Use a header file that comes with gcc, so configuring glibc
3088  # with a fresh cross-compiler works.
3089  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3090  # <limits.h> exists even on freestanding compilers.
3091  # On the NeXT, cc -E runs the code through the compiler's parser,
3092  # not just through cpp. "Syntax error" is here to catch this case.
3093  cat >conftest.$ac_ext <<_ACEOF
3094/* confdefs.h.  */
3095_ACEOF
3096cat confdefs.h >>conftest.$ac_ext
3097cat >>conftest.$ac_ext <<_ACEOF
3098/* end confdefs.h.  */
3099#ifdef __STDC__
3100# include <limits.h>
3101#else
3102# include <assert.h>
3103#endif
3104		     Syntax error
3105_ACEOF
3106if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3108  ac_status=$?
3109  grep -v '^ *+' conftest.er1 >conftest.err
3110  rm -f conftest.er1
3111  cat conftest.err >&5
3112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113  (exit $ac_status); } >/dev/null; then
3114  if test -s conftest.err; then
3115    ac_cpp_err=$ac_c_preproc_warn_flag
3116    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3117  else
3118    ac_cpp_err=
3119  fi
3120else
3121  ac_cpp_err=yes
3122fi
3123if test -z "$ac_cpp_err"; then
3124  :
3125else
3126  echo "$as_me: failed program was:" >&5
3127sed 's/^/| /' conftest.$ac_ext >&5
3128
3129  # Broken: fails on valid input.
3130continue
3131fi
3132rm -f conftest.err conftest.$ac_ext
3133
3134  # OK, works on sane cases.  Now check whether non-existent headers
3135  # can be detected and how.
3136  cat >conftest.$ac_ext <<_ACEOF
3137/* confdefs.h.  */
3138_ACEOF
3139cat confdefs.h >>conftest.$ac_ext
3140cat >>conftest.$ac_ext <<_ACEOF
3141/* end confdefs.h.  */
3142#include <ac_nonexistent.h>
3143_ACEOF
3144if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3145  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3146  ac_status=$?
3147  grep -v '^ *+' conftest.er1 >conftest.err
3148  rm -f conftest.er1
3149  cat conftest.err >&5
3150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151  (exit $ac_status); } >/dev/null; then
3152  if test -s conftest.err; then
3153    ac_cpp_err=$ac_c_preproc_warn_flag
3154    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3155  else
3156    ac_cpp_err=
3157  fi
3158else
3159  ac_cpp_err=yes
3160fi
3161if test -z "$ac_cpp_err"; then
3162  # Broken: success on invalid input.
3163continue
3164else
3165  echo "$as_me: failed program was:" >&5
3166sed 's/^/| /' conftest.$ac_ext >&5
3167
3168  # Passes both tests.
3169ac_preproc_ok=:
3170break
3171fi
3172rm -f conftest.err conftest.$ac_ext
3173
3174done
3175# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3176rm -f conftest.err conftest.$ac_ext
3177if $ac_preproc_ok; then
3178  :
3179else
3180  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3181See \`config.log' for more details." >&5
3182echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3183See \`config.log' for more details." >&2;}
3184   { (exit 1); exit 1; }; }
3185fi
3186
3187ac_ext=c
3188ac_cpp='$CPP $CPPFLAGS'
3189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192
3193
3194echo "$as_me:$LINENO: checking for egrep" >&5
3195echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3196if test "${ac_cv_prog_egrep+set}" = set; then
3197  echo $ECHO_N "(cached) $ECHO_C" >&6
3198else
3199  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3200    then ac_cv_prog_egrep='grep -E'
3201    else ac_cv_prog_egrep='egrep'
3202    fi
3203fi
3204echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3205echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3206 EGREP=$ac_cv_prog_egrep
3207
3208
3209echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3210echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3211if test "${ac_cv_header_stdc+set}" = set; then
3212  echo $ECHO_N "(cached) $ECHO_C" >&6
3213else
3214  cat >conftest.$ac_ext <<_ACEOF
3215/* confdefs.h.  */
3216_ACEOF
3217cat confdefs.h >>conftest.$ac_ext
3218cat >>conftest.$ac_ext <<_ACEOF
3219/* end confdefs.h.  */
3220#include <stdlib.h>
3221#include <stdarg.h>
3222#include <string.h>
3223#include <float.h>
3224
3225int
3226main ()
3227{
3228
3229  ;
3230  return 0;
3231}
3232_ACEOF
3233rm -f conftest.$ac_objext
3234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3235  (eval $ac_compile) 2>conftest.er1
3236  ac_status=$?
3237  grep -v '^ *+' conftest.er1 >conftest.err
3238  rm -f conftest.er1
3239  cat conftest.err >&5
3240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241  (exit $ac_status); } &&
3242	 { ac_try='test -z "$ac_c_werror_flag"
3243			 || test ! -s conftest.err'
3244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3245  (eval $ac_try) 2>&5
3246  ac_status=$?
3247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248  (exit $ac_status); }; } &&
3249	 { ac_try='test -s conftest.$ac_objext'
3250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251  (eval $ac_try) 2>&5
3252  ac_status=$?
3253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254  (exit $ac_status); }; }; then
3255  ac_cv_header_stdc=yes
3256else
3257  echo "$as_me: failed program was:" >&5
3258sed 's/^/| /' conftest.$ac_ext >&5
3259
3260ac_cv_header_stdc=no
3261fi
3262rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3263
3264if test $ac_cv_header_stdc = yes; then
3265  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3266  cat >conftest.$ac_ext <<_ACEOF
3267/* confdefs.h.  */
3268_ACEOF
3269cat confdefs.h >>conftest.$ac_ext
3270cat >>conftest.$ac_ext <<_ACEOF
3271/* end confdefs.h.  */
3272#include <string.h>
3273
3274_ACEOF
3275if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3276  $EGREP "memchr" >/dev/null 2>&1; then
3277  :
3278else
3279  ac_cv_header_stdc=no
3280fi
3281rm -f conftest*
3282
3283fi
3284
3285if test $ac_cv_header_stdc = yes; then
3286  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3287  cat >conftest.$ac_ext <<_ACEOF
3288/* confdefs.h.  */
3289_ACEOF
3290cat confdefs.h >>conftest.$ac_ext
3291cat >>conftest.$ac_ext <<_ACEOF
3292/* end confdefs.h.  */
3293#include <stdlib.h>
3294
3295_ACEOF
3296if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3297  $EGREP "free" >/dev/null 2>&1; then
3298  :
3299else
3300  ac_cv_header_stdc=no
3301fi
3302rm -f conftest*
3303
3304fi
3305
3306if test $ac_cv_header_stdc = yes; then
3307  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3308  if test "$cross_compiling" = yes; then
3309  :
3310else
3311  cat >conftest.$ac_ext <<_ACEOF
3312/* confdefs.h.  */
3313_ACEOF
3314cat confdefs.h >>conftest.$ac_ext
3315cat >>conftest.$ac_ext <<_ACEOF
3316/* end confdefs.h.  */
3317#include <ctype.h>
3318#if ((' ' & 0x0FF) == 0x020)
3319# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3320# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3321#else
3322# define ISLOWER(c) \
3323		   (('a' <= (c) && (c) <= 'i') \
3324		     || ('j' <= (c) && (c) <= 'r') \
3325		     || ('s' <= (c) && (c) <= 'z'))
3326# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3327#endif
3328
3329#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3330int
3331main ()
3332{
3333  int i;
3334  for (i = 0; i < 256; i++)
3335    if (XOR (islower (i), ISLOWER (i))
3336	|| toupper (i) != TOUPPER (i))
3337      exit(2);
3338  exit (0);
3339}
3340_ACEOF
3341rm -f conftest$ac_exeext
3342if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3343  (eval $ac_link) 2>&5
3344  ac_status=$?
3345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348  (eval $ac_try) 2>&5
3349  ac_status=$?
3350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351  (exit $ac_status); }; }; then
3352  :
3353else
3354  echo "$as_me: program exited with status $ac_status" >&5
3355echo "$as_me: failed program was:" >&5
3356sed 's/^/| /' conftest.$ac_ext >&5
3357
3358( exit $ac_status )
3359ac_cv_header_stdc=no
3360fi
3361rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3362fi
3363fi
3364fi
3365echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3366echo "${ECHO_T}$ac_cv_header_stdc" >&6
3367if test $ac_cv_header_stdc = yes; then
3368
3369cat >>confdefs.h <<\_ACEOF
3370#define STDC_HEADERS 1
3371_ACEOF
3372
3373fi
3374
3375# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3386		  inttypes.h stdint.h unistd.h
3387do
3388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3389echo "$as_me:$LINENO: checking for $ac_header" >&5
3390echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3391if eval "test \"\${$as_ac_Header+set}\" = set"; then
3392  echo $ECHO_N "(cached) $ECHO_C" >&6
3393else
3394  cat >conftest.$ac_ext <<_ACEOF
3395/* confdefs.h.  */
3396_ACEOF
3397cat confdefs.h >>conftest.$ac_ext
3398cat >>conftest.$ac_ext <<_ACEOF
3399/* end confdefs.h.  */
3400$ac_includes_default
3401
3402#include <$ac_header>
3403_ACEOF
3404rm -f conftest.$ac_objext
3405if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3406  (eval $ac_compile) 2>conftest.er1
3407  ac_status=$?
3408  grep -v '^ *+' conftest.er1 >conftest.err
3409  rm -f conftest.er1
3410  cat conftest.err >&5
3411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412  (exit $ac_status); } &&
3413	 { ac_try='test -z "$ac_c_werror_flag"
3414			 || test ! -s conftest.err'
3415  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416  (eval $ac_try) 2>&5
3417  ac_status=$?
3418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419  (exit $ac_status); }; } &&
3420	 { ac_try='test -s conftest.$ac_objext'
3421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3422  (eval $ac_try) 2>&5
3423  ac_status=$?
3424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425  (exit $ac_status); }; }; then
3426  eval "$as_ac_Header=yes"
3427else
3428  echo "$as_me: failed program was:" >&5
3429sed 's/^/| /' conftest.$ac_ext >&5
3430
3431eval "$as_ac_Header=no"
3432fi
3433rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3434fi
3435echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3436echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3437if test `eval echo '${'$as_ac_Header'}'` = yes; then
3438  cat >>confdefs.h <<_ACEOF
3439#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3440_ACEOF
3441
3442fi
3443
3444done
3445
3446
3447
3448
3449
3450
3451
3452for ac_header in netdb.h netinet/in.h sys/socket.h limits.h unistd.h
3453do
3454as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3455if eval "test \"\${$as_ac_Header+set}\" = set"; then
3456  echo "$as_me:$LINENO: checking for $ac_header" >&5
3457echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3458if eval "test \"\${$as_ac_Header+set}\" = set"; then
3459  echo $ECHO_N "(cached) $ECHO_C" >&6
3460fi
3461echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3462echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3463else
3464  # Is the header compilable?
3465echo "$as_me:$LINENO: checking $ac_header usability" >&5
3466echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3467cat >conftest.$ac_ext <<_ACEOF
3468/* confdefs.h.  */
3469_ACEOF
3470cat confdefs.h >>conftest.$ac_ext
3471cat >>conftest.$ac_ext <<_ACEOF
3472/* end confdefs.h.  */
3473$ac_includes_default
3474#include <$ac_header>
3475_ACEOF
3476rm -f conftest.$ac_objext
3477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3478  (eval $ac_compile) 2>conftest.er1
3479  ac_status=$?
3480  grep -v '^ *+' conftest.er1 >conftest.err
3481  rm -f conftest.er1
3482  cat conftest.err >&5
3483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484  (exit $ac_status); } &&
3485	 { ac_try='test -z "$ac_c_werror_flag"
3486			 || test ! -s conftest.err'
3487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488  (eval $ac_try) 2>&5
3489  ac_status=$?
3490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491  (exit $ac_status); }; } &&
3492	 { ac_try='test -s conftest.$ac_objext'
3493  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494  (eval $ac_try) 2>&5
3495  ac_status=$?
3496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497  (exit $ac_status); }; }; then
3498  ac_header_compiler=yes
3499else
3500  echo "$as_me: failed program was:" >&5
3501sed 's/^/| /' conftest.$ac_ext >&5
3502
3503ac_header_compiler=no
3504fi
3505rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3506echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3507echo "${ECHO_T}$ac_header_compiler" >&6
3508
3509# Is the header present?
3510echo "$as_me:$LINENO: checking $ac_header presence" >&5
3511echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3512cat >conftest.$ac_ext <<_ACEOF
3513/* confdefs.h.  */
3514_ACEOF
3515cat confdefs.h >>conftest.$ac_ext
3516cat >>conftest.$ac_ext <<_ACEOF
3517/* end confdefs.h.  */
3518#include <$ac_header>
3519_ACEOF
3520if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3521  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3522  ac_status=$?
3523  grep -v '^ *+' conftest.er1 >conftest.err
3524  rm -f conftest.er1
3525  cat conftest.err >&5
3526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527  (exit $ac_status); } >/dev/null; then
3528  if test -s conftest.err; then
3529    ac_cpp_err=$ac_c_preproc_warn_flag
3530    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3531  else
3532    ac_cpp_err=
3533  fi
3534else
3535  ac_cpp_err=yes
3536fi
3537if test -z "$ac_cpp_err"; then
3538  ac_header_preproc=yes
3539else
3540  echo "$as_me: failed program was:" >&5
3541sed 's/^/| /' conftest.$ac_ext >&5
3542
3543  ac_header_preproc=no
3544fi
3545rm -f conftest.err conftest.$ac_ext
3546echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3547echo "${ECHO_T}$ac_header_preproc" >&6
3548
3549# So?  What about this header?
3550case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3551  yes:no: )
3552    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3553echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3554    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3555echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3556    ac_header_preproc=yes
3557    ;;
3558  no:yes:* )
3559    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3560echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3561    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3562echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3563    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3564echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3565    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3566echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3567    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3568echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3569    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3570echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3571    (
3572      cat <<\_ASBOX
3573## ------------------------------- ##
3574## Report this to dbtools@ripe.net ##
3575## ------------------------------- ##
3576_ASBOX
3577    ) |
3578      sed "s/^/$as_me: WARNING:     /" >&2
3579    ;;
3580esac
3581echo "$as_me:$LINENO: checking for $ac_header" >&5
3582echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3583if eval "test \"\${$as_ac_Header+set}\" = set"; then
3584  echo $ECHO_N "(cached) $ECHO_C" >&6
3585else
3586  eval "$as_ac_Header=\$ac_header_preproc"
3587fi
3588echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3589echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3590
3591fi
3592if test `eval echo '${'$as_ac_Header'}'` = yes; then
3593  cat >>confdefs.h <<_ACEOF
3594#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3595_ACEOF
3596
3597fi
3598
3599done
3600
3601
3602echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3603echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3604if test "${ac_cv_c_const+set}" = set; then
3605  echo $ECHO_N "(cached) $ECHO_C" >&6
3606else
3607  cat >conftest.$ac_ext <<_ACEOF
3608/* confdefs.h.  */
3609_ACEOF
3610cat confdefs.h >>conftest.$ac_ext
3611cat >>conftest.$ac_ext <<_ACEOF
3612/* end confdefs.h.  */
3613
3614int
3615main ()
3616{
3617/* FIXME: Include the comments suggested by Paul. */
3618#ifndef __cplusplus
3619  /* Ultrix mips cc rejects this.  */
3620  typedef int charset[2];
3621  const charset x;
3622  /* SunOS 4.1.1 cc rejects this.  */
3623  char const *const *ccp;
3624  char **p;
3625  /* NEC SVR4.0.2 mips cc rejects this.  */
3626  struct point {int x, y;};
3627  static struct point const zero = {0,0};
3628  /* AIX XL C 1.02.0.0 rejects this.
3629     It does not let you subtract one const X* pointer from another in
3630     an arm of an if-expression whose if-part is not a constant
3631     expression */
3632  const char *g = "string";
3633  ccp = &g + (g ? g-g : 0);
3634  /* HPUX 7.0 cc rejects these. */
3635  ++ccp;
3636  p = (char**) ccp;
3637  ccp = (char const *const *) p;
3638  { /* SCO 3.2v4 cc rejects this.  */
3639    char *t;
3640    char const *s = 0 ? (char *) 0 : (char const *) 0;
3641
3642    *t++ = 0;
3643  }
3644  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3645    int x[] = {25, 17};
3646    const int *foo = &x[0];
3647    ++foo;
3648  }
3649  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3650    typedef const int *iptr;
3651    iptr p = 0;
3652    ++p;
3653  }
3654  { /* AIX XL C 1.02.0.0 rejects this saying
3655       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3656    struct s { int j; const int *ap[3]; };
3657    struct s *b; b->j = 5;
3658  }
3659  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3660    const int foo = 10;
3661  }
3662#endif
3663
3664  ;
3665  return 0;
3666}
3667_ACEOF
3668rm -f conftest.$ac_objext
3669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3670  (eval $ac_compile) 2>conftest.er1
3671  ac_status=$?
3672  grep -v '^ *+' conftest.er1 >conftest.err
3673  rm -f conftest.er1
3674  cat conftest.err >&5
3675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676  (exit $ac_status); } &&
3677	 { ac_try='test -z "$ac_c_werror_flag"
3678			 || test ! -s conftest.err'
3679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680  (eval $ac_try) 2>&5
3681  ac_status=$?
3682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683  (exit $ac_status); }; } &&
3684	 { ac_try='test -s conftest.$ac_objext'
3685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686  (eval $ac_try) 2>&5
3687  ac_status=$?
3688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689  (exit $ac_status); }; }; then
3690  ac_cv_c_const=yes
3691else
3692  echo "$as_me: failed program was:" >&5
3693sed 's/^/| /' conftest.$ac_ext >&5
3694
3695ac_cv_c_const=no
3696fi
3697rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3698fi
3699echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3700echo "${ECHO_T}$ac_cv_c_const" >&6
3701if test $ac_cv_c_const = no; then
3702
3703cat >>confdefs.h <<\_ACEOF
3704#define const
3705_ACEOF
3706
3707fi
3708
3709
3710echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3711echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3712if test "${ac_cv_type_signal+set}" = set; then
3713  echo $ECHO_N "(cached) $ECHO_C" >&6
3714else
3715  cat >conftest.$ac_ext <<_ACEOF
3716/* confdefs.h.  */
3717_ACEOF
3718cat confdefs.h >>conftest.$ac_ext
3719cat >>conftest.$ac_ext <<_ACEOF
3720/* end confdefs.h.  */
3721#include <sys/types.h>
3722#include <signal.h>
3723#ifdef signal
3724# undef signal
3725#endif
3726#ifdef __cplusplus
3727extern "C" void (*signal (int, void (*)(int)))(int);
3728#else
3729void (*signal ()) ();
3730#endif
3731
3732int
3733main ()
3734{
3735int i;
3736  ;
3737  return 0;
3738}
3739_ACEOF
3740rm -f conftest.$ac_objext
3741if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3742  (eval $ac_compile) 2>conftest.er1
3743  ac_status=$?
3744  grep -v '^ *+' conftest.er1 >conftest.err
3745  rm -f conftest.er1
3746  cat conftest.err >&5
3747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748  (exit $ac_status); } &&
3749	 { ac_try='test -z "$ac_c_werror_flag"
3750			 || test ! -s conftest.err'
3751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752  (eval $ac_try) 2>&5
3753  ac_status=$?
3754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755  (exit $ac_status); }; } &&
3756	 { ac_try='test -s conftest.$ac_objext'
3757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758  (eval $ac_try) 2>&5
3759  ac_status=$?
3760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761  (exit $ac_status); }; }; then
3762  ac_cv_type_signal=void
3763else
3764  echo "$as_me: failed program was:" >&5
3765sed 's/^/| /' conftest.$ac_ext >&5
3766
3767ac_cv_type_signal=int
3768fi
3769rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3770fi
3771echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3772echo "${ECHO_T}$ac_cv_type_signal" >&6
3773
3774cat >>confdefs.h <<_ACEOF
3775#define RETSIGTYPE $ac_cv_type_signal
3776_ACEOF
3777
3778
3779
3780   # Most operating systems have gethostbyname() in the default searched
3781   # libraries (i.e. libc):
3782   echo "$as_me:$LINENO: checking for gethostbyname" >&5
3783echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3784if test "${ac_cv_func_gethostbyname+set}" = set; then
3785  echo $ECHO_N "(cached) $ECHO_C" >&6
3786else
3787  cat >conftest.$ac_ext <<_ACEOF
3788/* confdefs.h.  */
3789_ACEOF
3790cat confdefs.h >>conftest.$ac_ext
3791cat >>conftest.$ac_ext <<_ACEOF
3792/* end confdefs.h.  */
3793/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3794   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3795#define gethostbyname innocuous_gethostbyname
3796
3797/* System header to define __stub macros and hopefully few prototypes,
3798    which can conflict with char gethostbyname (); below.
3799    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3800    <limits.h> exists even on freestanding compilers.  */
3801
3802#ifdef __STDC__
3803# include <limits.h>
3804#else
3805# include <assert.h>
3806#endif
3807
3808#undef gethostbyname
3809
3810/* Override any gcc2 internal prototype to avoid an error.  */
3811#ifdef __cplusplus
3812extern "C"
3813{
3814#endif
3815/* We use char because int might match the return type of a gcc2
3816   builtin and then its argument prototype would still apply.  */
3817char gethostbyname ();
3818/* The GNU C library defines this for functions which it implements
3819    to always fail with ENOSYS.  Some functions are actually named
3820    something starting with __ and the normal name is an alias.  */
3821#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3822choke me
3823#else
3824char (*f) () = gethostbyname;
3825#endif
3826#ifdef __cplusplus
3827}
3828#endif
3829
3830int
3831main ()
3832{
3833return f != gethostbyname;
3834  ;
3835  return 0;
3836}
3837_ACEOF
3838rm -f conftest.$ac_objext conftest$ac_exeext
3839if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3840  (eval $ac_link) 2>conftest.er1
3841  ac_status=$?
3842  grep -v '^ *+' conftest.er1 >conftest.err
3843  rm -f conftest.er1
3844  cat conftest.err >&5
3845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846  (exit $ac_status); } &&
3847	 { ac_try='test -z "$ac_c_werror_flag"
3848			 || test ! -s conftest.err'
3849  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3850  (eval $ac_try) 2>&5
3851  ac_status=$?
3852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853  (exit $ac_status); }; } &&
3854	 { ac_try='test -s conftest$ac_exeext'
3855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3856  (eval $ac_try) 2>&5
3857  ac_status=$?
3858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859  (exit $ac_status); }; }; then
3860  ac_cv_func_gethostbyname=yes
3861else
3862  echo "$as_me: failed program was:" >&5
3863sed 's/^/| /' conftest.$ac_ext >&5
3864
3865ac_cv_func_gethostbyname=no
3866fi
3867rm -f conftest.err conftest.$ac_objext \
3868      conftest$ac_exeext conftest.$ac_ext
3869fi
3870echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3871echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3872if test $ac_cv_func_gethostbyname = yes; then
3873  :
3874else
3875  # Some OSes (eg. Solaris) place it in libnsl:
3876
3877echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3878echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3879if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3880  echo $ECHO_N "(cached) $ECHO_C" >&6
3881else
3882  ac_check_lib_save_LIBS=$LIBS
3883LIBS="-lnsl  $LIBS"
3884cat >conftest.$ac_ext <<_ACEOF
3885/* confdefs.h.  */
3886_ACEOF
3887cat confdefs.h >>conftest.$ac_ext
3888cat >>conftest.$ac_ext <<_ACEOF
3889/* end confdefs.h.  */
3890
3891/* Override any gcc2 internal prototype to avoid an error.  */
3892#ifdef __cplusplus
3893extern "C"
3894#endif
3895/* We use char because int might match the return type of a gcc2
3896   builtin and then its argument prototype would still apply.  */
3897char gethostbyname ();
3898int
3899main ()
3900{
3901gethostbyname ();
3902  ;
3903  return 0;
3904}
3905_ACEOF
3906rm -f conftest.$ac_objext conftest$ac_exeext
3907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3908  (eval $ac_link) 2>conftest.er1
3909  ac_status=$?
3910  grep -v '^ *+' conftest.er1 >conftest.err
3911  rm -f conftest.er1
3912  cat conftest.err >&5
3913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914  (exit $ac_status); } &&
3915	 { ac_try='test -z "$ac_c_werror_flag"
3916			 || test ! -s conftest.err'
3917  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918  (eval $ac_try) 2>&5
3919  ac_status=$?
3920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921  (exit $ac_status); }; } &&
3922	 { ac_try='test -s conftest$ac_exeext'
3923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924  (eval $ac_try) 2>&5
3925  ac_status=$?
3926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927  (exit $ac_status); }; }; then
3928  ac_cv_lib_nsl_gethostbyname=yes
3929else
3930  echo "$as_me: failed program was:" >&5
3931sed 's/^/| /' conftest.$ac_ext >&5
3932
3933ac_cv_lib_nsl_gethostbyname=no
3934fi
3935rm -f conftest.err conftest.$ac_objext \
3936      conftest$ac_exeext conftest.$ac_ext
3937LIBS=$ac_check_lib_save_LIBS
3938fi
3939echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3940echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3941if test $ac_cv_lib_nsl_gethostbyname = yes; then
3942  cat >>confdefs.h <<_ACEOF
3943#define HAVE_LIBNSL 1
3944_ACEOF
3945
3946  LIBS="-lnsl $LIBS"
3947
3948else
3949  # Some strange OSes (SINIX) have it in libsocket:
3950
3951echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
3952echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
3953if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
3954  echo $ECHO_N "(cached) $ECHO_C" >&6
3955else
3956  ac_check_lib_save_LIBS=$LIBS
3957LIBS="-lsocket  $LIBS"
3958cat >conftest.$ac_ext <<_ACEOF
3959/* confdefs.h.  */
3960_ACEOF
3961cat confdefs.h >>conftest.$ac_ext
3962cat >>conftest.$ac_ext <<_ACEOF
3963/* end confdefs.h.  */
3964
3965/* Override any gcc2 internal prototype to avoid an error.  */
3966#ifdef __cplusplus
3967extern "C"
3968#endif
3969/* We use char because int might match the return type of a gcc2
3970   builtin and then its argument prototype would still apply.  */
3971char gethostbyname ();
3972int
3973main ()
3974{
3975gethostbyname ();
3976  ;
3977  return 0;
3978}
3979_ACEOF
3980rm -f conftest.$ac_objext conftest$ac_exeext
3981if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3982  (eval $ac_link) 2>conftest.er1
3983  ac_status=$?
3984  grep -v '^ *+' conftest.er1 >conftest.err
3985  rm -f conftest.er1
3986  cat conftest.err >&5
3987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988  (exit $ac_status); } &&
3989	 { ac_try='test -z "$ac_c_werror_flag"
3990			 || test ! -s conftest.err'
3991  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992  (eval $ac_try) 2>&5
3993  ac_status=$?
3994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995  (exit $ac_status); }; } &&
3996	 { ac_try='test -s conftest$ac_exeext'
3997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998  (eval $ac_try) 2>&5
3999  ac_status=$?
4000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001  (exit $ac_status); }; }; then
4002  ac_cv_lib_socket_gethostbyname=yes
4003else
4004  echo "$as_me: failed program was:" >&5
4005sed 's/^/| /' conftest.$ac_ext >&5
4006
4007ac_cv_lib_socket_gethostbyname=no
4008fi
4009rm -f conftest.err conftest.$ac_objext \
4010      conftest$ac_exeext conftest.$ac_ext
4011LIBS=$ac_check_lib_save_LIBS
4012fi
4013echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
4014echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
4015if test $ac_cv_lib_socket_gethostbyname = yes; then
4016  cat >>confdefs.h <<_ACEOF
4017#define HAVE_LIBSOCKET 1
4018_ACEOF
4019
4020  LIBS="-lsocket $LIBS"
4021
4022else
4023  # Unfortunately libsocket sometimes depends on libnsl.
4024          # AC_CHECK_LIB's API is essentially broken so the following
4025          # ugliness is necessary:
4026          echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
4027echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
4028if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
4029  echo $ECHO_N "(cached) $ECHO_C" >&6
4030else
4031  ac_check_lib_save_LIBS=$LIBS
4032LIBS="-lsocket -lnsl $LIBS"
4033cat >conftest.$ac_ext <<_ACEOF
4034/* confdefs.h.  */
4035_ACEOF
4036cat confdefs.h >>conftest.$ac_ext
4037cat >>conftest.$ac_ext <<_ACEOF
4038/* end confdefs.h.  */
4039
4040/* Override any gcc2 internal prototype to avoid an error.  */
4041#ifdef __cplusplus
4042extern "C"
4043#endif
4044/* We use char because int might match the return type of a gcc2
4045   builtin and then its argument prototype would still apply.  */
4046char gethostbyname ();
4047int
4048main ()
4049{
4050gethostbyname ();
4051  ;
4052  return 0;
4053}
4054_ACEOF
4055rm -f conftest.$ac_objext conftest$ac_exeext
4056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4057  (eval $ac_link) 2>conftest.er1
4058  ac_status=$?
4059  grep -v '^ *+' conftest.er1 >conftest.err
4060  rm -f conftest.er1
4061  cat conftest.err >&5
4062  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063  (exit $ac_status); } &&
4064	 { ac_try='test -z "$ac_c_werror_flag"
4065			 || test ! -s conftest.err'
4066  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067  (eval $ac_try) 2>&5
4068  ac_status=$?
4069  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070  (exit $ac_status); }; } &&
4071	 { ac_try='test -s conftest$ac_exeext'
4072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073  (eval $ac_try) 2>&5
4074  ac_status=$?
4075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076  (exit $ac_status); }; }; then
4077  ac_cv_lib_socket_gethostbyname=yes
4078else
4079  echo "$as_me: failed program was:" >&5
4080sed 's/^/| /' conftest.$ac_ext >&5
4081
4082ac_cv_lib_socket_gethostbyname=no
4083fi
4084rm -f conftest.err conftest.$ac_objext \
4085      conftest$ac_exeext conftest.$ac_ext
4086LIBS=$ac_check_lib_save_LIBS
4087fi
4088echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
4089echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
4090if test $ac_cv_lib_socket_gethostbyname = yes; then
4091  LIBS="-lsocket -lnsl $LIBS"
4092else
4093
4094echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
4095echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
4096if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
4097  echo $ECHO_N "(cached) $ECHO_C" >&6
4098else
4099  ac_check_lib_save_LIBS=$LIBS
4100LIBS="-lresolv  $LIBS"
4101cat >conftest.$ac_ext <<_ACEOF
4102/* confdefs.h.  */
4103_ACEOF
4104cat confdefs.h >>conftest.$ac_ext
4105cat >>conftest.$ac_ext <<_ACEOF
4106/* end confdefs.h.  */
4107
4108/* Override any gcc2 internal prototype to avoid an error.  */
4109#ifdef __cplusplus
4110extern "C"
4111#endif
4112/* We use char because int might match the return type of a gcc2
4113   builtin and then its argument prototype would still apply.  */
4114char gethostbyname ();
4115int
4116main ()
4117{
4118gethostbyname ();
4119  ;
4120  return 0;
4121}
4122_ACEOF
4123rm -f conftest.$ac_objext conftest$ac_exeext
4124if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4125  (eval $ac_link) 2>conftest.er1
4126  ac_status=$?
4127  grep -v '^ *+' conftest.er1 >conftest.err
4128  rm -f conftest.er1
4129  cat conftest.err >&5
4130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131  (exit $ac_status); } &&
4132	 { ac_try='test -z "$ac_c_werror_flag"
4133			 || test ! -s conftest.err'
4134  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135  (eval $ac_try) 2>&5
4136  ac_status=$?
4137  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138  (exit $ac_status); }; } &&
4139	 { ac_try='test -s conftest$ac_exeext'
4140  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141  (eval $ac_try) 2>&5
4142  ac_status=$?
4143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144  (exit $ac_status); }; }; then
4145  ac_cv_lib_resolv_gethostbyname=yes
4146else
4147  echo "$as_me: failed program was:" >&5
4148sed 's/^/| /' conftest.$ac_ext >&5
4149
4150ac_cv_lib_resolv_gethostbyname=no
4151fi
4152rm -f conftest.err conftest.$ac_objext \
4153      conftest$ac_exeext conftest.$ac_ext
4154LIBS=$ac_check_lib_save_LIBS
4155fi
4156echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
4157echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
4158if test $ac_cv_lib_resolv_gethostbyname = yes; then
4159  cat >>confdefs.h <<_ACEOF
4160#define HAVE_LIBRESOLV 1
4161_ACEOF
4162
4163  LIBS="-lresolv $LIBS"
4164
4165fi
4166
4167fi
4168
4169
4170fi
4171
4172
4173fi
4174
4175
4176fi
4177
4178  echo "$as_me:$LINENO: checking for socket" >&5
4179echo $ECHO_N "checking for socket... $ECHO_C" >&6
4180if test "${ac_cv_func_socket+set}" = set; then
4181  echo $ECHO_N "(cached) $ECHO_C" >&6
4182else
4183  cat >conftest.$ac_ext <<_ACEOF
4184/* confdefs.h.  */
4185_ACEOF
4186cat confdefs.h >>conftest.$ac_ext
4187cat >>conftest.$ac_ext <<_ACEOF
4188/* end confdefs.h.  */
4189/* Define socket to an innocuous variant, in case <limits.h> declares socket.
4190   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4191#define socket innocuous_socket
4192
4193/* System header to define __stub macros and hopefully few prototypes,
4194    which can conflict with char socket (); below.
4195    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4196    <limits.h> exists even on freestanding compilers.  */
4197
4198#ifdef __STDC__
4199# include <limits.h>
4200#else
4201# include <assert.h>
4202#endif
4203
4204#undef socket
4205
4206/* Override any gcc2 internal prototype to avoid an error.  */
4207#ifdef __cplusplus
4208extern "C"
4209{
4210#endif
4211/* We use char because int might match the return type of a gcc2
4212   builtin and then its argument prototype would still apply.  */
4213char socket ();
4214/* The GNU C library defines this for functions which it implements
4215    to always fail with ENOSYS.  Some functions are actually named
4216    something starting with __ and the normal name is an alias.  */
4217#if defined (__stub_socket) || defined (__stub___socket)
4218choke me
4219#else
4220char (*f) () = socket;
4221#endif
4222#ifdef __cplusplus
4223}
4224#endif
4225
4226int
4227main ()
4228{
4229return f != socket;
4230  ;
4231  return 0;
4232}
4233_ACEOF
4234rm -f conftest.$ac_objext conftest$ac_exeext
4235if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4236  (eval $ac_link) 2>conftest.er1
4237  ac_status=$?
4238  grep -v '^ *+' conftest.er1 >conftest.err
4239  rm -f conftest.er1
4240  cat conftest.err >&5
4241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242  (exit $ac_status); } &&
4243	 { ac_try='test -z "$ac_c_werror_flag"
4244			 || test ! -s conftest.err'
4245  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246  (eval $ac_try) 2>&5
4247  ac_status=$?
4248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249  (exit $ac_status); }; } &&
4250	 { ac_try='test -s conftest$ac_exeext'
4251  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252  (eval $ac_try) 2>&5
4253  ac_status=$?
4254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255  (exit $ac_status); }; }; then
4256  ac_cv_func_socket=yes
4257else
4258  echo "$as_me: failed program was:" >&5
4259sed 's/^/| /' conftest.$ac_ext >&5
4260
4261ac_cv_func_socket=no
4262fi
4263rm -f conftest.err conftest.$ac_objext \
4264      conftest$ac_exeext conftest.$ac_ext
4265fi
4266echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
4267echo "${ECHO_T}$ac_cv_func_socket" >&6
4268if test $ac_cv_func_socket = yes; then
4269  :
4270else
4271
4272echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4273echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4274if test "${ac_cv_lib_socket_socket+set}" = set; then
4275  echo $ECHO_N "(cached) $ECHO_C" >&6
4276else
4277  ac_check_lib_save_LIBS=$LIBS
4278LIBS="-lsocket  $LIBS"
4279cat >conftest.$ac_ext <<_ACEOF
4280/* confdefs.h.  */
4281_ACEOF
4282cat confdefs.h >>conftest.$ac_ext
4283cat >>conftest.$ac_ext <<_ACEOF
4284/* end confdefs.h.  */
4285
4286/* Override any gcc2 internal prototype to avoid an error.  */
4287#ifdef __cplusplus
4288extern "C"
4289#endif
4290/* We use char because int might match the return type of a gcc2
4291   builtin and then its argument prototype would still apply.  */
4292char socket ();
4293int
4294main ()
4295{
4296socket ();
4297  ;
4298  return 0;
4299}
4300_ACEOF
4301rm -f conftest.$ac_objext conftest$ac_exeext
4302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303  (eval $ac_link) 2>conftest.er1
4304  ac_status=$?
4305  grep -v '^ *+' conftest.er1 >conftest.err
4306  rm -f conftest.er1
4307  cat conftest.err >&5
4308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309  (exit $ac_status); } &&
4310	 { ac_try='test -z "$ac_c_werror_flag"
4311			 || test ! -s conftest.err'
4312  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4313  (eval $ac_try) 2>&5
4314  ac_status=$?
4315  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316  (exit $ac_status); }; } &&
4317	 { ac_try='test -s conftest$ac_exeext'
4318  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4319  (eval $ac_try) 2>&5
4320  ac_status=$?
4321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322  (exit $ac_status); }; }; then
4323  ac_cv_lib_socket_socket=yes
4324else
4325  echo "$as_me: failed program was:" >&5
4326sed 's/^/| /' conftest.$ac_ext >&5
4327
4328ac_cv_lib_socket_socket=no
4329fi
4330rm -f conftest.err conftest.$ac_objext \
4331      conftest$ac_exeext conftest.$ac_ext
4332LIBS=$ac_check_lib_save_LIBS
4333fi
4334echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4335echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4336if test $ac_cv_lib_socket_socket = yes; then
4337  cat >>confdefs.h <<_ACEOF
4338#define HAVE_LIBSOCKET 1
4339_ACEOF
4340
4341  LIBS="-lsocket $LIBS"
4342
4343else
4344  echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4345echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4346if test "${ac_cv_lib_socket_socket+set}" = set; then
4347  echo $ECHO_N "(cached) $ECHO_C" >&6
4348else
4349  ac_check_lib_save_LIBS=$LIBS
4350LIBS="-lsocket -lnsl $LIBS"
4351cat >conftest.$ac_ext <<_ACEOF
4352/* confdefs.h.  */
4353_ACEOF
4354cat confdefs.h >>conftest.$ac_ext
4355cat >>conftest.$ac_ext <<_ACEOF
4356/* end confdefs.h.  */
4357
4358/* Override any gcc2 internal prototype to avoid an error.  */
4359#ifdef __cplusplus
4360extern "C"
4361#endif
4362/* We use char because int might match the return type of a gcc2
4363   builtin and then its argument prototype would still apply.  */
4364char socket ();
4365int
4366main ()
4367{
4368socket ();
4369  ;
4370  return 0;
4371}
4372_ACEOF
4373rm -f conftest.$ac_objext conftest$ac_exeext
4374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4375  (eval $ac_link) 2>conftest.er1
4376  ac_status=$?
4377  grep -v '^ *+' conftest.er1 >conftest.err
4378  rm -f conftest.er1
4379  cat conftest.err >&5
4380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381  (exit $ac_status); } &&
4382	 { ac_try='test -z "$ac_c_werror_flag"
4383			 || test ! -s conftest.err'
4384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385  (eval $ac_try) 2>&5
4386  ac_status=$?
4387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388  (exit $ac_status); }; } &&
4389	 { ac_try='test -s conftest$ac_exeext'
4390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391  (eval $ac_try) 2>&5
4392  ac_status=$?
4393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394  (exit $ac_status); }; }; then
4395  ac_cv_lib_socket_socket=yes
4396else
4397  echo "$as_me: failed program was:" >&5
4398sed 's/^/| /' conftest.$ac_ext >&5
4399
4400ac_cv_lib_socket_socket=no
4401fi
4402rm -f conftest.err conftest.$ac_objext \
4403      conftest$ac_exeext conftest.$ac_ext
4404LIBS=$ac_check_lib_save_LIBS
4405fi
4406echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4407echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4408if test $ac_cv_lib_socket_socket = yes; then
4409  LIBS="-lsocket -lnsl $LIBS"
4410fi
4411
4412fi
4413
4414fi
4415
4416
4417
4418
4419
4420
4421
4422
4423for ac_func in socket strchr memset strerror strtol
4424do
4425as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4426echo "$as_me:$LINENO: checking for $ac_func" >&5
4427echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4428if eval "test \"\${$as_ac_var+set}\" = set"; then
4429  echo $ECHO_N "(cached) $ECHO_C" >&6
4430else
4431  cat >conftest.$ac_ext <<_ACEOF
4432/* confdefs.h.  */
4433_ACEOF
4434cat confdefs.h >>conftest.$ac_ext
4435cat >>conftest.$ac_ext <<_ACEOF
4436/* end confdefs.h.  */
4437/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4438   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4439#define $ac_func innocuous_$ac_func
4440
4441/* System header to define __stub macros and hopefully few prototypes,
4442    which can conflict with char $ac_func (); below.
4443    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4444    <limits.h> exists even on freestanding compilers.  */
4445
4446#ifdef __STDC__
4447# include <limits.h>
4448#else
4449# include <assert.h>
4450#endif
4451
4452#undef $ac_func
4453
4454/* Override any gcc2 internal prototype to avoid an error.  */
4455#ifdef __cplusplus
4456extern "C"
4457{
4458#endif
4459/* We use char because int might match the return type of a gcc2
4460   builtin and then its argument prototype would still apply.  */
4461char $ac_func ();
4462/* The GNU C library defines this for functions which it implements
4463    to always fail with ENOSYS.  Some functions are actually named
4464    something starting with __ and the normal name is an alias.  */
4465#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4466choke me
4467#else
4468char (*f) () = $ac_func;
4469#endif
4470#ifdef __cplusplus
4471}
4472#endif
4473
4474int
4475main ()
4476{
4477return f != $ac_func;
4478  ;
4479  return 0;
4480}
4481_ACEOF
4482rm -f conftest.$ac_objext conftest$ac_exeext
4483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484  (eval $ac_link) 2>conftest.er1
4485  ac_status=$?
4486  grep -v '^ *+' conftest.er1 >conftest.err
4487  rm -f conftest.er1
4488  cat conftest.err >&5
4489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490  (exit $ac_status); } &&
4491	 { ac_try='test -z "$ac_c_werror_flag"
4492			 || test ! -s conftest.err'
4493  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494  (eval $ac_try) 2>&5
4495  ac_status=$?
4496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497  (exit $ac_status); }; } &&
4498	 { ac_try='test -s conftest$ac_exeext'
4499  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500  (eval $ac_try) 2>&5
4501  ac_status=$?
4502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503  (exit $ac_status); }; }; then
4504  eval "$as_ac_var=yes"
4505else
4506  echo "$as_me: failed program was:" >&5
4507sed 's/^/| /' conftest.$ac_ext >&5
4508
4509eval "$as_ac_var=no"
4510fi
4511rm -f conftest.err conftest.$ac_objext \
4512      conftest$ac_exeext conftest.$ac_ext
4513fi
4514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4515echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4516if test `eval echo '${'$as_ac_var'}'` = yes; then
4517  cat >>confdefs.h <<_ACEOF
4518#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4519_ACEOF
4520
4521fi
4522done
4523
4524
4525for ac_header in stdlib.h
4526do
4527as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4528if eval "test \"\${$as_ac_Header+set}\" = set"; then
4529  echo "$as_me:$LINENO: checking for $ac_header" >&5
4530echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4531if eval "test \"\${$as_ac_Header+set}\" = set"; then
4532  echo $ECHO_N "(cached) $ECHO_C" >&6
4533fi
4534echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4535echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4536else
4537  # Is the header compilable?
4538echo "$as_me:$LINENO: checking $ac_header usability" >&5
4539echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4540cat >conftest.$ac_ext <<_ACEOF
4541/* confdefs.h.  */
4542_ACEOF
4543cat confdefs.h >>conftest.$ac_ext
4544cat >>conftest.$ac_ext <<_ACEOF
4545/* end confdefs.h.  */
4546$ac_includes_default
4547#include <$ac_header>
4548_ACEOF
4549rm -f conftest.$ac_objext
4550if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4551  (eval $ac_compile) 2>conftest.er1
4552  ac_status=$?
4553  grep -v '^ *+' conftest.er1 >conftest.err
4554  rm -f conftest.er1
4555  cat conftest.err >&5
4556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557  (exit $ac_status); } &&
4558	 { ac_try='test -z "$ac_c_werror_flag"
4559			 || test ! -s conftest.err'
4560  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561  (eval $ac_try) 2>&5
4562  ac_status=$?
4563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564  (exit $ac_status); }; } &&
4565	 { ac_try='test -s conftest.$ac_objext'
4566  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567  (eval $ac_try) 2>&5
4568  ac_status=$?
4569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570  (exit $ac_status); }; }; then
4571  ac_header_compiler=yes
4572else
4573  echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576ac_header_compiler=no
4577fi
4578rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4579echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4580echo "${ECHO_T}$ac_header_compiler" >&6
4581
4582# Is the header present?
4583echo "$as_me:$LINENO: checking $ac_header presence" >&5
4584echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4585cat >conftest.$ac_ext <<_ACEOF
4586/* confdefs.h.  */
4587_ACEOF
4588cat confdefs.h >>conftest.$ac_ext
4589cat >>conftest.$ac_ext <<_ACEOF
4590/* end confdefs.h.  */
4591#include <$ac_header>
4592_ACEOF
4593if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4594  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4595  ac_status=$?
4596  grep -v '^ *+' conftest.er1 >conftest.err
4597  rm -f conftest.er1
4598  cat conftest.err >&5
4599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600  (exit $ac_status); } >/dev/null; then
4601  if test -s conftest.err; then
4602    ac_cpp_err=$ac_c_preproc_warn_flag
4603    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4604  else
4605    ac_cpp_err=
4606  fi
4607else
4608  ac_cpp_err=yes
4609fi
4610if test -z "$ac_cpp_err"; then
4611  ac_header_preproc=yes
4612else
4613  echo "$as_me: failed program was:" >&5
4614sed 's/^/| /' conftest.$ac_ext >&5
4615
4616  ac_header_preproc=no
4617fi
4618rm -f conftest.err conftest.$ac_ext
4619echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4620echo "${ECHO_T}$ac_header_preproc" >&6
4621
4622# So?  What about this header?
4623case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4624  yes:no: )
4625    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4626echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4627    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4628echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4629    ac_header_preproc=yes
4630    ;;
4631  no:yes:* )
4632    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4633echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4634    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4635echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4636    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4637echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4638    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4639echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4640    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4641echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4642    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4643echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4644    (
4645      cat <<\_ASBOX
4646## ------------------------------- ##
4647## Report this to dbtools@ripe.net ##
4648## ------------------------------- ##
4649_ASBOX
4650    ) |
4651      sed "s/^/$as_me: WARNING:     /" >&2
4652    ;;
4653esac
4654echo "$as_me:$LINENO: checking for $ac_header" >&5
4655echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4656if eval "test \"\${$as_ac_Header+set}\" = set"; then
4657  echo $ECHO_N "(cached) $ECHO_C" >&6
4658else
4659  eval "$as_ac_Header=\$ac_header_preproc"
4660fi
4661echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4662echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4663
4664fi
4665if test `eval echo '${'$as_ac_Header'}'` = yes; then
4666  cat >>confdefs.h <<_ACEOF
4667#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4668_ACEOF
4669
4670fi
4671
4672done
4673
4674echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4675echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
4676if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4677  echo $ECHO_N "(cached) $ECHO_C" >&6
4678else
4679  if test "$cross_compiling" = yes; then
4680  ac_cv_func_malloc_0_nonnull=no
4681else
4682  cat >conftest.$ac_ext <<_ACEOF
4683/* confdefs.h.  */
4684_ACEOF
4685cat confdefs.h >>conftest.$ac_ext
4686cat >>conftest.$ac_ext <<_ACEOF
4687/* end confdefs.h.  */
4688#if STDC_HEADERS || HAVE_STDLIB_H
4689# include <stdlib.h>
4690#else
4691char *malloc ();
4692#endif
4693
4694int
4695main ()
4696{
4697exit (malloc (0) ? 0 : 1);
4698  ;
4699  return 0;
4700}
4701_ACEOF
4702rm -f conftest$ac_exeext
4703if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4704  (eval $ac_link) 2>&5
4705  ac_status=$?
4706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709  (eval $ac_try) 2>&5
4710  ac_status=$?
4711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712  (exit $ac_status); }; }; then
4713  ac_cv_func_malloc_0_nonnull=yes
4714else
4715  echo "$as_me: program exited with status $ac_status" >&5
4716echo "$as_me: failed program was:" >&5
4717sed 's/^/| /' conftest.$ac_ext >&5
4718
4719( exit $ac_status )
4720ac_cv_func_malloc_0_nonnull=no
4721fi
4722rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4723fi
4724fi
4725echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4726echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
4727if test $ac_cv_func_malloc_0_nonnull = yes; then
4728
4729cat >>confdefs.h <<\_ACEOF
4730#define HAVE_MALLOC 1
4731_ACEOF
4732
4733else
4734  cat >>confdefs.h <<\_ACEOF
4735#define HAVE_MALLOC 0
4736_ACEOF
4737
4738   case $LIBOBJS in
4739    "malloc.$ac_objext"   | \
4740  *" malloc.$ac_objext"   | \
4741    "malloc.$ac_objext "* | \
4742  *" malloc.$ac_objext "* ) ;;
4743  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
4744esac
4745
4746
4747cat >>confdefs.h <<\_ACEOF
4748#define malloc rpl_malloc
4749_ACEOF
4750
4751fi
4752
4753
4754
4755echo "$as_me:$LINENO: checking for function prototypes" >&5
4756echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4757if test "$ac_cv_prog_cc_stdc" != no; then
4758  echo "$as_me:$LINENO: result: yes" >&5
4759echo "${ECHO_T}yes" >&6
4760
4761cat >>confdefs.h <<\_ACEOF
4762#define PROTOTYPES 1
4763_ACEOF
4764
4765
4766cat >>confdefs.h <<\_ACEOF
4767#define __PROTOTYPES 1
4768_ACEOF
4769
4770else
4771  echo "$as_me:$LINENO: result: no" >&5
4772echo "${ECHO_T}no" >&6
4773fi
4774
4775echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
4776echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
4777if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
4778  echo $ECHO_N "(cached) $ECHO_C" >&6
4779else
4780  ac_cv_func_setvbuf_reversed=no
4781   cat >conftest.$ac_ext <<_ACEOF
4782/* confdefs.h.  */
4783_ACEOF
4784cat confdefs.h >>conftest.$ac_ext
4785cat >>conftest.$ac_ext <<_ACEOF
4786/* end confdefs.h.  */
4787#include <stdio.h>
4788#	  if PROTOTYPES
4789	   int (setvbuf) (FILE *, int, char *, size_t);
4790#	  endif
4791int
4792main ()
4793{
4794char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
4795  ;
4796  return 0;
4797}
4798_ACEOF
4799rm -f conftest.$ac_objext conftest$ac_exeext
4800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4801  (eval $ac_link) 2>conftest.er1
4802  ac_status=$?
4803  grep -v '^ *+' conftest.er1 >conftest.err
4804  rm -f conftest.er1
4805  cat conftest.err >&5
4806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807  (exit $ac_status); } &&
4808	 { ac_try='test -z "$ac_c_werror_flag"
4809			 || test ! -s conftest.err'
4810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811  (eval $ac_try) 2>&5
4812  ac_status=$?
4813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814  (exit $ac_status); }; } &&
4815	 { ac_try='test -s conftest$ac_exeext'
4816  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817  (eval $ac_try) 2>&5
4818  ac_status=$?
4819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820  (exit $ac_status); }; }; then
4821  cat >conftest.$ac_ext <<_ACEOF
4822/* confdefs.h.  */
4823_ACEOF
4824cat confdefs.h >>conftest.$ac_ext
4825cat >>conftest.$ac_ext <<_ACEOF
4826/* end confdefs.h.  */
4827#include <stdio.h>
4828#	     if PROTOTYPES
4829	      int (setvbuf) (FILE *, int, char *, size_t);
4830#	     endif
4831int
4832main ()
4833{
4834char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
4835  ;
4836  return 0;
4837}
4838_ACEOF
4839rm -f conftest.$ac_objext conftest$ac_exeext
4840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4841  (eval $ac_link) 2>conftest.er1
4842  ac_status=$?
4843  grep -v '^ *+' conftest.er1 >conftest.err
4844  rm -f conftest.er1
4845  cat conftest.err >&5
4846  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847  (exit $ac_status); } &&
4848	 { ac_try='test -z "$ac_c_werror_flag"
4849			 || test ! -s conftest.err'
4850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851  (eval $ac_try) 2>&5
4852  ac_status=$?
4853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854  (exit $ac_status); }; } &&
4855	 { ac_try='test -s conftest$ac_exeext'
4856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857  (eval $ac_try) 2>&5
4858  ac_status=$?
4859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860  (exit $ac_status); }; }; then
4861  # It compiles and links either way, so it must not be declared
4862	 # with a prototype and most likely this is a K&R C compiler.
4863	 # Try running it.
4864	 if test "$cross_compiling" = yes; then
4865  : # Assume setvbuf is not reversed when cross-compiling.
4866else
4867  cat >conftest.$ac_ext <<_ACEOF
4868/* confdefs.h.  */
4869_ACEOF
4870cat confdefs.h >>conftest.$ac_ext
4871cat >>conftest.$ac_ext <<_ACEOF
4872/* end confdefs.h.  */
4873#include <stdio.h>
4874int
4875main ()
4876{
4877/* This call has the arguments reversed.
4878		   A reversed system may check and see that the address of buf
4879		   is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */
4880		char buf;
4881		if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
4882		  exit (1);
4883		putchar ('\r');
4884		exit (0); /* Non-reversed systems SEGV here.  */
4885  ;
4886  return 0;
4887}
4888_ACEOF
4889rm -f conftest$ac_exeext
4890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4891  (eval $ac_link) 2>&5
4892  ac_status=$?
4893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896  (eval $ac_try) 2>&5
4897  ac_status=$?
4898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899  (exit $ac_status); }; }; then
4900  ac_cv_func_setvbuf_reversed=yes
4901else
4902  echo "$as_me: program exited with status $ac_status" >&5
4903echo "$as_me: failed program was:" >&5
4904sed 's/^/| /' conftest.$ac_ext >&5
4905
4906( exit $ac_status )
4907rm -f core *.core
4908fi
4909rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4910fi
4911	ac_cv_func_setvbuf_reversed=yes
4912else
4913  echo "$as_me: failed program was:" >&5
4914sed 's/^/| /' conftest.$ac_ext >&5
4915
4916fi
4917rm -f conftest.err conftest.$ac_objext \
4918      conftest$ac_exeext conftest.$ac_ext
4919else
4920  echo "$as_me: failed program was:" >&5
4921sed 's/^/| /' conftest.$ac_ext >&5
4922
4923fi
4924rm -f conftest.err conftest.$ac_objext \
4925      conftest$ac_exeext conftest.$ac_ext
4926fi
4927echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
4928echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
4929if test $ac_cv_func_setvbuf_reversed = yes; then
4930
4931cat >>confdefs.h <<\_ACEOF
4932#define SETVBUF_REVERSED 1
4933_ACEOF
4934
4935fi
4936
4937
4938for ac_func in vprintf
4939do
4940as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4941echo "$as_me:$LINENO: checking for $ac_func" >&5
4942echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4943if eval "test \"\${$as_ac_var+set}\" = set"; then
4944  echo $ECHO_N "(cached) $ECHO_C" >&6
4945else
4946  cat >conftest.$ac_ext <<_ACEOF
4947/* confdefs.h.  */
4948_ACEOF
4949cat confdefs.h >>conftest.$ac_ext
4950cat >>conftest.$ac_ext <<_ACEOF
4951/* end confdefs.h.  */
4952/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4953   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4954#define $ac_func innocuous_$ac_func
4955
4956/* System header to define __stub macros and hopefully few prototypes,
4957    which can conflict with char $ac_func (); below.
4958    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4959    <limits.h> exists even on freestanding compilers.  */
4960
4961#ifdef __STDC__
4962# include <limits.h>
4963#else
4964# include <assert.h>
4965#endif
4966
4967#undef $ac_func
4968
4969/* Override any gcc2 internal prototype to avoid an error.  */
4970#ifdef __cplusplus
4971extern "C"
4972{
4973#endif
4974/* We use char because int might match the return type of a gcc2
4975   builtin and then its argument prototype would still apply.  */
4976char $ac_func ();
4977/* The GNU C library defines this for functions which it implements
4978    to always fail with ENOSYS.  Some functions are actually named
4979    something starting with __ and the normal name is an alias.  */
4980#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4981choke me
4982#else
4983char (*f) () = $ac_func;
4984#endif
4985#ifdef __cplusplus
4986}
4987#endif
4988
4989int
4990main ()
4991{
4992return f != $ac_func;
4993  ;
4994  return 0;
4995}
4996_ACEOF
4997rm -f conftest.$ac_objext conftest$ac_exeext
4998if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4999  (eval $ac_link) 2>conftest.er1
5000  ac_status=$?
5001  grep -v '^ *+' conftest.er1 >conftest.err
5002  rm -f conftest.er1
5003  cat conftest.err >&5
5004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005  (exit $ac_status); } &&
5006	 { ac_try='test -z "$ac_c_werror_flag"
5007			 || test ! -s conftest.err'
5008  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009  (eval $ac_try) 2>&5
5010  ac_status=$?
5011  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012  (exit $ac_status); }; } &&
5013	 { ac_try='test -s conftest$ac_exeext'
5014  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015  (eval $ac_try) 2>&5
5016  ac_status=$?
5017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018  (exit $ac_status); }; }; then
5019  eval "$as_ac_var=yes"
5020else
5021  echo "$as_me: failed program was:" >&5
5022sed 's/^/| /' conftest.$ac_ext >&5
5023
5024eval "$as_ac_var=no"
5025fi
5026rm -f conftest.err conftest.$ac_objext \
5027      conftest$ac_exeext conftest.$ac_ext
5028fi
5029echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5030echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5031if test `eval echo '${'$as_ac_var'}'` = yes; then
5032  cat >>confdefs.h <<_ACEOF
5033#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5034_ACEOF
5035
5036echo "$as_me:$LINENO: checking for _doprnt" >&5
5037echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5038if test "${ac_cv_func__doprnt+set}" = set; then
5039  echo $ECHO_N "(cached) $ECHO_C" >&6
5040else
5041  cat >conftest.$ac_ext <<_ACEOF
5042/* confdefs.h.  */
5043_ACEOF
5044cat confdefs.h >>conftest.$ac_ext
5045cat >>conftest.$ac_ext <<_ACEOF
5046/* end confdefs.h.  */
5047/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5048   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5049#define _doprnt innocuous__doprnt
5050
5051/* System header to define __stub macros and hopefully few prototypes,
5052    which can conflict with char _doprnt (); below.
5053    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5054    <limits.h> exists even on freestanding compilers.  */
5055
5056#ifdef __STDC__
5057# include <limits.h>
5058#else
5059# include <assert.h>
5060#endif
5061
5062#undef _doprnt
5063
5064/* Override any gcc2 internal prototype to avoid an error.  */
5065#ifdef __cplusplus
5066extern "C"
5067{
5068#endif
5069/* We use char because int might match the return type of a gcc2
5070   builtin and then its argument prototype would still apply.  */
5071char _doprnt ();
5072/* The GNU C library defines this for functions which it implements
5073    to always fail with ENOSYS.  Some functions are actually named
5074    something starting with __ and the normal name is an alias.  */
5075#if defined (__stub__doprnt) || defined (__stub____doprnt)
5076choke me
5077#else
5078char (*f) () = _doprnt;
5079#endif
5080#ifdef __cplusplus
5081}
5082#endif
5083
5084int
5085main ()
5086{
5087return f != _doprnt;
5088  ;
5089  return 0;
5090}
5091_ACEOF
5092rm -f conftest.$ac_objext conftest$ac_exeext
5093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5094  (eval $ac_link) 2>conftest.er1
5095  ac_status=$?
5096  grep -v '^ *+' conftest.er1 >conftest.err
5097  rm -f conftest.er1
5098  cat conftest.err >&5
5099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100  (exit $ac_status); } &&
5101	 { ac_try='test -z "$ac_c_werror_flag"
5102			 || test ! -s conftest.err'
5103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104  (eval $ac_try) 2>&5
5105  ac_status=$?
5106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107  (exit $ac_status); }; } &&
5108	 { ac_try='test -s conftest$ac_exeext'
5109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110  (eval $ac_try) 2>&5
5111  ac_status=$?
5112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113  (exit $ac_status); }; }; then
5114  ac_cv_func__doprnt=yes
5115else
5116  echo "$as_me: failed program was:" >&5
5117sed 's/^/| /' conftest.$ac_ext >&5
5118
5119ac_cv_func__doprnt=no
5120fi
5121rm -f conftest.err conftest.$ac_objext \
5122      conftest$ac_exeext conftest.$ac_ext
5123fi
5124echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5125echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5126if test $ac_cv_func__doprnt = yes; then
5127
5128cat >>confdefs.h <<\_ACEOF
5129#define HAVE_DOPRNT 1
5130_ACEOF
5131
5132fi
5133
5134fi
5135done
5136
5137
5138
5139# Extract the first word of "perl", so it can be a program name with args.
5140set dummy perl; ac_word=$2
5141echo "$as_me:$LINENO: checking for $ac_word" >&5
5142echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143if test "${ac_cv_path_PERL+set}" = set; then
5144  echo $ECHO_N "(cached) $ECHO_C" >&6
5145else
5146  case $PERL in
5147  [\\/]* | ?:[\\/]*)
5148  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5149  ;;
5150  *)
5151  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152for as_dir in $PATH
5153do
5154  IFS=$as_save_IFS
5155  test -z "$as_dir" && as_dir=.
5156  for ac_exec_ext in '' $ac_executable_extensions; do
5157  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5159    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160    break 2
5161  fi
5162done
5163done
5164
5165  ;;
5166esac
5167fi
5168PERL=$ac_cv_path_PERL
5169
5170if test -n "$PERL"; then
5171  echo "$as_me:$LINENO: result: $PERL" >&5
5172echo "${ECHO_T}$PERL" >&6
5173else
5174  echo "$as_me:$LINENO: result: no" >&5
5175echo "${ECHO_T}no" >&6
5176fi
5177
5178if test -z "$PERL"
5179then
5180    { { echo "$as_me:$LINENO: error: perl not found" >&5
5181echo "$as_me: error: perl not found" >&2;}
5182   { (exit 1); exit 1; }; }
5183fi
5184
5185
5186# IPv6-check fix (taken from OpenSSH portable configure.ac) by wouter@widexs.nl - 03/06/2003
5187echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
5188echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
5189if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
5190  echo $ECHO_N "(cached) $ECHO_C" >&6
5191else
5192
5193        cat >conftest.$ac_ext <<_ACEOF
5194/* confdefs.h.  */
5195_ACEOF
5196cat confdefs.h >>conftest.$ac_ext
5197cat >>conftest.$ac_ext <<_ACEOF
5198/* end confdefs.h.  */
5199
5200#include <sys/types.h>
5201#include <sys/socket.h>
5202
5203int
5204main ()
5205{
5206 struct sockaddr_storage s; s.ss_family = 1;
5207  ;
5208  return 0;
5209}
5210_ACEOF
5211rm -f conftest.$ac_objext
5212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5213  (eval $ac_compile) 2>conftest.er1
5214  ac_status=$?
5215  grep -v '^ *+' conftest.er1 >conftest.err
5216  rm -f conftest.er1
5217  cat conftest.err >&5
5218  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219  (exit $ac_status); } &&
5220	 { ac_try='test -z "$ac_c_werror_flag"
5221			 || test ! -s conftest.err'
5222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5223  (eval $ac_try) 2>&5
5224  ac_status=$?
5225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226  (exit $ac_status); }; } &&
5227	 { ac_try='test -s conftest.$ac_objext'
5228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229  (eval $ac_try) 2>&5
5230  ac_status=$?
5231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232  (exit $ac_status); }; }; then
5233   ac_cv_have_ss_family_in_struct_ss="yes"
5234else
5235  echo "$as_me: failed program was:" >&5
5236sed 's/^/| /' conftest.$ac_ext >&5
5237
5238 ac_cv_have_ss_family_in_struct_ss="no"
5239fi
5240rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5241
5242fi
5243echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
5244echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
5245
5246echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
5247echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
5248if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
5249  echo $ECHO_N "(cached) $ECHO_C" >&6
5250else
5251
5252        cat >conftest.$ac_ext <<_ACEOF
5253/* confdefs.h.  */
5254_ACEOF
5255cat confdefs.h >>conftest.$ac_ext
5256cat >>conftest.$ac_ext <<_ACEOF
5257/* end confdefs.h.  */
5258
5259#include <sys/types.h>
5260#include <sys/socket.h>
5261
5262int
5263main ()
5264{
5265 struct sockaddr_storage s; s.__ss_family = 1;
5266  ;
5267  return 0;
5268}
5269_ACEOF
5270rm -f conftest.$ac_objext
5271if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272  (eval $ac_compile) 2>conftest.er1
5273  ac_status=$?
5274  grep -v '^ *+' conftest.er1 >conftest.err
5275  rm -f conftest.er1
5276  cat conftest.err >&5
5277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278  (exit $ac_status); } &&
5279	 { ac_try='test -z "$ac_c_werror_flag"
5280			 || test ! -s conftest.err'
5281  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282  (eval $ac_try) 2>&5
5283  ac_status=$?
5284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285  (exit $ac_status); }; } &&
5286	 { ac_try='test -s conftest.$ac_objext'
5287  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288  (eval $ac_try) 2>&5
5289  ac_status=$?
5290  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291  (exit $ac_status); }; }; then
5292   ac_cv_have___ss_family_in_struct_ss="yes"
5293else
5294  echo "$as_me: failed program was:" >&5
5295sed 's/^/| /' conftest.$ac_ext >&5
5296
5297 ac_cv_have___ss_family_in_struct_ss="no"
5298
5299fi
5300rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5301
5302fi
5303echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
5304echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
5305if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
5306        cat >>confdefs.h <<\_ACEOF
5307#define HAVE_SS_FAMILY_IN_SS 1
5308_ACEOF
5309
5310elif test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
5311        cat >>confdefs.h <<\_ACEOF
5312#define HAVE___SS_FAMILY 1
5313_ACEOF
5314
5315else
5316	{ { echo "$as_me:$LINENO: error:
5317                     *** No IPv6 Support detected !!! ***
5318		     Please download ripe-whois-$VERSION_NO_IPV6" >&5
5319echo "$as_me: error:
5320                     *** No IPv6 Support detected !!! ***
5321		     Please download ripe-whois-$VERSION_NO_IPV6" >&2;}
5322   { (exit 1); exit 1; }; }
5323fi
5324
5325          ac_config_files="$ac_config_files Makefile"
5326cat >confcache <<\_ACEOF
5327# This file is a shell script that caches the results of configure
5328# tests run on this system so they can be shared between configure
5329# scripts and configure runs, see configure's option --config-cache.
5330# It is not useful on other systems.  If it contains results you don't
5331# want to keep, you may remove or edit it.
5332#
5333# config.status only pays attention to the cache file if you give it
5334# the --recheck option to rerun configure.
5335#
5336# `ac_cv_env_foo' variables (set or unset) will be overridden when
5337# loading this file, other *unset* `ac_cv_foo' will be assigned the
5338# following values.
5339
5340_ACEOF
5341
5342# The following way of writing the cache mishandles newlines in values,
5343# but we know of no workaround that is simple, portable, and efficient.
5344# So, don't put newlines in cache variables' values.
5345# Ultrix sh set writes to stderr and can't be redirected directly,
5346# and sets the high bit in the cache file unless we assign to the vars.
5347{
5348  (set) 2>&1 |
5349    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5350    *ac_space=\ *)
5351      # `set' does not quote correctly, so add quotes (double-quote
5352      # substitution turns \\\\ into \\, and sed turns \\ into \).
5353      sed -n \
5354	"s/'/'\\\\''/g;
5355	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5356      ;;
5357    *)
5358      # `set' quotes correctly as required by POSIX, so do not add quotes.
5359      sed -n \
5360	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5361      ;;
5362    esac;
5363} |
5364  sed '
5365     t clear
5366     : clear
5367     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5368     t end
5369     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5370     : end' >>confcache
5371if diff $cache_file confcache >/dev/null 2>&1; then :; else
5372  if test -w $cache_file; then
5373    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5374    cat confcache >$cache_file
5375  else
5376    echo "not updating unwritable cache $cache_file"
5377  fi
5378fi
5379rm -f confcache
5380
5381test "x$prefix" = xNONE && prefix=$ac_default_prefix
5382# Let make expand exec_prefix.
5383test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5384
5385# VPATH may cause trouble with some makes, so we remove $(srcdir),
5386# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5387# trailing colons and then remove the whole line if VPATH becomes empty
5388# (actually we leave an empty line to preserve line numbers).
5389if test "x$srcdir" = x.; then
5390  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5391s/:*\$(srcdir):*/:/;
5392s/:*\${srcdir}:*/:/;
5393s/:*@srcdir@:*/:/;
5394s/^\([^=]*=[	 ]*\):*/\1/;
5395s/:*$//;
5396s/^[^=]*=[	 ]*$//;
5397}'
5398fi
5399
5400# Transform confdefs.h into DEFS.
5401# Protect against shell expansion while executing Makefile rules.
5402# Protect against Makefile macro expansion.
5403#
5404# If the first sed substitution is executed (which looks for macros that
5405# take arguments), then we branch to the quote section.  Otherwise,
5406# look for a macro that doesn't take arguments.
5407cat >confdef2opt.sed <<\_ACEOF
5408t clear
5409: clear
5410s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
5411t quote
5412s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
5413t quote
5414d
5415: quote
5416s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
5417s,\[,\\&,g
5418s,\],\\&,g
5419s,\$,$$,g
5420p
5421_ACEOF
5422# We use echo to avoid assuming a particular line-breaking character.
5423# The extra dot is to prevent the shell from consuming trailing
5424# line-breaks from the sub-command output.  A line-break within
5425# single-quotes doesn't work because, if this script is created in a
5426# platform that uses two characters for line-breaks (e.g., DOS), tr
5427# would break.
5428ac_LF_and_DOT=`echo; echo .`
5429DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5430rm -f confdef2opt.sed
5431
5432
5433ac_libobjs=
5434ac_ltlibobjs=
5435for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5436  # 1. Remove the extension, and $U if already installed.
5437  ac_i=`echo "$ac_i" |
5438	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5439  # 2. Add them.
5440  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5441  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5442done
5443LIBOBJS=$ac_libobjs
5444
5445LTLIBOBJS=$ac_ltlibobjs
5446
5447
5448if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5449  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5450Usually this means the macro was only invoked conditionally." >&5
5451echo "$as_me: error: conditional \"AMDEP\" was never defined.
5452Usually this means the macro was only invoked conditionally." >&2;}
5453   { (exit 1); exit 1; }; }
5454fi
5455if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5456  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5457Usually this means the macro was only invoked conditionally." >&5
5458echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5459Usually this means the macro was only invoked conditionally." >&2;}
5460   { (exit 1); exit 1; }; }
5461fi
5462
5463: ${CONFIG_STATUS=./config.status}
5464ac_clean_files_save=$ac_clean_files
5465ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5466{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5467echo "$as_me: creating $CONFIG_STATUS" >&6;}
5468cat >$CONFIG_STATUS <<_ACEOF
5469#! $SHELL
5470# Generated by $as_me.
5471# Run this file to recreate the current configuration.
5472# Compiler output produced by configure, useful for debugging
5473# configure, is in config.log if it exists.
5474
5475debug=false
5476ac_cs_recheck=false
5477ac_cs_silent=false
5478SHELL=\${CONFIG_SHELL-$SHELL}
5479_ACEOF
5480
5481cat >>$CONFIG_STATUS <<\_ACEOF
5482## --------------------- ##
5483## M4sh Initialization.  ##
5484## --------------------- ##
5485
5486# Be Bourne compatible
5487if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5488  emulate sh
5489  NULLCMD=:
5490  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5491  # is contrary to our usage.  Disable this feature.
5492  alias -g '${1+"$@"}'='"$@"'
5493elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5494  set -o posix
5495fi
5496DUALCASE=1; export DUALCASE # for MKS sh
5497
5498# Support unset when possible.
5499if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5500  as_unset=unset
5501else
5502  as_unset=false
5503fi
5504
5505
5506# Work around bugs in pre-3.0 UWIN ksh.
5507$as_unset ENV MAIL MAILPATH
5508PS1='$ '
5509PS2='> '
5510PS4='+ '
5511
5512# NLS nuisances.
5513for as_var in \
5514  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5515  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5516  LC_TELEPHONE LC_TIME
5517do
5518  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5519    eval $as_var=C; export $as_var
5520  else
5521    $as_unset $as_var
5522  fi
5523done
5524
5525# Required to use basename.
5526if expr a : '\(a\)' >/dev/null 2>&1; then
5527  as_expr=expr
5528else
5529  as_expr=false
5530fi
5531
5532if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5533  as_basename=basename
5534else
5535  as_basename=false
5536fi
5537
5538
5539# Name of the executable.
5540as_me=`$as_basename "$0" ||
5541$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5542	 X"$0" : 'X\(//\)$' \| \
5543	 X"$0" : 'X\(/\)$' \| \
5544	 .     : '\(.\)' 2>/dev/null ||
5545echo X/"$0" |
5546    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5547  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
5548  	  /^X\/\(\/\).*/{ s//\1/; q; }
5549  	  s/.*/./; q'`
5550
5551
5552# PATH needs CR, and LINENO needs CR and PATH.
5553# Avoid depending upon Character Ranges.
5554as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5555as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5556as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5557as_cr_digits='0123456789'
5558as_cr_alnum=$as_cr_Letters$as_cr_digits
5559
5560# The user is always right.
5561if test "${PATH_SEPARATOR+set}" != set; then
5562  echo "#! /bin/sh" >conf$$.sh
5563  echo  "exit 0"   >>conf$$.sh
5564  chmod +x conf$$.sh
5565  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5566    PATH_SEPARATOR=';'
5567  else
5568    PATH_SEPARATOR=:
5569  fi
5570  rm -f conf$$.sh
5571fi
5572
5573
5574  as_lineno_1=$LINENO
5575  as_lineno_2=$LINENO
5576  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5577  test "x$as_lineno_1" != "x$as_lineno_2" &&
5578  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5579  # Find who we are.  Look in the path if we contain no path at all
5580  # relative or not.
5581  case $0 in
5582    *[\\/]* ) as_myself=$0 ;;
5583    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584for as_dir in $PATH
5585do
5586  IFS=$as_save_IFS
5587  test -z "$as_dir" && as_dir=.
5588  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5589done
5590
5591       ;;
5592  esac
5593  # We did not find ourselves, most probably we were run as `sh COMMAND'
5594  # in which case we are not to be found in the path.
5595  if test "x$as_myself" = x; then
5596    as_myself=$0
5597  fi
5598  if test ! -f "$as_myself"; then
5599    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5600echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5601   { (exit 1); exit 1; }; }
5602  fi
5603  case $CONFIG_SHELL in
5604  '')
5605    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5607do
5608  IFS=$as_save_IFS
5609  test -z "$as_dir" && as_dir=.
5610  for as_base in sh bash ksh sh5; do
5611	 case $as_dir in
5612	 /*)
5613	   if ("$as_dir/$as_base" -c '
5614  as_lineno_1=$LINENO
5615  as_lineno_2=$LINENO
5616  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5617  test "x$as_lineno_1" != "x$as_lineno_2" &&
5618  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5619	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5620	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5621	     CONFIG_SHELL=$as_dir/$as_base
5622	     export CONFIG_SHELL
5623	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5624	   fi;;
5625	 esac
5626       done
5627done
5628;;
5629  esac
5630
5631  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5632  # uniformly replaced by the line number.  The first 'sed' inserts a
5633  # line-number line before each line; the second 'sed' does the real
5634  # work.  The second script uses 'N' to pair each line-number line
5635  # with the numbered line, and appends trailing '-' during
5636  # substitution so that $LINENO is not a special case at line end.
5637  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5638  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5639  sed '=' <$as_myself |
5640    sed '
5641      N
5642      s,$,-,
5643      : loop
5644      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5645      t loop
5646      s,-$,,
5647      s,^['$as_cr_digits']*\n,,
5648    ' >$as_me.lineno &&
5649  chmod +x $as_me.lineno ||
5650    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5651echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5652   { (exit 1); exit 1; }; }
5653
5654  # Don't try to exec as it changes $[0], causing all sort of problems
5655  # (the dirname of $[0] is not the place where we might find the
5656  # original and so on.  Autoconf is especially sensible to this).
5657  . ./$as_me.lineno
5658  # Exit status is that of the last command.
5659  exit
5660}
5661
5662
5663case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5664  *c*,-n*) ECHO_N= ECHO_C='
5665' ECHO_T='	' ;;
5666  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5667  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5668esac
5669
5670if expr a : '\(a\)' >/dev/null 2>&1; then
5671  as_expr=expr
5672else
5673  as_expr=false
5674fi
5675
5676rm -f conf$$ conf$$.exe conf$$.file
5677echo >conf$$.file
5678if ln -s conf$$.file conf$$ 2>/dev/null; then
5679  # We could just check for DJGPP; but this test a) works b) is more generic
5680  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5681  if test -f conf$$.exe; then
5682    # Don't use ln at all; we don't have any links
5683    as_ln_s='cp -p'
5684  else
5685    as_ln_s='ln -s'
5686  fi
5687elif ln conf$$.file conf$$ 2>/dev/null; then
5688  as_ln_s=ln
5689else
5690  as_ln_s='cp -p'
5691fi
5692rm -f conf$$ conf$$.exe conf$$.file
5693
5694if mkdir -p . 2>/dev/null; then
5695  as_mkdir_p=:
5696else
5697  test -d ./-p && rmdir ./-p
5698  as_mkdir_p=false
5699fi
5700
5701as_executable_p="test -f"
5702
5703# Sed expression to map a string onto a valid CPP name.
5704as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5705
5706# Sed expression to map a string onto a valid variable name.
5707as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5708
5709
5710# IFS
5711# We need space, tab and new line, in precisely that order.
5712as_nl='
5713'
5714IFS=" 	$as_nl"
5715
5716# CDPATH.
5717$as_unset CDPATH
5718
5719exec 6>&1
5720
5721# Open the log real soon, to keep \$[0] and so on meaningful, and to
5722# report actual input values of CONFIG_FILES etc. instead of their
5723# values after options handling.  Logging --version etc. is OK.
5724exec 5>>config.log
5725{
5726  echo
5727  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5728## Running $as_me. ##
5729_ASBOX
5730} >&5
5731cat >&5 <<_CSEOF
5732
5733This file was extended by whois3 $as_me 3.2.2, which was
5734generated by GNU Autoconf 2.59.  Invocation command line was
5735
5736  CONFIG_FILES    = $CONFIG_FILES
5737  CONFIG_HEADERS  = $CONFIG_HEADERS
5738  CONFIG_LINKS    = $CONFIG_LINKS
5739  CONFIG_COMMANDS = $CONFIG_COMMANDS
5740  $ $0 $@
5741
5742_CSEOF
5743echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5744echo >&5
5745_ACEOF
5746
5747# Files that config.status was made for.
5748if test -n "$ac_config_files"; then
5749  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5750fi
5751
5752if test -n "$ac_config_headers"; then
5753  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5754fi
5755
5756if test -n "$ac_config_links"; then
5757  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5758fi
5759
5760if test -n "$ac_config_commands"; then
5761  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5762fi
5763
5764cat >>$CONFIG_STATUS <<\_ACEOF
5765
5766ac_cs_usage="\
5767\`$as_me' instantiates files from templates according to the
5768current configuration.
5769
5770Usage: $0 [OPTIONS] [FILE]...
5771
5772  -h, --help       print this help, then exit
5773  -V, --version    print version number, then exit
5774  -q, --quiet      do not print progress messages
5775  -d, --debug      don't remove temporary files
5776      --recheck    update $as_me by reconfiguring in the same conditions
5777  --file=FILE[:TEMPLATE]
5778		   instantiate the configuration file FILE
5779
5780Configuration files:
5781$config_files
5782
5783Configuration commands:
5784$config_commands
5785
5786Report bugs to <bug-autoconf@gnu.org>."
5787_ACEOF
5788
5789cat >>$CONFIG_STATUS <<_ACEOF
5790ac_cs_version="\\
5791whois3 config.status 3.2.2
5792configured by $0, generated by GNU Autoconf 2.59,
5793  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5794
5795Copyright (C) 2003 Free Software Foundation, Inc.
5796This config.status script is free software; the Free Software Foundation
5797gives unlimited permission to copy, distribute and modify it."
5798srcdir=$srcdir
5799INSTALL="$INSTALL"
5800_ACEOF
5801
5802cat >>$CONFIG_STATUS <<\_ACEOF
5803# If no file are specified by the user, then we need to provide default
5804# value.  By we need to know if files were specified by the user.
5805ac_need_defaults=:
5806while test $# != 0
5807do
5808  case $1 in
5809  --*=*)
5810    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5811    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5812    ac_shift=:
5813    ;;
5814  -*)
5815    ac_option=$1
5816    ac_optarg=$2
5817    ac_shift=shift
5818    ;;
5819  *) # This is not an option, so the user has probably given explicit
5820     # arguments.
5821     ac_option=$1
5822     ac_need_defaults=false;;
5823  esac
5824
5825  case $ac_option in
5826  # Handling of the options.
5827_ACEOF
5828cat >>$CONFIG_STATUS <<\_ACEOF
5829  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5830    ac_cs_recheck=: ;;
5831  --version | --vers* | -V )
5832    echo "$ac_cs_version"; exit 0 ;;
5833  --he | --h)
5834    # Conflict between --help and --header
5835    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5836Try \`$0 --help' for more information." >&5
5837echo "$as_me: error: ambiguous option: $1
5838Try \`$0 --help' for more information." >&2;}
5839   { (exit 1); exit 1; }; };;
5840  --help | --hel | -h )
5841    echo "$ac_cs_usage"; exit 0 ;;
5842  --debug | --d* | -d )
5843    debug=: ;;
5844  --file | --fil | --fi | --f )
5845    $ac_shift
5846    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5847    ac_need_defaults=false;;
5848  --header | --heade | --head | --hea )
5849    $ac_shift
5850    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5851    ac_need_defaults=false;;
5852  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5853  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5854    ac_cs_silent=: ;;
5855
5856  # This is an error.
5857  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5858Try \`$0 --help' for more information." >&5
5859echo "$as_me: error: unrecognized option: $1
5860Try \`$0 --help' for more information." >&2;}
5861   { (exit 1); exit 1; }; } ;;
5862
5863  *) ac_config_targets="$ac_config_targets $1" ;;
5864
5865  esac
5866  shift
5867done
5868
5869ac_configure_extra_args=
5870
5871if $ac_cs_silent; then
5872  exec 6>/dev/null
5873  ac_configure_extra_args="$ac_configure_extra_args --silent"
5874fi
5875
5876_ACEOF
5877cat >>$CONFIG_STATUS <<_ACEOF
5878if \$ac_cs_recheck; then
5879  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5880  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5881fi
5882
5883_ACEOF
5884
5885cat >>$CONFIG_STATUS <<_ACEOF
5886#
5887# INIT-COMMANDS section.
5888#
5889
5890AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5891
5892_ACEOF
5893
5894
5895
5896cat >>$CONFIG_STATUS <<\_ACEOF
5897for ac_config_target in $ac_config_targets
5898do
5899  case "$ac_config_target" in
5900  # Handling of arguments.
5901  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5902  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5903  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5904echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5905   { (exit 1); exit 1; }; };;
5906  esac
5907done
5908
5909# If the user did not use the arguments to specify the items to instantiate,
5910# then the envvar interface is used.  Set only those that are not.
5911# We use the long form for the default assignment because of an extremely
5912# bizarre bug on SunOS 4.1.3.
5913if $ac_need_defaults; then
5914  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5915  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5916fi
5917
5918# Have a temporary directory for convenience.  Make it in the build tree
5919# simply because there is no reason to put it here, and in addition,
5920# creating and moving files from /tmp can sometimes cause problems.
5921# Create a temporary directory, and hook for its removal unless debugging.
5922$debug ||
5923{
5924  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5925  trap '{ (exit 1); exit 1; }' 1 2 13 15
5926}
5927
5928# Create a (secure) tmp directory for tmp files.
5929
5930{
5931  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5932  test -n "$tmp" && test -d "$tmp"
5933}  ||
5934{
5935  tmp=./confstat$$-$RANDOM
5936  (umask 077 && mkdir $tmp)
5937} ||
5938{
5939   echo "$me: cannot create a temporary directory in ." >&2
5940   { (exit 1); exit 1; }
5941}
5942
5943_ACEOF
5944
5945cat >>$CONFIG_STATUS <<_ACEOF
5946
5947#
5948# CONFIG_FILES section.
5949#
5950
5951# No need to generate the scripts if there are no CONFIG_FILES.
5952# This happens for instance when ./config.status config.h
5953if test -n "\$CONFIG_FILES"; then
5954  # Protect against being on the right side of a sed subst in config.status.
5955  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5956   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5957s,@SHELL@,$SHELL,;t t
5958s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5959s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5960s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5961s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5962s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5963s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5964s,@exec_prefix@,$exec_prefix,;t t
5965s,@prefix@,$prefix,;t t
5966s,@program_transform_name@,$program_transform_name,;t t
5967s,@bindir@,$bindir,;t t
5968s,@sbindir@,$sbindir,;t t
5969s,@libexecdir@,$libexecdir,;t t
5970s,@datadir@,$datadir,;t t
5971s,@sysconfdir@,$sysconfdir,;t t
5972s,@sharedstatedir@,$sharedstatedir,;t t
5973s,@localstatedir@,$localstatedir,;t t
5974s,@libdir@,$libdir,;t t
5975s,@includedir@,$includedir,;t t
5976s,@oldincludedir@,$oldincludedir,;t t
5977s,@infodir@,$infodir,;t t
5978s,@mandir@,$mandir,;t t
5979s,@build_alias@,$build_alias,;t t
5980s,@host_alias@,$host_alias,;t t
5981s,@target_alias@,$target_alias,;t t
5982s,@DEFS@,$DEFS,;t t
5983s,@ECHO_C@,$ECHO_C,;t t
5984s,@ECHO_N@,$ECHO_N,;t t
5985s,@ECHO_T@,$ECHO_T,;t t
5986s,@LIBS@,$LIBS,;t t
5987s,@PRODUCT@,$PRODUCT,;t t
5988s,@VERSION@,$VERSION,;t t
5989s,@CC@,$CC,;t t
5990s,@CFLAGS@,$CFLAGS,;t t
5991s,@LDFLAGS@,$LDFLAGS,;t t
5992s,@CPPFLAGS@,$CPPFLAGS,;t t
5993s,@ac_ct_CC@,$ac_ct_CC,;t t
5994s,@EXEEXT@,$EXEEXT,;t t
5995s,@OBJEXT@,$OBJEXT,;t t
5996s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5997s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5998s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5999s,@LN_S@,$LN_S,;t t
6000s,@RANLIB@,$RANLIB,;t t
6001s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6002s,@CYGPATH_W@,$CYGPATH_W,;t t
6003s,@PACKAGE@,$PACKAGE,;t t
6004s,@ACLOCAL@,$ACLOCAL,;t t
6005s,@AUTOCONF@,$AUTOCONF,;t t
6006s,@AUTOMAKE@,$AUTOMAKE,;t t
6007s,@AUTOHEADER@,$AUTOHEADER,;t t
6008s,@MAKEINFO@,$MAKEINFO,;t t
6009s,@install_sh@,$install_sh,;t t
6010s,@STRIP@,$STRIP,;t t
6011s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6012s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6013s,@mkdir_p@,$mkdir_p,;t t
6014s,@AWK@,$AWK,;t t
6015s,@SET_MAKE@,$SET_MAKE,;t t
6016s,@am__leading_dot@,$am__leading_dot,;t t
6017s,@AMTAR@,$AMTAR,;t t
6018s,@am__tar@,$am__tar,;t t
6019s,@am__untar@,$am__untar,;t t
6020s,@DEPDIR@,$DEPDIR,;t t
6021s,@am__include@,$am__include,;t t
6022s,@am__quote@,$am__quote,;t t
6023s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6024s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6025s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6026s,@CCDEPMODE@,$CCDEPMODE,;t t
6027s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6028s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6029s,@CPP@,$CPP,;t t
6030s,@EGREP@,$EGREP,;t t
6031s,@LIBOBJS@,$LIBOBJS,;t t
6032s,@PERL@,$PERL,;t t
6033s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6034CEOF
6035
6036_ACEOF
6037
6038  cat >>$CONFIG_STATUS <<\_ACEOF
6039  # Split the substitutions into bite-sized pieces for seds with
6040  # small command number limits, like on Digital OSF/1 and HP-UX.
6041  ac_max_sed_lines=48
6042  ac_sed_frag=1 # Number of current file.
6043  ac_beg=1 # First line for current file.
6044  ac_end=$ac_max_sed_lines # Line after last line for current file.
6045  ac_more_lines=:
6046  ac_sed_cmds=
6047  while $ac_more_lines; do
6048    if test $ac_beg -gt 1; then
6049      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6050    else
6051      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6052    fi
6053    if test ! -s $tmp/subs.frag; then
6054      ac_more_lines=false
6055    else
6056      # The purpose of the label and of the branching condition is to
6057      # speed up the sed processing (if there are no `@' at all, there
6058      # is no need to browse any of the substitutions).
6059      # These are the two extra sed commands mentioned above.
6060      (echo ':t
6061  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6062      if test -z "$ac_sed_cmds"; then
6063	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6064      else
6065	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6066      fi
6067      ac_sed_frag=`expr $ac_sed_frag + 1`
6068      ac_beg=$ac_end
6069      ac_end=`expr $ac_end + $ac_max_sed_lines`
6070    fi
6071  done
6072  if test -z "$ac_sed_cmds"; then
6073    ac_sed_cmds=cat
6074  fi
6075fi # test -n "$CONFIG_FILES"
6076
6077_ACEOF
6078cat >>$CONFIG_STATUS <<\_ACEOF
6079for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6080  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6081  case $ac_file in
6082  - | *:- | *:-:* ) # input from stdin
6083	cat >$tmp/stdin
6084	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6085	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6086  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6087	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6088  * )   ac_file_in=$ac_file.in ;;
6089  esac
6090
6091  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6092  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6093$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6094	 X"$ac_file" : 'X\(//\)[^/]' \| \
6095	 X"$ac_file" : 'X\(//\)$' \| \
6096	 X"$ac_file" : 'X\(/\)' \| \
6097	 .     : '\(.\)' 2>/dev/null ||
6098echo X"$ac_file" |
6099    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6100  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6101  	  /^X\(\/\/\)$/{ s//\1/; q; }
6102  	  /^X\(\/\).*/{ s//\1/; q; }
6103  	  s/.*/./; q'`
6104  { if $as_mkdir_p; then
6105    mkdir -p "$ac_dir"
6106  else
6107    as_dir="$ac_dir"
6108    as_dirs=
6109    while test ! -d "$as_dir"; do
6110      as_dirs="$as_dir $as_dirs"
6111      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6112$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6113	 X"$as_dir" : 'X\(//\)[^/]' \| \
6114	 X"$as_dir" : 'X\(//\)$' \| \
6115	 X"$as_dir" : 'X\(/\)' \| \
6116	 .     : '\(.\)' 2>/dev/null ||
6117echo X"$as_dir" |
6118    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6119  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6120  	  /^X\(\/\/\)$/{ s//\1/; q; }
6121  	  /^X\(\/\).*/{ s//\1/; q; }
6122  	  s/.*/./; q'`
6123    done
6124    test ! -n "$as_dirs" || mkdir $as_dirs
6125  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6126echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6127   { (exit 1); exit 1; }; }; }
6128
6129  ac_builddir=.
6130
6131if test "$ac_dir" != .; then
6132  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6133  # A "../" for each directory in $ac_dir_suffix.
6134  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6135else
6136  ac_dir_suffix= ac_top_builddir=
6137fi
6138
6139case $srcdir in
6140  .)  # No --srcdir option.  We are building in place.
6141    ac_srcdir=.
6142    if test -z "$ac_top_builddir"; then
6143       ac_top_srcdir=.
6144    else
6145       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6146    fi ;;
6147  [\\/]* | ?:[\\/]* )  # Absolute path.
6148    ac_srcdir=$srcdir$ac_dir_suffix;
6149    ac_top_srcdir=$srcdir ;;
6150  *) # Relative path.
6151    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6152    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6153esac
6154
6155# Do not use `cd foo && pwd` to compute absolute paths, because
6156# the directories may not exist.
6157case `pwd` in
6158.) ac_abs_builddir="$ac_dir";;
6159*)
6160  case "$ac_dir" in
6161  .) ac_abs_builddir=`pwd`;;
6162  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6163  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6164  esac;;
6165esac
6166case $ac_abs_builddir in
6167.) ac_abs_top_builddir=${ac_top_builddir}.;;
6168*)
6169  case ${ac_top_builddir}. in
6170  .) ac_abs_top_builddir=$ac_abs_builddir;;
6171  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6172  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6173  esac;;
6174esac
6175case $ac_abs_builddir in
6176.) ac_abs_srcdir=$ac_srcdir;;
6177*)
6178  case $ac_srcdir in
6179  .) ac_abs_srcdir=$ac_abs_builddir;;
6180  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6181  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6182  esac;;
6183esac
6184case $ac_abs_builddir in
6185.) ac_abs_top_srcdir=$ac_top_srcdir;;
6186*)
6187  case $ac_top_srcdir in
6188  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6189  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6190  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6191  esac;;
6192esac
6193
6194
6195  case $INSTALL in
6196  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6197  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6198  esac
6199
6200  if test x"$ac_file" != x-; then
6201    { echo "$as_me:$LINENO: creating $ac_file" >&5
6202echo "$as_me: creating $ac_file" >&6;}
6203    rm -f "$ac_file"
6204  fi
6205  # Let's still pretend it is `configure' which instantiates (i.e., don't
6206  # use $as_me), people would be surprised to read:
6207  #    /* config.h.  Generated by config.status.  */
6208  if test x"$ac_file" = x-; then
6209    configure_input=
6210  else
6211    configure_input="$ac_file.  "
6212  fi
6213  configure_input=$configure_input"Generated from `echo $ac_file_in |
6214				     sed 's,.*/,,'` by configure."
6215
6216  # First look for the input files in the build tree, otherwise in the
6217  # src tree.
6218  ac_file_inputs=`IFS=:
6219    for f in $ac_file_in; do
6220      case $f in
6221      -) echo $tmp/stdin ;;
6222      [\\/$]*)
6223	 # Absolute (can't be DOS-style, as IFS=:)
6224	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6225echo "$as_me: error: cannot find input file: $f" >&2;}
6226   { (exit 1); exit 1; }; }
6227	 echo "$f";;
6228      *) # Relative
6229	 if test -f "$f"; then
6230	   # Build tree
6231	   echo "$f"
6232	 elif test -f "$srcdir/$f"; then
6233	   # Source tree
6234	   echo "$srcdir/$f"
6235	 else
6236	   # /dev/null tree
6237	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6238echo "$as_me: error: cannot find input file: $f" >&2;}
6239   { (exit 1); exit 1; }; }
6240	 fi;;
6241      esac
6242    done` || { (exit 1); exit 1; }
6243_ACEOF
6244cat >>$CONFIG_STATUS <<_ACEOF
6245  sed "$ac_vpsub
6246$extrasub
6247_ACEOF
6248cat >>$CONFIG_STATUS <<\_ACEOF
6249:t
6250/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6251s,@configure_input@,$configure_input,;t t
6252s,@srcdir@,$ac_srcdir,;t t
6253s,@abs_srcdir@,$ac_abs_srcdir,;t t
6254s,@top_srcdir@,$ac_top_srcdir,;t t
6255s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6256s,@builddir@,$ac_builddir,;t t
6257s,@abs_builddir@,$ac_abs_builddir,;t t
6258s,@top_builddir@,$ac_top_builddir,;t t
6259s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6260s,@INSTALL@,$ac_INSTALL,;t t
6261" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6262  rm -f $tmp/stdin
6263  if test x"$ac_file" != x-; then
6264    mv $tmp/out $ac_file
6265  else
6266    cat $tmp/out
6267    rm -f $tmp/out
6268  fi
6269
6270done
6271_ACEOF
6272cat >>$CONFIG_STATUS <<\_ACEOF
6273
6274#
6275# CONFIG_COMMANDS section.
6276#
6277for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6278  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6279  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6280  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6281$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6282	 X"$ac_dest" : 'X\(//\)[^/]' \| \
6283	 X"$ac_dest" : 'X\(//\)$' \| \
6284	 X"$ac_dest" : 'X\(/\)' \| \
6285	 .     : '\(.\)' 2>/dev/null ||
6286echo X"$ac_dest" |
6287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6288  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6289  	  /^X\(\/\/\)$/{ s//\1/; q; }
6290  	  /^X\(\/\).*/{ s//\1/; q; }
6291  	  s/.*/./; q'`
6292  { if $as_mkdir_p; then
6293    mkdir -p "$ac_dir"
6294  else
6295    as_dir="$ac_dir"
6296    as_dirs=
6297    while test ! -d "$as_dir"; do
6298      as_dirs="$as_dir $as_dirs"
6299      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6300$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6301	 X"$as_dir" : 'X\(//\)[^/]' \| \
6302	 X"$as_dir" : 'X\(//\)$' \| \
6303	 X"$as_dir" : 'X\(/\)' \| \
6304	 .     : '\(.\)' 2>/dev/null ||
6305echo X"$as_dir" |
6306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6307  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6308  	  /^X\(\/\/\)$/{ s//\1/; q; }
6309  	  /^X\(\/\).*/{ s//\1/; q; }
6310  	  s/.*/./; q'`
6311    done
6312    test ! -n "$as_dirs" || mkdir $as_dirs
6313  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6314echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6315   { (exit 1); exit 1; }; }; }
6316
6317  ac_builddir=.
6318
6319if test "$ac_dir" != .; then
6320  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6321  # A "../" for each directory in $ac_dir_suffix.
6322  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6323else
6324  ac_dir_suffix= ac_top_builddir=
6325fi
6326
6327case $srcdir in
6328  .)  # No --srcdir option.  We are building in place.
6329    ac_srcdir=.
6330    if test -z "$ac_top_builddir"; then
6331       ac_top_srcdir=.
6332    else
6333       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6334    fi ;;
6335  [\\/]* | ?:[\\/]* )  # Absolute path.
6336    ac_srcdir=$srcdir$ac_dir_suffix;
6337    ac_top_srcdir=$srcdir ;;
6338  *) # Relative path.
6339    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6340    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6341esac
6342
6343# Do not use `cd foo && pwd` to compute absolute paths, because
6344# the directories may not exist.
6345case `pwd` in
6346.) ac_abs_builddir="$ac_dir";;
6347*)
6348  case "$ac_dir" in
6349  .) ac_abs_builddir=`pwd`;;
6350  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6351  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6352  esac;;
6353esac
6354case $ac_abs_builddir in
6355.) ac_abs_top_builddir=${ac_top_builddir}.;;
6356*)
6357  case ${ac_top_builddir}. in
6358  .) ac_abs_top_builddir=$ac_abs_builddir;;
6359  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6360  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6361  esac;;
6362esac
6363case $ac_abs_builddir in
6364.) ac_abs_srcdir=$ac_srcdir;;
6365*)
6366  case $ac_srcdir in
6367  .) ac_abs_srcdir=$ac_abs_builddir;;
6368  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6369  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6370  esac;;
6371esac
6372case $ac_abs_builddir in
6373.) ac_abs_top_srcdir=$ac_top_srcdir;;
6374*)
6375  case $ac_top_srcdir in
6376  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6377  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6378  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6379  esac;;
6380esac
6381
6382
6383  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6384echo "$as_me: executing $ac_dest commands" >&6;}
6385  case $ac_dest in
6386    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6387  # Strip MF so we end up with the name of the file.
6388  mf=`echo "$mf" | sed -e 's/:.*$//'`
6389  # Check whether this is an Automake generated Makefile or not.
6390  # We used to match only the files named `Makefile.in', but
6391  # some people rename them; so instead we look at the file content.
6392  # Grep'ing the first line is not enough: some people post-process
6393  # each Makefile.in and add a new line on top of each file to say so.
6394  # So let's grep whole file.
6395  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6396    dirpart=`(dirname "$mf") 2>/dev/null ||
6397$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6398	 X"$mf" : 'X\(//\)[^/]' \| \
6399	 X"$mf" : 'X\(//\)$' \| \
6400	 X"$mf" : 'X\(/\)' \| \
6401	 .     : '\(.\)' 2>/dev/null ||
6402echo X"$mf" |
6403    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6404  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6405  	  /^X\(\/\/\)$/{ s//\1/; q; }
6406  	  /^X\(\/\).*/{ s//\1/; q; }
6407  	  s/.*/./; q'`
6408  else
6409    continue
6410  fi
6411  # Extract the definition of DEPDIR, am__include, and am__quote
6412  # from the Makefile without running `make'.
6413  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6414  test -z "$DEPDIR" && continue
6415  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6416  test -z "am__include" && continue
6417  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6418  # When using ansi2knr, U may be empty or an underscore; expand it
6419  U=`sed -n 's/^U = //p' < "$mf"`
6420  # Find all dependency output files, they are included files with
6421  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6422  # simplest approach to changing $(DEPDIR) to its actual value in the
6423  # expansion.
6424  for file in `sed -n "
6425    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6426       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6427    # Make sure the directory exists.
6428    test -f "$dirpart/$file" && continue
6429    fdir=`(dirname "$file") 2>/dev/null ||
6430$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6431	 X"$file" : 'X\(//\)[^/]' \| \
6432	 X"$file" : 'X\(//\)$' \| \
6433	 X"$file" : 'X\(/\)' \| \
6434	 .     : '\(.\)' 2>/dev/null ||
6435echo X"$file" |
6436    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6437  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6438  	  /^X\(\/\/\)$/{ s//\1/; q; }
6439  	  /^X\(\/\).*/{ s//\1/; q; }
6440  	  s/.*/./; q'`
6441    { if $as_mkdir_p; then
6442    mkdir -p $dirpart/$fdir
6443  else
6444    as_dir=$dirpart/$fdir
6445    as_dirs=
6446    while test ! -d "$as_dir"; do
6447      as_dirs="$as_dir $as_dirs"
6448      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6449$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6450	 X"$as_dir" : 'X\(//\)[^/]' \| \
6451	 X"$as_dir" : 'X\(//\)$' \| \
6452	 X"$as_dir" : 'X\(/\)' \| \
6453	 .     : '\(.\)' 2>/dev/null ||
6454echo X"$as_dir" |
6455    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6456  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6457  	  /^X\(\/\/\)$/{ s//\1/; q; }
6458  	  /^X\(\/\).*/{ s//\1/; q; }
6459  	  s/.*/./; q'`
6460    done
6461    test ! -n "$as_dirs" || mkdir $as_dirs
6462  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6463echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6464   { (exit 1); exit 1; }; }; }
6465
6466    # echo "creating $dirpart/$file"
6467    echo '# dummy' > "$dirpart/$file"
6468  done
6469done
6470 ;;
6471  esac
6472done
6473_ACEOF
6474
6475cat >>$CONFIG_STATUS <<\_ACEOF
6476
6477{ (exit 0); exit 0; }
6478_ACEOF
6479chmod +x $CONFIG_STATUS
6480ac_clean_files=$ac_clean_files_save
6481
6482
6483# configure is writing to config.log, and then calls config.status.
6484# config.status does its own redirection, appending to config.log.
6485# Unfortunately, on DOS this fails, as config.log is still kept open
6486# by configure, so config.status won't be able to write to it; its
6487# output is simply discarded.  So we exec the FD to /dev/null,
6488# effectively closing config.log, so it can be properly (re)opened and
6489# appended to by config.status.  When coming back to configure, we
6490# need to make the FD available again.
6491if test "$no_create" != yes; then
6492  ac_cs_success=:
6493  ac_config_status_args=
6494  test "$silent" = yes &&
6495    ac_config_status_args="$ac_config_status_args --quiet"
6496  exec 5>/dev/null
6497  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6498  exec 5>>config.log
6499  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6500  # would make configure fail if this is the last instruction.
6501  $ac_cs_success || { (exit 1); exit 1; }
6502fi
6503
6504          ac_config_files="$ac_config_files doc/Makefile"
6505cat >confcache <<\_ACEOF
6506# This file is a shell script that caches the results of configure
6507# tests run on this system so they can be shared between configure
6508# scripts and configure runs, see configure's option --config-cache.
6509# It is not useful on other systems.  If it contains results you don't
6510# want to keep, you may remove or edit it.
6511#
6512# config.status only pays attention to the cache file if you give it
6513# the --recheck option to rerun configure.
6514#
6515# `ac_cv_env_foo' variables (set or unset) will be overridden when
6516# loading this file, other *unset* `ac_cv_foo' will be assigned the
6517# following values.
6518
6519_ACEOF
6520
6521# The following way of writing the cache mishandles newlines in values,
6522# but we know of no workaround that is simple, portable, and efficient.
6523# So, don't put newlines in cache variables' values.
6524# Ultrix sh set writes to stderr and can't be redirected directly,
6525# and sets the high bit in the cache file unless we assign to the vars.
6526{
6527  (set) 2>&1 |
6528    case `(ac_space=' '; set | grep ac_space) 2>&1` in
6529    *ac_space=\ *)
6530      # `set' does not quote correctly, so add quotes (double-quote
6531      # substitution turns \\\\ into \\, and sed turns \\ into \).
6532      sed -n \
6533	"s/'/'\\\\''/g;
6534	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6535      ;;
6536    *)
6537      # `set' quotes correctly as required by POSIX, so do not add quotes.
6538      sed -n \
6539	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6540      ;;
6541    esac;
6542} |
6543  sed '
6544     t clear
6545     : clear
6546     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6547     t end
6548     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6549     : end' >>confcache
6550if diff $cache_file confcache >/dev/null 2>&1; then :; else
6551  if test -w $cache_file; then
6552    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6553    cat confcache >$cache_file
6554  else
6555    echo "not updating unwritable cache $cache_file"
6556  fi
6557fi
6558rm -f confcache
6559
6560test "x$prefix" = xNONE && prefix=$ac_default_prefix
6561# Let make expand exec_prefix.
6562test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6563
6564# VPATH may cause trouble with some makes, so we remove $(srcdir),
6565# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6566# trailing colons and then remove the whole line if VPATH becomes empty
6567# (actually we leave an empty line to preserve line numbers).
6568if test "x$srcdir" = x.; then
6569  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6570s/:*\$(srcdir):*/:/;
6571s/:*\${srcdir}:*/:/;
6572s/:*@srcdir@:*/:/;
6573s/^\([^=]*=[	 ]*\):*/\1/;
6574s/:*$//;
6575s/^[^=]*=[	 ]*$//;
6576}'
6577fi
6578
6579# Transform confdefs.h into DEFS.
6580# Protect against shell expansion while executing Makefile rules.
6581# Protect against Makefile macro expansion.
6582#
6583# If the first sed substitution is executed (which looks for macros that
6584# take arguments), then we branch to the quote section.  Otherwise,
6585# look for a macro that doesn't take arguments.
6586cat >confdef2opt.sed <<\_ACEOF
6587t clear
6588: clear
6589s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
6590t quote
6591s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
6592t quote
6593d
6594: quote
6595s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
6596s,\[,\\&,g
6597s,\],\\&,g
6598s,\$,$$,g
6599p
6600_ACEOF
6601# We use echo to avoid assuming a particular line-breaking character.
6602# The extra dot is to prevent the shell from consuming trailing
6603# line-breaks from the sub-command output.  A line-break within
6604# single-quotes doesn't work because, if this script is created in a
6605# platform that uses two characters for line-breaks (e.g., DOS), tr
6606# would break.
6607ac_LF_and_DOT=`echo; echo .`
6608DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6609rm -f confdef2opt.sed
6610
6611
6612ac_libobjs=
6613ac_ltlibobjs=
6614for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6615  # 1. Remove the extension, and $U if already installed.
6616  ac_i=`echo "$ac_i" |
6617	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6618  # 2. Add them.
6619  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6620  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6621done
6622LIBOBJS=$ac_libobjs
6623
6624LTLIBOBJS=$ac_ltlibobjs
6625
6626
6627if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6628  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6629Usually this means the macro was only invoked conditionally." >&5
6630echo "$as_me: error: conditional \"AMDEP\" was never defined.
6631Usually this means the macro was only invoked conditionally." >&2;}
6632   { (exit 1); exit 1; }; }
6633fi
6634if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6635  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6636Usually this means the macro was only invoked conditionally." >&5
6637echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6638Usually this means the macro was only invoked conditionally." >&2;}
6639   { (exit 1); exit 1; }; }
6640fi
6641
6642: ${CONFIG_STATUS=./config.status}
6643ac_clean_files_save=$ac_clean_files
6644ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6645{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6646echo "$as_me: creating $CONFIG_STATUS" >&6;}
6647cat >$CONFIG_STATUS <<_ACEOF
6648#! $SHELL
6649# Generated by $as_me.
6650# Run this file to recreate the current configuration.
6651# Compiler output produced by configure, useful for debugging
6652# configure, is in config.log if it exists.
6653
6654debug=false
6655ac_cs_recheck=false
6656ac_cs_silent=false
6657SHELL=\${CONFIG_SHELL-$SHELL}
6658_ACEOF
6659
6660cat >>$CONFIG_STATUS <<\_ACEOF
6661## --------------------- ##
6662## M4sh Initialization.  ##
6663## --------------------- ##
6664
6665# Be Bourne compatible
6666if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6667  emulate sh
6668  NULLCMD=:
6669  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6670  # is contrary to our usage.  Disable this feature.
6671  alias -g '${1+"$@"}'='"$@"'
6672elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6673  set -o posix
6674fi
6675DUALCASE=1; export DUALCASE # for MKS sh
6676
6677# Support unset when possible.
6678if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6679  as_unset=unset
6680else
6681  as_unset=false
6682fi
6683
6684
6685# Work around bugs in pre-3.0 UWIN ksh.
6686$as_unset ENV MAIL MAILPATH
6687PS1='$ '
6688PS2='> '
6689PS4='+ '
6690
6691# NLS nuisances.
6692for as_var in \
6693  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6694  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6695  LC_TELEPHONE LC_TIME
6696do
6697  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6698    eval $as_var=C; export $as_var
6699  else
6700    $as_unset $as_var
6701  fi
6702done
6703
6704# Required to use basename.
6705if expr a : '\(a\)' >/dev/null 2>&1; then
6706  as_expr=expr
6707else
6708  as_expr=false
6709fi
6710
6711if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6712  as_basename=basename
6713else
6714  as_basename=false
6715fi
6716
6717
6718# Name of the executable.
6719as_me=`$as_basename "$0" ||
6720$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6721	 X"$0" : 'X\(//\)$' \| \
6722	 X"$0" : 'X\(/\)$' \| \
6723	 .     : '\(.\)' 2>/dev/null ||
6724echo X/"$0" |
6725    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6726  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
6727  	  /^X\/\(\/\).*/{ s//\1/; q; }
6728  	  s/.*/./; q'`
6729
6730
6731# PATH needs CR, and LINENO needs CR and PATH.
6732# Avoid depending upon Character Ranges.
6733as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6734as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6735as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6736as_cr_digits='0123456789'
6737as_cr_alnum=$as_cr_Letters$as_cr_digits
6738
6739# The user is always right.
6740if test "${PATH_SEPARATOR+set}" != set; then
6741  echo "#! /bin/sh" >conf$$.sh
6742  echo  "exit 0"   >>conf$$.sh
6743  chmod +x conf$$.sh
6744  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6745    PATH_SEPARATOR=';'
6746  else
6747    PATH_SEPARATOR=:
6748  fi
6749  rm -f conf$$.sh
6750fi
6751
6752
6753  as_lineno_1=$LINENO
6754  as_lineno_2=$LINENO
6755  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6756  test "x$as_lineno_1" != "x$as_lineno_2" &&
6757  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
6758  # Find who we are.  Look in the path if we contain no path at all
6759  # relative or not.
6760  case $0 in
6761    *[\\/]* ) as_myself=$0 ;;
6762    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763for as_dir in $PATH
6764do
6765  IFS=$as_save_IFS
6766  test -z "$as_dir" && as_dir=.
6767  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6768done
6769
6770       ;;
6771  esac
6772  # We did not find ourselves, most probably we were run as `sh COMMAND'
6773  # in which case we are not to be found in the path.
6774  if test "x$as_myself" = x; then
6775    as_myself=$0
6776  fi
6777  if test ! -f "$as_myself"; then
6778    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6779echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6780   { (exit 1); exit 1; }; }
6781  fi
6782  case $CONFIG_SHELL in
6783  '')
6784    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6786do
6787  IFS=$as_save_IFS
6788  test -z "$as_dir" && as_dir=.
6789  for as_base in sh bash ksh sh5; do
6790	 case $as_dir in
6791	 /*)
6792	   if ("$as_dir/$as_base" -c '
6793  as_lineno_1=$LINENO
6794  as_lineno_2=$LINENO
6795  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6796  test "x$as_lineno_1" != "x$as_lineno_2" &&
6797  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
6798	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6799	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6800	     CONFIG_SHELL=$as_dir/$as_base
6801	     export CONFIG_SHELL
6802	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6803	   fi;;
6804	 esac
6805       done
6806done
6807;;
6808  esac
6809
6810  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6811  # uniformly replaced by the line number.  The first 'sed' inserts a
6812  # line-number line before each line; the second 'sed' does the real
6813  # work.  The second script uses 'N' to pair each line-number line
6814  # with the numbered line, and appends trailing '-' during
6815  # substitution so that $LINENO is not a special case at line end.
6816  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6817  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
6818  sed '=' <$as_myself |
6819    sed '
6820      N
6821      s,$,-,
6822      : loop
6823      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6824      t loop
6825      s,-$,,
6826      s,^['$as_cr_digits']*\n,,
6827    ' >$as_me.lineno &&
6828  chmod +x $as_me.lineno ||
6829    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6830echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6831   { (exit 1); exit 1; }; }
6832
6833  # Don't try to exec as it changes $[0], causing all sort of problems
6834  # (the dirname of $[0] is not the place where we might find the
6835  # original and so on.  Autoconf is especially sensible to this).
6836  . ./$as_me.lineno
6837  # Exit status is that of the last command.
6838  exit
6839}
6840
6841
6842case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6843  *c*,-n*) ECHO_N= ECHO_C='
6844' ECHO_T='	' ;;
6845  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6846  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
6847esac
6848
6849if expr a : '\(a\)' >/dev/null 2>&1; then
6850  as_expr=expr
6851else
6852  as_expr=false
6853fi
6854
6855rm -f conf$$ conf$$.exe conf$$.file
6856echo >conf$$.file
6857if ln -s conf$$.file conf$$ 2>/dev/null; then
6858  # We could just check for DJGPP; but this test a) works b) is more generic
6859  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6860  if test -f conf$$.exe; then
6861    # Don't use ln at all; we don't have any links
6862    as_ln_s='cp -p'
6863  else
6864    as_ln_s='ln -s'
6865  fi
6866elif ln conf$$.file conf$$ 2>/dev/null; then
6867  as_ln_s=ln
6868else
6869  as_ln_s='cp -p'
6870fi
6871rm -f conf$$ conf$$.exe conf$$.file
6872
6873if mkdir -p . 2>/dev/null; then
6874  as_mkdir_p=:
6875else
6876  test -d ./-p && rmdir ./-p
6877  as_mkdir_p=false
6878fi
6879
6880as_executable_p="test -f"
6881
6882# Sed expression to map a string onto a valid CPP name.
6883as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6884
6885# Sed expression to map a string onto a valid variable name.
6886as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6887
6888
6889# IFS
6890# We need space, tab and new line, in precisely that order.
6891as_nl='
6892'
6893IFS=" 	$as_nl"
6894
6895# CDPATH.
6896$as_unset CDPATH
6897
6898exec 6>&1
6899
6900# Open the log real soon, to keep \$[0] and so on meaningful, and to
6901# report actual input values of CONFIG_FILES etc. instead of their
6902# values after options handling.  Logging --version etc. is OK.
6903exec 5>>config.log
6904{
6905  echo
6906  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6907## Running $as_me. ##
6908_ASBOX
6909} >&5
6910cat >&5 <<_CSEOF
6911
6912This file was extended by whois3 $as_me 3.2.2, which was
6913generated by GNU Autoconf 2.59.  Invocation command line was
6914
6915  CONFIG_FILES    = $CONFIG_FILES
6916  CONFIG_HEADERS  = $CONFIG_HEADERS
6917  CONFIG_LINKS    = $CONFIG_LINKS
6918  CONFIG_COMMANDS = $CONFIG_COMMANDS
6919  $ $0 $@
6920
6921_CSEOF
6922echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6923echo >&5
6924_ACEOF
6925
6926# Files that config.status was made for.
6927if test -n "$ac_config_files"; then
6928  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6929fi
6930
6931if test -n "$ac_config_headers"; then
6932  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6933fi
6934
6935if test -n "$ac_config_links"; then
6936  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6937fi
6938
6939if test -n "$ac_config_commands"; then
6940  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6941fi
6942
6943cat >>$CONFIG_STATUS <<\_ACEOF
6944
6945ac_cs_usage="\
6946\`$as_me' instantiates files from templates according to the
6947current configuration.
6948
6949Usage: $0 [OPTIONS] [FILE]...
6950
6951  -h, --help       print this help, then exit
6952  -V, --version    print version number, then exit
6953  -q, --quiet      do not print progress messages
6954  -d, --debug      don't remove temporary files
6955      --recheck    update $as_me by reconfiguring in the same conditions
6956  --file=FILE[:TEMPLATE]
6957		   instantiate the configuration file FILE
6958
6959Configuration files:
6960$config_files
6961
6962Configuration commands:
6963$config_commands
6964
6965Report bugs to <bug-autoconf@gnu.org>."
6966_ACEOF
6967
6968cat >>$CONFIG_STATUS <<_ACEOF
6969ac_cs_version="\\
6970whois3 config.status 3.2.2
6971configured by $0, generated by GNU Autoconf 2.59,
6972  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6973
6974Copyright (C) 2003 Free Software Foundation, Inc.
6975This config.status script is free software; the Free Software Foundation
6976gives unlimited permission to copy, distribute and modify it."
6977srcdir=$srcdir
6978INSTALL="$INSTALL"
6979_ACEOF
6980
6981cat >>$CONFIG_STATUS <<\_ACEOF
6982# If no file are specified by the user, then we need to provide default
6983# value.  By we need to know if files were specified by the user.
6984ac_need_defaults=:
6985while test $# != 0
6986do
6987  case $1 in
6988  --*=*)
6989    ac_option=`expr "x$1" : 'x\([^=]*\)='`
6990    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6991    ac_shift=:
6992    ;;
6993  -*)
6994    ac_option=$1
6995    ac_optarg=$2
6996    ac_shift=shift
6997    ;;
6998  *) # This is not an option, so the user has probably given explicit
6999     # arguments.
7000     ac_option=$1
7001     ac_need_defaults=false;;
7002  esac
7003
7004  case $ac_option in
7005  # Handling of the options.
7006_ACEOF
7007cat >>$CONFIG_STATUS <<\_ACEOF
7008  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7009    ac_cs_recheck=: ;;
7010  --version | --vers* | -V )
7011    echo "$ac_cs_version"; exit 0 ;;
7012  --he | --h)
7013    # Conflict between --help and --header
7014    { { echo "$as_me:$LINENO: error: ambiguous option: $1
7015Try \`$0 --help' for more information." >&5
7016echo "$as_me: error: ambiguous option: $1
7017Try \`$0 --help' for more information." >&2;}
7018   { (exit 1); exit 1; }; };;
7019  --help | --hel | -h )
7020    echo "$ac_cs_usage"; exit 0 ;;
7021  --debug | --d* | -d )
7022    debug=: ;;
7023  --file | --fil | --fi | --f )
7024    $ac_shift
7025    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7026    ac_need_defaults=false;;
7027  --header | --heade | --head | --hea )
7028    $ac_shift
7029    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7030    ac_need_defaults=false;;
7031  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7032  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7033    ac_cs_silent=: ;;
7034
7035  # This is an error.
7036  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7037Try \`$0 --help' for more information." >&5
7038echo "$as_me: error: unrecognized option: $1
7039Try \`$0 --help' for more information." >&2;}
7040   { (exit 1); exit 1; }; } ;;
7041
7042  *) ac_config_targets="$ac_config_targets $1" ;;
7043
7044  esac
7045  shift
7046done
7047
7048ac_configure_extra_args=
7049
7050if $ac_cs_silent; then
7051  exec 6>/dev/null
7052  ac_configure_extra_args="$ac_configure_extra_args --silent"
7053fi
7054
7055_ACEOF
7056cat >>$CONFIG_STATUS <<_ACEOF
7057if \$ac_cs_recheck; then
7058  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7059  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7060fi
7061
7062_ACEOF
7063
7064cat >>$CONFIG_STATUS <<_ACEOF
7065#
7066# INIT-COMMANDS section.
7067#
7068
7069AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7070
7071_ACEOF
7072
7073
7074
7075cat >>$CONFIG_STATUS <<\_ACEOF
7076for ac_config_target in $ac_config_targets
7077do
7078  case "$ac_config_target" in
7079  # Handling of arguments.
7080  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7081  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7082  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7083  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7084echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7085   { (exit 1); exit 1; }; };;
7086  esac
7087done
7088
7089# If the user did not use the arguments to specify the items to instantiate,
7090# then the envvar interface is used.  Set only those that are not.
7091# We use the long form for the default assignment because of an extremely
7092# bizarre bug on SunOS 4.1.3.
7093if $ac_need_defaults; then
7094  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7095  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7096fi
7097
7098# Have a temporary directory for convenience.  Make it in the build tree
7099# simply because there is no reason to put it here, and in addition,
7100# creating and moving files from /tmp can sometimes cause problems.
7101# Create a temporary directory, and hook for its removal unless debugging.
7102$debug ||
7103{
7104  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7105  trap '{ (exit 1); exit 1; }' 1 2 13 15
7106}
7107
7108# Create a (secure) tmp directory for tmp files.
7109
7110{
7111  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7112  test -n "$tmp" && test -d "$tmp"
7113}  ||
7114{
7115  tmp=./confstat$$-$RANDOM
7116  (umask 077 && mkdir $tmp)
7117} ||
7118{
7119   echo "$me: cannot create a temporary directory in ." >&2
7120   { (exit 1); exit 1; }
7121}
7122
7123_ACEOF
7124
7125cat >>$CONFIG_STATUS <<_ACEOF
7126
7127#
7128# CONFIG_FILES section.
7129#
7130
7131# No need to generate the scripts if there are no CONFIG_FILES.
7132# This happens for instance when ./config.status config.h
7133if test -n "\$CONFIG_FILES"; then
7134  # Protect against being on the right side of a sed subst in config.status.
7135  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7136   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7137s,@SHELL@,$SHELL,;t t
7138s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7139s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7140s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7141s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7142s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7143s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7144s,@exec_prefix@,$exec_prefix,;t t
7145s,@prefix@,$prefix,;t t
7146s,@program_transform_name@,$program_transform_name,;t t
7147s,@bindir@,$bindir,;t t
7148s,@sbindir@,$sbindir,;t t
7149s,@libexecdir@,$libexecdir,;t t
7150s,@datadir@,$datadir,;t t
7151s,@sysconfdir@,$sysconfdir,;t t
7152s,@sharedstatedir@,$sharedstatedir,;t t
7153s,@localstatedir@,$localstatedir,;t t
7154s,@libdir@,$libdir,;t t
7155s,@includedir@,$includedir,;t t
7156s,@oldincludedir@,$oldincludedir,;t t
7157s,@infodir@,$infodir,;t t
7158s,@mandir@,$mandir,;t t
7159s,@build_alias@,$build_alias,;t t
7160s,@host_alias@,$host_alias,;t t
7161s,@target_alias@,$target_alias,;t t
7162s,@DEFS@,$DEFS,;t t
7163s,@ECHO_C@,$ECHO_C,;t t
7164s,@ECHO_N@,$ECHO_N,;t t
7165s,@ECHO_T@,$ECHO_T,;t t
7166s,@LIBS@,$LIBS,;t t
7167s,@PRODUCT@,$PRODUCT,;t t
7168s,@VERSION@,$VERSION,;t t
7169s,@CC@,$CC,;t t
7170s,@CFLAGS@,$CFLAGS,;t t
7171s,@LDFLAGS@,$LDFLAGS,;t t
7172s,@CPPFLAGS@,$CPPFLAGS,;t t
7173s,@ac_ct_CC@,$ac_ct_CC,;t t
7174s,@EXEEXT@,$EXEEXT,;t t
7175s,@OBJEXT@,$OBJEXT,;t t
7176s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7177s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7178s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7179s,@LN_S@,$LN_S,;t t
7180s,@RANLIB@,$RANLIB,;t t
7181s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7182s,@CYGPATH_W@,$CYGPATH_W,;t t
7183s,@PACKAGE@,$PACKAGE,;t t
7184s,@ACLOCAL@,$ACLOCAL,;t t
7185s,@AUTOCONF@,$AUTOCONF,;t t
7186s,@AUTOMAKE@,$AUTOMAKE,;t t
7187s,@AUTOHEADER@,$AUTOHEADER,;t t
7188s,@MAKEINFO@,$MAKEINFO,;t t
7189s,@install_sh@,$install_sh,;t t
7190s,@STRIP@,$STRIP,;t t
7191s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7192s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7193s,@mkdir_p@,$mkdir_p,;t t
7194s,@AWK@,$AWK,;t t
7195s,@SET_MAKE@,$SET_MAKE,;t t
7196s,@am__leading_dot@,$am__leading_dot,;t t
7197s,@AMTAR@,$AMTAR,;t t
7198s,@am__tar@,$am__tar,;t t
7199s,@am__untar@,$am__untar,;t t
7200s,@DEPDIR@,$DEPDIR,;t t
7201s,@am__include@,$am__include,;t t
7202s,@am__quote@,$am__quote,;t t
7203s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7204s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7205s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7206s,@CCDEPMODE@,$CCDEPMODE,;t t
7207s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7208s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7209s,@CPP@,$CPP,;t t
7210s,@EGREP@,$EGREP,;t t
7211s,@LIBOBJS@,$LIBOBJS,;t t
7212s,@PERL@,$PERL,;t t
7213s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7214CEOF
7215
7216_ACEOF
7217
7218  cat >>$CONFIG_STATUS <<\_ACEOF
7219  # Split the substitutions into bite-sized pieces for seds with
7220  # small command number limits, like on Digital OSF/1 and HP-UX.
7221  ac_max_sed_lines=48
7222  ac_sed_frag=1 # Number of current file.
7223  ac_beg=1 # First line for current file.
7224  ac_end=$ac_max_sed_lines # Line after last line for current file.
7225  ac_more_lines=:
7226  ac_sed_cmds=
7227  while $ac_more_lines; do
7228    if test $ac_beg -gt 1; then
7229      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7230    else
7231      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7232    fi
7233    if test ! -s $tmp/subs.frag; then
7234      ac_more_lines=false
7235    else
7236      # The purpose of the label and of the branching condition is to
7237      # speed up the sed processing (if there are no `@' at all, there
7238      # is no need to browse any of the substitutions).
7239      # These are the two extra sed commands mentioned above.
7240      (echo ':t
7241  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7242      if test -z "$ac_sed_cmds"; then
7243	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7244      else
7245	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7246      fi
7247      ac_sed_frag=`expr $ac_sed_frag + 1`
7248      ac_beg=$ac_end
7249      ac_end=`expr $ac_end + $ac_max_sed_lines`
7250    fi
7251  done
7252  if test -z "$ac_sed_cmds"; then
7253    ac_sed_cmds=cat
7254  fi
7255fi # test -n "$CONFIG_FILES"
7256
7257_ACEOF
7258cat >>$CONFIG_STATUS <<\_ACEOF
7259for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7260  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7261  case $ac_file in
7262  - | *:- | *:-:* ) # input from stdin
7263	cat >$tmp/stdin
7264	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7265	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7266  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7267	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7268  * )   ac_file_in=$ac_file.in ;;
7269  esac
7270
7271  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7272  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7273$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7274	 X"$ac_file" : 'X\(//\)[^/]' \| \
7275	 X"$ac_file" : 'X\(//\)$' \| \
7276	 X"$ac_file" : 'X\(/\)' \| \
7277	 .     : '\(.\)' 2>/dev/null ||
7278echo X"$ac_file" |
7279    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7280  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7281  	  /^X\(\/\/\)$/{ s//\1/; q; }
7282  	  /^X\(\/\).*/{ s//\1/; q; }
7283  	  s/.*/./; q'`
7284  { if $as_mkdir_p; then
7285    mkdir -p "$ac_dir"
7286  else
7287    as_dir="$ac_dir"
7288    as_dirs=
7289    while test ! -d "$as_dir"; do
7290      as_dirs="$as_dir $as_dirs"
7291      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7293	 X"$as_dir" : 'X\(//\)[^/]' \| \
7294	 X"$as_dir" : 'X\(//\)$' \| \
7295	 X"$as_dir" : 'X\(/\)' \| \
7296	 .     : '\(.\)' 2>/dev/null ||
7297echo X"$as_dir" |
7298    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7299  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7300  	  /^X\(\/\/\)$/{ s//\1/; q; }
7301  	  /^X\(\/\).*/{ s//\1/; q; }
7302  	  s/.*/./; q'`
7303    done
7304    test ! -n "$as_dirs" || mkdir $as_dirs
7305  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7306echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7307   { (exit 1); exit 1; }; }; }
7308
7309  ac_builddir=.
7310
7311if test "$ac_dir" != .; then
7312  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7313  # A "../" for each directory in $ac_dir_suffix.
7314  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7315else
7316  ac_dir_suffix= ac_top_builddir=
7317fi
7318
7319case $srcdir in
7320  .)  # No --srcdir option.  We are building in place.
7321    ac_srcdir=.
7322    if test -z "$ac_top_builddir"; then
7323       ac_top_srcdir=.
7324    else
7325       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7326    fi ;;
7327  [\\/]* | ?:[\\/]* )  # Absolute path.
7328    ac_srcdir=$srcdir$ac_dir_suffix;
7329    ac_top_srcdir=$srcdir ;;
7330  *) # Relative path.
7331    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7332    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7333esac
7334
7335# Do not use `cd foo && pwd` to compute absolute paths, because
7336# the directories may not exist.
7337case `pwd` in
7338.) ac_abs_builddir="$ac_dir";;
7339*)
7340  case "$ac_dir" in
7341  .) ac_abs_builddir=`pwd`;;
7342  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7343  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7344  esac;;
7345esac
7346case $ac_abs_builddir in
7347.) ac_abs_top_builddir=${ac_top_builddir}.;;
7348*)
7349  case ${ac_top_builddir}. in
7350  .) ac_abs_top_builddir=$ac_abs_builddir;;
7351  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7352  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7353  esac;;
7354esac
7355case $ac_abs_builddir in
7356.) ac_abs_srcdir=$ac_srcdir;;
7357*)
7358  case $ac_srcdir in
7359  .) ac_abs_srcdir=$ac_abs_builddir;;
7360  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7361  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7362  esac;;
7363esac
7364case $ac_abs_builddir in
7365.) ac_abs_top_srcdir=$ac_top_srcdir;;
7366*)
7367  case $ac_top_srcdir in
7368  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7369  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7370  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7371  esac;;
7372esac
7373
7374
7375  case $INSTALL in
7376  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7377  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7378  esac
7379
7380  if test x"$ac_file" != x-; then
7381    { echo "$as_me:$LINENO: creating $ac_file" >&5
7382echo "$as_me: creating $ac_file" >&6;}
7383    rm -f "$ac_file"
7384  fi
7385  # Let's still pretend it is `configure' which instantiates (i.e., don't
7386  # use $as_me), people would be surprised to read:
7387  #    /* config.h.  Generated by config.status.  */
7388  if test x"$ac_file" = x-; then
7389    configure_input=
7390  else
7391    configure_input="$ac_file.  "
7392  fi
7393  configure_input=$configure_input"Generated from `echo $ac_file_in |
7394				     sed 's,.*/,,'` by configure."
7395
7396  # First look for the input files in the build tree, otherwise in the
7397  # src tree.
7398  ac_file_inputs=`IFS=:
7399    for f in $ac_file_in; do
7400      case $f in
7401      -) echo $tmp/stdin ;;
7402      [\\/$]*)
7403	 # Absolute (can't be DOS-style, as IFS=:)
7404	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7405echo "$as_me: error: cannot find input file: $f" >&2;}
7406   { (exit 1); exit 1; }; }
7407	 echo "$f";;
7408      *) # Relative
7409	 if test -f "$f"; then
7410	   # Build tree
7411	   echo "$f"
7412	 elif test -f "$srcdir/$f"; then
7413	   # Source tree
7414	   echo "$srcdir/$f"
7415	 else
7416	   # /dev/null tree
7417	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7418echo "$as_me: error: cannot find input file: $f" >&2;}
7419   { (exit 1); exit 1; }; }
7420	 fi;;
7421      esac
7422    done` || { (exit 1); exit 1; }
7423_ACEOF
7424cat >>$CONFIG_STATUS <<_ACEOF
7425  sed "$ac_vpsub
7426$extrasub
7427_ACEOF
7428cat >>$CONFIG_STATUS <<\_ACEOF
7429:t
7430/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7431s,@configure_input@,$configure_input,;t t
7432s,@srcdir@,$ac_srcdir,;t t
7433s,@abs_srcdir@,$ac_abs_srcdir,;t t
7434s,@top_srcdir@,$ac_top_srcdir,;t t
7435s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7436s,@builddir@,$ac_builddir,;t t
7437s,@abs_builddir@,$ac_abs_builddir,;t t
7438s,@top_builddir@,$ac_top_builddir,;t t
7439s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7440s,@INSTALL@,$ac_INSTALL,;t t
7441" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7442  rm -f $tmp/stdin
7443  if test x"$ac_file" != x-; then
7444    mv $tmp/out $ac_file
7445  else
7446    cat $tmp/out
7447    rm -f $tmp/out
7448  fi
7449
7450done
7451_ACEOF
7452cat >>$CONFIG_STATUS <<\_ACEOF
7453
7454#
7455# CONFIG_COMMANDS section.
7456#
7457for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7458  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7459  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7460  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7461$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7462	 X"$ac_dest" : 'X\(//\)[^/]' \| \
7463	 X"$ac_dest" : 'X\(//\)$' \| \
7464	 X"$ac_dest" : 'X\(/\)' \| \
7465	 .     : '\(.\)' 2>/dev/null ||
7466echo X"$ac_dest" |
7467    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7468  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7469  	  /^X\(\/\/\)$/{ s//\1/; q; }
7470  	  /^X\(\/\).*/{ s//\1/; q; }
7471  	  s/.*/./; q'`
7472  { if $as_mkdir_p; then
7473    mkdir -p "$ac_dir"
7474  else
7475    as_dir="$ac_dir"
7476    as_dirs=
7477    while test ! -d "$as_dir"; do
7478      as_dirs="$as_dir $as_dirs"
7479      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7480$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7481	 X"$as_dir" : 'X\(//\)[^/]' \| \
7482	 X"$as_dir" : 'X\(//\)$' \| \
7483	 X"$as_dir" : 'X\(/\)' \| \
7484	 .     : '\(.\)' 2>/dev/null ||
7485echo X"$as_dir" |
7486    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7487  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7488  	  /^X\(\/\/\)$/{ s//\1/; q; }
7489  	  /^X\(\/\).*/{ s//\1/; q; }
7490  	  s/.*/./; q'`
7491    done
7492    test ! -n "$as_dirs" || mkdir $as_dirs
7493  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7494echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7495   { (exit 1); exit 1; }; }; }
7496
7497  ac_builddir=.
7498
7499if test "$ac_dir" != .; then
7500  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7501  # A "../" for each directory in $ac_dir_suffix.
7502  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7503else
7504  ac_dir_suffix= ac_top_builddir=
7505fi
7506
7507case $srcdir in
7508  .)  # No --srcdir option.  We are building in place.
7509    ac_srcdir=.
7510    if test -z "$ac_top_builddir"; then
7511       ac_top_srcdir=.
7512    else
7513       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7514    fi ;;
7515  [\\/]* | ?:[\\/]* )  # Absolute path.
7516    ac_srcdir=$srcdir$ac_dir_suffix;
7517    ac_top_srcdir=$srcdir ;;
7518  *) # Relative path.
7519    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7520    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7521esac
7522
7523# Do not use `cd foo && pwd` to compute absolute paths, because
7524# the directories may not exist.
7525case `pwd` in
7526.) ac_abs_builddir="$ac_dir";;
7527*)
7528  case "$ac_dir" in
7529  .) ac_abs_builddir=`pwd`;;
7530  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7531  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7532  esac;;
7533esac
7534case $ac_abs_builddir in
7535.) ac_abs_top_builddir=${ac_top_builddir}.;;
7536*)
7537  case ${ac_top_builddir}. in
7538  .) ac_abs_top_builddir=$ac_abs_builddir;;
7539  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7540  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7541  esac;;
7542esac
7543case $ac_abs_builddir in
7544.) ac_abs_srcdir=$ac_srcdir;;
7545*)
7546  case $ac_srcdir in
7547  .) ac_abs_srcdir=$ac_abs_builddir;;
7548  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7549  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7550  esac;;
7551esac
7552case $ac_abs_builddir in
7553.) ac_abs_top_srcdir=$ac_top_srcdir;;
7554*)
7555  case $ac_top_srcdir in
7556  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7557  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7558  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7559  esac;;
7560esac
7561
7562
7563  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7564echo "$as_me: executing $ac_dest commands" >&6;}
7565  case $ac_dest in
7566    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7567  # Strip MF so we end up with the name of the file.
7568  mf=`echo "$mf" | sed -e 's/:.*$//'`
7569  # Check whether this is an Automake generated Makefile or not.
7570  # We used to match only the files named `Makefile.in', but
7571  # some people rename them; so instead we look at the file content.
7572  # Grep'ing the first line is not enough: some people post-process
7573  # each Makefile.in and add a new line on top of each file to say so.
7574  # So let's grep whole file.
7575  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7576    dirpart=`(dirname "$mf") 2>/dev/null ||
7577$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7578	 X"$mf" : 'X\(//\)[^/]' \| \
7579	 X"$mf" : 'X\(//\)$' \| \
7580	 X"$mf" : 'X\(/\)' \| \
7581	 .     : '\(.\)' 2>/dev/null ||
7582echo X"$mf" |
7583    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7584  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7585  	  /^X\(\/\/\)$/{ s//\1/; q; }
7586  	  /^X\(\/\).*/{ s//\1/; q; }
7587  	  s/.*/./; q'`
7588  else
7589    continue
7590  fi
7591  # Extract the definition of DEPDIR, am__include, and am__quote
7592  # from the Makefile without running `make'.
7593  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7594  test -z "$DEPDIR" && continue
7595  am__include=`sed -n 's/^am__include = //p' < "$mf"`
7596  test -z "am__include" && continue
7597  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7598  # When using ansi2knr, U may be empty or an underscore; expand it
7599  U=`sed -n 's/^U = //p' < "$mf"`
7600  # Find all dependency output files, they are included files with
7601  # $(DEPDIR) in their names.  We invoke sed twice because it is the
7602  # simplest approach to changing $(DEPDIR) to its actual value in the
7603  # expansion.
7604  for file in `sed -n "
7605    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7606       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7607    # Make sure the directory exists.
7608    test -f "$dirpart/$file" && continue
7609    fdir=`(dirname "$file") 2>/dev/null ||
7610$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7611	 X"$file" : 'X\(//\)[^/]' \| \
7612	 X"$file" : 'X\(//\)$' \| \
7613	 X"$file" : 'X\(/\)' \| \
7614	 .     : '\(.\)' 2>/dev/null ||
7615echo X"$file" |
7616    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7617  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7618  	  /^X\(\/\/\)$/{ s//\1/; q; }
7619  	  /^X\(\/\).*/{ s//\1/; q; }
7620  	  s/.*/./; q'`
7621    { if $as_mkdir_p; then
7622    mkdir -p $dirpart/$fdir
7623  else
7624    as_dir=$dirpart/$fdir
7625    as_dirs=
7626    while test ! -d "$as_dir"; do
7627      as_dirs="$as_dir $as_dirs"
7628      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7629$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7630	 X"$as_dir" : 'X\(//\)[^/]' \| \
7631	 X"$as_dir" : 'X\(//\)$' \| \
7632	 X"$as_dir" : 'X\(/\)' \| \
7633	 .     : '\(.\)' 2>/dev/null ||
7634echo X"$as_dir" |
7635    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7636  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7637  	  /^X\(\/\/\)$/{ s//\1/; q; }
7638  	  /^X\(\/\).*/{ s//\1/; q; }
7639  	  s/.*/./; q'`
7640    done
7641    test ! -n "$as_dirs" || mkdir $as_dirs
7642  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7643echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7644   { (exit 1); exit 1; }; }; }
7645
7646    # echo "creating $dirpart/$file"
7647    echo '# dummy' > "$dirpart/$file"
7648  done
7649done
7650 ;;
7651  esac
7652done
7653_ACEOF
7654
7655cat >>$CONFIG_STATUS <<\_ACEOF
7656
7657{ (exit 0); exit 0; }
7658_ACEOF
7659chmod +x $CONFIG_STATUS
7660ac_clean_files=$ac_clean_files_save
7661
7662
7663# configure is writing to config.log, and then calls config.status.
7664# config.status does its own redirection, appending to config.log.
7665# Unfortunately, on DOS this fails, as config.log is still kept open
7666# by configure, so config.status won't be able to write to it; its
7667# output is simply discarded.  So we exec the FD to /dev/null,
7668# effectively closing config.log, so it can be properly (re)opened and
7669# appended to by config.status.  When coming back to configure, we
7670# need to make the FD available again.
7671if test "$no_create" != yes; then
7672  ac_cs_success=:
7673  ac_config_status_args=
7674  test "$silent" = yes &&
7675    ac_config_status_args="$ac_config_status_args --quiet"
7676  exec 5>/dev/null
7677  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7678  exec 5>>config.log
7679  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7680  # would make configure fail if this is the last instruction.
7681  $ac_cs_success || { (exit 1); exit 1; }
7682fi
7683
7684
7685