2 # Generated by configure.
3 # Run this file to recreate the current configuration.
4 # Compiler output produced by configure, useful for debugging
5 # configure, is in config.log if it exists.
10 SHELL
=${CONFIG_SHELL-/bin/sh}
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
159 test "x$as_lineno_1" != "x$as_lineno_2" &&
160 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
162 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
163 # uniformly replaced by the line number. The first 'sed' inserts a
164 # line-number line after each line using $LINENO; the second 'sed'
165 # does the real work. The second script uses 'N' to pair each
166 # line-number line with the line containing $LINENO, and appends
167 # trailing '-' during substitution so that $LINENO is not a special
169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
170 # scripts with optimization help from Paolo Bonzini. Blame Lee
171 # E. McMahon (1931-1989) for sed's syntax. :-)
183 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
187 chmod +x
"$as_me.lineno" ||
188 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
189 { (exit 1); exit 1; }; }
191 # Don't try to exec as it changes $[0], causing all sort of problems
192 # (the dirname of $[0] is not the place where we might find the
193 # original and so on. Autoconf is especially sensitive to this).
195 # Exit status is that of the last command.
200 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
206 ECHO_C
= ECHO_N
= ECHO_T
=
210 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
217 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
218 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
224 rm -f conf$$ conf$$.exe conf$$.
file
225 if test -d conf$$.dir
; then
226 rm -f conf$$.dir
/conf$$.
file
232 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
234 # ... but there are two gotchas:
235 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
236 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
237 # In both cases, we have to default to `cp -p'.
238 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
240 elif ln conf$$.
file conf$$
2>/dev
/null
; then
245 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
246 rmdir conf$$.dir
2>/dev
/null
248 if mkdir
-p .
2>/dev
/null
; then
251 test -d .
/-p && rmdir .
/-p
255 if test -x / >/dev
/null
2>&1; then
258 if ls -dL / >/dev
/null
2>&1; then
265 if test -d "$1"; then
271 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
272 ???[sx]*):;;*)false;;esac;fi
276 as_executable_p
=$as_test_x
278 # Sed expression to map a string onto a valid CPP name.
279 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
281 # Sed expression to map a string onto a valid variable name.
282 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
287 # Save the log message, to keep $[0] and so on meaningful, and to
288 # report actual input values of CONFIG_FILES etc. instead of their
289 # values after options handling.
291 This file was extended by $as_me, which was
292 generated by GNU Autoconf 2.61. Invocation command line was
294 CONFIG_FILES = $CONFIG_FILES
295 CONFIG_HEADERS = $CONFIG_HEADERS
296 CONFIG_LINKS = $CONFIG_LINKS
297 CONFIG_COMMANDS = $CONFIG_COMMANDS
300 on `(hostname || uname -n) 2>/dev/null | sed 1q`
303 # Files that config.status was made for.
304 config_files
=" Makefile tcpdump.1"
305 config_headers
=" config.h"
306 config_commands
=" default-1"
309 \`$as_me' instantiates files from templates according to the
310 current configuration.
312 Usage: $0 [OPTIONS] [FILE]...
314 -h, --help print this help, then exit
315 -V, --version print version number and configuration settings, then exit
316 -q, --quiet do not print progress messages
317 -d, --debug don't remove temporary files
318 --recheck update $as_me by reconfiguring in the same conditions
319 --file=FILE[:TEMPLATE]
320 instantiate the configuration file FILE
321 --header=FILE[:TEMPLATE]
322 instantiate the configuration header FILE
327 Configuration headers:
330 Configuration commands:
333 Report bugs to <bug-autoconf@gnu.org>."
337 configured by ./configure, generated by GNU Autoconf 2.61,
338 with options \"'--host=mipsel-linux' '--build=x86_64-linux-gnu' '--prefix=/usr' '--disable-smb' '--without-smi' '--with-crypt' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -I/home/vicente/tomato/release/src-rt/router/openssl/include' 'LDFLAGS=-L/home/vicente/tomato/release/src-rt/router/openssl'\"
340 Copyright (C) 2006 Free Software Foundation, Inc.
341 This config.status script is free software; the Free Software Foundation
342 gives unlimited permission to copy, distribute and modify it."
344 ac_pwd
='/home/vicente/tomato/release/src/router/tcpdump'
346 INSTALL
='/usr/bin/install -c'
347 # If no file are specified by the user, then we need to provide default
348 # value. By we need to know if files were specified by the user.
354 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
355 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
366 # Handling of the options.
367 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
369 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
370 echo "$ac_cs_version"; exit ;;
371 --debug |
--debu |
--deb |
--de |
--d |
-d )
373 --file |
--fil |
--fi |
--f )
375 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
376 ac_need_defaults
=false
;;
377 --header |
--heade |
--head |
--hea )
379 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
380 ac_need_defaults
=false
;;
382 # Conflict between --help and --header
383 { echo "$as_me: error: ambiguous option: $1
384 Try \`$0 --help' for more information." >&2
385 { (exit 1); exit 1; }; };;
386 --help |
--hel |
-h )
387 echo "$ac_cs_usage"; exit ;;
388 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
389 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
393 -*) { echo "$as_me: error: unrecognized option: $1
394 Try \`$0 --help' for more information." >&2
395 { (exit 1); exit 1; }; } ;;
397 *) ac_config_targets
="$ac_config_targets $1"
398 ac_need_defaults
=false
;;
404 ac_configure_extra_args
=
406 if $ac_cs_silent; then
408 ac_configure_extra_args
="$ac_configure_extra_args --silent"
411 if $ac_cs_recheck; then
412 echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " '--host=mipsel-linux' '--build=x86_64-linux-gnu' '--prefix=/usr' '--disable-smb' '--without-smi' '--with-crypt' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -I/home/vicente/tomato/release/src-rt/router/openssl/include' 'LDFLAGS=-L/home/vicente/tomato/release/src-rt/router/openssl' $ac_configure_extra_args " --no-create --no-recursion" >&6
415 exec /bin
/sh
"./configure" '--host=mipsel-linux' '--build=x86_64-linux-gnu' '--prefix=/usr' '--disable-smb' '--without-smi' '--with-crypt' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=mipsel-linux' 'CC=mipsel-uclibc-gcc' 'CFLAGS=-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -I/home/vicente/tomato/release/src-rt/router/openssl/include' 'LDFLAGS=-L/home/vicente/tomato/release/src-rt/router/openssl' $ac_configure_extra_args --no-create --no-recursion
421 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
422 ## Running $as_me. ##
433 # Handling of arguments.
434 for ac_config_target
in $ac_config_targets
436 case $ac_config_target in
437 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
438 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
439 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
440 "tcpdump.1") CONFIG_FILES
="$CONFIG_FILES tcpdump.1" ;;
442 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
443 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
444 { (exit 1); exit 1; }; };;
449 # If the user did not use the arguments to specify the items to instantiate,
450 # then the envvar interface is used. Set only those that are not.
451 # We use the long form for the default assignment because of an extremely
452 # bizarre bug on SunOS 4.1.3.
453 if $ac_need_defaults; then
454 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
455 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
456 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
459 # Have a temporary directory for convenience. Make it in the build tree
460 # simply because there is no reason against having it here, and in addition,
461 # creating and moving files from /tmp can sometimes cause problems.
462 # Hook for its removal unless debugging.
463 # Note that there is a small window in which the directory will not be cleaned:
464 # after its creation but before its name has been assigned to `$tmp'.
469 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
471 trap '{ (exit 1); exit 1; }' 1 2 13 15
473 # Create a (secure) tmp directory for tmp files.
476 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
477 test -n "$tmp" && test -d "$tmp"
481 (umask 077 && mkdir
"$tmp")
484 echo "$me: cannot create a temporary directory in ." >&2
485 { (exit 1); exit 1; }
489 # Set up the sed scripts for CONFIG_FILES section.
492 # No need to generate the scripts if there are no CONFIG_FILES.
493 # This happens for instance when ./config.status config.h
494 if test -n "$CONFIG_FILES"; then
496 cat >"$tmp/subs-1.sed" <<\CEOF
497 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b end
498 s
,@SHELL@
,|
#_!!_#|/bin/sh,g
499 s
,@PATH_SEPARATOR@
,|
#_!!_#|:,g
500 s
,@PACKAGE_NAME@
,|
#_!!_#|,g
501 s
,@PACKAGE_TARNAME@
,|
#_!!_#|,g
502 s
,@PACKAGE_VERSION@
,|
#_!!_#|,g
503 s
,@PACKAGE_STRING@
,|
#_!!_#|,g
504 s
,@PACKAGE_BUGREPORT@
,|
#_!!_#|,g
505 s
,@exec_prefix@
,|
#_!!_#|${prefix},g
506 s
,@prefix@
,|
#_!!_#|/usr,g
507 s
,@program_transform_name@
,|
#_!!_#|s\,x\,x\,,g
508 s
,@bindir@
,|
#_!!_#|${exec_prefix}/bin,g
509 s
,@sbindir@
,|
#_!!_#|${exec_prefix}/sbin,g
510 s
,@libexecdir@
,|
#_!!_#|${exec_prefix}/libexec,g
511 s
,@datarootdir@
,|
#_!!_#|${prefix}/share,g
512 s
,@datadir@
,|
#_!!_#|${datarootdir},g
513 s
,@sysconfdir@
,|
#_!!_#|${prefix}/etc,g
514 s
,@sharedstatedir@
,|
#_!!_#|${prefix}/com,g
515 s
,@localstatedir@
,|
#_!!_#|${prefix}/var,g
516 s
,@includedir@
,|
#_!!_#|${prefix}/include,g
517 s
,@oldincludedir@
,|
#_!!_#|/usr/include,g
518 s
,@docdir@
,|
#_!!_#|${datarootdir}/doc/${PACKAGE},g
519 s
,@infodir@
,|
#_!!_#|${datarootdir}/info,g
520 s
,@htmldir@
,|
#_!!_#|${docdir},g
521 s
,@dvidir@
,|
#_!!_#|${docdir},g
522 s
,@pdfdir@
,|
#_!!_#|${docdir},g
523 s
,@psdir@
,|
#_!!_#|${docdir},g
524 s
,@libdir@
,|
#_!!_#|${exec_prefix}/lib,g
525 s
,@localedir@
,|
#_!!_#|${datarootdir}/locale,g
526 s
,@mandir@
,|
#_!!_#|${datarootdir}/man,g
527 s
,@DEFS@
,|
#_!!_#|-DHAVE_CONFIG_H,g
528 s
,@ECHO_C@
,|
#_!!_#|,g
529 s
,@ECHO_N@
,|
#_!!_#|-n,g
530 s
,@ECHO_T@
,|
#_!!_#|,g
531 s
,@LIBS@
,|
#_!!_#|./../libpcap/libpcap.a ,g
532 s
,@build_alias@
,|
#_!!_#|x86_64-linux-gnu,g
533 s
,@host_alias@
,|
#_!!_#|mipsel-linux,g
534 s
,@target_alias@
,|
#_!!_#|,g
535 s
,@build@
,|
#_!!_#|x86_64-pc-linux-gnu,g
536 s
,@build_cpu@
,|
#_!!_#|x86_64,g
537 s
,@build_vendor@
,|
#_!!_#|pc,g
538 s
,@build_os@
,|
#_!!_#|linux-gnu,g
539 s
,@
host@
,|
#_!!_#|mipsel-unknown-linux-gnu,g
540 s
,@host_cpu@
,|
#_!!_#|mipsel,g
541 s
,@host_vendor@
,|
#_!!_#|unknown,g
542 s
,@host_os@
,|
#_!!_#|linux-gnu,g
543 s
,@SHLICC2@
,|
#_!!_#|,g
544 s
,@CC@
,|
#_!!_#|mipsel-uclibc-gcc,g
545 s
,@CFLAGS@
,|
#_!!_#|-DINET6 -Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -I/home/vicente/tomato/release/src-rt/router/openssl/include,g
546 s
,@LDFLAGS@
,|
#_!!_#|-L/home/vicente/tomato/release/src-rt/router/openssl,g
547 s
,@CPPFLAGS@
,|
#_!!_#| -I./missing,g
548 s
,@ac_ct_CC@
,|
#_!!_#|,g
549 s
,@EXEEXT@
,|
#_!!_#|,g
550 s
,@OBJEXT@
,|
#_!!_#|o,g
551 s
,@CPP@
,|
#_!!_#|mipsel-uclibc-gcc -E,g
552 s
,@GREP@
,|
#_!!_#|/bin/grep,g
553 s
,@EGREP@
,|
#_!!_#|/bin/grep -E,g
554 s
,@LIBOBJS@
,|
#_!!_#|,g
555 s
,@PCAP_CONFIG@
,|
#_!!_#|./../libpcap/pcap-config,g
556 s
,@RANLIB@
,|
#_!!_#|mipsel-uclibc-ranlib,g
557 s
,@V_CCOPT@
,|
#_!!_#|-O2 -Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -I/home/vicente/tomato/release/src-rt/router/openssl/include,g
558 s
,@V_DEFS@
,|
#_!!_#| -D_U_="__attribute__((unused))",g
559 s
,@V_GROUP@
,|
#_!!_#|0,g
560 s
,@V_INCLS@
,|
#_!!_#|-I./../libpcap -I./missing,g
561 s
,@V_PCAPDEP@
,|
#_!!_#|./../libpcap/libpcap.a,g
562 s
,@LOCALSRC@
,|
#_!!_#|print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c print-icmp6.c print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c print-babel.c ,g
563 s
,@MAN_FILE_FORMATS@
,|
#_!!_#|5,g
564 s
,@MAN_MISC_INFO@
,|
#_!!_#|7,g
565 s
,@INSTALL_PROGRAM@
,|
#_!!_#|${INSTALL},g
566 s
,@INSTALL_SCRIPT@
,|
#_!!_#|${INSTALL},g
567 s
,@INSTALL_DATA@
,|
#_!!_#|${INSTALL} -m 644,g
568 s
,@LTLIBOBJS@
,|
#_!!_#|,g
572 fi # test -n "$CONFIG_FILES"
575 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
578 :[FHLC
]) ac_mode
=$ac_tag; continue;;
580 case $ac_mode$ac_tag in
582 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
583 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
584 { (exit 1); exit 1; }; };;
586 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
603 -) ac_f
="$tmp/stdin";;
604 *) # Look for the file first in the build tree, then in the source tree
605 # (if the path is not absolute). The absolute path cannot be DOS-style,
606 # because $ac_f cannot contain `:'.
610 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
612 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
613 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
614 { (exit 1); exit 1; }; };;
616 ac_file_inputs
="$ac_file_inputs $ac_f"
619 # Let's still pretend it is `configure' which instantiates (i.e., don't
620 # use $as_me), people would be surprised to read:
621 # /* config.h. Generated by config.status. */
622 configure_input
="Generated from "`IFS=:
623 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
624 if test x
"$ac_file" != x-
; then
625 configure_input
="$ac_file. $configure_input"
626 { echo "$as_me:$LINENO: creating $ac_file" >&5
627 echo "$as_me: creating $ac_file" >&6;}
631 *:-:* |
*:-) cat >"$tmp/stdin";;
636 ac_dir
=`$as_dirname -- "$ac_file" ||
637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
638 X"$ac_file" : 'X\(//\)[^/]' \| \
639 X"$ac_file" : 'X\(//\)$' \| \
640 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
661 -*) as_dir
=.
/$as_dir;;
663 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
667 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
670 as_dirs
="'$as_qdir' $as_dirs"
671 as_dir
=`$as_dirname -- "$as_dir" ||
672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$as_dir" : 'X\(//\)[^/]' \| \
674 X"$as_dir" : 'X\(//\)$' \| \
675 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
694 test -d "$as_dir" && break
696 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
697 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
698 echo "$as_me: error: cannot create directory $as_dir" >&2;}
699 { (exit 1); exit 1; }; }; }
703 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
705 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
706 # A ".." for each directory in $ac_dir_suffix.
707 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
708 case $ac_top_builddir_sub in
709 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
710 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
713 ac_abs_top_builddir
=$ac_pwd
714 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
715 # for backward compatibility:
716 ac_top_builddir
=$ac_top_build_prefix
719 .
) # We are building in place.
721 ac_top_srcdir
=$ac_top_builddir_sub
722 ac_abs_top_srcdir
=$ac_pwd ;;
723 [\\/]* | ?
:[\\/]* ) # Absolute name.
724 ac_srcdir
=$srcdir$ac_dir_suffix;
725 ac_top_srcdir
=$srcdir
726 ac_abs_top_srcdir
=$srcdir ;;
728 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
729 ac_top_srcdir
=$ac_top_build_prefix$srcdir
730 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
732 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
742 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
743 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
745 # If the template does not know about datarootdir, expand it.
746 # FIXME: This hack should be removed a few years after 2.60.
747 ac_datarootdir_hack
=; ac_datarootdir_seen
=
749 case `sed -n '/datarootdir/ {
758 ' $ac_file_inputs` in
759 *datarootdir
*) ac_datarootdir_seen
=yes;;
760 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
761 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
762 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
763 ac_datarootdir_hack
='
764 s&@datadir@&${datarootdir}&g
765 s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
766 s&@infodir@&${datarootdir}/info&g
767 s&@localedir@&${datarootdir}/locale&g
768 s&@mandir@&${datarootdir}/man&g
769 s&\${datarootdir}&${prefix}/share&g' ;;
771 sed "/^[ ]*VPATH[ ]*=/{
775 s/^\([^=]*=[ ]*\):*/\1/
781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
782 s&@configure_input@&$configure_input&;t t
783 s&@top_builddir@&$ac_top_builddir_sub&;t t
784 s&@srcdir@&$ac_srcdir&;t t
785 s&@abs_srcdir@&$ac_abs_srcdir&;t t
786 s&@top_srcdir@&$ac_top_srcdir&;t t
787 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
788 s&@builddir@&$ac_builddir&;t t
789 s&@abs_builddir@&$ac_abs_builddir&;t t
790 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
791 s&@INSTALL@&$ac_INSTALL&;t t
793 " $ac_file_inputs |
sed -f "$tmp/subs-1.sed" >$tmp/out
795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
796 { ac_out
=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
797 { ac_out
=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
798 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
799 which seems to be undefined. Please make sure it is defined." >&5
800 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
801 which seems to be undefined. Please make sure it is defined." >&2;}
805 -) cat "$tmp/out"; rm -f "$tmp/out";;
806 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
813 # First, check the format of the line:
814 cat >"$tmp/defines.sed" <<\CEOF
815 /^
[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def
816 /^
[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def
820 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_NAME\)[ (].*,\1define\2 "" ,
821 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_TARNAME\)[ (].*,\1define\2 "" ,
822 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_VERSION\)[ (].*,\1define\2 "" ,
823 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_STRING\)[ (].*,\1define\2 "" ,
824 s
,^\
([ #]*\)[^ ]*\([ ]*PACKAGE_BUGREPORT\)[ (].*,\1define\2 "" ,
825 s
,^\
([ #]*\)[^ ]*\([ ]*inline\)[ (].*,\1define\2 inline ,
826 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE___ATTRIBUTE__\)[ (].*,\1define\2 1 ,
827 s
,^\
([ #]*\)[^ ]*\([ ]*__ATTRIBUTE___FORMAT_OK_FOR_FUNCTION_POINTERS\)[ (].*,\1define\2 1 ,
828 s
,^\
([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 ,
829 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 ,
830 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SYS_STAT_H\)[ (].*,\1define\2 1 ,
831 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 ,
832 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 ,
833 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_MEMORY_H\)[ (].*,\1define\2 1 ,
834 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRINGS_H\)[ (].*,\1define\2 1 ,
835 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 ,
836 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 ,
837 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 ,
838 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_FCNTL_H\)[ (].*,\1define\2 1 ,
839 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_RPC_RPC_H\)[ (].*,\1define\2 1 ,
840 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_NETINET_IF_ETHER_H\)[ (].*,\1define\2 1 ,
841 s
,^\
([ #]*\)[^ ]*\([ ]*TIME_WITH_SYS_TIME\)[ (].*,\1define\2 1 ,
842 s
,^\
([ #]*\)[^ ]*\([ ]*INET6\)[ (].*,\1define\2 1 ,
843 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_GETNAMEINFO\)[ (].*,\1define\2 1 ,
844 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_ADDRINFO\)[ (].*,\1define\2 1 ,
845 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SOCKADDR_STORAGE\)[ (].*,\1define\2 1 ,
846 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_VFPRINTF\)[ (].*,\1define\2 1 ,
847 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRCASECMP\)[ (].*,\1define\2 1 ,
848 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRLCAT\)[ (].*,\1define\2 1 ,
849 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRLCPY\)[ (].*,\1define\2 1 ,
850 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRDUP\)[ (].*,\1define\2 1 ,
851 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRSEP\)[ (].*,\1define\2 1 ,
852 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_FORK\)[ (].*,\1define\2 1 ,
853 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_VFORK\)[ (].*,\1define\2 1 ,
854 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_STRFTIME\)[ (].*,\1define\2 1 ,
855 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SETLINEBUF\)[ (].*,\1define\2 1 ,
856 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_ALARM\)[ (].*,\1define\2 1 ,
857 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_VSNPRINTF\)[ (].*,\1define\2 1 ,
858 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SNPRINTF\)[ (].*,\1define\2 1 ,
859 s
,^\
([ #]*\)[^ ]*\([ ]*RETSIGTYPE\)[ (].*,\1define\2 void ,
860 s
,^\
([ #]*\)[^ ]*\([ ]*RETSIGVAL\)[ (].*,\1define\2 ,
861 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SIGACTION\)[ (].*,\1define\2 1 ,
862 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_GETRPCBYNUMBER\)[ (].*,\1define\2 1 ,
863 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_LIST_DATALINKS\)[ (].*,\1define\2 1 ,
864 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_SET_DATALINK\)[ (].*,\1define\2 1 ,
865 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_DATALINK_NAME_TO_VAL\)[ (].*,\1define\2 1 ,
866 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION\)[ (].*,\1define\2 1 ,
867 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_BREAKLOOP\)[ (].*,\1define\2 1 ,
868 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_DUMP_FTELL\)[ (].*,\1define\2 1 ,
870 sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1"
871 # First, check the format of the line:
872 cat >"$tmp/defines.sed" <<\CEOF
873 /^
[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def
874 /^
[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def
877 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_ETHER_NTOHOST\)[ (].*,\1define\2 1 ,
878 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_CREATE\)[ (].*,\1define\2 1 ,
879 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_SET_TSTAMP_TYPE\)[ (].*,\1define\2 1 ,
880 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_FINDALLDEVS\)[ (].*,\1define\2 1 ,
881 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_DUMP_FLUSH\)[ (].*,\1define\2 1 ,
882 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_LIB_VERSION\)[ (].*,\1define\2 1 ,
883 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_PCAP_IF_T\)[ (].*,\1define\2 1 ,
884 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_BPF_DUMP\)[ (].*,\1define\2 1 ,
885 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_SYS_BITYPES_H\)[ (].*,\1define\2 1 ,
886 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 ,
887 s
,^\
([ #]*\)[^ ]*\([ ]*LBL_ALIGN\)[ (].*,\1define\2 1 ,
888 s
,^\
([ #]*\)[^ ]*\([ ]*HAVE_H_ERRNO\)[ (].*,\1define\2 1 ,
892 sed -f "$tmp/defines.sed" "$tmp/out1" >"$tmp/out2"
893 ac_result
="$tmp/out2"
894 if test x
"$ac_file" != x-
; then
895 echo "/* $configure_input */" >"$tmp/config.h"
896 cat "$ac_result" >>"$tmp/config.h"
897 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
898 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
899 echo "$as_me: $ac_file is unchanged" >&6;}
902 mv "$tmp/config.h" $ac_file
905 echo "/* $configure_input */"
911 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
912 echo "$as_me: executing $ac_file commands" >&6;}
917 case $ac_file$ac_mode in
918 "default-1":C
) if test -f .devel
; then
919 echo timestamp
> stamp-h
920 cat Makefile-devel-adds
>> Makefile
928 { (exit 0); exit 0; }