3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --without-gcc don't use gcc"
17 --with-pcap=TYPE use packet capture TYPE"
19 --without-flex don't use flex"
21 --without-bison don't use bison"
23 # Initialize some variables set by options.
24 # The variables have the same names as the options, with
25 # dashes changed to underlines.
27 cache_file
=.
/config.cache
36 program_transform_name
=s
,x
,x
,
44 bindir
='${exec_prefix}/bin'
45 sbindir
='${exec_prefix}/sbin'
46 libexecdir
='${exec_prefix}/libexec'
47 datadir
='${prefix}/share'
48 sysconfdir
='${prefix}/etc'
49 sharedstatedir
='${prefix}/com'
50 localstatedir
='${prefix}/var'
51 libdir
='${exec_prefix}/lib'
52 includedir
='${prefix}/include'
53 oldincludedir
='/usr/include'
54 infodir
='${prefix}/info'
55 mandir
='${prefix}/man'
57 # Initialize some other variables.
60 # Maximum number of lines to put in a shell here document.
67 # If the previous option needs an argument, assign it.
68 if test -n "$ac_prev"; then
69 eval "$ac_prev=\$ac_option"
75 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
79 # Accept the important Cygnus configure options, so we can diagnose typos.
83 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
85 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
86 bindir
="$ac_optarg" ;;
88 -build |
--build |
--buil |
--bui |
--bu)
90 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
93 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
94 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
96 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
97 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
98 cache_file
="$ac_optarg" ;;
100 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
102 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
104 datadir
="$ac_optarg" ;;
106 -disable-* |
--disable-*)
107 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
108 # Reject names that are not valid shell variable names.
109 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
110 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
112 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
113 eval "enable_${ac_feature}=no" ;;
115 -enable-* |
--enable-*)
116 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
117 # Reject names that are not valid shell variable names.
118 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
121 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
126 eval "enable_${ac_feature}='$ac_optarg'" ;;
128 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
129 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
130 |
--exec |
--exe |
--ex)
131 ac_prev
=exec_prefix
;;
132 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
133 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
134 |
--exec=* |
--exe=* |
--ex=*)
135 exec_prefix
="$ac_optarg" ;;
137 -gas |
--gas |
--ga |
--g)
138 # Obsolete; use --with-gas.
141 -help |
--help |
--hel |
--he)
142 # Omit some internal or obsolete options to make the list less imposing.
143 # This message is too long to be a string in the A/UX 3.1 sh.
145 Usage: configure [options] [host]
146 Options: [defaults in brackets after descriptions]
148 --cache-file=FILE cache test results in FILE
149 --help print this message
150 --no-create do not create output files
151 --quiet, --silent do not print \`checking...' messages
152 --version print the version of autoconf that created configure
153 Directory and file names:
154 --prefix=PREFIX install architecture-independent files in PREFIX
156 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
158 --bindir=DIR user executables in DIR [EPREFIX/bin]
159 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
160 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
161 --datadir=DIR read-only architecture-independent data in DIR
163 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
164 --sharedstatedir=DIR modifiable architecture-independent data in DIR
166 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
167 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
168 --includedir=DIR C header files in DIR [PREFIX/include]
169 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
170 --infodir=DIR info documentation in DIR [PREFIX/info]
171 --mandir=DIR man documentation in DIR [PREFIX/man]
172 --srcdir=DIR find the sources in DIR [configure dir or ..]
173 --program-prefix=PREFIX prepend PREFIX to installed program names
174 --program-suffix=SUFFIX append SUFFIX to installed program names
175 --program-transform-name=PROGRAM
176 run sed PROGRAM on installed program names
180 --build=BUILD configure for building on BUILD [BUILD=HOST]
181 --host=HOST configure for HOST [guessed]
182 --target=TARGET configure for TARGET [TARGET=HOST]
183 Features and packages:
184 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
185 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
186 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
187 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
188 --x-includes=DIR X include files are in DIR
189 --x-libraries=DIR X library files are in DIR
191 if test -n "$ac_help"; then
192 echo "--enable and --with options recognized:$ac_help"
196 -host |
--host |
--hos |
--ho)
198 -host=* |
--host=* |
--hos=* |
--ho=*)
201 -includedir |
--includedir |
--includedi |
--included |
--include \
202 |
--includ |
--inclu |
--incl |
--inc)
203 ac_prev
=includedir
;;
204 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
205 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
206 includedir
="$ac_optarg" ;;
208 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
210 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
211 infodir
="$ac_optarg" ;;
213 -libdir |
--libdir |
--libdi |
--libd)
215 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
216 libdir
="$ac_optarg" ;;
218 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
219 |
--libexe |
--libex |
--libe)
220 ac_prev
=libexecdir
;;
221 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
222 |
--libexe=* |
--libex=* |
--libe=*)
223 libexecdir
="$ac_optarg" ;;
225 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
226 |
--localstate |
--localstat |
--localsta |
--localst \
227 |
--locals |
--local |
--loca |
--loc |
--lo)
228 ac_prev
=localstatedir
;;
229 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
230 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
231 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
232 localstatedir
="$ac_optarg" ;;
234 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
236 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
237 mandir
="$ac_optarg" ;;
240 # Obsolete; use --without-fp.
243 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
247 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
248 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
251 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
252 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
253 |
--oldin |
--oldi |
--old |
--ol |
--o)
254 ac_prev
=oldincludedir
;;
255 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
256 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
257 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
258 oldincludedir
="$ac_optarg" ;;
260 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
262 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
263 prefix
="$ac_optarg" ;;
265 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
266 |
--program-pre |
--program-pr |
--program-p)
267 ac_prev
=program_prefix
;;
268 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
269 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
270 program_prefix
="$ac_optarg" ;;
272 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
273 |
--program-suf |
--program-su |
--program-s)
274 ac_prev
=program_suffix
;;
275 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
276 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
277 program_suffix
="$ac_optarg" ;;
279 -program-transform-name |
--program-transform-name \
280 |
--program-transform-nam |
--program-transform-na \
281 |
--program-transform-n |
--program-transform- \
282 |
--program-transform |
--program-transfor \
283 |
--program-transfo |
--program-transf \
284 |
--program-trans |
--program-tran \
285 |
--progr-tra |
--program-tr |
--program-t)
286 ac_prev
=program_transform_name
;;
287 -program-transform-name=* |
--program-transform-name=* \
288 |
--program-transform-nam=* |
--program-transform-na=* \
289 |
--program-transform-n=* |
--program-transform-=* \
290 |
--program-transform=* |
--program-transfor=* \
291 |
--program-transfo=* |
--program-transf=* \
292 |
--program-trans=* |
--program-tran=* \
293 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
294 program_transform_name
="$ac_optarg" ;;
296 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
297 |
-silent |
--silent |
--silen |
--sile |
--sil)
300 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
302 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
304 sbindir
="$ac_optarg" ;;
306 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
307 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
308 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
310 ac_prev
=sharedstatedir
;;
311 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
312 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
313 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
315 sharedstatedir
="$ac_optarg" ;;
317 -site |
--site |
--sit)
319 -site=* |
--site=* |
--sit=*)
322 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
324 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
325 srcdir
="$ac_optarg" ;;
327 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
328 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
329 ac_prev
=sysconfdir
;;
330 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
331 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
332 sysconfdir
="$ac_optarg" ;;
334 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
336 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
337 target
="$ac_optarg" ;;
339 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
342 -version |
--version |
--versio |
--versi |
--vers)
343 echo "configure generated by autoconf version 2.12"
347 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
348 # Reject names that are not valid shell variable names.
349 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
350 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
352 ac_package
=`echo $ac_package| sed 's/-/_/g'`
357 eval "with_${ac_package}='$ac_optarg'" ;;
359 -without-* |
--without-*)
360 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
361 # Reject names that are not valid shell variable names.
362 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
363 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
365 ac_package
=`echo $ac_package| sed 's/-/_/g'`
366 eval "with_${ac_package}=no" ;;
369 # Obsolete; use --with-x.
372 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
373 |
--x-incl |
--x-inc |
--x-in |
--x-i)
374 ac_prev
=x_includes
;;
375 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
376 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
377 x_includes
="$ac_optarg" ;;
379 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
380 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
381 ac_prev
=x_libraries
;;
382 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
383 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
384 x_libraries
="$ac_optarg" ;;
386 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
390 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
391 echo "configure: warning: $ac_option: invalid host type" 1>&2
393 if test "x$nonopt" != xNONE
; then
394 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
402 if test -n "$ac_prev"; then
403 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
406 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
408 # File descriptor usage:
411 # 2 errors and warnings
412 # 3 some systems may open it to /dev/tty
413 # 4 used on the Kubota Titan
414 # 6 checking for... messages and results
415 # 5 compiler messages saved in config.log
416 if test "$silent" = yes; then
424 This file contains any messages produced by compilers while
425 running configure, to aid debugging if configure makes a mistake.
428 # Strip out --no-create and --no-recursion so they do not pile up.
429 # Also quote any args containing shell metacharacters.
434 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
435 |
--no-cr |
--no-c) ;;
436 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
437 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
438 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
439 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
440 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
445 # Only set these to C if already set. These must not be set unconditionally
446 # because not all systems understand e.g. LANG=C (notably SCO).
447 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
448 # Non-C LC_CTYPE values break the ctype check.
449 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
450 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
451 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
452 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
454 # confdefs.h avoids OS command line length limits that DEFS can exceed.
455 rm -rf conftest
* confdefs.h
456 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
459 # A filename unique to this package, relative to the directory that
460 # configure is in, which we can look for to find out if srcdir is correct.
461 ac_unique_file
=pcap.c
463 # Find the source files, if location was not specified.
464 if test -z "$srcdir"; then
465 ac_srcdir_defaulted
=yes
466 # Try the directory containing this script, then its parent.
468 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
469 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
471 if test ! -r $srcdir/$ac_unique_file; then
475 ac_srcdir_defaulted
=no
477 if test ! -r $srcdir/$ac_unique_file; then
478 if test "$ac_srcdir_defaulted" = yes; then
479 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
481 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
484 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
486 # Prefer explicitly selected file to automatically selected ones.
487 if test -z "$CONFIG_SITE"; then
488 if test "x$prefix" != xNONE
; then
489 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
491 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
494 for ac_site_file
in $CONFIG_SITE; do
495 if test -r "$ac_site_file"; then
496 echo "loading site script $ac_site_file"
501 if test -r "$cache_file"; then
502 echo "loading cache $cache_file"
505 echo "creating cache $cache_file"
510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
511 ac_cpp
='$CPP $CPPFLAGS'
512 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
513 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
514 cross_compiling
=$ac_cv_prog_cc_cross
516 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
517 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
518 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
525 ac_n
= ac_c
='\c' ac_t
=
531 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
532 if test -f $ac_dir/install-sh
; then
534 ac_install_sh
="$ac_aux_dir/install-sh -c"
536 elif test -f $ac_dir/install.sh
; then
538 ac_install_sh
="$ac_aux_dir/install.sh -c"
542 if test -z "$ac_aux_dir"; then
543 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
545 ac_config_guess
=$ac_aux_dir/config.guess
546 ac_config_sub
=$ac_aux_dir/config.sub
547 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
550 # Do some error checking and defaulting for the host and target type.
552 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
555 # 1. You are not allowed to specify --host, --target, and nonopt at the
557 # 2. Host defaults to nonopt.
558 # 3. If nonopt is not specified, then host defaults to the current host,
559 # as determined by config.guess.
560 # 4. Target and build default to nonopt.
561 # 5. If nonopt is not specified, then target and build default to host.
563 # The aliases save the names the user supplied, while $host etc.
564 # will get canonicalized.
565 case $host---$target---$nonopt in
566 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
567 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
571 # Make sure we can run config.sub.
572 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
573 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
576 echo $ac_n "checking host system type""... $ac_c" 1>&6
577 echo "configure:578: checking host system type" >&5
580 case "$host_alias" in
584 if host_alias
=`$ac_config_guess`; then :
585 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
587 *) host_alias
=$nonopt ;;
591 host=`$ac_config_sub $host_alias`
592 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
593 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
594 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
595 echo "$ac_t""$host" 1>&6
597 echo $ac_n "checking target system type""... $ac_c" 1>&6
598 echo "configure:599: checking target system type" >&5
601 case "$target_alias" in
604 NONE
) target_alias
=$host_alias ;;
605 *) target_alias
=$nonopt ;;
609 target
=`$ac_config_sub $target_alias`
610 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
611 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
612 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
613 echo "$ac_t""$target" 1>&6
615 echo $ac_n "checking build system type""... $ac_c" 1>&6
616 echo "configure:617: checking build system type" >&5
619 case "$build_alias" in
622 NONE
) build_alias
=$host_alias ;;
623 *) build_alias
=$nonopt ;;
627 build
=`$ac_config_sub $build_alias`
628 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
629 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
630 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
631 echo "$ac_t""$build" 1>&6
633 test "$host_alias" != "$target_alias" &&
634 test "$program_prefix$program_suffix$program_transform_name" = \
636 program_prefix
=${target_alias}-
641 if test -z "$PWD" ; then
649 # Check whether --with-gcc or --without-gcc was given.
650 if test "${with_gcc+set}" = set; then
657 if test "${srcdir}" != "." ; then
658 V_INCLS
="-I\$\(srcdir\)"
660 if test "${CFLAGS+set}" = set; then
663 if test -z "$CC" ; then
667 # Extract the first word of "shlicc2", so it can be a program name with args.
668 set dummy shlicc2
; ac_word
=$2
669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
670 echo "configure:671: checking for $ac_word" >&5
671 if eval "test \"`echo '$''{'ac_cv_prog_SHLICC2'+set}'`\" = set"; then
672 echo $ac_n "(cached) $ac_c" 1>&6
674 if test -n "$SHLICC2"; then
675 ac_cv_prog_SHLICC2
="$SHLICC2" # Let the user override the test.
677 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
678 for ac_dir
in $PATH; do
679 test -z "$ac_dir" && ac_dir
=.
680 if test -f $ac_dir/$ac_word; then
681 ac_cv_prog_SHLICC2
="yes"
686 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2
="no"
689 SHLICC2
="$ac_cv_prog_SHLICC2"
690 if test -n "$SHLICC2"; then
691 echo "$ac_t""$SHLICC2" 1>&6
693 echo "$ac_t""no" 1>&6
696 if test $SHLICC2 = yes ; then
703 if test -z "$CC" -a "$with_gcc" = no
; then
707 # Extract the first word of "gcc", so it can be a program name with args.
708 set dummy gcc
; ac_word
=$2
709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
710 echo "configure:711: checking for $ac_word" >&5
711 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
712 echo $ac_n "(cached) $ac_c" 1>&6
714 if test -n "$CC"; then
715 ac_cv_prog_CC
="$CC" # Let the user override the test.
717 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
718 for ac_dir
in $PATH; do
719 test -z "$ac_dir" && ac_dir
=.
720 if test -f $ac_dir/$ac_word; then
729 if test -n "$CC"; then
730 echo "$ac_t""$CC" 1>&6
732 echo "$ac_t""no" 1>&6
735 if test -z "$CC"; then
736 # Extract the first word of "cc", so it can be a program name with args.
737 set dummy cc
; ac_word
=$2
738 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
739 echo "configure:740: checking for $ac_word" >&5
740 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
741 echo $ac_n "(cached) $ac_c" 1>&6
743 if test -n "$CC"; then
744 ac_cv_prog_CC
="$CC" # Let the user override the test.
746 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
748 for ac_dir
in $PATH; do
749 test -z "$ac_dir" && ac_dir
=.
750 if test -f $ac_dir/$ac_word; then
751 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
760 if test $ac_prog_rejected = yes; then
761 # We found a bogon in the path, so make sure we never use it.
762 set dummy
$ac_cv_prog_CC
764 if test $# -gt 0; then
765 # We chose a different compiler from the bogus one.
766 # However, it has the same basename, so the bogon will be chosen
767 # first if we set CC to just the basename; use the full file name.
769 set dummy
"$ac_dir/$ac_word" "$@"
777 if test -n "$CC"; then
778 echo "$ac_t""$CC" 1>&6
780 echo "$ac_t""no" 1>&6
783 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
786 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
787 echo "configure:788: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
791 ac_cpp
='$CPP $CPPFLAGS'
792 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
793 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794 cross_compiling
=$ac_cv_prog_cc_cross
796 cat > conftest.
$ac_ext <<EOF
797 #line 798 "configure"
798 #include "confdefs.h"
801 if { (eval echo configure
:802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
802 ac_cv_prog_cc_works
=yes
803 # If we can't run a trivial program, we are probably using a cross compiler.
804 if (.
/conftest
; exit) 2>/dev
/null
; then
805 ac_cv_prog_cc_cross
=no
807 ac_cv_prog_cc_cross
=yes
810 echo "configure: failed program was:" >&5
811 cat conftest.
$ac_ext >&5
812 ac_cv_prog_cc_works
=no
816 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
817 if test $ac_cv_prog_cc_works = no
; then
818 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
820 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
821 echo "configure:822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
822 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
823 cross_compiling
=$ac_cv_prog_cc_cross
825 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
826 echo "configure:827: checking whether we are using GNU C" >&5
827 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
828 echo $ac_n "(cached) $ac_c" 1>&6
830 cat > conftest.c
<<EOF
835 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
842 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
844 if test $ac_cv_prog_gcc = yes; then
846 ac_test_CFLAGS
="${CFLAGS+set}"
847 ac_save_CFLAGS
="$CFLAGS"
849 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
850 echo "configure:851: checking whether ${CC-cc} accepts -g" >&5
851 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 echo 'void f(){}' > conftest.c
855 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
864 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
865 if test "$ac_test_CFLAGS" = set; then
866 CFLAGS
="$ac_save_CFLAGS"
867 elif test $ac_cv_prog_cc_g = yes; then
874 test "${CFLAGS+set}" = set || CFLAGS
="-g"
877 if test "$GCC" = yes ; then
878 if test "$SHLICC2" = yes ; then
882 echo $ac_n "checking gcc version""... $ac_c" 1>&6
883 echo "configure:884: checking gcc version" >&5
884 if eval "test \"`echo '$''{'ac_cv_lbl_gcc_vers'+set}'`\" = set"; then
885 echo $ac_n "(cached) $ac_c" 1>&6
887 ac_cv_lbl_gcc_vers
=`$CC -v 2>&1 | \
888 sed -e '/^gcc version /!d' \
889 -e 's/^gcc version //' \
890 -e 's/ .*//' -e 's/^[^0-9]*//' \
894 echo "$ac_t""$ac_cv_lbl_gcc_vers" 1>&6
895 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
900 echo $ac_n "checking that $CC handles ansi prototypes""... $ac_c" 1>&6
901 echo "configure:902: checking that $CC handles ansi prototypes" >&5
902 if eval "test \"`echo '$''{'ac_cv_lbl_cc_ansi_prototypes'+set}'`\" = set"; then
903 echo $ac_n "(cached) $ac_c" 1>&6
905 cat > conftest.
$ac_ext <<EOF
906 #line 907 "configure"
907 #include "confdefs.h"
908 #include <sys/types.h>
910 int frob(int, char *)
913 if { (eval echo configure
:914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
915 ac_cv_lbl_cc_ansi_prototypes
=yes
917 echo "configure: failed program was:" >&5
918 cat conftest.
$ac_ext >&5
920 ac_cv_lbl_cc_ansi_prototypes
=no
925 echo "$ac_t""$ac_cv_lbl_cc_ansi_prototypes" 1>&6
926 if test $ac_cv_lbl_cc_ansi_prototypes = no
; then
930 echo $ac_n "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)""... $ac_c" 1>&6
931 echo "configure:932: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5
932 savedcflags
="$CFLAGS"
933 CFLAGS
="-Aa -D_HPUX_SOURCE $CFLAGS"
934 if eval "test \"`echo '$''{'ac_cv_lbl_cc_hpux_cc_aa'+set}'`\" = set"; then
935 echo $ac_n "(cached) $ac_c" 1>&6
937 cat > conftest.
$ac_ext <<EOF
938 #line 939 "configure"
939 #include "confdefs.h"
940 #include <sys/types.h>
942 int frob(int, char *)
945 if { (eval echo configure
:946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
947 ac_cv_lbl_cc_hpux_cc_aa
=yes
949 echo "configure: failed program was:" >&5
950 cat conftest.
$ac_ext >&5
952 ac_cv_lbl_cc_hpux_cc_aa
=no
957 echo "$ac_t""$ac_cv_lbl_cc_hpux_cc_aa" 1>&6
958 if test $ac_cv_lbl_cc_hpux_cc_aa = no
; then
959 { echo "configure: error: see the INSTALL doc for more info" 1>&2; exit 1; }
961 CFLAGS
="$savedcflags"
962 V_CCOPT
="-Aa $V_CCOPT"
963 cat >> confdefs.h
<<\EOF
964 #define _HPUX_SOURCE 1
970 { echo "configure: error: see the INSTALL doc for more info" 1>&2; exit 1; }
974 V_INCLS
="$V_INCLS -I/usr/local/include"
975 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
980 V_CCOPT
="$V_CCOPT -xansi -signed -g3"
984 V_CCOPT
="$V_CCOPT -std1 -g3"
988 echo $ac_n "checking that Ultrix $CC hacks const in prototypes""... $ac_c" 1>&6
989 echo "configure:990: checking that Ultrix $CC hacks const in prototypes" >&5
990 if eval "test \"`echo '$''{'ac_cv_lbl_cc_const_proto'+set}'`\" = set"; then
991 echo $ac_n "(cached) $ac_c" 1>&6
993 cat > conftest.
$ac_ext <<EOF
994 #line 995 "configure"
995 #include "confdefs.h"
996 #include <sys/types.h>
999 void c(const struct a *)
1002 if { (eval echo configure
:1003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1004 ac_cv_lbl_cc_const_proto
=yes
1006 echo "configure: failed program was:" >&5
1007 cat conftest.
$ac_ext >&5
1009 ac_cv_lbl_cc_const_proto
=no
1014 echo "$ac_t""$ac_cv_lbl_cc_const_proto" 1>&6
1015 if test $ac_cv_lbl_cc_const_proto = no
; then
1016 cat >> confdefs.h
<<\EOF
1026 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1027 echo "configure:1028: checking how to run the C preprocessor" >&5
1028 # On Suns, sometimes $CPP names a directory.
1029 if test -n "$CPP" && test -d "$CPP"; then
1032 if test -z "$CPP"; then
1033 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1034 echo $ac_n "(cached) $ac_c" 1>&6
1036 # This must be in double quotes, not single quotes, because CPP may get
1037 # substituted into the Makefile and "${CC-cc}" will confuse make.
1039 # On the NeXT, cc -E runs the code through the compiler's parser,
1040 # not just through cpp.
1041 cat > conftest.
$ac_ext <<EOF
1042 #line 1043 "configure"
1043 #include "confdefs.h"
1047 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1048 { (eval echo configure
:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1049 ac_err
=`grep -v '^ *+' conftest.out`
1050 if test -z "$ac_err"; then
1054 echo "configure: failed program was:" >&5
1055 cat conftest.
$ac_ext >&5
1057 CPP
="${CC-cc} -E -traditional-cpp"
1058 cat > conftest.
$ac_ext <<EOF
1059 #line 1060 "configure"
1060 #include "confdefs.h"
1064 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1065 { (eval echo configure
:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1066 ac_err
=`grep -v '^ *+' conftest.out`
1067 if test -z "$ac_err"; then
1071 echo "configure: failed program was:" >&5
1072 cat conftest.
$ac_ext >&5
1079 ac_cv_prog_CPP
="$CPP"
1081 CPP
="$ac_cv_prog_CPP"
1083 ac_cv_prog_CPP
="$CPP"
1085 echo "$ac_t""$CPP" 1>&6
1087 for ac_hdr
in malloc.h sys
/ioccom.h sys
/sockio.h
1089 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1091 echo "configure:1092: checking for $ac_hdr" >&5
1092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1093 echo $ac_n "(cached) $ac_c" 1>&6
1095 cat > conftest.
$ac_ext <<EOF
1096 #line 1097 "configure"
1097 #include "confdefs.h"
1100 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1101 { (eval echo configure
:1102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1102 ac_err
=`grep -v '^ *+' conftest.out`
1103 if test -z "$ac_err"; then
1105 eval "ac_cv_header_$ac_safe=yes"
1108 echo "configure: failed program was:" >&5
1109 cat conftest.
$ac_ext >&5
1111 eval "ac_cv_header_$ac_safe=no"
1115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1116 echo "$ac_t""yes" 1>&6
1117 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1118 cat >> confdefs.h
<<EOF
1119 #define $ac_tr_hdr 1
1123 echo "$ac_t""no" 1>&6
1128 if test "$GCC" = yes ; then
1129 echo $ac_n "checking for ANSI ioctl definitions""... $ac_c" 1>&6
1130 echo "configure:1131: checking for ANSI ioctl definitions" >&5
1131 if eval "test \"`echo '$''{'ac_cv_lbl_gcc_fixincludes'+set}'`\" = set"; then
1132 echo $ac_n "(cached) $ac_c" 1>&6
1134 cat > conftest.
$ac_ext <<EOF
1135 #line 1136 "configure"
1136 #include "confdefs.h"
1138 * This generates a "duplicate case value" when fixincludes
1141 # include <sys/types.h>
1142 # include <sys/time.h>
1143 # include <sys/ioctl.h>
1144 # ifdef HAVE_SYS_IOCCOM_H
1145 # include <sys/ioccom.h>
1154 if { (eval echo configure
:1155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1156 ac_cv_lbl_gcc_fixincludes
=yes
1158 echo "configure: failed program was:" >&5
1159 cat conftest.
$ac_ext >&5
1161 ac_cv_lbl_gcc_fixincludes
=no
1166 echo "$ac_t""$ac_cv_lbl_gcc_fixincludes" 1>&6
1167 if test $ac_cv_lbl_gcc_fixincludes = no
; then
1168 # Don't cache failure
1169 unset ac_cv_lbl_gcc_fixincludes
1170 { echo "configure: error: see the INSTALL for more info" 1>&2; exit 1; }
1174 for ac_func
in ether_hostton strerror
1176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1177 echo "configure:1178: checking for $ac_func" >&5
1178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1179 echo $ac_n "(cached) $ac_c" 1>&6
1181 cat > conftest.
$ac_ext <<EOF
1182 #line 1183 "configure"
1183 #include "confdefs.h"
1184 /* System header to define __stub macros and hopefully few prototypes,
1185 which can conflict with char $ac_func(); below. */
1187 /* Override any gcc2 internal prototype to avoid an error. */
1188 /* We use char because int might match the return type of a gcc2
1189 builtin and then its argument prototype would still apply. */
1194 /* The GNU C library defines this for functions which it implements
1195 to always fail with ENOSYS. Some functions are actually named
1196 something starting with __ and the normal name is an alias. */
1197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1205 if { (eval echo configure
:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1207 eval "ac_cv_func_$ac_func=yes"
1209 echo "configure: failed program was:" >&5
1210 cat conftest.
$ac_ext >&5
1212 eval "ac_cv_func_$ac_func=no"
1217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1218 echo "$ac_t""yes" 1>&6
1219 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1220 cat >> confdefs.h
<<EOF
1221 #define $ac_tr_func 1
1225 echo "$ac_t""no" 1>&6
1230 # Check whether --with-pcap or --without-pcap was given.
1231 if test "${with_pcap+set}" = set; then
1232 withval
="$with_pcap"
1236 echo $ac_n "checking packet capture type""... $ac_c" 1>&6
1237 echo "configure:1238: checking packet capture type" >&5
1238 if test ! -z "$with_pcap" ; then
1240 elif test -r /dev
/bpf0
; then
1242 elif test -r /usr
/include
/net
/pfilt.h
; then
1244 elif test -r /dev
/enet
; then
1246 elif test -r /dev
/nit
; then
1248 elif test -r /usr
/include
/sys
/net
/nit.h
; then
1250 elif test -r /usr
/include
/net
/raw.h
; then
1252 elif test -r /usr
/include
/sys
/dlpi.h
; then
1254 elif test -r /usr
/include
/linux
/socket.h
; then
1256 elif test -c /dev
/bpf0
; then # check again in case not readable
1258 elif test -c /dev
/enet
; then # check again in case not readable
1260 elif test -c /dev
/nit
; then # check again in case not readable
1265 echo "$ac_t""$V_PCAP" 1>&6
1270 for ac_hdr
in sys
/bufmod.h sys
/dlpi_ext.h
1272 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1273 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1274 echo "configure:1275: checking for $ac_hdr" >&5
1275 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1276 echo $ac_n "(cached) $ac_c" 1>&6
1278 cat > conftest.
$ac_ext <<EOF
1279 #line 1280 "configure"
1280 #include "confdefs.h"
1283 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1284 { (eval echo configure
:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1285 ac_err
=`grep -v '^ *+' conftest.out`
1286 if test -z "$ac_err"; then
1288 eval "ac_cv_header_$ac_safe=yes"
1291 echo "configure: failed program was:" >&5
1292 cat conftest.
$ac_ext >&5
1294 eval "ac_cv_header_$ac_safe=no"
1298 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1299 echo "$ac_t""yes" 1>&6
1300 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1301 cat >> confdefs.h
<<EOF
1302 #define $ac_tr_hdr 1
1306 echo "$ac_t""no" 1>&6
1310 echo $ac_n "checking for /dev/dlpi device""... $ac_c" 1>&6
1311 echo "configure:1312: checking for /dev/dlpi device" >&5
1312 if test -c /dev
/dlpi
; then
1313 echo "$ac_t""yes" 1>&6
1314 cat >> confdefs.h
<<\EOF
1315 #define HAVE_DEV_DLPI 1
1319 echo "$ac_t""no" 1>&6
1321 echo $ac_n "checking for $dir directory""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $dir directory" >&5
1323 if test -d $dir ; then
1324 echo "$ac_t""yes" 1>&6
1325 cat >> confdefs.h
<<EOF
1326 #define PCAP_DEV_PREFIX "$dir"
1330 echo "$ac_t""no" 1>&6
1336 for ac_hdr
in net
/if_arp.h
1338 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1339 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1340 echo "configure:1341: checking for $ac_hdr" >&5
1341 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1342 echo $ac_n "(cached) $ac_c" 1>&6
1344 cat > conftest.
$ac_ext <<EOF
1345 #line 1346 "configure"
1346 #include "confdefs.h"
1349 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1350 { (eval echo configure
:1351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1351 ac_err
=`grep -v '^ *+' conftest.out`
1352 if test -z "$ac_err"; then
1354 eval "ac_cv_header_$ac_safe=yes"
1357 echo "configure: failed program was:" >&5
1358 cat conftest.
$ac_ext >&5
1360 eval "ac_cv_header_$ac_safe=no"
1364 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1365 echo "$ac_t""yes" 1>&6
1366 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1367 cat >> confdefs.h
<<EOF
1368 #define $ac_tr_hdr 1
1372 echo "$ac_t""no" 1>&6
1376 echo $ac_n "checking Linux kernel version""... $ac_c" 1>&6
1377 echo "configure:1378: checking Linux kernel version" >&5
1378 if eval "test \"`echo '$''{'ac_cv_linux_vers'+set}'`\" = set"; then
1379 echo $ac_n "(cached) $ac_c" 1>&6
1381 ac_cv_linux_vers
=`uname -r 2>&1 | \
1382 sed -n -e '$s/.* //' -e '$s/\..*//p'`
1385 echo "$ac_t""$ac_cv_linux_vers" 1>&6
1386 if test $ac_cv_linux_vers -lt 2 ; then
1387 { echo "configure: error: version 2 or higher required; see the INSTALL doc for more info" 1>&2; exit 1; }
1392 echo "configure: warning: cannot determine packet capture interface" 1>&2
1393 echo "configure: warning: (see the INSTALL doc for more info)" 1>&2
1398 # Check whether --with-flex or --without-flex was given.
1399 if test "${with_flex+set}" = set; then
1400 withval
="$with_flex"
1404 # Check whether --with-bison or --without-bison was given.
1405 if test "${with_bison+set}" = set; then
1406 withval
="$with_bison"
1410 if test "$with_flex" = no
; then
1415 # Extract the first word of "$ac_prog", so it can be a program name with args.
1416 set dummy
$ac_prog; ac_word
=$2
1417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1418 echo "configure:1419: checking for $ac_word" >&5
1419 if eval "test \"`echo '$''{'ac_cv_prog_V_LEX'+set}'`\" = set"; then
1420 echo $ac_n "(cached) $ac_c" 1>&6
1422 if test -n "$V_LEX"; then
1423 ac_cv_prog_V_LEX
="$V_LEX" # Let the user override the test.
1425 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1426 for ac_dir
in $PATH; do
1427 test -z "$ac_dir" && ac_dir
=.
1428 if test -f $ac_dir/$ac_word; then
1429 ac_cv_prog_V_LEX
="$ac_prog"
1436 V_LEX
="$ac_cv_prog_V_LEX"
1437 if test -n "$V_LEX"; then
1438 echo "$ac_t""$V_LEX" 1>&6
1440 echo "$ac_t""no" 1>&6
1443 test -n "$V_LEX" && break
1445 test -n "$V_LEX" || V_LEX
="lex"
1448 if test "$V_LEX" = flex
; then
1449 # The -V flag was added in 2.4
1450 echo $ac_n "checking for flex 2.4 or higher""... $ac_c" 1>&6
1451 echo "configure:1452: checking for flex 2.4 or higher" >&5
1452 if eval "test \"`echo '$''{'ac_cv_lbl_flex_v24'+set}'`\" = set"; then
1453 echo $ac_n "(cached) $ac_c" 1>&6
1455 if flex
-V >/dev
/null
2>&1; then
1456 ac_cv_lbl_flex_v24
=yes
1458 ac_cv_lbl_flex_v24
=no
1462 echo "$ac_t""$ac_cv_lbl_flex_v24" 1>&6
1463 if test $ac_cv_lbl_flex_v24 = no
; then
1464 s
="2.4 or higher required"
1465 echo "configure: warning: ignoring obsolete flex executable ($s)" 1>&2
1469 if test "$with_bison" = no
; then
1472 for ac_prog
in bison
1474 # Extract the first word of "$ac_prog", so it can be a program name with args.
1475 set dummy
$ac_prog; ac_word
=$2
1476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1477 echo "configure:1478: checking for $ac_word" >&5
1478 if eval "test \"`echo '$''{'ac_cv_prog_V_YACC'+set}'`\" = set"; then
1479 echo $ac_n "(cached) $ac_c" 1>&6
1481 if test -n "$V_YACC"; then
1482 ac_cv_prog_V_YACC
="$V_YACC" # Let the user override the test.
1484 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1485 for ac_dir
in $PATH; do
1486 test -z "$ac_dir" && ac_dir
=.
1487 if test -f $ac_dir/$ac_word; then
1488 ac_cv_prog_V_YACC
="$ac_prog"
1495 V_YACC
="$ac_cv_prog_V_YACC"
1496 if test -n "$V_YACC"; then
1497 echo "$ac_t""$V_YACC" 1>&6
1499 echo "$ac_t""no" 1>&6
1502 test -n "$V_YACC" && break
1504 test -n "$V_YACC" || V_YACC
="yacc"
1507 if test "$V_YACC" = bison
; then
1510 if test "$V_LEX" != lex -a "$V_YACC" = yacc -o "$V_LEX" = lex -a "$V_YACC" != yacc ; then
1511 echo "configure: warning: don't have both flex and bison; reverting to lex/yacc" 1>&2
1515 if test "$V_LEX" = flex
-a -n "pcap_" ; then
1516 V_LEX
="$V_LEX -Ppcap_"
1517 V_YACC
="$V_YACC -p pcap_"
1520 case "$target_os" in
1523 cat >> confdefs.h
<<\EOF
1530 cat >> confdefs.h
<<\EOF
1531 #define HAVE_HPUX9 1
1543 cat >> confdefs.h
<<\EOF
1544 #define HAVE_HPUX10_20 1
1550 echo $ac_n "checking if SINIX compiler defines sinix""... $ac_c" 1>&6
1551 echo "configure:1552: checking if SINIX compiler defines sinix" >&5
1552 if eval "test \"`echo '$''{'ac_cv_cc_sinix_defined'+set}'`\" = set"; then
1553 echo $ac_n "(cached) $ac_c" 1>&6
1555 cat > conftest.
$ac_ext <<EOF
1556 #line 1557 "configure"
1557 #include "confdefs.h"
1563 if { (eval echo configure
:1564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1565 ac_cv_cc_sinix_defined
=yes
1567 echo "configure: failed program was:" >&5
1568 cat conftest.
$ac_ext >&5
1570 ac_cv_cc_sinix_defined
=no
1575 echo "$ac_t""$ac_cv_cc_sinix_defined" 1>&6
1576 if test $ac_cv_cc_sinix_defined = no
; then
1577 cat >> confdefs.h
<<\EOF
1585 cat >> confdefs.h
<<\EOF
1586 #define HAVE_SOLARIS 1
1592 V_INCLS
="$V_INCLS -Ilinux-include"
1596 for ac_prog
in ranlib
1598 # Extract the first word of "$ac_prog", so it can be a program name with args.
1599 set dummy
$ac_prog; ac_word
=$2
1600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1601 echo "configure:1602: checking for $ac_word" >&5
1602 if eval "test \"`echo '$''{'ac_cv_prog_V_RANLIB'+set}'`\" = set"; then
1603 echo $ac_n "(cached) $ac_c" 1>&6
1605 if test -n "$V_RANLIB"; then
1606 ac_cv_prog_V_RANLIB
="$V_RANLIB" # Let the user override the test.
1608 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1609 for ac_dir
in $PATH; do
1610 test -z "$ac_dir" && ac_dir
=.
1611 if test -f $ac_dir/$ac_word; then
1612 ac_cv_prog_V_RANLIB
="$ac_prog"
1619 V_RANLIB
="$ac_cv_prog_V_RANLIB"
1620 if test -n "$V_RANLIB"; then
1621 echo "$ac_t""$V_RANLIB" 1>&6
1623 echo "$ac_t""no" 1>&6
1626 test -n "$V_RANLIB" && break
1628 test -n "$V_RANLIB" || V_RANLIB
="@true"
1632 if test "${LBL_CFLAGS+set}" = set; then
1633 V_CCOPT
="$V_CCOPT ${LBL_CFLAGS}"
1635 if test -f .devel
; then
1636 if test "$GCC" = yes ; then
1637 if test "${LBL_CFLAGS+set}" != set; then
1638 if test "$ac_cv_prog_cc_g" = yes ; then
1639 V_CCOPT
="-g $V_CCOPT"
1641 V_CCOPT
="$V_CCOPT -Wall"
1642 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
1643 V_CCOPT
="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
1647 case "$target_os" in
1650 V_CCOPT
="$V_CCOPT -n32"
1657 os
=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
1659 if test -f $name ; then
1660 ln -s $name os-proto.h
1661 cat >> confdefs.h
<<\EOF
1662 #define HAVE_OS_PROTO_H 1
1666 echo "configure: warning: can't find $name" 1>&2
1670 echo $ac_n "checking if sockaddr struct has sa_len member""... $ac_c" 1>&6
1671 echo "configure:1672: checking if sockaddr struct has sa_len member" >&5
1672 if eval "test \"`echo '$''{'ac_cv_lbl_sockaddr_has_sa_len'+set}'`\" = set"; then
1673 echo $ac_n "(cached) $ac_c" 1>&6
1675 cat > conftest.
$ac_ext <<EOF
1676 #line 1677 "configure"
1677 #include "confdefs.h"
1679 # include <sys/types.h>
1680 # include <sys/socket.h>
1682 u_int i = sizeof(((struct sockaddr *)0)->sa_len)
1685 if { (eval echo configure
:1686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1687 ac_cv_lbl_sockaddr_has_sa_len
=yes
1689 echo "configure: failed program was:" >&5
1690 cat conftest.
$ac_ext >&5
1692 ac_cv_lbl_sockaddr_has_sa_len
=no
1697 echo "$ac_t""$ac_cv_lbl_sockaddr_has_sa_len" 1>&6
1698 if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then
1699 cat >> confdefs.h
<<\EOF
1700 #define HAVE_SOCKADDR_SA_LEN 1
1705 echo $ac_n "checking if unaligned accesses fail""... $ac_c" 1>&6
1706 echo "configure:1707: checking if unaligned accesses fail" >&5
1707 if eval "test \"`echo '$''{'ac_cv_lbl_unaligned_fail'+set}'`\" = set"; then
1708 echo $ac_n "(cached) $ac_c" 1>&6
1710 case "$target_cpu" in
1712 alpha|hp
*|mips|sparc
)
1713 ac_cv_lbl_unaligned_fail
=yes
1717 cat >conftest.c
<<EOF
1718 # include <sys/types.h>
1719 # include <sys/wait.h>
1721 unsigned char a[5] = { 1, 2, 3, 4, 5 };
1726 /* avoid "core dumped" message */
1732 pid = waitpid(pid, &status, 0);
1735 exit(!WIFEXITED(status));
1738 i = *(unsigned int *)&a[1];
1743 ${CC-cc} -o conftest
$CFLAGS $CPPFLAGS $LDFLAGS \
1744 conftest.c
$LIBS >/dev
/null
2>&1
1745 if test ! -x conftest
; then
1746 ac_cv_lbl_unaligned_fail
=yes
1748 .
/conftest
>conftest.out
1749 if test ! -s conftest.out
; then
1750 ac_cv_lbl_unaligned_fail
=yes
1752 ac_cv_lbl_unaligned_fail
=no
1755 rm -f conftest
* core core.conftest
1760 echo "$ac_t""$ac_cv_lbl_unaligned_fail" 1>&6
1761 if test $ac_cv_lbl_unaligned_fail = yes ; then
1762 cat >> confdefs.h
<<\EOF
1768 if test "${srcdir}" = "." ; then
1774 if test -r ${srcdirprefix}lbl
/gnuc.h
; then
1776 ln -s ${srcdirprefix}lbl
/gnuc.h gnuc.h
1780 ln -s ${srcdirprefix}bpf
/net
/bpf_filter.c bpf_filter.c
1782 ln -s ${srcdirprefix}bpf
/net net
1791 # Find a good install program. We prefer a C program (faster),
1792 # so one script is as good as another. But avoid the broken or
1793 # incompatible versions:
1794 # SysV /etc/install, /usr/sbin/install
1795 # SunOS /usr/etc/install
1796 # IRIX /sbin/install
1798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1800 # ./install, which can be erroneously created by make from ./install.sh.
1801 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1802 echo "configure:1803: checking for a BSD compatible install" >&5
1803 if test -z "$INSTALL"; then
1804 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1805 echo $ac_n "(cached) $ac_c" 1>&6
1807 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1808 for ac_dir
in $PATH; do
1809 # Account for people who put trailing slashes in PATH elements.
1811 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1813 # OSF1 and SCO ODT 3.0 have their own names for install.
1814 for ac_prog
in ginstall installbsd scoinst
install; do
1815 if test -f $ac_dir/$ac_prog; then
1816 if test $ac_prog = install &&
1817 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1818 # AIX install. It has an incompatible calling convention.
1819 # OSF/1 installbsd also uses dspmsg, but is usable.
1822 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1833 if test "${ac_cv_path_install+set}" = set; then
1834 INSTALL
="$ac_cv_path_install"
1836 # As a last resort, use the slow shell script. We don't cache a
1837 # path for INSTALL within a source directory, because that will
1838 # break other packages using the cache if that directory is
1839 # removed, or if the path is relative.
1840 INSTALL
="$ac_install_sh"
1843 echo "$ac_t""$INSTALL" 1>&6
1845 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846 # It thinks the first close brace ends the variable substitution.
1847 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1849 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1853 cat > confcache
<<\EOF
1854 # This file is a shell script that caches the results of configure
1855 # tests run on this system so they can be shared between configure
1856 # scripts and configure runs. It is not useful on other systems.
1857 # If it contains results you don't want to keep, you may remove or edit it.
1859 # By default, configure uses ./config.cache as the cache file,
1860 # creating it if it does not exist already. You can give configure
1861 # the --cache-file=FILE option to use a different cache file; that is
1862 # what configure does when it calls configure scripts in
1863 # subdirectories, so they share the cache.
1864 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1865 # config.status only pays attention to the cache file if you give it the
1866 # --recheck option to rerun configure.
1869 # The following way of writing the cache mishandles newlines in values,
1870 # but we know of no workaround that is simple, portable, and efficient.
1871 # So, don't put newlines in cache variables' values.
1872 # Ultrix sh set writes to stderr and can't be redirected directly,
1873 # and sets the high bit in the cache file unless we assign to the vars.
1875 case `(ac_space=' '; set) 2>&1` in
1877 # `set' does not quote correctly, so add quotes (double-quote substitution
1878 # turns \\\\ into \\, and sed turns \\ into \).
1880 -e "s/'/'\\\\''/g" \
1881 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1884 # `set' quotes correctly as required by POSIX, so do not add quotes.
1885 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1888 if cmp -s $cache_file confcache
; then
1891 if test -w $cache_file; then
1892 echo "updating cache $cache_file"
1893 cat confcache
> $cache_file
1895 echo "not updating unwritable cache $cache_file"
1900 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1902 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1903 # Let make expand exec_prefix.
1904 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1906 # Any assignment to VPATH causes Sun make to only execute
1907 # the first set of double-colon rules, so remove it if not needed.
1908 # If there is a colon in the path, we need to keep it.
1909 if test "x$srcdir" = x.
; then
1910 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1913 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1915 # Transform confdefs.h into DEFS.
1916 # Protect against shell expansion while executing Makefile rules.
1917 # Protect against Makefile macro expansion.
1918 cat > conftest.defs
<<\EOF
1919 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1920 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1925 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1929 # Without the "./", some shells look in PATH for config.status.
1930 : ${CONFIG_STATUS=./config.status}
1932 echo creating $CONFIG_STATUS
1933 rm -f $CONFIG_STATUS
1934 cat > $CONFIG_STATUS <<EOF
1936 # Generated automatically by configure.
1937 # Run this file to recreate the current configuration.
1938 # This directory was configured as follows,
1939 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1941 # $0 $ac_configure_args
1943 # Compiler output produced by configure, useful for debugging
1944 # configure, is in ./config.log if it exists.
1946 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1949 case "\$ac_option" in
1950 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1951 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1952 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1953 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1954 echo "$CONFIG_STATUS generated by autoconf version 2.12"
1956 -help | --help | --hel | --he | --h)
1957 echo "\$ac_cs_usage"; exit 0 ;;
1958 *) echo "\$ac_cs_usage"; exit 1 ;;
1962 ac_given_srcdir=$srcdir
1963 ac_given_INSTALL="$INSTALL"
1965 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1967 cat >> $CONFIG_STATUS <<EOF
1969 # Protect against being on the right side of a sed subst in config.status.
1970 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1971 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1974 s%@CFLAGS@%$CFLAGS%g
1975 s%@CPPFLAGS@%$CPPFLAGS%g
1976 s%@CXXFLAGS@%$CXXFLAGS%g
1978 s%@LDFLAGS@%$LDFLAGS%g
1980 s%@exec_prefix@%$exec_prefix%g
1981 s%@prefix@%$prefix%g
1982 s%@program_transform_name@%$program_transform_name%g
1983 s%@bindir@%$bindir%g
1984 s%@sbindir@%$sbindir%g
1985 s%@libexecdir@%$libexecdir%g
1986 s%@datadir@%$datadir%g
1987 s%@sysconfdir@%$sysconfdir%g
1988 s%@sharedstatedir@%$sharedstatedir%g
1989 s%@localstatedir@%$localstatedir%g
1990 s%@libdir@%$libdir%g
1991 s%@includedir@%$includedir%g
1992 s%@oldincludedir@%$oldincludedir%g
1993 s%@infodir@%$infodir%g
1994 s%@mandir@%$mandir%g
1996 s%@host_alias@%$host_alias%g
1997 s%@host_cpu@%$host_cpu%g
1998 s%@host_vendor@%$host_vendor%g
1999 s%@host_os@%$host_os%g
2000 s%@target@%$target%g
2001 s%@target_alias@%$target_alias%g
2002 s%@target_cpu@%$target_cpu%g
2003 s%@target_vendor@%$target_vendor%g
2004 s%@target_os@%$target_os%g
2006 s%@build_alias@%$build_alias%g
2007 s%@build_cpu@%$build_cpu%g
2008 s%@build_vendor@%$build_vendor%g
2009 s%@build_os@%$build_os%g
2010 s%@SHLICC2@%$SHLICC2%g
2014 s%@V_YACC@%$V_YACC%g
2015 s%@V_RANLIB@%$V_RANLIB%g
2016 s%@V_CCOPT@%$V_CCOPT%g
2017 s%@V_INCLS@%$V_INCLS%g
2018 s%@V_PCAP@%$V_PCAP%g
2019 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2020 s%@INSTALL_DATA@%$INSTALL_DATA%g
2025 cat >> $CONFIG_STATUS <<\EOF
2027 # Split the substitutions into bite-sized pieces for seds with
2028 # small command number limits, like on Digital OSF/1 and HP-UX.
2029 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2030 ac_file=1 # Number of current file.
2031 ac_beg=1 # First line for current file.
2032 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2035 while $ac_more_lines; do
2036 if test $ac_beg -gt 1; then
2037 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2039 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2041 if test ! -s conftest.s$ac_file; then
2043 rm -f conftest.s$ac_file
2045 if test -z "$ac_sed_cmds"; then
2046 ac_sed_cmds="sed -f conftest.s$ac_file"
2048 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2050 ac_file=`expr $ac_file + 1`
2052 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2055 if test -z "$ac_sed_cmds"; then
2060 cat >> $CONFIG_STATUS <<EOF
2062 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2064 cat >> $CONFIG_STATUS <<\EOF
2065 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2066 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2068 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
2069 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
2070 *) ac_file_in="${ac_file}.in" ;;
2073 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2075 # Remove last slash and all that follows it. Not all systems have dirname.
2076 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2077 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2078 # The file is in a subdirectory.
2079 test ! -d "$ac_dir" && mkdir "$ac_dir"
2080 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
2081 # A "../" for each directory in $ac_dir_suffix.
2082 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
2084 ac_dir_suffix= ac_dots=
2087 case "$ac_given_srcdir" in
2089 if test -z "$ac_dots"; then top_srcdir=.
2090 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
2091 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2093 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2094 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2097 case "$ac_given_INSTALL" in
2098 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2099 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2102 echo creating "$ac_file"
2104 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
2106 *Makefile*) ac_comsub="1i\\
2107 # $configure_input" ;;
2111 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2113 s%@configure_input@%$configure_input%g
2114 s%@srcdir@%$srcdir%g
2115 s%@top_srcdir@%$top_srcdir%g
2116 s%@INSTALL@%$INSTALL%g
2117 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2122 cat >> $CONFIG_STATUS <<EOF
2125 cat >> $CONFIG_STATUS <<\EOF
2129 chmod +x $CONFIG_STATUS
2130 rm -fr confdefs* $ac_clean_files
2131 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2134 if test -f .devel ; then