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