2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # 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.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
39 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42 eval $as_var=C
; export $as_var
48 # Required to use basename.
49 if expr a
: '\(a\)' >/dev
/null
2>&1; then
55 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 # Name of the executable.
63 as_me
=`$as_basename "$0" ||
64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65 X"$0" : 'X\(//\)$' \| \
66 X"$0" : 'X\(/\)$' \| \
67 . : '\(.\)' 2>/dev/null ||
69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70 /^X\/\(\/\/\)$/{ s//\1/; q; }
71 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
142 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
143 CONFIG_SHELL
=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x
$as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c
*,-n*) ECHO_N
= ECHO_C
='
187 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
188 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
191 if expr a
: '\(a\)' >/dev
/null
2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.
file
199 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe
; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.
file conf$$
2>/dev
/null
; then
213 rm -f conf$$ conf$$.exe conf$$.
file
215 if mkdir
-p .
2>/dev
/null
; then
221 as_executable_p
="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231 # We need space, tab and new line, in precisely that order.
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 ac_default_prefix
=/usr
/local
251 ac_config_libobj_dir
=.
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Maximum number of lines to put in a shell here document.
259 # This variable seems obsolete. It should probably be removed, and
260 # only ac_max_sed_lines should be used.
261 : ${ac_max_here_lines=38}
263 # Identity of this package.
270 ac_unique_file
="lib/zebra.h"
271 # Factoring default headers for most tests.
272 ac_includes_default
="\
275 # include <sys/types.h>
278 # include <sys/stat.h>
289 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <strings.h>
298 # include <inttypes.h>
308 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP AR ac_ct_AR RANLIB ac_ct_RANLIB EGREP MULTIPATH_NUM LIBPAM RT_METHOD KERNEL_METHOD OTHER_METHOD RTREAD_METHOD IF_METHOD IF_PROC IPFORWARD LIB_IPV6 ZEBRA BGPD RIPD RIPNGD OSPFD OSPF6D VTYSH INCLUDES CURSES LIB_REGEX LIBOBJS LTLIBOBJS'
311 # Initialize some variables set by options.
313 ac_init_version
=false
314 # The variables have the same names as the options, with
315 # dashes changed to underlines.
323 program_transform_name
=s
,x
,x
,
331 # Installation directory options.
332 # These are left unexpanded so users can "make install exec_prefix=/foo"
333 # and all the variables that are supposed to be based on exec_prefix
334 # by default will actually change.
335 # Use braces instead of parens because sh, perl, etc. also accept them.
336 bindir
='${exec_prefix}/bin'
337 sbindir
='${exec_prefix}/sbin'
338 libexecdir
='${exec_prefix}/libexec'
339 datadir
='${prefix}/share'
340 sysconfdir
='${prefix}/etc'
341 sharedstatedir
='${prefix}/com'
342 localstatedir
='${prefix}/var'
343 libdir
='${exec_prefix}/lib'
344 includedir
='${prefix}/include'
345 oldincludedir
='/usr/include'
346 infodir
='${prefix}/info'
347 mandir
='${prefix}/man'
352 # If the previous option needs an argument, assign it.
353 if test -n "$ac_prev"; then
354 eval "$ac_prev=\$ac_option"
359 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
361 # Accept the important Cygnus configure options, so we can diagnose typos.
365 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
367 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
370 -build |
--build |
--buil |
--bui |
--bu)
371 ac_prev
=build_alias
;;
372 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
373 build_alias
=$ac_optarg ;;
375 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
376 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
377 ac_prev
=cache_file
;;
378 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
379 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
380 cache_file
=$ac_optarg ;;
383 cache_file
=config.cache
;;
385 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
387 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
389 datadir
=$ac_optarg ;;
391 -disable-* |
--disable-*)
392 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
398 eval "enable_$ac_feature=no" ;;
400 -enable-* |
--enable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
408 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
411 eval "enable_$ac_feature='$ac_optarg'" ;;
413 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
414 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
415 |
--exec |
--exe |
--ex)
416 ac_prev
=exec_prefix
;;
417 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
418 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
419 |
--exec=* |
--exe=* |
--ex=*)
420 exec_prefix
=$ac_optarg ;;
422 -gas |
--gas |
--ga |
--g)
423 # Obsolete; use --with-gas.
426 -help |
--help |
--hel |
--he |
-h)
428 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
429 ac_init_help
=recursive
;;
430 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
431 ac_init_help
=short
;;
433 -host |
--host |
--hos |
--ho)
434 ac_prev
=host_alias
;;
435 -host=* |
--host=* |
--hos=* |
--ho=*)
436 host_alias
=$ac_optarg ;;
438 -includedir |
--includedir |
--includedi |
--included |
--include \
439 |
--includ |
--inclu |
--incl |
--inc)
440 ac_prev
=includedir
;;
441 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
442 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
443 includedir
=$ac_optarg ;;
445 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
447 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
448 infodir
=$ac_optarg ;;
450 -libdir |
--libdir |
--libdi |
--libd)
452 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
455 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
456 |
--libexe |
--libex |
--libe)
457 ac_prev
=libexecdir
;;
458 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
459 |
--libexe=* |
--libex=* |
--libe=*)
460 libexecdir
=$ac_optarg ;;
462 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
463 |
--localstate |
--localstat |
--localsta |
--localst \
464 |
--locals |
--local |
--loca |
--loc |
--lo)
465 ac_prev
=localstatedir
;;
466 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
467 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
468 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
469 localstatedir
=$ac_optarg ;;
471 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
473 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
477 # Obsolete; use --without-fp.
480 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
481 |
--no-cr |
--no-c |
-n)
484 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
485 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
488 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
489 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
490 |
--oldin |
--oldi |
--old |
--ol |
--o)
491 ac_prev
=oldincludedir
;;
492 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
493 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
494 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
495 oldincludedir
=$ac_optarg ;;
497 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
499 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
502 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
503 |
--program-pre |
--program-pr |
--program-p)
504 ac_prev
=program_prefix
;;
505 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
506 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
507 program_prefix
=$ac_optarg ;;
509 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
510 |
--program-suf |
--program-su |
--program-s)
511 ac_prev
=program_suffix
;;
512 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
513 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
514 program_suffix
=$ac_optarg ;;
516 -program-transform-name |
--program-transform-name \
517 |
--program-transform-nam |
--program-transform-na \
518 |
--program-transform-n |
--program-transform- \
519 |
--program-transform |
--program-transfor \
520 |
--program-transfo |
--program-transf \
521 |
--program-trans |
--program-tran \
522 |
--progr-tra |
--program-tr |
--program-t)
523 ac_prev
=program_transform_name
;;
524 -program-transform-name=* |
--program-transform-name=* \
525 |
--program-transform-nam=* |
--program-transform-na=* \
526 |
--program-transform-n=* |
--program-transform-=* \
527 |
--program-transform=* |
--program-transfor=* \
528 |
--program-transfo=* |
--program-transf=* \
529 |
--program-trans=* |
--program-tran=* \
530 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
531 program_transform_name
=$ac_optarg ;;
533 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
534 |
-silent |
--silent |
--silen |
--sile |
--sil)
537 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
539 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
541 sbindir
=$ac_optarg ;;
543 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
544 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
545 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
547 ac_prev
=sharedstatedir
;;
548 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
549 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
550 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
552 sharedstatedir
=$ac_optarg ;;
554 -site |
--site |
--sit)
556 -site=* |
--site=* |
--sit=*)
559 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
561 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
564 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
565 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
566 ac_prev
=sysconfdir
;;
567 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
568 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
569 sysconfdir
=$ac_optarg ;;
571 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
572 ac_prev
=target_alias
;;
573 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
574 target_alias
=$ac_optarg ;;
576 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
579 -version |
--version |
--versio |
--versi |
--vers |
-V)
583 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package
=`echo $ac_package| sed 's/-/_/g'`
590 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
593 eval "with_$ac_package='$ac_optarg'" ;;
595 -without-* |
--without-*)
596 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid package name: $ac_package" >&2
600 { (exit 1); exit 1; }; }
601 ac_package
=`echo $ac_package | sed 's/-/_/g'`
602 eval "with_$ac_package=no" ;;
605 # Obsolete; use --with-x.
608 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
609 |
--x-incl |
--x-inc |
--x-in |
--x-i)
610 ac_prev
=x_includes
;;
611 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
612 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
613 x_includes
=$ac_optarg ;;
615 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
616 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
617 ac_prev
=x_libraries
;;
618 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
619 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
620 x_libraries
=$ac_optarg ;;
622 -*) { echo "$as_me: error: unrecognized option: $ac_option
623 Try \`$0 --help' for more information." >&2
624 { (exit 1); exit 1; }; }
628 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
629 # Reject names that are not valid shell variable names.
630 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
631 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
632 { (exit 1); exit 1; }; }
633 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
634 eval "$ac_envvar='$ac_optarg'"
638 # FIXME: should be removed in autoconf 3.0.
639 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
640 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
641 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
642 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 if test -n "$ac_prev"; then
649 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
650 { echo "$as_me: error: missing argument to $ac_option" >&2
651 { (exit 1); exit 1; }; }
654 # Be sure to have absolute paths.
655 for ac_var
in exec_prefix prefix
657 eval ac_val
=$
`echo $ac_var`
659 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
665 # Be sure to have absolute paths.
666 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
667 localstatedir libdir includedir oldincludedir infodir mandir
669 eval ac_val
=$
`echo $ac_var`
671 [\\/$
]* | ?
:[\\/]* ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
677 # There might be people who depend on the old broken behavior: `$host'
678 # used to hold the argument of --host etc.
679 # FIXME: To remove some day.
684 # FIXME: To remove some day.
685 if test "x$host_alias" != x
; then
686 if test "x$build_alias" = x
; then
687 cross_compiling
=maybe
688 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
689 If a cross compiler is detected then cross compile mode will be used." >&2
690 elif test "x$build_alias" != "x$host_alias"; then
696 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
698 test "$silent" = yes && exec 6>/dev
/null
701 # Find the source files, if location was not specified.
702 if test -z "$srcdir"; then
703 ac_srcdir_defaulted
=yes
704 # Try the directory containing this script, then its parent.
705 ac_confdir
=`(dirname "$0") 2>/dev/null ||
706 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
707 X"$0" : 'X\(//\)[^/]' \| \
708 X"$0" : 'X\(//\)$' \| \
709 X"$0" : 'X\(/\)' \| \
710 . : '\(.\)' 2>/dev/null ||
712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
714 /^X\(\/\/\)$/{ s//\1/; q; }
715 /^X\(\/\).*/{ s//\1/; q; }
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted
=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
727 { (exit 1); exit 1; }; }
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
730 { (exit 1); exit 1; }; }
733 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
734 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735 { (exit 1); exit 1; }; }
736 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737 ac_env_build_alias_set
=${build_alias+set}
738 ac_env_build_alias_value
=$build_alias
739 ac_cv_env_build_alias_set
=${build_alias+set}
740 ac_cv_env_build_alias_value
=$build_alias
741 ac_env_host_alias_set
=${host_alias+set}
742 ac_env_host_alias_value
=$host_alias
743 ac_cv_env_host_alias_set
=${host_alias+set}
744 ac_cv_env_host_alias_value
=$host_alias
745 ac_env_target_alias_set
=${target_alias+set}
746 ac_env_target_alias_value
=$target_alias
747 ac_cv_env_target_alias_set
=${target_alias+set}
748 ac_cv_env_target_alias_value
=$target_alias
749 ac_env_CC_set
=${CC+set}
751 ac_cv_env_CC_set
=${CC+set}
752 ac_cv_env_CC_value
=$CC
753 ac_env_CFLAGS_set
=${CFLAGS+set}
754 ac_env_CFLAGS_value
=$CFLAGS
755 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
756 ac_cv_env_CFLAGS_value
=$CFLAGS
757 ac_env_LDFLAGS_set
=${LDFLAGS+set}
758 ac_env_LDFLAGS_value
=$LDFLAGS
759 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
760 ac_cv_env_LDFLAGS_value
=$LDFLAGS
761 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
762 ac_env_CPPFLAGS_value
=$CPPFLAGS
763 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
764 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
765 ac_env_CPP_set
=${CPP+set}
766 ac_env_CPP_value
=$CPP
767 ac_cv_env_CPP_set
=${CPP+set}
768 ac_cv_env_CPP_value
=$CPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures this package to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --program-prefix=PREFIX prepend PREFIX to installed program names
832 --program-suffix=SUFFIX append SUFFIX to installed program names
833 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
836 --build=BUILD configure
for building on BUILD
[guessed
]
837 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --disable-dependency-tracking Speeds up one-time builds
849 --enable-dependency-tracking Do not reject slow dependency extractors
850 --enable-vtysh, Make integrated VTY version of zebra
851 --disable-ipv6 turn off IPv6 related features and daemons
852 --disable-zebra do not build zebra daemon
853 --disable-bgpd do not build bgpd
854 --disable-ripd do not build ripd
855 --disable-ripngd do not build ripngd
856 --disable-ospfd do not build ospfd
857 --disable-ospf6d do not build ospf6d
858 --disable-bgp-announce, turn off BGP route announcement
859 --enable-netlink force to use Linux netlink interface
860 --enable-broken-aliases enable aliases as distinct interfaces
for Linux
2.2.X
861 --enable-snmp enable SNMP support
862 --enable-tcp-zebra enable TCP
/IP socket connection between zebra and protocol daemon
863 --enable-nssa enable OSPF NSSA option
864 --enable-opaque-lsa enable OSPF Opaque-LSA support
(RFC2370
)
865 --enable-ospf-te enable Traffic Engineering Extension to OSPF
866 --enable-multipath=ARG
enable multipath
function, ARG must be digit
869 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
870 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
871 --with-cflags Set CFLAGS
for use
in compilation.
872 --with-libpam use libpam
for PAM support
in vtysh
874 Some influential environment variables
:
875 CC C compiler
command
876 CFLAGS C compiler flags
877 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
878 nonstandard directory
<lib dir
>
879 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
880 headers
in a nonstandard directory
<include dir
>
883 Use these variables to override the choices made by
`configure' or to help
884 it to find libraries and programs with nonstandard names/locations.
889 if test "$ac_init_help" = "recursive"; then
890 # If there are subdirs, report their specific --help.
892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
893 test -d $ac_dir || continue
896 if test "$ac_dir" != .; then
897 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
898 # A "../" for each directory in $ac_dir_suffix.
899 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
901 ac_dir_suffix= ac_top_builddir=
905 .) # No --srcdir option. We are building in place.
907 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
912 [\\/]* | ?:[\\/]* ) # Absolute path.
913 ac_srcdir=$srcdir$ac_dir_suffix;
914 ac_top_srcdir=$srcdir ;;
916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
921 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
922 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
923 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
924 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
927 # Check for guested configure; otherwise get Cygnus style configure.
928 if test -f $ac_srcdir/configure.gnu; then
930 $SHELL $ac_srcdir/configure.gnu --help=recursive
931 elif test -f $ac_srcdir/configure; then
933 $SHELL $ac_srcdir/configure --help=recursive
934 elif test -f $ac_srcdir/configure.ac ||
935 test -f $ac_srcdir/configure.in; then
939 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
945 test -n "$ac_init_help" && exit 0
946 if $ac_init_version; then
949 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
950 Free Software Foundation, Inc.
951 This configure script is free software; the Free Software Foundation
952 gives unlimited permission to copy, distribute and modify it.
958 This file contains any messages produced by compilers while
959 running configure, to aid debugging if configure makes a mistake.
961 It was created by $as_me, which was
962 generated by GNU Autoconf 2.54. Invocation command line was
973 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
974 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
975 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
976 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
977 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
979 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
980 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
982 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
983 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
984 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
985 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
986 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
987 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
988 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
996 test -z "$as_dir" && as_dir=.
1012 # Keep a trace of the command line.
1013 # Strip out --no-create and --no-recursion so they do not pile up.
1014 # Also quote any args containing shell meta-characters.
1020 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1021 | --no-cr | --no-c | -n ) continue ;;
1022 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1026 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1028 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1029 # Get rid of the leading space.
1033 # When interrupted or exit'd, cleanup temporary files, and complete
1034 # config.log. We remove comments because anyway the quotes in there
1035 # would cause problems or look ugly.
1036 # WARNING: Be sure not to use single quotes in there, as some shells,
1037 # such as our DU 5.0 friend, will then `close
' the trap.
1038 trap 'exit_status
=$?
1039 # Save into config.log some information that might help in debugging.
1044 ## ---------------- ##
1045 ## Cache variables. ##
1046 ## ---------------- ##
1049 # The following way of writing the cache mishandles newlines in values,
1052 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1055 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1060 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1067 ## ----------------- ##
1068 ## Output variables. ##
1069 ## ----------------- ##
1072 for ac_var
in $ac_subst_vars
1074 eval ac_val
=$
`echo $ac_var`
1075 echo "$ac_var='"'"'$ac_val'"'"'"
1079 if test -n "$ac_subst_files"; then
1086 for ac_var
in $ac_subst_files
1088 eval ac_val
=$
`echo $ac_var`
1089 echo "$ac_var='"'"'$ac_val'"'"'"
1094 if test -s confdefs.h
; then
1101 sed "/^$/d" confdefs.h |
sort
1104 test "$ac_signal" != 0 &&
1105 echo "$as_me: caught signal $ac_signal"
1106 echo "$as_me: exit $exit_status"
1108 rm -f core core.
* *.core
&&
1109 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1112 for ac_signal in 1 2 13 15; do
1113 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1118 rm -rf conftest* confdefs.h
1119 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1122 # Predefined preprocessor variables.
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_NAME "$PACKAGE_NAME"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_STRING "$PACKAGE_STRING"
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1149 # Let the site file select an alternate cache file if it wants to.
1150 # Prefer explicitly selected file to automatically selected ones.
1151 if test -z "$CONFIG_SITE"; then
1152 if test "x$prefix" != xNONE; then
1153 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1155 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1158 for ac_site_file in $CONFIG_SITE; do
1159 if test -r "$ac_site_file"; then
1160 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1161 echo "$as_me: loading site script $ac_site_file" >&6;}
1162 sed 's
/^
/|
/' "$ac_site_file" >&5
1167 if test -r "$cache_file"; then
1168 # Some versions of bash will fail to source /dev/null (special
1169 # files actually), so we avoid doing that.
1170 if test -f "$cache_file"; then
1171 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1172 echo "$as_me: loading cache $cache_file" >&6;}
1174 [\\/]* | ?:[\\/]* ) . $cache_file;;
1175 *) . ./$cache_file;;
1179 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1180 echo "$as_me: creating cache $cache_file" >&6;}
1184 # Check that the precious variables saved in the cache have kept the same
1186 ac_cache_corrupted=false
1187 for ac_var in `(set) 2>&1 |
1188 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1189 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1190 eval ac_new_set=\$ac_env_${ac_var}_set
1191 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1192 eval ac_new_val="\$ac_env_${ac_var}_value"
1193 case $ac_old_set,$ac_new_set in
1195 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1196 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1197 ac_cache_corrupted=: ;;
1199 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1200 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1201 ac_cache_corrupted=: ;;
1204 if test "x$ac_old_val" != "x$ac_new_val"; then
1205 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1206 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1207 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1208 echo "$as_me: former value: $ac_old_val" >&2;}
1209 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1210 echo "$as_me: current value: $ac_new_val" >&2;}
1211 ac_cache_corrupted=:
1214 # Pass precious variables to config.status.
1215 if test "$ac_new_set" = set; then
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1219 *) ac_arg=$ac_var=$ac_new_val ;;
1221 case " $ac_configure_args " in
1222 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1223 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1227 if $ac_cache_corrupted; then
1228 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1229 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1230 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1231 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1232 { (exit 1); exit 1; }; }
1236 ac_cpp='$CPP $CPPFLAGS'
1237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1238 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1259 am__api_version="1.7"
1261 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1262 if test -f $ac_dir/install-sh; then
1264 ac_install_sh="$ac_aux_dir/install-sh -c"
1266 elif test -f $ac_dir/install.sh; then
1268 ac_install_sh="$ac_aux_dir/install.sh -c"
1270 elif test -f $ac_dir/shtool; then
1272 ac_install_sh="$ac_aux_dir/shtool install -c"
1276 if test -z "$ac_aux_dir"; then
1277 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1278 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1279 { (exit 1); exit 1; }; }
1281 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1282 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1283 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1285 # Find a good install program. We prefer a C program (faster),
1286 # so one script is as good as another. But avoid the broken or
1287 # incompatible versions:
1288 # SysV /etc/install, /usr/sbin/install
1289 # SunOS /usr/etc/install
1290 # IRIX /sbin/install
1292 # AmigaOS /C/install, which installs bootblocks on floppy discs
1293 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1296 # ./install, which can be erroneously created by make from ./install.sh.
1297 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1298 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1299 if test -z "$INSTALL"; then
1300 if test "${ac_cv_path_install+set}" = set; then
1301 echo $ECHO_N "(cached) $ECHO_C" >&6
1303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1307 test -z "$as_dir" && as_dir
=.
1308 # Account for people who put trailing slashes in PATH elements.
1310 .
/ | .
// |
/cC
/* | \
1311 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1314 # OSF1 and SCO ODT 3.0 have their own names for install.
1315 # Don't use installbsd from OSF since it installs stuff as root
1317 for ac_prog
in ginstall scoinst
install; do
1318 for ac_exec_ext
in '' $ac_executable_extensions; do
1319 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1320 if test $ac_prog = install &&
1321 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1322 # AIX install. It has an incompatible calling convention.
1324 elif test $ac_prog = install &&
1325 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1326 # program-specific install script used by HP pwplus--don't use.
1329 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1341 if test "${ac_cv_path_install+set}" = set; then
1342 INSTALL
=$ac_cv_path_install
1344 # As a last resort, use the slow shell script. We don't cache a
1345 # path for INSTALL within a source directory, because that will
1346 # break other packages using the cache if that directory is
1347 # removed, or if the path is relative.
1348 INSTALL
=$ac_install_sh
1351 echo "$as_me:$LINENO: result: $INSTALL" >&5
1352 echo "${ECHO_T}$INSTALL" >&6
1354 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1355 # It thinks the first close brace ends the variable substitution.
1356 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1360 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1362 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1363 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1366 echo timestamp
> conftest.
file
1367 # Do `set' in a subshell so we don't clobber the current shell's
1368 # arguments. Must try -L first in case configure is actually a
1369 # symlink; some systems play weird games with the mod time of symlinks
1370 # (eg FreeBSD returns the mod time of the symlink's containing
1373 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1374 if test "$*" = "X"; then
1376 set X
`ls -t $srcdir/configure conftest.file`
1379 if test "$*" != "X $srcdir/configure conftest.file" \
1380 && test "$*" != "X conftest.file $srcdir/configure"; then
1382 # If neither matched, then we have a broken ls. This can happen
1383 # if, for instance, CONFIG_SHELL is bash and it inherits a
1384 # broken ls alias from the environment. This has actually
1385 # happened. Such a system could not be considered "sane".
1386 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1387 alias in your environment" >&5
1388 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1389 alias in your environment" >&2;}
1390 { (exit 1); exit 1; }; }
1393 test "$2" = conftest.
file
1399 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1400 Check your system clock" >&5
1401 echo "$as_me: error: newly created file is older than distributed files!
1402 Check your system clock" >&2;}
1403 { (exit 1); exit 1; }; }
1405 echo "$as_me:$LINENO: result: yes" >&5
1406 echo "${ECHO_T}yes" >&6
1407 test "$program_prefix" != NONE
&&
1408 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1409 # Use a double $ so make ignores it.
1410 test "$program_suffix" != NONE
&&
1411 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1412 # Double any \ or $. echo might interpret backslashes.
1413 # By default was `s,x,x', remove it if useless.
1414 cat <<\_ACEOF
>conftest.
sed
1415 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1417 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1421 # expand $ac_aux_dir to an absolute path
1422 am_aux_dir
=`cd $ac_aux_dir && pwd`
1424 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1425 # Use eval to expand $SHELL
1426 if eval "$MISSING --run true"; then
1427 am_missing_run
="$MISSING --run "
1430 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1431 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1434 for ac_prog
in gawk mawk nawk
awk
1436 # Extract the first word of "$ac_prog", so it can be a program name with args.
1437 set dummy
$ac_prog; ac_word
=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_AWK+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$AWK"; then
1444 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir
=.
1451 for ac_exec_ext
in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_AWK
="$ac_prog"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 if test -n "$AWK"; then
1464 echo "$as_me:$LINENO: result: $AWK" >&5
1465 echo "${ECHO_T}$AWK" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1471 test -n "$AWK" && break
1474 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1475 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1476 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1477 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 cat >conftest.
make <<\_ACEOF
1482 @
echo 'ac_maketemp="${MAKE}"'
1484 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1485 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1486 if test -n "$ac_maketemp"; then
1487 eval ac_cv_prog_make_
${ac_make}_set
=yes
1489 eval ac_cv_prog_make_
${ac_make}_set
=no
1493 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1494 echo "$as_me:$LINENO: result: yes" >&5
1495 echo "${ECHO_T}yes" >&6
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1500 SET_MAKE
="MAKE=${MAKE-make}"
1503 # test to see if srcdir already configured
1504 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1505 test -f $srcdir/config.status
; then
1506 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1507 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1508 { (exit 1); exit 1; }; }
1511 # test whether we have cygpath
1512 if test -z "$CYGPATH_W"; then
1513 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1514 CYGPATH_W
='cygpath -w'
1521 # Define the identity of the package.
1526 cat >>confdefs.h
<<_ACEOF
1527 #define PACKAGE "$PACKAGE"
1531 cat >>confdefs.h
<<_ACEOF
1532 #define VERSION "$VERSION"
1535 # Some tools Automake needs.
1537 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1540 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1543 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1546 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1549 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1552 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1554 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1556 # Installed binaries are usually stripped using `strip' when the user
1557 # run `make install-strip'. However `strip' might not be the right
1558 # tool to use in cross-compilation environments, therefore Automake
1559 # will honor the `STRIP' environment variable to overrule this program.
1560 if test "$cross_compiling" != no
; then
1561 if test -n "$ac_tool_prefix"; then
1562 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1563 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1564 echo "$as_me:$LINENO: checking for $ac_word" >&5
1565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1566 if test "${ac_cv_prog_STRIP+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 if test -n "$STRIP"; then
1570 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1576 test -z "$as_dir" && as_dir
=.
1577 for ac_exec_ext
in '' $ac_executable_extensions; do
1578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1579 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1588 STRIP
=$ac_cv_prog_STRIP
1589 if test -n "$STRIP"; then
1590 echo "$as_me:$LINENO: result: $STRIP" >&5
1591 echo "${ECHO_T}$STRIP" >&6
1593 echo "$as_me:$LINENO: result: no" >&5
1594 echo "${ECHO_T}no" >&6
1598 if test -z "$ac_cv_prog_STRIP"; then
1600 # Extract the first word of "strip", so it can be a program name with args.
1601 set dummy strip
; ac_word
=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 if test -n "$ac_ct_STRIP"; then
1608 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir
=.
1615 for ac_exec_ext
in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 ac_cv_prog_ac_ct_STRIP
="strip"
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1627 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1628 if test -n "$ac_ct_STRIP"; then
1629 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1630 echo "${ECHO_T}$ac_ct_STRIP" >&6
1632 echo "$as_me:$LINENO: result: no" >&5
1633 echo "${ECHO_T}no" >&6
1638 STRIP
="$ac_cv_prog_STRIP"
1642 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1644 # We need awk for the "check" target. The system "awk" is bad on
1649 ac_config_headers
="$ac_config_headers config.h"
1652 # Make sure we can run config.sub.
1653 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1654 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1655 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1656 { (exit 1); exit 1; }; }
1658 echo "$as_me:$LINENO: checking build system type" >&5
1659 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1660 if test "${ac_cv_build+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 ac_cv_build_alias
=$build_alias
1664 test -z "$ac_cv_build_alias" &&
1665 ac_cv_build_alias
=`$ac_config_guess`
1666 test -z "$ac_cv_build_alias" &&
1667 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1668 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1669 { (exit 1); exit 1; }; }
1670 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1677 echo "${ECHO_T}$ac_cv_build" >&6
1679 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1684 echo "$as_me:$LINENO: checking host system type" >&5
1685 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1686 if test "${ac_cv_host+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 ac_cv_host_alias
=$host_alias
1690 test -z "$ac_cv_host_alias" &&
1691 ac_cv_host_alias
=$ac_cv_build_alias
1692 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1693 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1694 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1695 { (exit 1); exit 1; }; }
1698 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1699 echo "${ECHO_T}$ac_cv_host" >&6
1701 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1702 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1703 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1708 # Check whether --with-cflags or --without-cflags was given.
1709 if test "${with_cflags+set}" = set; then
1710 withval
="$with_cflags"
1713 if test "x$with_cflags" != "x" ; then
1714 CFLAGS
="$with_cflags" ; cflags_specified
=yes ;
1715 elif test -n "$CFLAGS" ; then
1716 cflags_specified
=yes ;
1720 ac_cpp
='$CPP $CPPFLAGS'
1721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1724 if test -n "$ac_tool_prefix"; then
1725 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1726 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_CC+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$CC"; then
1733 ac_cv_prog_CC
="$CC" # Let the user override the test.
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 for ac_exec_ext
in '' $ac_executable_extensions; do
1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 if test -n "$CC"; then
1753 echo "$as_me:$LINENO: result: $CC" >&5
1754 echo "${ECHO_T}$CC" >&6
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1761 if test -z "$ac_cv_prog_CC"; then
1763 # Extract the first word of "gcc", so it can be a program name with args.
1764 set dummy gcc
; ac_word
=$2
1765 echo "$as_me:$LINENO: checking for $ac_word" >&5
1766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 if test -n "$ac_ct_CC"; then
1771 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir
=.
1778 for ac_exec_ext
in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 ac_cv_prog_ac_ct_CC
="gcc"
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1790 if test -n "$ac_ct_CC"; then
1791 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1792 echo "${ECHO_T}$ac_ct_CC" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1803 if test -z "$CC"; then
1804 if test -n "$ac_tool_prefix"; then
1805 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1806 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1807 echo "$as_me:$LINENO: checking for $ac_word" >&5
1808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1809 if test "${ac_cv_prog_CC+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 if test -n "$CC"; then
1813 ac_cv_prog_CC
="$CC" # Let the user override the test.
1815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir
=.
1820 for ac_exec_ext
in '' $ac_executable_extensions; do
1821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1832 if test -n "$CC"; then
1833 echo "$as_me:$LINENO: result: $CC" >&5
1834 echo "${ECHO_T}$CC" >&6
1836 echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6
1841 if test -z "$ac_cv_prog_CC"; then
1843 # Extract the first word of "cc", so it can be a program name with args.
1844 set dummy cc
; ac_word
=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$ac_ct_CC"; then
1851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 for ac_exec_ext
in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_ac_ct_CC
="cc"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1870 if test -n "$ac_ct_CC"; then
1871 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1872 echo "${ECHO_T}$ac_ct_CC" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1884 if test -z "$CC"; then
1885 # Extract the first word of "cc", so it can be a program name with args.
1886 set dummy cc
; ac_word
=$2
1887 echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889 if test "${ac_cv_prog_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$CC"; then
1893 ac_cv_prog_CC
="$CC" # Let the user override the test.
1896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1900 test -z "$as_dir" && as_dir
=.
1901 for ac_exec_ext
in '' $ac_executable_extensions; do
1902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1903 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1904 ac_prog_rejected
=yes
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 if test $ac_prog_rejected = yes; then
1915 # We found a bogon in the path, so make sure we never use it.
1916 set dummy
$ac_cv_prog_CC
1918 if test $# != 0; then
1919 # We chose a different compiler from the bogus one.
1920 # However, it has the same basename, so the bogon will be chosen
1921 # first if we set CC to just the basename; use the full file name.
1923 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1929 if test -n "$CC"; then
1930 echo "$as_me:$LINENO: result: $CC" >&5
1931 echo "${ECHO_T}$CC" >&6
1933 echo "$as_me:$LINENO: result: no" >&5
1934 echo "${ECHO_T}no" >&6
1938 if test -z "$CC"; then
1939 if test -n "$ac_tool_prefix"; then
1942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_CC+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 if test -n "$CC"; then
1950 ac_cv_prog_CC
="$CC" # Let the user override the test.
1952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1956 test -z "$as_dir" && as_dir
=.
1957 for ac_exec_ext
in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 if test -n "$CC"; then
1970 echo "$as_me:$LINENO: result: $CC" >&5
1971 echo "${ECHO_T}$CC" >&6
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1977 test -n "$CC" && break
1980 if test -z "$CC"; then
1984 # Extract the first word of "$ac_prog", so it can be a program name with args.
1985 set dummy
$ac_prog; ac_word
=$2
1986 echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 if test -n "$ac_ct_CC"; then
1992 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 for ac_exec_ext
in '' $ac_executable_extensions; do
2000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001 ac_cv_prog_ac_ct_CC
="$ac_prog"
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2011 if test -n "$ac_ct_CC"; then
2012 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2013 echo "${ECHO_T}$ac_ct_CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2019 test -n "$ac_ct_CC" && break
2028 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2029 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2030 { (exit 1); exit 1; }; }
2032 # Provide some information about the compiler.
2033 echo "$as_me:$LINENO:" \
2034 "checking for C compiler version" >&5
2035 ac_compiler
=`set X $ac_compile; echo $2`
2036 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2037 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }
2041 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2042 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }
2046 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2047 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }
2052 cat >conftest.
$ac_ext <<_ACEOF
2053 #line $LINENO "configure"
2054 #include "confdefs.h"
2064 ac_clean_files_save
=$ac_clean_files
2065 ac_clean_files
="$ac_clean_files a.out a.exe"
2066 # Try to create an executable without -o first, disregard a.out.
2067 # It will help us diagnose broken compilers, and finding out an intuition
2069 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2070 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2071 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2072 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2073 (eval $ac_link_default) 2>&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }; then
2077 # Find the output, starting from the most likely. This scheme is
2078 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2081 # Be careful to initialize this variable, since it used to be cached.
2082 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2084 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
*; do
2085 test -f "$ac_file" ||
continue
2087 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2088 a.out
) # We found the default executable, but exeext='' is most
2091 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2092 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2099 echo "$as_me: failed program was:" >&5
2100 cat conftest.
$ac_ext >&5
2101 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2102 check \`config.log' for details." >&5
2103 echo "$as_me: error: C compiler cannot create executables
2104 check \`config.log' for details." >&2;}
2105 { (exit 77); exit 77; }; }
2108 ac_exeext
=$ac_cv_exeext
2109 echo "$as_me:$LINENO: result: $ac_file" >&5
2110 echo "${ECHO_T}$ac_file" >&6
2112 # Check the compiler produces executables we can run. If not, either
2113 # the compiler is broken, or we cross compile.
2114 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2115 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2116 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2117 # If not cross compiling, check that we can run a simple program.
2118 if test "$cross_compiling" != yes; then
2119 if { ac_try
='./$ac_file'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2127 if test "$cross_compiling" = maybe
; then
2130 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2131 If you meant to cross compile, use \`--host'." >&5
2132 echo "$as_me: error: cannot run C compiled programs.
2133 If you meant to cross compile, use \`--host'." >&2;}
2134 { (exit 1); exit 1; }; }
2138 echo "$as_me:$LINENO: result: yes" >&5
2139 echo "${ECHO_T}yes" >&6
2141 rm -f a.out a.exe conftest
$ac_cv_exeext
2142 ac_clean_files
=$ac_clean_files_save
2143 # Check the compiler produces executables we can run. If not, either
2144 # the compiler is broken, or we cross compile.
2145 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2146 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2147 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2148 echo "${ECHO_T}$cross_compiling" >&6
2150 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2151 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2153 (eval $ac_link) 2>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; then
2157 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2159 # work properly (i.e., refer to `conftest.exe'), while it won't with
2161 for ac_file
in conftest.exe conftest conftest.
*; do
2162 test -f "$ac_file" ||
continue
2164 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2165 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2172 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2173 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2174 { (exit 1); exit 1; }; }
2177 rm -f conftest
$ac_cv_exeext
2178 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2179 echo "${ECHO_T}$ac_cv_exeext" >&6
2181 rm -f conftest.
$ac_ext
2182 EXEEXT
=$ac_cv_exeext
2184 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2185 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2186 if test "${ac_cv_objext+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 cat >conftest.
$ac_ext <<_ACEOF
2190 #line $LINENO "configure"
2191 #include "confdefs.h"
2201 rm -f conftest.o conftest.obj
2202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2203 (eval $ac_compile) 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; then
2207 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2209 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2210 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2215 echo "$as_me: failed program was:" >&5
2216 cat conftest.
$ac_ext >&5
2217 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2218 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2219 { (exit 1); exit 1; }; }
2222 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2224 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2225 echo "${ECHO_T}$ac_cv_objext" >&6
2226 OBJEXT
=$ac_cv_objext
2228 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2229 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2230 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 cat >conftest.
$ac_ext <<_ACEOF
2234 #line $LINENO "configure"
2235 #include "confdefs.h"
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>&5
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
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; }; then
2262 echo "$as_me: failed program was:" >&5
2263 cat conftest.
$ac_ext >&5
2266 rm -f conftest.
$ac_objext conftest.
$ac_ext
2267 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2270 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2271 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2272 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2273 ac_test_CFLAGS
=${CFLAGS+set}
2274 ac_save_CFLAGS
=$CFLAGS
2276 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2277 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2278 if test "${ac_cv_prog_cc_g+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.
$ac_ext <<_ACEOF
2282 #line $LINENO "configure"
2283 #include "confdefs.h"
2293 rm -f conftest.
$ac_objext
2294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2295 (eval $ac_compile) 2>&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); } &&
2299 { ac_try
='test -s conftest.$ac_objext'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; }; then
2307 echo "$as_me: failed program was:" >&5
2308 cat conftest.
$ac_ext >&5
2311 rm -f conftest.
$ac_objext conftest.
$ac_ext
2313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2315 if test "$ac_test_CFLAGS" = set; then
2316 CFLAGS
=$ac_save_CFLAGS
2317 elif test $ac_cv_prog_cc_g = yes; then
2318 if test "$GCC" = yes; then
2324 if test "$GCC" = yes; then
2330 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2331 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2332 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 ac_cv_prog_cc_stdc
=no
2337 cat >conftest.
$ac_ext <<_ACEOF
2338 #line $LINENO "configure"
2339 #include "confdefs.h"
2342 #include <sys/types.h>
2343 #include <sys/stat.h>
2344 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2345 struct buf { int x; };
2346 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2347 static char *e (p, i)
2353 static char *f (char * (*g) (char **, int), char **p, ...)
2358 s = g (p, va_arg (v,int));
2362 int test (int i, double x);
2363 struct s1 {int (*f) (int a);};
2364 struct s2 {int (*f) (double a);};
2365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2376 # Don't try gcc -ansi; that turns off useful extensions and
2377 # breaks some systems' header files.
2378 # AIX -qlanglvl=ansi
2379 # Ultrix and OSF/1 -std1
2380 # HP-UX 10.20 and later -Ae
2381 # HP-UX older versions -Aa -D_HPUX_SOURCE
2382 # SVR4 -Xc -D__EXTENSIONS__
2383 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2385 CC
="$ac_save_CC $ac_arg"
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -s conftest.$ac_objext'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; }; then
2398 ac_cv_prog_cc_stdc
=$ac_arg
2401 echo "$as_me: failed program was:" >&5
2402 cat conftest.
$ac_ext >&5
2404 rm -f conftest.
$ac_objext
2406 rm -f conftest.
$ac_ext conftest.
$ac_objext
2411 case "x$ac_cv_prog_cc_stdc" in
2413 echo "$as_me:$LINENO: result: none needed" >&5
2414 echo "${ECHO_T}none needed" >&6 ;;
2416 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2417 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2418 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2421 # Some people use a C++ compiler to compile C. Since we use `exit',
2422 # in C++ we need to declare it. In case someone uses the same compiler
2423 # for both compiling C and C++ we need to have the C++ compiler decide
2424 # the declaration of exit, since it's the most demanding environment.
2425 cat >conftest.
$ac_ext <<_ACEOF
2430 rm -f conftest.
$ac_objext
2431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2432 (eval $ac_compile) 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); } &&
2436 { ac_try
='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2442 for ac_declaration
in \
2444 '#include <stdlib.h>' \
2445 'extern "C" void std::exit (int) throw (); using std::exit;' \
2446 'extern "C" void std::exit (int); using std::exit;' \
2447 'extern "C" void exit (int) throw ();' \
2448 'extern "C" void exit (int);' \
2451 cat >conftest.
$ac_ext <<_ACEOF
2452 #line $LINENO "configure"
2453 #include "confdefs.h"
2464 rm -f conftest.
$ac_objext
2465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2466 (eval $ac_compile) 2>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 echo "$as_me: failed program was:" >&5
2479 cat conftest.
$ac_ext >&5
2482 rm -f conftest.
$ac_objext conftest.
$ac_ext
2483 cat >conftest.
$ac_ext <<_ACEOF
2484 #line $LINENO "configure"
2485 #include "confdefs.h"
2495 rm -f conftest.
$ac_objext
2496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2497 (eval $ac_compile) 2>&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); } &&
2501 { ac_try
='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 cat conftest.
$ac_ext >&5
2512 rm -f conftest.
$ac_objext conftest.
$ac_ext
2515 if test -n "$ac_declaration"; then
2516 echo '#ifdef __cplusplus' >>confdefs.h
2517 echo $ac_declaration >>confdefs.h
2518 echo '#endif' >>confdefs.h
2522 echo "$as_me: failed program was:" >&5
2523 cat conftest.
$ac_ext >&5
2525 rm -f conftest.
$ac_objext conftest.
$ac_ext
2527 ac_cpp
='$CPP $CPPFLAGS'
2528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2531 rm -f .deps
2>/dev
/null
2532 mkdir .deps
2>/dev
/null
2533 if test -d .deps
; then
2536 # MS-DOS does not allow filenames that begin with a dot.
2539 rmdir .deps
2>/dev
/null
2542 ac_config_commands
="$ac_config_commands depfiles"
2545 am_make
=${MAKE-make}
2546 cat > confinc
<< 'END'
2550 # If we don't find an include directive, just comment out the code.
2551 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2552 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2556 # First try GNU make style include.
2557 echo "include confinc" > confmf
2558 # We grep out `Entering directory' and `Leaving directory'
2559 # messages which can occur if `w' ends up in MAKEFLAGS.
2560 # In particular we don't look at `^make:' because GNU make might
2561 # be invoked under some other name (usually "gmake"), in which
2562 # case it prints its new name instead of `make'.
2563 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2568 # Now try BSD make style include.
2569 if test "$am__include" = "#"; then
2570 echo '.include "confinc"' > confmf
2571 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2572 am__include
=.include
2579 echo "$as_me:$LINENO: result: $_am_result" >&5
2580 echo "${ECHO_T}$_am_result" >&6
2581 rm -f confinc confmf
2583 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2584 if test "${enable_dependency_tracking+set}" = set; then
2585 enableval
="$enable_dependency_tracking"
2588 if test "x$enable_dependency_tracking" != xno
; then
2589 am_depcomp
="$ac_aux_dir/depcomp"
2594 if test "x$enable_dependency_tracking" != xno; then
2605 depcc
="$CC" am_compiler_list
=
2607 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2608 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2609 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2613 # We make a subdir and do the tests there. Otherwise we can end up
2614 # making bogus files that we don't know about and never remove. For
2615 # instance it was reported that on HP-UX the gcc test will end up
2616 # making a dummy file named `D' -- because `-MD' means `put the output
2619 # Copy depcomp to subdir because otherwise we won't find it if we're
2620 # using a relative directory.
2621 cp "$am_depcomp" conftest.dir
2624 am_cv_CC_dependencies_compiler_type
=none
2625 if test "$am_compiler_list" = ""; then
2626 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2628 for depmode
in $am_compiler_list; do
2629 # We need to recreate these files for each test, as the compiler may
2630 # overwrite some of them when testing with obscure command lines.
2631 # This happens at least with the AIX C compiler.
2632 echo '#include "conftest.h"' > conftest.c
2633 echo 'int i;' > conftest.h
2634 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2638 # after this tag, mechanisms are not by side-effect, so they'll
2639 # only be used when explicitly requested
2640 if test "x$enable_dependency_tracking" = xyes
; then
2648 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2649 # mode. It turns out that the SunPro C++ compiler does not properly
2650 # handle `-M -o', and we need to detect this.
2651 if depmode
=$depmode \
2652 source=conftest.c object
=conftest.o \
2653 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2654 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2655 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2656 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2657 am_cv_CC_dependencies_compiler_type
=$depmode
2665 am_cv_CC_dependencies_compiler_type
=none
2669 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2670 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2671 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2676 test "x$enable_dependency_tracking" != xno \
2677 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2679 am__fastdepCC_FALSE
='#'
2681 am__fastdepCC_TRUE
='#'
2682 am__fastdepCC_FALSE
=
2687 if test "x$cflags_specified" = "x" ; then
2688 CFLAGS
="$CFLAGS -Wall"
2692 ac_cpp
='$CPP $CPPFLAGS'
2693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2696 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2697 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2698 # On Suns, sometimes $CPP names a directory.
2699 if test -n "$CPP" && test -d "$CPP"; then
2702 if test -z "$CPP"; then
2703 if test "${ac_cv_prog_CPP+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 # Double quotes because CPP needs to be expanded
2707 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2710 for ac_c_preproc_warn_flag
in '' yes
2712 # Use a header file that comes with gcc, so configuring glibc
2713 # with a fresh cross-compiler works.
2714 # On the NeXT, cc -E runs the code through the compiler's parser,
2715 # not just through cpp. "Syntax error" is here to catch this case.
2716 cat >conftest.
$ac_ext <<_ACEOF
2717 #line $LINENO "configure"
2718 #include "confdefs.h"
2722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2725 grep -v '^ *+' conftest.er1
>conftest.err
2727 cat conftest.err
>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); } >/dev
/null
; then
2730 if test -s conftest.err
; then
2731 ac_cpp_err
=$ac_c_preproc_warn_flag
2738 if test -z "$ac_cpp_err"; then
2741 echo "$as_me: failed program was:" >&5
2742 cat conftest.
$ac_ext >&5
2743 # Broken: fails on valid input.
2746 rm -f conftest.err conftest.
$ac_ext
2748 # OK, works on sane cases. Now check whether non-existent headers
2749 # can be detected and how.
2750 cat >conftest.
$ac_ext <<_ACEOF
2751 #line $LINENO "configure"
2752 #include "confdefs.h"
2753 #include <ac_nonexistent.h>
2755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2758 grep -v '^ *+' conftest.er1
>conftest.err
2760 cat conftest.err
>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } >/dev
/null
; then
2763 if test -s conftest.err
; then
2764 ac_cpp_err
=$ac_c_preproc_warn_flag
2771 if test -z "$ac_cpp_err"; then
2772 # Broken: success on invalid input.
2775 echo "$as_me: failed program was:" >&5
2776 cat conftest.
$ac_ext >&5
2777 # Passes both tests.
2781 rm -f conftest.err conftest.
$ac_ext
2784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2785 rm -f conftest.err conftest.
$ac_ext
2786 if $ac_preproc_ok; then
2798 echo "$as_me:$LINENO: result: $CPP" >&5
2799 echo "${ECHO_T}$CPP" >&6
2801 for ac_c_preproc_warn_flag
in '' yes
2803 # Use a header file that comes with gcc, so configuring glibc
2804 # with a fresh cross-compiler works.
2805 # On the NeXT, cc -E runs the code through the compiler's parser,
2806 # not just through cpp. "Syntax error" is here to catch this case.
2807 cat >conftest.
$ac_ext <<_ACEOF
2808 #line $LINENO "configure"
2809 #include "confdefs.h"
2813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2816 grep -v '^ *+' conftest.er1
>conftest.err
2818 cat conftest.err
>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } >/dev
/null
; then
2821 if test -s conftest.err
; then
2822 ac_cpp_err
=$ac_c_preproc_warn_flag
2829 if test -z "$ac_cpp_err"; then
2832 echo "$as_me: failed program was:" >&5
2833 cat conftest.
$ac_ext >&5
2834 # Broken: fails on valid input.
2837 rm -f conftest.err conftest.
$ac_ext
2839 # OK, works on sane cases. Now check whether non-existent headers
2840 # can be detected and how.
2841 cat >conftest.
$ac_ext <<_ACEOF
2842 #line $LINENO "configure"
2843 #include "confdefs.h"
2844 #include <ac_nonexistent.h>
2846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2849 grep -v '^ *+' conftest.er1
>conftest.err
2851 cat conftest.err
>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } >/dev
/null
; then
2854 if test -s conftest.err
; then
2855 ac_cpp_err
=$ac_c_preproc_warn_flag
2862 if test -z "$ac_cpp_err"; then
2863 # Broken: success on invalid input.
2866 echo "$as_me: failed program was:" >&5
2867 cat conftest.
$ac_ext >&5
2868 # Passes both tests.
2872 rm -f conftest.err conftest.
$ac_ext
2875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2876 rm -f conftest.err conftest.
$ac_ext
2877 if $ac_preproc_ok; then
2880 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2881 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2882 { (exit 1); exit 1; }; }
2886 ac_cpp
='$CPP $CPPFLAGS'
2887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2891 # Find a good install program. We prefer a C program (faster),
2892 # so one script is as good as another. But avoid the broken or
2893 # incompatible versions:
2894 # SysV /etc/install, /usr/sbin/install
2895 # SunOS /usr/etc/install
2896 # IRIX /sbin/install
2898 # AmigaOS /C/install, which installs bootblocks on floppy discs
2899 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2900 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2901 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2902 # ./install, which can be erroneously created by make from ./install.sh.
2903 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2904 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2905 if test -z "$INSTALL"; then
2906 if test "${ac_cv_path_install+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 # Account for people who put trailing slashes in PATH elements.
2916 .
/ | .
// |
/cC
/* | \
2917 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2920 # OSF1 and SCO ODT 3.0 have their own names for install.
2921 # Don't use installbsd from OSF since it installs stuff as root
2923 for ac_prog
in ginstall scoinst
install; do
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2926 if test $ac_prog = install &&
2927 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2928 # AIX install. It has an incompatible calling convention.
2930 elif test $ac_prog = install &&
2931 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2932 # program-specific install script used by HP pwplus--don't use.
2935 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2947 if test "${ac_cv_path_install+set}" = set; then
2948 INSTALL
=$ac_cv_path_install
2950 # As a last resort, use the slow shell script. We don't cache a
2951 # path for INSTALL within a source directory, because that will
2952 # break other packages using the cache if that directory is
2953 # removed, or if the path is relative.
2954 INSTALL
=$ac_install_sh
2957 echo "$as_me:$LINENO: result: $INSTALL" >&5
2958 echo "${ECHO_T}$INSTALL" >&6
2960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2961 # It thinks the first close brace ends the variable substitution.
2962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2966 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
2969 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2970 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
2971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 cat >conftest.
make <<\_ACEOF
2976 @
echo 'ac_maketemp="${MAKE}"'
2978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2980 if test -n "$ac_maketemp"; then
2981 eval ac_cv_prog_make_
${ac_make}_set
=yes
2983 eval ac_cv_prog_make_
${ac_make}_set
=no
2987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2988 echo "$as_me:$LINENO: result: yes" >&5
2989 echo "${ECHO_T}yes" >&6
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2994 SET_MAKE
="MAKE=${MAKE-make}"
2997 if test -n "$ac_tool_prefix"; then
2998 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2999 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3000 echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3002 if test "${ac_cv_prog_AR+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 if test -n "$AR"; then
3006 ac_cv_prog_AR
="$AR" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 if test -n "$AR"; then
3026 echo "$as_me:$LINENO: result: $AR" >&5
3027 echo "${ECHO_T}$AR" >&6
3029 echo "$as_me:$LINENO: result: no" >&5
3030 echo "${ECHO_T}no" >&6
3034 if test -z "$ac_cv_prog_AR"; then
3036 # Extract the first word of "ar", so it can be a program name with args.
3037 set dummy
ar; ac_word
=$2
3038 echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 if test -n "$ac_ct_AR"; then
3044 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_ac_ct_AR
="ar"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3063 if test -n "$ac_ct_AR"; then
3064 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3065 echo "${ECHO_T}$ac_ct_AR" >&6
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3076 if test -n "$ac_tool_prefix"; then
3077 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3078 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3079 echo "$as_me:$LINENO: checking for $ac_word" >&5
3080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3081 if test "${ac_cv_prog_RANLIB+set}" = set; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 if test -n "$RANLIB"; then
3085 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir
=.
3092 for ac_exec_ext
in '' $ac_executable_extensions; do
3093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3094 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 RANLIB
=$ac_cv_prog_RANLIB
3104 if test -n "$RANLIB"; then
3105 echo "$as_me:$LINENO: result: $RANLIB" >&5
3106 echo "${ECHO_T}$RANLIB" >&6
3108 echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6
3113 if test -z "$ac_cv_prog_RANLIB"; then
3114 ac_ct_RANLIB
=$RANLIB
3115 # Extract the first word of "ranlib", so it can be a program name with args.
3116 set dummy ranlib
; ac_word
=$2
3117 echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3119 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 if test -n "$ac_ct_RANLIB"; then
3123 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3142 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3143 if test -n "$ac_ct_RANLIB"; then
3144 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3145 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3151 RANLIB
=$ac_ct_RANLIB
3153 RANLIB
="$ac_cv_prog_RANLIB"
3159 echo "$as_me:$LINENO: checking for egrep" >&5
3160 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3161 if test "${ac_cv_prog_egrep+set}" = set; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3164 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3165 then ac_cv_prog_egrep
='grep -E'
3166 else ac_cv_prog_egrep
='egrep'
3169 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3170 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3171 EGREP
=$ac_cv_prog_egrep
3175 echo "$as_me:$LINENO: checking for AIX" >&5
3176 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3177 cat >conftest.
$ac_ext <<_ACEOF
3178 #line $LINENO "configure"
3179 #include "confdefs.h"
3185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3186 $EGREP "yes" >/dev
/null
2>&1; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 cat >>confdefs.h
<<\_ACEOF
3190 #define _ALL_SOURCE 1
3194 echo "$as_me:$LINENO: result: no" >&5
3195 echo "${ECHO_T}no" >&6
3201 # Check whether --enable-vtysh or --disable-vtysh was given.
3202 if test "${enable_vtysh+set}" = set; then
3203 enableval
="$enable_vtysh"
3206 # Check whether --enable-ipv6 or --disable-ipv6 was given.
3207 if test "${enable_ipv6+set}" = set; then
3208 enableval
="$enable_ipv6"
3211 # Check whether --enable-zebra or --disable-zebra was given.
3212 if test "${enable_zebra+set}" = set; then
3213 enableval
="$enable_zebra"
3216 # Check whether --enable-bgpd or --disable-bgpd was given.
3217 if test "${enable_bgpd+set}" = set; then
3218 enableval
="$enable_bgpd"
3221 # Check whether --enable-ripd or --disable-ripd was given.
3222 if test "${enable_ripd+set}" = set; then
3223 enableval
="$enable_ripd"
3226 # Check whether --enable-ripngd or --disable-ripngd was given.
3227 if test "${enable_ripngd+set}" = set; then
3228 enableval
="$enable_ripngd"
3231 # Check whether --enable-ospfd or --disable-ospfd was given.
3232 if test "${enable_ospfd+set}" = set; then
3233 enableval
="$enable_ospfd"
3236 # Check whether --enable-ospf6d or --disable-ospf6d was given.
3237 if test "${enable_ospf6d+set}" = set; then
3238 enableval
="$enable_ospf6d"
3241 # Check whether --enable-bgp-announce or --disable-bgp-announce was given.
3242 if test "${enable_bgp_announce+set}" = set; then
3243 enableval
="$enable_bgp_announce"
3246 # Check whether --enable-netlink or --disable-netlink was given.
3247 if test "${enable_netlink+set}" = set; then
3248 enableval
="$enable_netlink"
3251 # Check whether --enable-broken-aliases or --disable-broken-aliases was given.
3252 if test "${enable_broken_aliases+set}" = set; then
3253 enableval
="$enable_broken_aliases"
3256 # Check whether --enable-snmp or --disable-snmp was given.
3257 if test "${enable_snmp+set}" = set; then
3258 enableval
="$enable_snmp"
3262 # Check whether --with-libpam or --without-libpam was given.
3263 if test "${with_libpam+set}" = set; then
3264 withval
="$with_libpam"
3267 # Check whether --enable-tcpsock or --disable-tcpsock was given.
3268 if test "${enable_tcpsock+set}" = set; then
3269 enableval
="$enable_tcpsock"
3272 # Check whether --enable-nssa or --disable-nssa was given.
3273 if test "${enable_nssa+set}" = set; then
3274 enableval
="$enable_nssa"
3277 # Check whether --enable-opaque-lsa or --disable-opaque-lsa was given.
3278 if test "${enable_opaque_lsa+set}" = set; then
3279 enableval
="$enable_opaque_lsa"
3282 # Check whether --enable-ospf-te or --disable-ospf-te was given.
3283 if test "${enable_ospf_te+set}" = set; then
3284 enableval
="$enable_ospf_te"
3287 # Check whether --enable-multipath or --disable-multipath was given.
3288 if test "${enable_multipath+set}" = set; then
3289 enableval
="$enable_multipath"
3294 if test "${enable_broken_aliases}" = "yes"; then
3295 if test "${enable_netlink}" = "yes"
3297 echo "Sorry, you can't use netlink with broken aliases"
3300 cat >>confdefs.h
<<\_ACEOF
3301 #define HAVE_BROKEN_ALIASES 1
3307 if test "${enable_tcp_zebra}" = "yes"; then
3308 cat >>confdefs.h
<<\_ACEOF
3309 #define HAVE_TCP_ZEBRA 1
3314 if test "${enable_nssa}" = "yes"; then
3315 cat >>confdefs.h
<<\_ACEOF
3321 if test "${enable_opaque_lsa}" = "yes"; then
3322 cat >>confdefs.h
<<\_ACEOF
3323 #define HAVE_OPAQUE_LSA 1
3328 if test "${enable_ospf_te}" = "yes"; then
3329 cat >>confdefs.h
<<\_ACEOF
3330 #define HAVE_OPAQUE_LSA 1
3333 cat >>confdefs.h
<<\_ACEOF
3334 #define HAVE_OSPF_TE 1
3343 case "${enable_multipath}" in
3345 MULTIPATH_NUM
="${enable_multipath}"
3350 echo "Please specify digit to --enable-multipath ARG."
3358 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3359 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3360 if test "${ac_cv_header_stdc+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 cat >conftest.
$ac_ext <<_ACEOF
3364 #line $LINENO "configure"
3365 #include "confdefs.h"
3372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3375 grep -v '^ *+' conftest.er1
>conftest.err
3377 cat conftest.err
>&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } >/dev
/null
; then
3380 if test -s conftest.err
; then
3381 ac_cpp_err
=$ac_c_preproc_warn_flag
3388 if test -z "$ac_cpp_err"; then
3389 ac_cv_header_stdc
=yes
3391 echo "$as_me: failed program was:" >&5
3392 cat conftest.
$ac_ext >&5
3393 ac_cv_header_stdc
=no
3395 rm -f conftest.err conftest.
$ac_ext
3397 if test $ac_cv_header_stdc = yes; then
3398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3399 cat >conftest.
$ac_ext <<_ACEOF
3400 #line $LINENO "configure"
3401 #include "confdefs.h"
3405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3406 $EGREP "memchr" >/dev
/null
2>&1; then
3409 ac_cv_header_stdc
=no
3415 if test $ac_cv_header_stdc = yes; then
3416 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3417 cat >conftest.
$ac_ext <<_ACEOF
3418 #line $LINENO "configure"
3419 #include "confdefs.h"
3423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3424 $EGREP "free" >/dev
/null
2>&1; then
3427 ac_cv_header_stdc
=no
3433 if test $ac_cv_header_stdc = yes; then
3434 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3435 if test "$cross_compiling" = yes; then
3438 cat >conftest.
$ac_ext <<_ACEOF
3439 #line $LINENO "configure"
3440 #include "confdefs.h"
3442 #if ((' ' & 0x0FF) == 0x020)
3443 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3444 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3446 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3447 || ('j' <= (c) && (c) <= 'r') \
3448 || ('s' <= (c) && (c) <= 'z'))
3449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3457 for (i = 0; i < 256; i++)
3458 if (XOR (islower (i), ISLOWER (i))
3459 || toupper (i) != TOUPPER (i))
3464 rm -f conftest
$ac_exeext
3465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3466 (eval $ac_link) 2>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; }; then
3477 echo "$as_me: program exited with status $ac_status" >&5
3478 echo "$as_me: failed program was:" >&5
3479 cat conftest.
$ac_ext >&5
3481 ac_cv_header_stdc
=no
3483 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3489 if test $ac_cv_header_stdc = yes; then
3491 cat >>confdefs.h
<<\_ACEOF
3492 #define STDC_HEADERS 1
3497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3507 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3508 inttypes.h stdint.h unistd.h
3510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3511 echo "$as_me:$LINENO: checking for $ac_header" >&5
3512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 cat >conftest.
$ac_ext <<_ACEOF
3517 #line $LINENO "configure"
3518 #include "confdefs.h"
3519 $ac_includes_default
3521 #include <$ac_header>
3523 rm -f conftest.
$ac_objext
3524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3525 (eval $ac_compile) 2>&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } &&
3529 { ac_try
='test -s conftest.$ac_objext'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; }; then
3535 eval "$as_ac_Header=yes"
3537 echo "$as_me: failed program was:" >&5
3538 cat conftest.
$ac_ext >&5
3539 eval "$as_ac_Header=no"
3541 rm -f conftest.
$ac_objext conftest.
$ac_ext
3543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3546 cat >>confdefs.h
<<_ACEOF
3547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3580 for ac_header
in string.h stropts.h sys
/conf.h sys
/ksym.h sys
/time.h sys
/times.h sys
/select.h sys
/sysctl.h sys
/sockio.h sys
/types.h net
/if_dl.h net
/if_var.h linux
/version.h kvm.h netdb.h netinet
/in.h net
/netopt.h netinet
/in_var.h netinet
/in6_var.h netinet
/in6.h inet
/nd.h asm
/types.h netinet
/icmp6.h netinet
6/nd6.h libutil.h
3582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3584 echo "$as_me:$LINENO: checking for $ac_header" >&5
3585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3592 # Is the header compilable?
3593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3595 cat >conftest.
$ac_ext <<_ACEOF
3596 #line $LINENO "configure"
3597 #include "confdefs.h"
3598 $ac_includes_default
3599 #include <$ac_header>
3601 rm -f conftest.
$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try
='test -s conftest.$ac_objext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_header_compiler
=yes
3615 echo "$as_me: failed program was:" >&5
3616 cat conftest.
$ac_ext >&5
3617 ac_header_compiler
=no
3619 rm -f conftest.
$ac_objext conftest.
$ac_ext
3620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3621 echo "${ECHO_T}$ac_header_compiler" >&6
3623 # Is the header present?
3624 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3626 cat >conftest.
$ac_ext <<_ACEOF
3627 #line $LINENO "configure"
3628 #include "confdefs.h"
3629 #include <$ac_header>
3631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3634 grep -v '^ *+' conftest.er1
>conftest.err
3636 cat conftest.err
>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } >/dev
/null
; then
3639 if test -s conftest.err
; then
3640 ac_cpp_err
=$ac_c_preproc_warn_flag
3647 if test -z "$ac_cpp_err"; then
3648 ac_header_preproc
=yes
3650 echo "$as_me: failed program was:" >&5
3651 cat conftest.
$ac_ext >&5
3652 ac_header_preproc
=no
3654 rm -f conftest.err conftest.
$ac_ext
3655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3656 echo "${ECHO_T}$ac_header_preproc" >&6
3658 # So? What about this header?
3659 case $ac_header_compiler:$ac_header_preproc in
3661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3664 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3666 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3668 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3673 echo "$as_me:$LINENO: checking for $ac_header" >&5
3674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 eval "$as_ac_Header=$ac_header_preproc"
3680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3685 cat >>confdefs.h
<<_ACEOF
3686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3694 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3695 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3696 if test "${ac_cv_c_const+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 cat >conftest.
$ac_ext <<_ACEOF
3700 #line $LINENO "configure"
3701 #include "confdefs.h"
3706 /* FIXME: Include the comments suggested by Paul. */
3708 /* Ultrix mips cc rejects this. */
3709 typedef int charset[2];
3711 /* SunOS 4.1.1 cc rejects this. */
3712 char const *const *ccp;
3714 /* NEC SVR4.0.2 mips cc rejects this. */
3715 struct point {int x, y;};
3716 static struct point const zero = {0,0};
3717 /* AIX XL C 1.02.0.0 rejects this.
3718 It does not let you subtract one const X* pointer from another in
3719 an arm of an if-expression whose if-part is not a constant
3721 const char *g = "string";
3722 ccp = &g + (g ? g-g : 0);
3723 /* HPUX 7.0 cc rejects these. */
3726 ccp = (char const *const *) p;
3727 { /* SCO 3.2v4 cc rejects this. */
3729 char const *s = 0 ? (char *) 0 : (char const *) 0;
3733 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3735 const int *foo = &x[0];
3738 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3739 typedef const int *iptr;
3743 { /* AIX XL C 1.02.0.0 rejects this saying
3744 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3745 struct s { int j; const int *ap[3]; };
3746 struct s *b; b->j = 5;
3748 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3757 rm -f conftest.
$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759 (eval $ac_compile) 2>&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } &&
3763 { ac_try
='test -s conftest.$ac_objext'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; }; then
3771 echo "$as_me: failed program was:" >&5
3772 cat conftest.
$ac_ext >&5
3775 rm -f conftest.
$ac_objext conftest.
$ac_ext
3777 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3778 echo "${ECHO_T}$ac_cv_c_const" >&6
3779 if test $ac_cv_c_const = no
; then
3781 cat >>confdefs.h
<<\_ACEOF
3787 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3788 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3789 if test "${ac_cv_type_signal+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 cat >conftest.
$ac_ext <<_ACEOF
3793 #line $LINENO "configure"
3794 #include "confdefs.h"
3795 #include <sys/types.h>
3801 extern "C" void (*signal (int, void (*)(int)))(int);
3803 void (*signal ()) ();
3814 rm -f conftest.
$ac_objext
3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3816 (eval $ac_compile) 2>&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } &&
3820 { ac_try
='test -s conftest.$ac_objext'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; }; then
3826 ac_cv_type_signal
=void
3828 echo "$as_me: failed program was:" >&5
3829 cat conftest.
$ac_ext >&5
3830 ac_cv_type_signal
=int
3832 rm -f conftest.
$ac_objext conftest.
$ac_ext
3834 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3835 echo "${ECHO_T}$ac_cv_type_signal" >&6
3837 cat >>confdefs.h
<<_ACEOF
3838 #define RETSIGTYPE $ac_cv_type_signal
3844 *-sunos5.6
* |
*-solaris2.6
*)
3846 cat >>confdefs.h
<<\_ACEOF
3851 echo "$as_me:$LINENO: checking for main in -lxnet" >&5
3852 echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
3853 if test "${ac_cv_lib_xnet_main+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 ac_check_lib_save_LIBS
=$LIBS
3858 cat >conftest.
$ac_ext <<_ACEOF
3859 #line $LINENO "configure"
3860 #include "confdefs.h"
3871 rm -f conftest.
$ac_objext conftest
$ac_exeext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3873 (eval $ac_link) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try
='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_xnet_main
=yes
3885 echo "$as_me: failed program was:" >&5
3886 cat conftest.
$ac_ext >&5
3887 ac_cv_lib_xnet_main
=no
3889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3890 LIBS
=$ac_check_lib_save_LIBS
3892 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
3893 echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
3894 if test $ac_cv_lib_xnet_main = yes; then
3895 cat >>confdefs.h
<<_ACEOF
3896 #define HAVE_LIBXNET 1
3905 *-sunos5* |
*-solaris2*)
3906 cat >>confdefs.h
<<\_ACEOF
3911 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
3912 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
3913 if test "${ac_cv_lib_socket_main+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 ac_check_lib_save_LIBS
=$LIBS
3917 LIBS
="-lsocket $LIBS"
3918 cat >conftest.
$ac_ext <<_ACEOF
3919 #line $LINENO "configure"
3920 #include "confdefs.h"
3931 rm -f conftest.
$ac_objext conftest
$ac_exeext
3932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3933 (eval $ac_link) 2>&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } &&
3937 { ac_try
='test -s conftest$ac_exeext'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3943 ac_cv_lib_socket_main
=yes
3945 echo "$as_me: failed program was:" >&5
3946 cat conftest.
$ac_ext >&5
3947 ac_cv_lib_socket_main
=no
3949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3950 LIBS
=$ac_check_lib_save_LIBS
3952 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
3953 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
3954 if test $ac_cv_lib_socket_main = yes; then
3955 cat >>confdefs.h
<<_ACEOF
3956 #define HAVE_LIBSOCKET 1
3959 LIBS
="-lsocket $LIBS"
3964 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
3965 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
3966 if test "${ac_cv_lib_nsl_main+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 ac_check_lib_save_LIBS
=$LIBS
3971 cat >conftest.
$ac_ext <<_ACEOF
3972 #line $LINENO "configure"
3973 #include "confdefs.h"
3984 rm -f conftest.
$ac_objext conftest
$ac_exeext
3985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3986 (eval $ac_link) 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } &&
3990 { ac_try
='test -s conftest$ac_exeext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3996 ac_cv_lib_nsl_main
=yes
3998 echo "$as_me: failed program was:" >&5
3999 cat conftest.
$ac_ext >&5
4000 ac_cv_lib_nsl_main
=no
4002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4003 LIBS
=$ac_check_lib_save_LIBS
4005 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
4006 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
4007 if test $ac_cv_lib_nsl_main = yes; then
4008 cat >>confdefs.h
<<_ACEOF
4009 #define HAVE_LIBNSL 1
4020 cat >>confdefs.h
<<\_ACEOF
4027 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4028 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4029 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 ac_check_lib_save_LIBS
=$LIBS
4034 cat >conftest.
$ac_ext <<_ACEOF
4035 #line $LINENO "configure"
4036 #include "confdefs.h"
4038 /* Override any gcc2 internal prototype to avoid an error. */
4042 /* We use char because int might match the return type of a gcc2
4043 builtin and then its argument prototype would still apply. */
4044 char gethostbyname ();
4053 rm -f conftest.
$ac_objext conftest
$ac_exeext
4054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4055 (eval $ac_link) 2>&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } &&
4059 { ac_try
='test -s conftest$ac_exeext'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 ac_cv_lib_nsl_gethostbyname
=yes
4067 echo "$as_me: failed program was:" >&5
4068 cat conftest.
$ac_ext >&5
4069 ac_cv_lib_nsl_gethostbyname
=no
4071 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4072 LIBS
=$ac_check_lib_save_LIBS
4074 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4075 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4076 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4077 cat >>confdefs.h
<<_ACEOF
4078 #define HAVE_LIBNSL 1
4086 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4087 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4088 if test "${ac_cv_lib_socket_socket+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 ac_check_lib_save_LIBS
=$LIBS
4092 LIBS
="-lsocket $LIBS"
4093 cat >conftest.
$ac_ext <<_ACEOF
4094 #line $LINENO "configure"
4095 #include "confdefs.h"
4097 /* Override any gcc2 internal prototype to avoid an error. */
4101 /* We use char because int might match the return type of a gcc2
4102 builtin and then its argument prototype would still apply. */
4112 rm -f conftest.
$ac_objext conftest
$ac_exeext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4114 (eval $ac_link) 2>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } &&
4118 { ac_try
='test -s conftest$ac_exeext'
4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); }; }; then
4124 ac_cv_lib_socket_socket
=yes
4126 echo "$as_me: failed program was:" >&5
4127 cat conftest.
$ac_ext >&5
4128 ac_cv_lib_socket_socket
=no
4130 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4131 LIBS
=$ac_check_lib_save_LIBS
4133 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4134 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4135 if test $ac_cv_lib_socket_socket = yes; then
4136 cat >>confdefs.h
<<_ACEOF
4137 #define HAVE_LIBSOCKET 1
4140 LIBS
="-lsocket $LIBS"
4146 cat >>confdefs.h
<<\_ACEOF
4147 #define FREEBSD_32 1
4153 cat >>confdefs.h
<<\_ACEOF
4160 OTHER_METHOD
="mtu_kvm.o"
4162 echo "$as_me:$LINENO: checking for main in -lkvm" >&5
4163 echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6
4164 if test "${ac_cv_lib_kvm_main+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 ac_check_lib_save_LIBS
=$LIBS
4169 cat >conftest.
$ac_ext <<_ACEOF
4170 #line $LINENO "configure"
4171 #include "confdefs.h"
4182 rm -f conftest.
$ac_objext conftest
$ac_exeext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4184 (eval $ac_link) 2>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try
='test -s conftest$ac_exeext'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4194 ac_cv_lib_kvm_main
=yes
4196 echo "$as_me: failed program was:" >&5
4197 cat conftest.
$ac_ext >&5
4198 ac_cv_lib_kvm_main
=no
4200 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4201 LIBS
=$ac_check_lib_save_LIBS
4203 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_main" >&5
4204 echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6
4205 if test $ac_cv_lib_kvm_main = yes; then
4206 cat >>confdefs.h
<<_ACEOF
4207 #define HAVE_LIBKVM 1
4217 case "${host_cpu}-${host_os}" in
4219 cat >>confdefs.h
<<\_ACEOF
4220 #define SOLARIS_X86 1
4226 case "${enable_vtysh}" in
4227 "yes") VTYSH
="vtysh";
4228 cat >>confdefs.h
<<\_ACEOF
4233 echo "$as_me:$LINENO: checking for tputs in -ltinfo" >&5
4234 echo $ECHO_N "checking for tputs in -ltinfo... $ECHO_C" >&6
4235 if test "${ac_cv_lib_tinfo_tputs+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 ac_check_lib_save_LIBS
=$LIBS
4239 LIBS
="-ltinfo $LIBS"
4240 cat >conftest.
$ac_ext <<_ACEOF
4241 #line $LINENO "configure"
4242 #include "confdefs.h"
4244 /* Override any gcc2 internal prototype to avoid an error. */
4248 /* We use char because int might match the return type of a gcc2
4249 builtin and then its argument prototype would still apply. */
4259 rm -f conftest.
$ac_objext conftest
$ac_exeext
4260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4261 (eval $ac_link) 2>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -s conftest$ac_exeext'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 ac_cv_lib_tinfo_tputs
=yes
4273 echo "$as_me: failed program was:" >&5
4274 cat conftest.
$ac_ext >&5
4275 ac_cv_lib_tinfo_tputs
=no
4277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4278 LIBS
=$ac_check_lib_save_LIBS
4280 echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tputs" >&5
4281 echo "${ECHO_T}$ac_cv_lib_tinfo_tputs" >&6
4282 if test $ac_cv_lib_tinfo_tputs = yes; then
4283 cat >>confdefs.h
<<_ACEOF
4284 #define HAVE_LIBTINFO 1
4287 LIBS
="-ltinfo $LIBS"
4291 echo "$as_me:$LINENO: checking for tputs in -lncurses" >&5
4292 echo $ECHO_N "checking for tputs in -lncurses... $ECHO_C" >&6
4293 if test "${ac_cv_lib_ncurses_tputs+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 ac_check_lib_save_LIBS
=$LIBS
4297 LIBS
="-lncurses $LIBS"
4298 cat >conftest.
$ac_ext <<_ACEOF
4299 #line $LINENO "configure"
4300 #include "confdefs.h"
4302 /* Override any gcc2 internal prototype to avoid an error. */
4306 /* We use char because int might match the return type of a gcc2
4307 builtin and then its argument prototype would still apply. */
4317 rm -f conftest.
$ac_objext conftest
$ac_exeext
4318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4319 (eval $ac_link) 2>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } &&
4323 { ac_try
='test -s conftest$ac_exeext'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; }; then
4329 ac_cv_lib_ncurses_tputs
=yes
4331 echo "$as_me: failed program was:" >&5
4332 cat conftest.
$ac_ext >&5
4333 ac_cv_lib_ncurses_tputs
=no
4335 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4336 LIBS
=$ac_check_lib_save_LIBS
4338 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tputs" >&5
4339 echo "${ECHO_T}$ac_cv_lib_ncurses_tputs" >&6
4340 if test $ac_cv_lib_ncurses_tputs = yes; then
4341 cat >>confdefs.h
<<_ACEOF
4342 #define HAVE_LIBNCURSES 1
4345 LIBS
="-lncurses $LIBS"
4352 echo "$as_me:$LINENO: checking for main in -lreadline" >&5
4353 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6
4354 if test "${ac_cv_lib_readline_main+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 ac_check_lib_save_LIBS
=$LIBS
4358 LIBS
="-lreadline $LIBS"
4359 cat >conftest.
$ac_ext <<_ACEOF
4360 #line $LINENO "configure"
4361 #include "confdefs.h"
4372 rm -f conftest.
$ac_objext conftest
$ac_exeext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4374 (eval $ac_link) 2>&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); } &&
4378 { ac_try
='test -s conftest$ac_exeext'
4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4384 ac_cv_lib_readline_main
=yes
4386 echo "$as_me: failed program was:" >&5
4387 cat conftest.
$ac_ext >&5
4388 ac_cv_lib_readline_main
=no
4390 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4391 LIBS
=$ac_check_lib_save_LIBS
4393 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
4394 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6
4395 if test $ac_cv_lib_readline_main = yes; then
4396 cat >>confdefs.h
<<_ACEOF
4397 #define HAVE_LIBREADLINE 1
4400 LIBS
="-lreadline $LIBS"
4404 if test $ac_cv_lib_readline_main = no
; then
4405 { { echo "$as_me:$LINENO: error: vtysh needs libreadline but was not found on your system." >&5
4406 echo "$as_me: error: vtysh needs libreadline but was not found on your system." >&2;}
4407 { (exit 1); exit 1; }; }
4409 if test "${ac_cv_header_readline_history_h+set}" = set; then
4410 echo "$as_me:$LINENO: checking for readline/history.h" >&5
4411 echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6
4412 if test "${ac_cv_header_readline_history_h+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
4416 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6
4418 # Is the header compilable?
4419 echo "$as_me:$LINENO: checking readline/history.h usability" >&5
4420 echo $ECHO_N "checking readline/history.h usability... $ECHO_C" >&6
4421 cat >conftest.
$ac_ext <<_ACEOF
4422 #line $LINENO "configure"
4423 #include "confdefs.h"
4424 $ac_includes_default
4425 #include <readline/history.h>
4427 rm -f conftest.
$ac_objext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } &&
4433 { ac_try
='test -s conftest.$ac_objext'
4434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; }; then
4439 ac_header_compiler
=yes
4441 echo "$as_me: failed program was:" >&5
4442 cat conftest.
$ac_ext >&5
4443 ac_header_compiler
=no
4445 rm -f conftest.
$ac_objext conftest.
$ac_ext
4446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4447 echo "${ECHO_T}$ac_header_compiler" >&6
4449 # Is the header present?
4450 echo "$as_me:$LINENO: checking readline/history.h presence" >&5
4451 echo $ECHO_N "checking readline/history.h presence... $ECHO_C" >&6
4452 cat >conftest.
$ac_ext <<_ACEOF
4453 #line $LINENO "configure"
4454 #include "confdefs.h"
4455 #include <readline/history.h>
4457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4460 grep -v '^ *+' conftest.er1
>conftest.err
4462 cat conftest.err
>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } >/dev
/null
; then
4465 if test -s conftest.err
; then
4466 ac_cpp_err
=$ac_c_preproc_warn_flag
4473 if test -z "$ac_cpp_err"; then
4474 ac_header_preproc
=yes
4476 echo "$as_me: failed program was:" >&5
4477 cat conftest.
$ac_ext >&5
4478 ac_header_preproc
=no
4480 rm -f conftest.err conftest.
$ac_ext
4481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4482 echo "${ECHO_T}$ac_header_preproc" >&6
4484 # So? What about this header?
4485 case $ac_header_compiler:$ac_header_preproc in
4487 { echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
4488 echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4489 { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
4490 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;};;
4492 { echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
4493 echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
4494 { echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
4495 echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
4496 { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
4497 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;};;
4499 echo "$as_me:$LINENO: checking for readline/history.h" >&5
4500 echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6
4501 if test "${ac_cv_header_readline_history_h+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 ac_cv_header_readline_history_h
=$ac_header_preproc
4506 echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
4507 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6
4512 if test $ac_cv_header_readline_history_h = no
;then
4513 { { echo "$as_me:$LINENO: error: readline is too old to have readline/history.h, please update to the latest readline library." >&5
4514 echo "$as_me: error: readline is too old to have readline/history.h, please update to the latest readline library." >&2;}
4515 { (exit 1); exit 1; }; }
4522 if test "$with_libpam" = "yes"; then
4523 echo "$as_me:$LINENO: checking for pam_start in -lpam" >&5
4524 echo $ECHO_N "checking for pam_start in -lpam... $ECHO_C" >&6
4525 if test "${ac_cv_lib_pam_pam_start+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 ac_check_lib_save_LIBS
=$LIBS
4530 cat >conftest.
$ac_ext <<_ACEOF
4531 #line $LINENO "configure"
4532 #include "confdefs.h"
4534 /* Override any gcc2 internal prototype to avoid an error. */
4538 /* We use char because int might match the return type of a gcc2
4539 builtin and then its argument prototype would still apply. */
4549 rm -f conftest.
$ac_objext conftest
$ac_exeext
4550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4551 (eval $ac_link) 2>&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } &&
4555 { ac_try
='test -s conftest$ac_exeext'
4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; }; then
4561 ac_cv_lib_pam_pam_start
=yes
4563 echo "$as_me: failed program was:" >&5
4564 cat conftest.
$ac_ext >&5
4565 ac_cv_lib_pam_pam_start
=no
4567 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4568 LIBS
=$ac_check_lib_save_LIBS
4570 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_start" >&5
4571 echo "${ECHO_T}$ac_cv_lib_pam_pam_start" >&6
4572 if test $ac_cv_lib_pam_pam_start = yes; then
4573 echo "$as_me:$LINENO: checking for misc_conv in -lpam" >&5
4574 echo $ECHO_N "checking for misc_conv in -lpam... $ECHO_C" >&6
4575 if test "${ac_cv_lib_pam_misc_conv+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 ac_check_lib_save_LIBS
=$LIBS
4580 cat >conftest.
$ac_ext <<_ACEOF
4581 #line $LINENO "configure"
4582 #include "confdefs.h"
4584 /* Override any gcc2 internal prototype to avoid an error. */
4588 /* We use char because int might match the return type of a gcc2
4589 builtin and then its argument prototype would still apply. */
4599 rm -f conftest.
$ac_objext conftest
$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601 (eval $ac_link) 2>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -s conftest$ac_exeext'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; }; then
4611 ac_cv_lib_pam_misc_conv
=yes
4613 echo "$as_me: failed program was:" >&5
4614 cat conftest.
$ac_ext >&5
4615 ac_cv_lib_pam_misc_conv
=no
4617 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4618 LIBS
=$ac_check_lib_save_LIBS
4620 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_misc_conv" >&5
4621 echo "${ECHO_T}$ac_cv_lib_pam_misc_conv" >&6
4622 if test $ac_cv_lib_pam_misc_conv = yes; then
4623 cat >>confdefs.h
<<\_ACEOF
4629 cat >>confdefs.h
<<\_ACEOF
4633 LIBPAM
="-lpam -lpam_misc"
4639 echo "$as_me:$LINENO: checking for pam_end in -lpam" >&5
4640 echo $ECHO_N "checking for pam_end in -lpam... $ECHO_C" >&6
4641 if test "${ac_cv_lib_pam_pam_end+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 ac_check_lib_save_LIBS
=$LIBS
4645 LIBS
="-lpam -ldl $LIBS"
4646 cat >conftest.
$ac_ext <<_ACEOF
4647 #line $LINENO "configure"
4648 #include "confdefs.h"
4650 /* Override any gcc2 internal prototype to avoid an error. */
4654 /* We use char because int might match the return type of a gcc2
4655 builtin and then its argument prototype would still apply. */
4665 rm -f conftest.
$ac_objext conftest
$ac_exeext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4667 (eval $ac_link) 2>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try
='test -s conftest$ac_exeext'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; }; then
4677 ac_cv_lib_pam_pam_end
=yes
4679 echo "$as_me: failed program was:" >&5
4680 cat conftest.
$ac_ext >&5
4681 ac_cv_lib_pam_pam_end
=no
4683 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4684 LIBS
=$ac_check_lib_save_LIBS
4686 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_end" >&5
4687 echo "${ECHO_T}$ac_cv_lib_pam_pam_end" >&6
4688 if test $ac_cv_lib_pam_pam_end = yes; then
4689 echo "$as_me:$LINENO: checking for misc_conv in -lpam" >&5
4690 echo $ECHO_N "checking for misc_conv in -lpam... $ECHO_C" >&6
4691 if test "${ac_cv_lib_pam_misc_conv+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS
=$LIBS
4696 cat >conftest.
$ac_ext <<_ACEOF
4697 #line $LINENO "configure"
4698 #include "confdefs.h"
4700 /* Override any gcc2 internal prototype to avoid an error. */
4704 /* We use char because int might match the return type of a gcc2
4705 builtin and then its argument prototype would still apply. */
4715 rm -f conftest.
$ac_objext conftest
$ac_exeext
4716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4717 (eval $ac_link) 2>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } &&
4721 { ac_try
='test -s conftest$ac_exeext'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; }; then
4727 ac_cv_lib_pam_misc_conv
=yes
4729 echo "$as_me: failed program was:" >&5
4730 cat conftest.
$ac_ext >&5
4731 ac_cv_lib_pam_misc_conv
=no
4733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4734 LIBS
=$ac_check_lib_save_LIBS
4736 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_misc_conv" >&5
4737 echo "${ECHO_T}$ac_cv_lib_pam_misc_conv" >&6
4738 if test $ac_cv_lib_pam_misc_conv = yes; then
4739 cat >>confdefs.h
<<\_ACEOF
4745 cat >>confdefs.h
<<\_ACEOF
4749 LIBPAM
="-lpam -ldl -lpam_misc"
4755 { echo "$as_me:$LINENO: WARNING: *** pam support will not be built ***" >&5
4756 echo "$as_me: WARNING: *** pam support will not be built ***" >&2;}
4781 for ac_func
in bcopy bzero strerror inet_aton daemon snprintf vsnprintf strlcat strlcpy if_nametoindex if_indextoname getifaddrs
4783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4784 echo "$as_me:$LINENO: checking for $ac_func" >&5
4785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4786 if eval "test \"\${$as_ac_var+set}\" = set"; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 cat >conftest.
$ac_ext <<_ACEOF
4790 #line $LINENO "configure"
4791 #include "confdefs.h"
4792 /* System header to define __stub macros and hopefully few prototypes,
4793 which can conflict with char $ac_func (); below. */
4795 /* Override any gcc2 internal prototype to avoid an error. */
4799 /* We use char because int might match the return type of a gcc2
4800 builtin and then its argument prototype would still apply. */
4807 /* The GNU C library defines this for functions which it implements
4808 to always fail with ENOSYS. Some functions are actually named
4809 something starting with __ and the normal name is an alias. */
4810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4820 rm -f conftest.
$ac_objext conftest
$ac_exeext
4821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4822 (eval $ac_link) 2>&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try
='test -s conftest$ac_exeext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 eval "$as_ac_var=yes"
4834 echo "$as_me: failed program was:" >&5
4835 cat conftest.
$ac_ext >&5
4836 eval "$as_ac_var=no"
4838 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4842 if test `eval echo '${'$as_ac_var'}'` = yes; then
4843 cat >>confdefs.h
<<_ACEOF
4844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4851 for ac_func
in setproctitle
4853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4854 echo "$as_me:$LINENO: checking for $ac_func" >&5
4855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4856 if eval "test \"\${$as_ac_var+set}\" = set"; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 cat >conftest.
$ac_ext <<_ACEOF
4860 #line $LINENO "configure"
4861 #include "confdefs.h"
4862 /* System header to define __stub macros and hopefully few prototypes,
4863 which can conflict with char $ac_func (); below. */
4865 /* Override any gcc2 internal prototype to avoid an error. */
4869 /* We use char because int might match the return type of a gcc2
4870 builtin and then its argument prototype would still apply. */
4877 /* The GNU C library defines this for functions which it implements
4878 to always fail with ENOSYS. Some functions are actually named
4879 something starting with __ and the normal name is an alias. */
4880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4890 rm -f conftest.
$ac_objext conftest
$ac_exeext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4892 (eval $ac_link) 2>&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } &&
4896 { ac_try
='test -s conftest$ac_exeext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 eval "$as_ac_var=yes"
4904 echo "$as_me: failed program was:" >&5
4905 cat conftest.
$ac_ext >&5
4906 eval "$as_ac_var=no"
4908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4912 if test `eval echo '${'$as_ac_var'}'` = yes; then
4913 cat >>confdefs.h
<<_ACEOF
4914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4918 echo "$as_me:$LINENO: checking for setproctitle in -lutil" >&5
4919 echo $ECHO_N "checking for setproctitle in -lutil... $ECHO_C" >&6
4920 if test "${ac_cv_lib_util_setproctitle+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 ac_check_lib_save_LIBS
=$LIBS
4925 cat >conftest.
$ac_ext <<_ACEOF
4926 #line $LINENO "configure"
4927 #include "confdefs.h"
4929 /* Override any gcc2 internal prototype to avoid an error. */
4933 /* We use char because int might match the return type of a gcc2
4934 builtin and then its argument prototype would still apply. */
4935 char setproctitle ();
4944 rm -f conftest.
$ac_objext conftest
$ac_exeext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4946 (eval $ac_link) 2>&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } &&
4950 { ac_try
='test -s conftest$ac_exeext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4956 ac_cv_lib_util_setproctitle
=yes
4958 echo "$as_me: failed program was:" >&5
4959 cat conftest.
$ac_ext >&5
4960 ac_cv_lib_util_setproctitle
=no
4962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4963 LIBS
=$ac_check_lib_save_LIBS
4965 echo "$as_me:$LINENO: result: $ac_cv_lib_util_setproctitle" >&5
4966 echo "${ECHO_T}$ac_cv_lib_util_setproctitle" >&6
4967 if test $ac_cv_lib_util_setproctitle = yes; then
4968 LIBS
="$LIBS -lutil"; cat >>confdefs.h
<<\_ACEOF
4969 #define HAVE_SETPROCTITLE 1
4978 echo "$as_me:$LINENO: checking zebra between kernel interface method" >&5
4979 echo $ECHO_N "checking zebra between kernel interface method... $ECHO_C" >&6
4980 if test x
"$opsys" = x
"gnu-linux"; then
4981 if test "${enable_netlink}" = "yes";then
4982 echo "$as_me:$LINENO: result: netlink" >&5
4983 echo "${ECHO_T}netlink" >&6
4984 RT_METHOD
=rt_netlink.o
4985 cat >>confdefs.h
<<\_ACEOF
4986 #define HAVE_NETLINK 1
4990 elif test "${enable_netlink}" = "no"; then
4991 echo "$as_me:$LINENO: result: ioctl" >&5
4992 echo "${ECHO_T}ioctl" >&6
4993 RT_METHOD
=rt_ioctl.o
4996 cat >conftest.
$ac_ext <<_ACEOF
4997 #line $LINENO "configure"
4998 #include "confdefs.h"
4999 #include <linux/autoconf.h>
5000 #include <linux/version.h>
5001 #if LINUX_VERSION_CODE > 131328 /* 2.1.0 or later */
5002 #ifdef CONFIG_RTNETLINK
5006 #if LINUX_VERSION_CODE > 132112 /* 2.4.17 or later */
5011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5012 $EGREP "yes" >/dev
/null
2>&1; then
5013 echo "$as_me:$LINENO: result: netlink" >&5
5014 echo "${ECHO_T}netlink" >&6
5015 RT_METHOD
=rt_netlink.o
5016 cat >>confdefs.h
<<\_ACEOF
5017 #define HAVE_NETLINK 1
5022 echo "$as_me:$LINENO: result: ioctl" >&5
5023 echo "${ECHO_T}ioctl" >&6
5024 RT_METHOD
=rt_ioctl.o
5030 if test "$opsys" = "sol2-6";then
5031 echo "$as_me:$LINENO: result: solaris" >&5
5032 echo "${ECHO_T}solaris" >&6
5033 KERNEL_METHOD
="kernel_socket.o"
5034 RT_METHOD
="rt_socket.o"
5036 if test "$cross_compiling" = yes; then
5037 KERNEL_METHOD
=kernel_socket.o
5038 RT_METHOD
=rt_socket.o
5039 echo "$as_me:$LINENO: result: socket" >&5
5040 echo "${ECHO_T}socket" >&6
5042 cat >conftest.
$ac_ext <<_ACEOF
5043 #line $LINENO "configure"
5044 #include "confdefs.h"
5046 #include <sys/types.h>
5047 #include <sys/socket.h>
5053 ac_sock = socket (AF_ROUTE, SOCK_RAW, 0);
5054 if (ac_sock < 0 && errno == EINVAL)
5059 rm -f conftest
$ac_exeext
5060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5061 (eval $ac_link) 2>&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); }; }; then
5070 cat >>confdefs.h
<<\_ACEOF
5071 #define HAVE_AF_ROUTE 1
5074 KERNEL_METHOD
=kernel_socket.o
5075 RT_METHOD
=rt_socket.o
5076 echo "$as_me:$LINENO: result: socket" >&5
5077 echo "${ECHO_T}socket" >&6
5079 echo "$as_me: program exited with status $ac_status" >&5
5080 echo "$as_me: failed program was:" >&5
5081 cat conftest.
$ac_ext >&5
5083 RT_METHOD
=rt_ioctl.o
5084 echo "$as_me:$LINENO: result: ioctl" >&5
5085 echo "${ECHO_T}ioctl" >&6
5087 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5095 echo "$as_me:$LINENO: checking route read method check" >&5
5096 echo $ECHO_N "checking route read method check... $ECHO_C" >&6
5097 if test "${zebra_rtread+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 if test "$netlink" = yes; then
5101 RTREAD_METHOD
="rtread_netlink.o"
5102 zebra_rtread
="netlink"
5104 for zebra_rtread
in /proc
/net
/route
/dev
/ip
/dev
/null
;
5106 test x
`ls $zebra_rtread 2>/dev/null` = x
"$zebra_rtread" && break
5108 case $zebra_rtread in
5109 "/proc/net/route") RTREAD_METHOD
="rtread_proc.o"
5110 zebra_rtread
="proc";;
5111 "/dev/ip") RTREAD_METHOD
="rtread_getmsg.o"
5112 zebra_rtread
="getmsg";;
5113 *) RTREAD_METHOD
="rtread_sysctl.o"
5114 zebra_rtread
="sysctl";;
5118 echo "$as_me:$LINENO: result: $zebra_rtread" >&5
5119 echo "${ECHO_T}$zebra_rtread" >&6
5122 echo "$as_me:$LINENO: checking interface looking up method" >&5
5123 echo $ECHO_N "checking interface looking up method... $ECHO_C" >&6
5124 if test "$netlink" = yes; then
5125 echo "$as_me:$LINENO: result: netlink" >&5
5126 echo "${ECHO_T}netlink" >&6
5127 IF_METHOD
=if_netlink.o
5129 if test "$opsys" = "sol2-6";then
5130 echo "$as_me:$LINENO: result: solaris" >&5
5131 echo "${ECHO_T}solaris" >&6
5132 IF_METHOD
=if_ioctl.o
5133 elif test "$opsys" = "openbsd";then
5134 echo "$as_me:$LINENO: result: openbsd" >&5
5135 echo "${ECHO_T}openbsd" >&6
5136 IF_METHOD
=if_ioctl.o
5137 elif grep NET_RT_IFLIST
/usr
/include
/sys
/socket.h
>/dev
/null
2>&1; then
5138 echo "$as_me:$LINENO: result: sysctl" >&5
5139 echo "${ECHO_T}sysctl" >&6
5140 IF_METHOD
=if_sysctl.o
5141 cat >>confdefs.h
<<\_ACEOF
5142 #define HAVE_NET_RT_IFLIST 1
5146 echo "$as_me:$LINENO: result: ioctl" >&5
5147 echo "${ECHO_T}ioctl" >&6
5148 IF_METHOD
=if_ioctl.o
5153 if test -r /proc
/net
/dev
; then
5154 cat >>confdefs.h
<<\_ACEOF
5155 #define HAVE_PROC_NET_DEV 1
5161 if test -r /proc
/net
/if_inet6
; then
5162 cat >>confdefs.h
<<\_ACEOF
5163 #define HAVE_PROC_NET_IF_INET6 1
5170 echo "$as_me:$LINENO: checking ipforward method check" >&5
5171 echo $ECHO_N "checking ipforward method check... $ECHO_C" >&6
5172 if test "${zebra_ipforward_path+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 for zebra_ipforward_path
in /proc
/net
/snmp
/dev
/ip
/dev
/null
;
5177 test x
`ls $zebra_ipforward_path 2>/dev/null` = x
"$zebra_ipforward_path" && break
5179 case $zebra_ipforward_path in
5180 "/proc/net/snmp") IPFORWARD
=ipforward_proc.o
5181 zebra_ipforward_path
="proc";;
5184 *-nec-sysv4*) IPFORWARD
=ipforward_ews.o
5185 zebra_ipforward_path
="ews";;
5186 *) IPFORWARD
=ipforward_solaris.o
5187 zebra_ipforward_path
="solaris";;
5189 *) IPFORWARD
=ipforward_sysctl.o
5190 zebra_ipforward_path
="sysctl";;
5193 echo "$as_me:$LINENO: result: $zebra_ipforward_path" >&5
5194 echo "${ECHO_T}$zebra_ipforward_path" >&6
5198 for ac_func
in getaddrinfo
5200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5201 echo "$as_me:$LINENO: checking for $ac_func" >&5
5202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5203 if eval "test \"\${$as_ac_var+set}\" = set"; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 cat >conftest.
$ac_ext <<_ACEOF
5207 #line $LINENO "configure"
5208 #include "confdefs.h"
5209 /* System header to define __stub macros and hopefully few prototypes,
5210 which can conflict with char $ac_func (); below. */
5212 /* Override any gcc2 internal prototype to avoid an error. */
5216 /* We use char because int might match the return type of a gcc2
5217 builtin and then its argument prototype would still apply. */
5224 /* The GNU C library defines this for functions which it implements
5225 to always fail with ENOSYS. Some functions are actually named
5226 something starting with __ and the normal name is an alias. */
5227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5237 rm -f conftest.
$ac_objext conftest
$ac_exeext
5238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5239 (eval $ac_link) 2>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } &&
5243 { ac_try
='test -s conftest$ac_exeext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5249 eval "$as_ac_var=yes"
5251 echo "$as_me: failed program was:" >&5
5252 cat conftest.
$ac_ext >&5
5253 eval "$as_ac_var=no"
5255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5259 if test `eval echo '${'$as_ac_var'}'` = yes; then
5260 cat >>confdefs.h
<<_ACEOF
5261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5263 have_getaddrinfo
=yes
5270 echo "$as_me:$LINENO: checking whether does this OS have IPv6 stack" >&5
5271 echo $ECHO_N "checking whether does this OS have IPv6 stack... $ECHO_C" >&6
5272 if test "${enable_ipv6}" = "no"; then
5273 echo "$as_me:$LINENO: result: disabled" >&5
5274 echo "${ECHO_T}disabled" >&6
5276 if grep IPV6_INRIA_VERSION
/usr
/include
/netinet
/in.h
>/dev
/null
2>&1; then
5278 cat >>confdefs.h
<<\_ACEOF
5282 cat >>confdefs.h
<<\_ACEOF
5283 #define INRIA_IPV6 1
5289 echo "$as_me:$LINENO: result: INRIA IPv6" >&5
5290 echo "${ECHO_T}INRIA IPv6" >&6
5292 if grep WIDE
/usr
/include
/netinet
6/in6.h
>/dev
/null
2>&1; then
5294 cat >>confdefs.h
<<\_ACEOF
5298 cat >>confdefs.h
<<\_ACEOF
5304 if test -d /usr
/local
/v
6/lib
-a -f /usr
/local
/v
6/lib
/libinet6.a
; then
5305 LIB_IPV6
="-L/usr/local/v6/lib -linet6"
5307 echo "$as_me:$LINENO: result: KAME" >&5
5308 echo "${ECHO_T}KAME" >&6
5310 if grep NRL
/usr
/include
/netinet
6/in6.h
>/dev
/null
2>&1; then
5312 cat >>confdefs.h
<<\_ACEOF
5316 cat >>confdefs.h
<<\_ACEOF
5322 if test x
"$opsys" = x
"bsdi";then
5323 cat >>confdefs.h
<<\_ACEOF
5327 echo "$as_me:$LINENO: result: BSDI_NRL" >&5
5328 echo "${ECHO_T}BSDI_NRL" >&6
5330 echo "$as_me:$LINENO: result: NRL" >&5
5331 echo "${ECHO_T}NRL" >&6
5335 if test "${enable_ipv6}" = "yes"; then
5336 cat >conftest.
$ac_ext <<_ACEOF
5337 #line $LINENO "configure"
5338 #include "confdefs.h"
5340 #include <linux/version.h>
5341 /* 2.1.128 or later */
5342 #if LINUX_VERSION_CODE >= 0x020180
5346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5347 $EGREP "yes" >/dev
/null
2>&1; then
5348 zebra_cv_ipv6
=yes; zebra_cv_linux_ipv6
=yes;echo "$as_me:$LINENO: result: Linux IPv6" >&5
5349 echo "${ECHO_T}Linux IPv6" >&6
5354 if test x
`ls /proc/net/ipv6_route 2>/dev/null` = x
"/proc/net/ipv6_route"
5357 zebra_cv_linux_ipv6
=yes
5358 echo "$as_me:$LINENO: result: Linux IPv6" >&5
5359 echo "${ECHO_T}Linux IPv6" >&6
5363 if test "$zebra_cv_linux_ipv6" = "yes";then
5364 cat >>confdefs.h
<<\_ACEOF
5368 echo "$as_me:$LINENO: checking for GNU libc 2.1" >&5
5369 echo $ECHO_N "checking for GNU libc 2.1... $ECHO_C" >&6
5370 cat >conftest.
$ac_ext <<_ACEOF
5371 #line $LINENO "configure"
5372 #include "confdefs.h"
5374 #include <features.h>
5375 #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5380 $EGREP "yes" >/dev
/null
2>&1; then
5381 glibc
=yes; echo "$as_me:$LINENO: result: yes" >&5
5382 echo "${ECHO_T}yes" >&6
5384 echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6
5389 cat >>confdefs.h
<<\_ACEOF
5390 #define LINUX_IPV6 1
5395 if test "$glibc" != "yes"; then
5396 INCLUDES
="-I/usr/inet6/include"
5397 if test x
`ls /usr/inet6/lib/libinet6.a 2>/dev/null` != x
;then
5398 LIB_IPV6
="-L/usr/inet6/lib -linet6"
5403 LIBS
="$LIB_IPV6 $LIBS"
5406 if test x
"$RIPNGD" = x
""; then
5407 echo "$as_me:$LINENO: result: IPv4 only" >&5
5408 echo "${ECHO_T}IPv4 only" >&6
5412 if test "${enable_zebra}" = "no";then
5418 if test "${enable_bgpd}" = "no";then
5424 if test "${enable_ripd}" = "no";then
5430 if test "${enable_ospfd}" = "no";then
5436 case "${enable_ripngd}" in
5437 "yes") RIPNGD
="ripngd";;
5442 case "${enable_ospf6d}" in
5443 "yes") OSPF6D
="ospf6d";;
5448 if test "${enable_bgp_announce}" = "no";then
5449 cat >>confdefs.h
<<\_ACEOF
5450 #define DISABLE_BGP_ANNOUNCE 1
5464 echo "$as_me:$LINENO: checking for inet_ntop in -lc" >&5
5465 echo $ECHO_N "checking for inet_ntop in -lc... $ECHO_C" >&6
5466 if test "${ac_cv_lib_c_inet_ntop+set}" = set; then
5467 echo $ECHO_N "(cached) $ECHO_C" >&6
5469 ac_check_lib_save_LIBS
=$LIBS
5471 cat >conftest.
$ac_ext <<_ACEOF
5472 #line $LINENO "configure"
5473 #include "confdefs.h"
5475 /* Override any gcc2 internal prototype to avoid an error. */
5479 /* We use char because int might match the return type of a gcc2
5480 builtin and then its argument prototype would still apply. */
5490 rm -f conftest.
$ac_objext conftest
$ac_exeext
5491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5492 (eval $ac_link) 2>&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); } &&
5496 { ac_try
='test -s conftest$ac_exeext'
5497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); }; }; then
5502 ac_cv_lib_c_inet_ntop
=yes
5504 echo "$as_me: failed program was:" >&5
5505 cat conftest.
$ac_ext >&5
5506 ac_cv_lib_c_inet_ntop
=no
5508 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5509 LIBS
=$ac_check_lib_save_LIBS
5511 echo "$as_me:$LINENO: result: $ac_cv_lib_c_inet_ntop" >&5
5512 echo "${ECHO_T}$ac_cv_lib_c_inet_ntop" >&6
5513 if test $ac_cv_lib_c_inet_ntop = yes; then
5514 cat >>confdefs.h
<<\_ACEOF
5515 #define HAVE_INET_NTOP 1
5520 echo "$as_me:$LINENO: checking for inet_pton in -lc" >&5
5521 echo $ECHO_N "checking for inet_pton in -lc... $ECHO_C" >&6
5522 if test "${ac_cv_lib_c_inet_pton+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 ac_check_lib_save_LIBS
=$LIBS
5527 cat >conftest.
$ac_ext <<_ACEOF
5528 #line $LINENO "configure"
5529 #include "confdefs.h"
5531 /* Override any gcc2 internal prototype to avoid an error. */
5535 /* We use char because int might match the return type of a gcc2
5536 builtin and then its argument prototype would still apply. */
5546 rm -f conftest.
$ac_objext conftest
$ac_exeext
5547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5548 (eval $ac_link) 2>&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } &&
5552 { ac_try
='test -s conftest$ac_exeext'
5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; }; then
5558 ac_cv_lib_c_inet_pton
=yes
5560 echo "$as_me: failed program was:" >&5
5561 cat conftest.
$ac_ext >&5
5562 ac_cv_lib_c_inet_pton
=no
5564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5565 LIBS
=$ac_check_lib_save_LIBS
5567 echo "$as_me:$LINENO: result: $ac_cv_lib_c_inet_pton" >&5
5568 echo "${ECHO_T}$ac_cv_lib_c_inet_pton" >&6
5569 if test $ac_cv_lib_c_inet_pton = yes; then
5570 cat >>confdefs.h
<<\_ACEOF
5571 #define HAVE_INET_PTON 1
5577 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
5578 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
5579 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
5580 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 ac_check_lib_save_LIBS
=$LIBS
5583 LIBS
="-lcrypt $LIBS"
5584 cat >conftest.
$ac_ext <<_ACEOF
5585 #line $LINENO "configure"
5586 #include "confdefs.h"
5588 /* Override any gcc2 internal prototype to avoid an error. */
5592 /* We use char because int might match the return type of a gcc2
5593 builtin and then its argument prototype would still apply. */
5603 rm -f conftest.
$ac_objext conftest
$ac_exeext
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } &&
5609 { ac_try
='test -s conftest$ac_exeext'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; }; then
5615 ac_cv_lib_crypt_crypt
=yes
5617 echo "$as_me: failed program was:" >&5
5618 cat conftest.
$ac_ext >&5
5619 ac_cv_lib_crypt_crypt
=no
5621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5622 LIBS
=$ac_check_lib_save_LIBS
5624 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
5625 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
5626 if test $ac_cv_lib_crypt_crypt = yes; then
5627 cat >>confdefs.h
<<_ACEOF
5628 #define HAVE_LIBCRYPT 1
5631 LIBS
="-lcrypt $LIBS"
5636 echo "$as_me:$LINENO: checking for res_init in -lresolv" >&5
5637 echo $ECHO_N "checking for res_init in -lresolv... $ECHO_C" >&6
5638 if test "${ac_cv_lib_resolv_res_init+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 ac_check_lib_save_LIBS
=$LIBS
5642 LIBS
="-lresolv $LIBS"
5643 cat >conftest.
$ac_ext <<_ACEOF
5644 #line $LINENO "configure"
5645 #include "confdefs.h"
5647 /* Override any gcc2 internal prototype to avoid an error. */
5651 /* We use char because int might match the return type of a gcc2
5652 builtin and then its argument prototype would still apply. */
5662 rm -f conftest.
$ac_objext conftest
$ac_exeext
5663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5664 (eval $ac_link) 2>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try
='test -s conftest$ac_exeext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5674 ac_cv_lib_resolv_res_init
=yes
5676 echo "$as_me: failed program was:" >&5
5677 cat conftest.
$ac_ext >&5
5678 ac_cv_lib_resolv_res_init
=no
5680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5681 LIBS
=$ac_check_lib_save_LIBS
5683 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_init" >&5
5684 echo "${ECHO_T}$ac_cv_lib_resolv_res_init" >&6
5685 if test $ac_cv_lib_resolv_res_init = yes; then
5686 cat >>confdefs.h
<<_ACEOF
5687 #define HAVE_LIBRESOLV 1
5690 LIBS
="-lresolv $LIBS"
5695 echo "$as_me:$LINENO: checking for main in -lm" >&5
5696 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
5697 if test "${ac_cv_lib_m_main+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 ac_check_lib_save_LIBS
=$LIBS
5702 cat >conftest.
$ac_ext <<_ACEOF
5703 #line $LINENO "configure"
5704 #include "confdefs.h"
5715 rm -f conftest.
$ac_objext conftest
$ac_exeext
5716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5717 (eval $ac_link) 2>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } &&
5721 { ac_try
='test -s conftest$ac_exeext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 ac_cv_lib_m_main
=yes
5729 echo "$as_me: failed program was:" >&5
5730 cat conftest.
$ac_ext >&5
5733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5734 LIBS
=$ac_check_lib_save_LIBS
5736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5737 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
5738 if test $ac_cv_lib_m_main = yes; then
5739 cat >>confdefs.h
<<_ACEOF
5748 echo "$as_me:$LINENO: checking for __inet_ntop" >&5
5749 echo $ECHO_N "checking for __inet_ntop... $ECHO_C" >&6
5750 if test "${ac_cv_func___inet_ntop+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 cat >conftest.
$ac_ext <<_ACEOF
5754 #line $LINENO "configure"
5755 #include "confdefs.h"
5756 /* System header to define __stub macros and hopefully few prototypes,
5757 which can conflict with char __inet_ntop (); below. */
5759 /* Override any gcc2 internal prototype to avoid an error. */
5763 /* We use char because int might match the return type of a gcc2
5764 builtin and then its argument prototype would still apply. */
5765 char __inet_ntop ();
5771 /* The GNU C library defines this for functions which it implements
5772 to always fail with ENOSYS. Some functions are actually named
5773 something starting with __ and the normal name is an alias. */
5774 #if defined (__stub___inet_ntop) || defined (__stub_____inet_ntop)
5784 rm -f conftest.
$ac_objext conftest
$ac_exeext
5785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5786 (eval $ac_link) 2>&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } &&
5790 { ac_try
='test -s conftest$ac_exeext'
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
5796 ac_cv_func___inet_ntop
=yes
5798 echo "$as_me: failed program was:" >&5
5799 cat conftest.
$ac_ext >&5
5800 ac_cv_func___inet_ntop
=no
5802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5804 echo "$as_me:$LINENO: result: $ac_cv_func___inet_ntop" >&5
5805 echo "${ECHO_T}$ac_cv_func___inet_ntop" >&6
5806 if test $ac_cv_func___inet_ntop = yes; then
5807 cat >>confdefs.h
<<\_ACEOF
5808 #define HAVE_INET_NTOP 1
5813 echo "$as_me:$LINENO: checking for __inet_pton" >&5
5814 echo $ECHO_N "checking for __inet_pton... $ECHO_C" >&6
5815 if test "${ac_cv_func___inet_pton+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 cat >conftest.
$ac_ext <<_ACEOF
5819 #line $LINENO "configure"
5820 #include "confdefs.h"
5821 /* System header to define __stub macros and hopefully few prototypes,
5822 which can conflict with char __inet_pton (); below. */
5824 /* Override any gcc2 internal prototype to avoid an error. */
5828 /* We use char because int might match the return type of a gcc2
5829 builtin and then its argument prototype would still apply. */
5830 char __inet_pton ();
5836 /* The GNU C library defines this for functions which it implements
5837 to always fail with ENOSYS. Some functions are actually named
5838 something starting with __ and the normal name is an alias. */
5839 #if defined (__stub___inet_pton) || defined (__stub_____inet_pton)
5849 rm -f conftest.
$ac_objext conftest
$ac_exeext
5850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5851 (eval $ac_link) 2>&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } &&
5855 { ac_try
='test -s conftest$ac_exeext'
5856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; }; then
5861 ac_cv_func___inet_pton
=yes
5863 echo "$as_me: failed program was:" >&5
5864 cat conftest.
$ac_ext >&5
5865 ac_cv_func___inet_pton
=no
5867 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5869 echo "$as_me:$LINENO: result: $ac_cv_func___inet_pton" >&5
5870 echo "${ECHO_T}$ac_cv_func___inet_pton" >&6
5871 if test $ac_cv_func___inet_pton = yes; then
5872 cat >>confdefs.h
<<\_ACEOF
5873 #define HAVE_INET_PTON 1
5878 echo "$as_me:$LINENO: checking for __inet_aton" >&5
5879 echo $ECHO_N "checking for __inet_aton... $ECHO_C" >&6
5880 if test "${ac_cv_func___inet_aton+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 cat >conftest.
$ac_ext <<_ACEOF
5884 #line $LINENO "configure"
5885 #include "confdefs.h"
5886 /* System header to define __stub macros and hopefully few prototypes,
5887 which can conflict with char __inet_aton (); below. */
5889 /* Override any gcc2 internal prototype to avoid an error. */
5893 /* We use char because int might match the return type of a gcc2
5894 builtin and then its argument prototype would still apply. */
5895 char __inet_aton ();
5901 /* The GNU C library defines this for functions which it implements
5902 to always fail with ENOSYS. Some functions are actually named
5903 something starting with __ and the normal name is an alias. */
5904 #if defined (__stub___inet_aton) || defined (__stub_____inet_aton)
5914 rm -f conftest.
$ac_objext conftest
$ac_exeext
5915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5916 (eval $ac_link) 2>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try
='test -s conftest$ac_exeext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_func___inet_aton
=yes
5928 echo "$as_me: failed program was:" >&5
5929 cat conftest.
$ac_ext >&5
5930 ac_cv_func___inet_aton
=no
5932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5934 echo "$as_me:$LINENO: result: $ac_cv_func___inet_aton" >&5
5935 echo "${ECHO_T}$ac_cv_func___inet_aton" >&6
5936 if test $ac_cv_func___inet_aton = yes; then
5937 cat >>confdefs.h
<<\_ACEOF
5938 #define HAVE_INET_ATON 1
5944 echo "$as_me:$LINENO: checking for regexec in -lc" >&5
5945 echo $ECHO_N "checking for regexec in -lc... $ECHO_C" >&6
5946 if test "${ac_cv_lib_c_regexec+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 ac_check_lib_save_LIBS
=$LIBS
5951 cat >conftest.
$ac_ext <<_ACEOF
5952 #line $LINENO "configure"
5953 #include "confdefs.h"
5955 /* Override any gcc2 internal prototype to avoid an error. */
5959 /* We use char because int might match the return type of a gcc2
5960 builtin and then its argument prototype would still apply. */
5970 rm -f conftest.
$ac_objext conftest
$ac_exeext
5971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5972 (eval $ac_link) 2>&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } &&
5976 { ac_try
='test -s conftest$ac_exeext'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 ac_cv_lib_c_regexec
=yes
5984 echo "$as_me: failed program was:" >&5
5985 cat conftest.
$ac_ext >&5
5986 ac_cv_lib_c_regexec
=no
5988 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5989 LIBS
=$ac_check_lib_save_LIBS
5991 echo "$as_me:$LINENO: result: $ac_cv_lib_c_regexec" >&5
5992 echo "${ECHO_T}$ac_cv_lib_c_regexec" >&6
5993 if test $ac_cv_lib_c_regexec = yes; then
5994 cat >>confdefs.h
<<\_ACEOF
5995 #define HAVE_GNU_REGEX 1
6006 if test "${enable_snmp}" = "yes";then
6008 LIBS
="-L/usr/local/lib"
6009 unset ac_cv_lib_snmp_asn_parse_int
6010 echo "$as_me:$LINENO: checking for asn_parse_int in -lsnmp" >&5
6011 echo $ECHO_N "checking for asn_parse_int in -lsnmp... $ECHO_C" >&6
6012 if test "${ac_cv_lib_snmp_asn_parse_int+set}" = set; then
6013 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 ac_check_lib_save_LIBS
=$LIBS
6017 cat >conftest.
$ac_ext <<_ACEOF
6018 #line $LINENO "configure"
6019 #include "confdefs.h"
6021 /* Override any gcc2 internal prototype to avoid an error. */
6025 /* We use char because int might match the return type of a gcc2
6026 builtin and then its argument prototype would still apply. */
6027 char asn_parse_int ();
6036 rm -f conftest.
$ac_objext conftest
$ac_exeext
6037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6038 (eval $ac_link) 2>&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } &&
6042 { ac_try
='test -s conftest$ac_exeext'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; }; then
6048 ac_cv_lib_snmp_asn_parse_int
=yes
6050 echo "$as_me: failed program was:" >&5
6051 cat conftest.
$ac_ext >&5
6052 ac_cv_lib_snmp_asn_parse_int
=no
6054 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6055 LIBS
=$ac_check_lib_save_LIBS
6057 echo "$as_me:$LINENO: result: $ac_cv_lib_snmp_asn_parse_int" >&5
6058 echo "${ECHO_T}$ac_cv_lib_snmp_asn_parse_int" >&6
6059 if test $ac_cv_lib_snmp_asn_parse_int = yes; then
6063 if test "${HAVE_SNMP}" = ""; then
6064 unset ac_cv_lib_snmp_asn_parse_int
6065 echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
6066 echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6
6067 if test "${ac_cv_lib_crypto_main+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 ac_check_lib_save_LIBS
=$LIBS
6071 LIBS
="-lcrypto $LIBS"
6072 cat >conftest.
$ac_ext <<_ACEOF
6073 #line $LINENO "configure"
6074 #include "confdefs.h"
6085 rm -f conftest.
$ac_objext conftest
$ac_exeext
6086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6087 (eval $ac_link) 2>&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try
='test -s conftest$ac_exeext'
6092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); }; }; then
6097 ac_cv_lib_crypto_main
=yes
6099 echo "$as_me: failed program was:" >&5
6100 cat conftest.
$ac_ext >&5
6101 ac_cv_lib_crypto_main
=no
6103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6104 LIBS
=$ac_check_lib_save_LIBS
6106 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_main" >&5
6107 echo "${ECHO_T}$ac_cv_lib_crypto_main" >&6
6108 if test $ac_cv_lib_crypto_main = yes; then
6112 if test "${NEED_CRYPTO}" = ""; then
6113 echo "$as_me:$LINENO: checking for asn_parse_int in -lsnmp" >&5
6114 echo $ECHO_N "checking for asn_parse_int in -lsnmp... $ECHO_C" >&6
6115 if test "${ac_cv_lib_snmp_asn_parse_int+set}" = set; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 ac_check_lib_save_LIBS
=$LIBS
6120 cat >conftest.
$ac_ext <<_ACEOF
6121 #line $LINENO "configure"
6122 #include "confdefs.h"
6124 /* Override any gcc2 internal prototype to avoid an error. */
6128 /* We use char because int might match the return type of a gcc2
6129 builtin and then its argument prototype would still apply. */
6130 char asn_parse_int ();
6139 rm -f conftest.
$ac_objext conftest
$ac_exeext
6140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6141 (eval $ac_link) 2>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } &&
6145 { ac_try
='test -s conftest$ac_exeext'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; }; then
6151 ac_cv_lib_snmp_asn_parse_int
=yes
6153 echo "$as_me: failed program was:" >&5
6154 cat conftest.
$ac_ext >&5
6155 ac_cv_lib_snmp_asn_parse_int
=no
6157 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6158 LIBS
=$ac_check_lib_save_LIBS
6160 echo "$as_me:$LINENO: result: $ac_cv_lib_snmp_asn_parse_int" >&5
6161 echo "${ECHO_T}$ac_cv_lib_snmp_asn_parse_int" >&6
6162 if test $ac_cv_lib_snmp_asn_parse_int = yes; then
6163 HAVE_SNMP
=yes; NEED_CRYPTO
=yes
6167 echo "$as_me:$LINENO: checking for asn_parse_int in -lsnmp" >&5
6168 echo $ECHO_N "checking for asn_parse_int in -lsnmp... $ECHO_C" >&6
6169 if test "${ac_cv_lib_snmp_asn_parse_int+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 ac_check_lib_save_LIBS
=$LIBS
6173 LIBS
="-lsnmp "-lcrypto" $LIBS"
6174 cat >conftest.
$ac_ext <<_ACEOF
6175 #line $LINENO "configure"
6176 #include "confdefs.h"
6178 /* Override any gcc2 internal prototype to avoid an error. */
6182 /* We use char because int might match the return type of a gcc2
6183 builtin and then its argument prototype would still apply. */
6184 char asn_parse_int ();
6193 rm -f conftest.
$ac_objext conftest
$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195 (eval $ac_link) 2>&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } &&
6199 { ac_try
='test -s conftest$ac_exeext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 ac_cv_lib_snmp_asn_parse_int
=yes
6207 echo "$as_me: failed program was:" >&5
6208 cat conftest.
$ac_ext >&5
6209 ac_cv_lib_snmp_asn_parse_int
=no
6211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6212 LIBS
=$ac_check_lib_save_LIBS
6214 echo "$as_me:$LINENO: result: $ac_cv_lib_snmp_asn_parse_int" >&5
6215 echo "${ECHO_T}$ac_cv_lib_snmp_asn_parse_int" >&6
6216 if test $ac_cv_lib_snmp_asn_parse_int = yes; then
6217 HAVE_SNMP
=yes; NEED_CRYPTO
=yes;LIBS
="$LIBS -lcrypto"
6224 if test "${HAVE_SNMP}" = ""; then
6226 LIBS
="-L/usr/local/lib"
6227 echo "$as_me:$LINENO: checking for asn_parse_int in -lsnmp" >&5
6228 echo $ECHO_N "checking for asn_parse_int in -lsnmp... $ECHO_C" >&6
6229 if test "${ac_cv_lib_snmp_asn_parse_int+set}" = set; then
6230 echo $ECHO_N "(cached) $ECHO_C" >&6
6232 ac_check_lib_save_LIBS
=$LIBS
6234 cat >conftest.
$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6236 #include "confdefs.h"
6238 /* Override any gcc2 internal prototype to avoid an error. */
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6244 char asn_parse_int ();
6253 rm -f conftest.
$ac_objext conftest
$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255 (eval $ac_link) 2>&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } &&
6259 { ac_try
='test -s conftest$ac_exeext'
6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; }; then
6265 ac_cv_lib_snmp_asn_parse_int
=yes
6267 echo "$as_me: failed program was:" >&5
6268 cat conftest.
$ac_ext >&5
6269 ac_cv_lib_snmp_asn_parse_int
=no
6271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6272 LIBS
=$ac_check_lib_save_LIBS
6274 echo "$as_me:$LINENO: result: $ac_cv_lib_snmp_asn_parse_int" >&5
6275 echo "${ECHO_T}$ac_cv_lib_snmp_asn_parse_int" >&6
6276 if test $ac_cv_lib_snmp_asn_parse_int = yes; then
6282 if test "${HAVE_SNMP}" = "yes"; then
6283 for ac_snmp
in /usr
/include
/ucd-snmp
/asn1.h
/usr
/local
/include
/ucd-snmp
/asn1.h
/dev
/null
6285 test -f "${ac_snmp}" && break
6288 /usr
/include
/ucd-snmp
/*)
6289 cat >>confdefs.h
<<\_ACEOF
6293 CFLAGS
="${CFLAGS} -I/usr/include/ucd-snmp"
6294 LIBS
="${LIBS} -lsnmp"
6296 /usr
/local
/include
/ucd-snmp
/*)
6297 cat >>confdefs.h
<<\_ACEOF
6301 CFLAGS
="${CFLAGS} -I/usr/local/include/ucd-snmp"
6302 LIBS
="${LIBS} -L/usr/local/lib -lsnmp"
6305 if test "${NEED_CRYPTO}" = "yes"; then
6306 LIBS
="${LIBS} -lcrypto"
6311 echo "$as_me:$LINENO: checking whether struct sockaddr has a sa_len field" >&5
6312 echo $ECHO_N "checking whether struct sockaddr has a sa_len field... $ECHO_C" >&6
6313 cat >conftest.
$ac_ext <<_ACEOF
6314 #line $LINENO "configure"
6315 #include "confdefs.h"
6316 #include <sys/types.h>
6317 #include <sys/socket.h>
6322 static struct sockaddr ac_i;int ac_j = sizeof (ac_i.sa_len);
6327 rm -f conftest.
$ac_objext
6328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6329 (eval $ac_compile) 2>&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try
='test -s conftest.$ac_objext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 cat >>confdefs.h
<<\_ACEOF
6342 #define HAVE_SA_LEN 1
6346 echo "$as_me: failed program was:" >&5
6347 cat conftest.
$ac_ext >&5
6348 echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6
6351 rm -f conftest.
$ac_objext conftest.
$ac_ext
6353 echo "$as_me:$LINENO: checking whether struct sockaddr_in has a sin_len field" >&5
6354 echo $ECHO_N "checking whether struct sockaddr_in has a sin_len field... $ECHO_C" >&6
6355 cat >conftest.
$ac_ext <<_ACEOF
6356 #line $LINENO "configure"
6357 #include "confdefs.h"
6358 #include <sys/types.h>
6359 #include <netinet/in.h>
6364 static struct sockaddr_in ac_i;int ac_j = sizeof (ac_i.sin_len);
6369 rm -f conftest.
$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 (eval $ac_compile) 2>&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); } &&
6375 { ac_try
='test -s conftest.$ac_objext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6383 cat >>confdefs.h
<<\_ACEOF
6384 #define HAVE_SIN_LEN 1
6388 echo "$as_me: failed program was:" >&5
6389 cat conftest.
$ac_ext >&5
6390 echo "$as_me:$LINENO: result: no" >&5
6391 echo "${ECHO_T}no" >&6
6393 rm -f conftest.
$ac_objext conftest.
$ac_ext
6395 echo "$as_me:$LINENO: checking whether struct sockaddr_un has a sun_len field" >&5
6396 echo $ECHO_N "checking whether struct sockaddr_un has a sun_len field... $ECHO_C" >&6
6397 cat >conftest.
$ac_ext <<_ACEOF
6398 #line $LINENO "configure"
6399 #include "confdefs.h"
6400 #include <sys/types.h>
6406 static struct sockaddr_un ac_i;int ac_j = sizeof (ac_i.sun_len);
6411 rm -f conftest.
$ac_objext
6412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6413 (eval $ac_compile) 2>&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try
='test -s conftest.$ac_objext'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; }; then
6423 echo "$as_me:$LINENO: result: yes" >&5
6424 echo "${ECHO_T}yes" >&6
6425 cat >>confdefs.h
<<\_ACEOF
6426 #define HAVE_SUN_LEN 1
6430 echo "$as_me: failed program was:" >&5
6431 cat conftest.
$ac_ext >&5
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6435 rm -f conftest.
$ac_objext conftest.
$ac_ext
6437 if test "$zebra_cv_ipv6" = yes; then
6438 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 has a sin6_scope_id field" >&5
6439 echo $ECHO_N "checking whether struct sockaddr_in6 has a sin6_scope_id field... $ECHO_C" >&6
6440 cat >conftest.
$ac_ext <<_ACEOF
6441 #line $LINENO "configure"
6442 #include "confdefs.h"
6443 #include <sys/types.h>
6444 #include <netinet/in.h>
6449 static struct sockaddr_in6 ac_i;int ac_j = sizeof (ac_i.sin6_scope_id);
6454 rm -f conftest.
$ac_objext
6455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456 (eval $ac_compile) 2>&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } &&
6460 { ac_try
='test -s conftest.$ac_objext'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; }; then
6466 echo "$as_me:$LINENO: result: yes" >&5
6467 echo "${ECHO_T}yes" >&6
6468 cat >>confdefs.h
<<\_ACEOF
6469 #define HAVE_SIN6_SCOPE_ID 1
6473 echo "$as_me: failed program was:" >&5
6474 cat conftest.
$ac_ext >&5
6475 echo "$as_me:$LINENO: result: no" >&5
6476 echo "${ECHO_T}no" >&6
6478 rm -f conftest.
$ac_objext conftest.
$ac_ext
6481 echo "$as_me:$LINENO: checking whther socklen_t is defined" >&5
6482 echo $ECHO_N "checking whther socklen_t is defined... $ECHO_C" >&6
6483 cat >conftest.
$ac_ext <<_ACEOF
6484 #line $LINENO "configure"
6485 #include "confdefs.h"
6486 #include <sys/types.h>
6487 #include <sys/socket.h>
6488 #include <netinet/in.h>
6498 rm -f conftest.
$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500 (eval $ac_compile) 2>&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } &&
6504 { ac_try
='test -s conftest.$ac_objext'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; }; then
6510 echo "$as_me:$LINENO: result: yes" >&5
6511 echo "${ECHO_T}yes" >&6
6512 cat >>confdefs.h
<<\_ACEOF
6513 #define HAVE_SOCKLEN_T 1
6517 echo "$as_me: failed program was:" >&5
6518 cat conftest.
$ac_ext >&5
6519 echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6
6522 rm -f conftest.
$ac_objext conftest.
$ac_ext
6524 echo "$as_me:$LINENO: checking whether struct sockaddr_dl exist" >&5
6525 echo $ECHO_N "checking whether struct sockaddr_dl exist... $ECHO_C" >&6
6526 cat >conftest.
$ac_ext <<_ACEOF
6527 #line $LINENO "configure"
6528 #include "confdefs.h"
6529 #include <net/if_dl.h>
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "sockaddr_dl" >/dev
/null
2>&1; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6536 cat >>confdefs.h
<<\_ACEOF
6537 #define HAVE_SOCKADDR_DL 1
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6547 echo "$as_me:$LINENO: checking whether struct ifaliasreq exist" >&5
6548 echo $ECHO_N "checking whether struct ifaliasreq exist... $ECHO_C" >&6
6549 cat >conftest.
$ac_ext <<_ACEOF
6550 #line $LINENO "configure"
6551 #include "confdefs.h"
6555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6556 $EGREP "ifaliasreq" >/dev
/null
2>&1; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6559 cat >>confdefs.h
<<\_ACEOF
6560 #define HAVE_IFALIASREQ 1
6564 echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6
6570 echo "$as_me:$LINENO: checking whether struct if6_aliasreq exist" >&5
6571 echo $ECHO_N "checking whether struct if6_aliasreq exist... $ECHO_C" >&6
6572 cat >conftest.
$ac_ext <<_ACEOF
6573 #line $LINENO "configure"
6574 #include "confdefs.h"
6575 #include <netinet6/in6_var.h>
6578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6579 $EGREP "in6_aliasreq" >/dev
/null
2>&1; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6582 cat >>confdefs.h
<<\_ACEOF
6583 #define HAVE_IN6_ALIASREQ 1
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6593 echo "$as_me:$LINENO: checking whether struct rt_addrinfo exist" >&5
6594 echo $ECHO_N "checking whether struct rt_addrinfo exist... $ECHO_C" >&6
6595 cat >conftest.
$ac_ext <<_ACEOF
6596 #line $LINENO "configure"
6597 #include "confdefs.h"
6598 #include <net/route.h>
6601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6602 $EGREP "rt_addrinfo" >/dev
/null
2>&1; then
6603 echo "$as_me:$LINENO: result: yes" >&5
6604 echo "${ECHO_T}yes" >&6
6605 cat >>confdefs.h
<<\_ACEOF
6606 #define HAVE_RT_ADDRINFO 1
6610 echo "$as_me:$LINENO: result: no" >&5
6611 echo "${ECHO_T}no" >&6
6616 echo "$as_me:$LINENO: checking whether struct in_pktinfo exist" >&5
6617 echo $ECHO_N "checking whether struct in_pktinfo exist... $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6619 #line $LINENO "configure"
6620 #include "confdefs.h"
6621 #include <netinet/in.h>
6626 struct in_pktinfo ac_x;
6631 rm -f conftest.
$ac_objext
6632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6633 (eval $ac_compile) 2>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -s conftest.$ac_objext'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; }; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6645 cat >>confdefs.h
<<\_ACEOF
6646 #define HAVE_INPKTINFO 1
6650 echo "$as_me: failed program was:" >&5
6651 cat conftest.
$ac_ext >&5
6652 echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6
6655 rm -f conftest.
$ac_objext conftest.
$ac_ext
6657 echo "$as_me:$LINENO: checking whether getrusage is available" >&5
6658 echo $ECHO_N "checking whether getrusage is available... $ECHO_C" >&6
6659 cat >conftest.
$ac_ext <<_ACEOF
6660 #line $LINENO "configure"
6661 #include "confdefs.h"
6662 #include <sys/resource.h>
6667 struct rusage ac_x; getrusage (RUSAGE_SELF, &ac_x);
6672 rm -f conftest.
$ac_objext
6673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6674 (eval $ac_compile) 2>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } &&
6678 { ac_try
='test -s conftest.$ac_objext'
6679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); }; }; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6686 cat >>confdefs.h
<<\_ACEOF
6687 #define HAVE_RUSAGE 1
6691 echo "$as_me: failed program was:" >&5
6692 cat conftest.
$ac_ext >&5
6693 echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6
6696 rm -f conftest.
$ac_objext conftest.
$ac_ext
6698 file="${srcdir}/lib/version.h"
6699 VERSION
=`sed -ne 's/^#.*ZEBRA_VERSION.*\"\([^\"]*\)\"$/\1/p' $file`
6702 echo "$as_me:$LINENO: checking pid file directory" >&5
6703 echo $ECHO_N "checking pid file directory... $ECHO_C" >&6
6704 if test "${ac_piddir+set}" = set; then
6705 echo $ECHO_N "(cached) $ECHO_C" >&6
6707 for ZEBRA_PID_DIR
in /var
/run
/var
/adm
/etc
/dev
/null
;
6709 test -d $ZEBRA_PID_DIR && break
6711 ac_piddir
=$ZEBRA_PID_DIR
6712 if test $ZEBRA_PID_DIR = "/dev/null"; then
6713 echo "PID DIRECTORY NOT FOUND!"
6716 echo "$as_me:$LINENO: result: $ac_piddir" >&5
6717 echo "${ECHO_T}$ac_piddir" >&6
6718 cat >>confdefs.h
<<_ACEOF
6719 #define PATH_ZEBRA_PID "$ac_piddir/zebra.pid"
6722 cat >>confdefs.h
<<_ACEOF
6723 #define PATH_RIPD_PID "$ac_piddir/ripd.pid"
6726 cat >>confdefs.h
<<_ACEOF
6727 #define PATH_RIPNGD_PID "$ac_piddir/ripngd.pid"
6730 cat >>confdefs.h
<<_ACEOF
6731 #define PATH_BGPD_PID "$ac_piddir/bgpd.pid"
6734 cat >>confdefs.h
<<_ACEOF
6735 #define PATH_OSPFD_PID "$ac_piddir/ospfd.pid"
6738 cat >>confdefs.h
<<_ACEOF
6739 #define PATH_OSPF6D_PID "$ac_piddir/ospf6d.pid"
6744 echo "$as_me:$LINENO: checking for working htonl" >&5
6745 echo $ECHO_N "checking for working htonl... $ECHO_C" >&6
6746 if test "${ac_cv_htonl_works+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 cat >conftest.
$ac_ext <<_ACEOF
6751 #line $LINENO "configure"
6752 #include "confdefs.h"
6753 #ifdef HAVE_SYS_TYPES_H
6754 #include <sys/types.h>
6759 #ifdef HAVE_NETINET_IN_H
6760 #include <netinet/in.h>
6770 rm -f conftest.
$ac_objext conftest
$ac_exeext
6771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6772 (eval $ac_link) 2>&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } &&
6776 { ac_try
='test -s conftest$ac_exeext'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6782 ac_cv_htonl_works
=yes
6784 echo "$as_me: failed program was:" >&5
6785 cat conftest.
$ac_ext >&5
6786 ac_cv_htonl_works
=no
6788 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6791 echo "$as_me:$LINENO: result: $ac_cv_htonl_works" >&5
6792 echo "${ECHO_T}$ac_cv_htonl_works" >&6
6794 ac_config_files
="$ac_config_files Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile ospf6d/Makefile vtysh/Makefile doc/Makefile"
6795 cat >confcache
<<\_ACEOF
6796 # This file is a shell script that caches the results of configure
6797 # tests run on this system so they can be shared between configure
6798 # scripts and configure runs, see configure's option --config-cache.
6799 # It is not useful on other systems. If it contains results you don't
6800 # want to keep, you may remove or edit it.
6802 # config.status only pays attention to the cache file if you give it
6803 # the --recheck option to rerun configure.
6805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6811 # The following way of writing the cache mishandles newlines in values,
6812 # but we know of no workaround that is simple, portable, and efficient.
6813 # So, don't put newlines in cache variables' values.
6814 # Ultrix sh set writes to stderr and can't be redirected directly,
6815 # and sets the high bit in the cache file unless we assign to the vars.
6818 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6820 # `set' does not quote correctly, so add quotes (double-quote
6821 # substitution turns \\\\ into \\, and sed turns \\ into \).
6824 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6827 # `set' quotes correctly as required by POSIX, so do not add quotes.
6829 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6836 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6838 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6840 if cmp -s $cache_file confcache
; then :; else
6841 if test -w $cache_file; then
6842 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6843 cat confcache
>$cache_file
6845 echo "not updating unwritable cache $cache_file"
6850 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6851 # Let make expand exec_prefix.
6852 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6854 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6855 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6856 # trailing colons and then remove the whole line if VPATH becomes empty
6857 # (actually we leave an empty line to preserve line numbers).
6858 if test "x$srcdir" = x.
; then
6859 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6860 s/:*\$(srcdir):*/:/;
6861 s/:*\${srcdir}:*/:/;
6863 s/^\([^=]*=[ ]*\):*/\1/;
6869 DEFS
=-DHAVE_CONFIG_H
6873 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6874 # 1. Remove the extension, and $U if already installed.
6875 ac_i
=`echo "$ac_i" |
6876 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6878 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6879 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6883 LTLIBOBJS
=$ac_ltlibobjs
6886 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6887 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6888 Usually this means the macro was only invoked conditionally." >&5
6889 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6890 Usually this means the macro was only invoked conditionally." >&2;}
6891 { (exit 1); exit 1; }; }
6893 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6894 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6895 Usually this means the macro was only invoked conditionally." >&5
6896 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6897 Usually this means the macro was only invoked conditionally." >&2;}
6898 { (exit 1); exit 1; }; }
6901 : ${CONFIG_STATUS=./config.status}
6902 ac_clean_files_save
=$ac_clean_files
6903 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6904 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6905 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6906 cat >$CONFIG_STATUS <<_ACEOF
6908 # Generated by $as_me.
6909 # Run this file to recreate the current configuration.
6910 # Compiler output produced by configure, useful for debugging
6911 # configure, is in config.log if it exists.
6914 SHELL=\${CONFIG_SHELL-$SHELL}
6917 cat >>$CONFIG_STATUS <<\_ACEOF
6918 ## --------------------- ##
6919 ## M4sh Initialization. ##
6920 ## --------------------- ##
6922 # Be Bourne compatible
6923 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6926 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6927 # is contrary to our usage. Disable this feature.
6928 alias -g '${1+"$@"}'='"$@"'
6929 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6933 # Support unset when possible.
6934 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6941 # Work around bugs in pre-3.0 UWIN ksh.
6942 $as_unset ENV MAIL MAILPATH
6948 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
6950 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6951 eval $as_var=C
; export $as_var
6957 # Required to use basename.
6958 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6964 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6965 as_basename
=basename
6971 # Name of the executable.
6972 as_me
=`$as_basename "$0" ||
6973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6974 X"$0" : 'X\(//\)$' \| \
6975 X"$0" : 'X\(/\)$' \| \
6976 . : '\(.\)' 2>/dev/null ||
6978 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6979 /^X\/\(\/\/\)$/{ s//\1/; q; }
6980 /^X\/\(\/\).*/{ s//\1/; q; }
6984 # PATH needs CR, and LINENO needs CR and PATH.
6985 # Avoid depending upon Character Ranges.
6986 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6987 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6988 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6989 as_cr_digits
='0123456789'
6990 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6992 # The user is always right.
6993 if test "${PATH_SEPARATOR+set}" != set; then
6994 echo "#! /bin/sh" >conftest.sh
6995 echo "exit 0" >>conftest.sh
6996 chmod +x conftest.sh
6997 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
7008 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7009 test "x$as_lineno_1" != "x$as_lineno_2" &&
7010 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7011 # Find who we are. Look in the path if we contain no path at all
7014 *[\\/]* ) as_myself
=$0 ;;
7015 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7019 test -z "$as_dir" && as_dir
=.
7020 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7025 # We did not find ourselves, most probably we were run as `sh COMMAND'
7026 # in which case we are not to be found in the path.
7027 if test "x$as_myself" = x
; then
7030 if test ! -f "$as_myself"; then
7031 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7032 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7033 { (exit 1); exit 1; }; }
7035 case $CONFIG_SHELL in
7037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7038 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7041 test -z "$as_dir" && as_dir
=.
7042 for as_base
in sh bash ksh sh5
; do
7045 if ("$as_dir/$as_base" -c '
7048 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7049 test "x$as_lineno_1" != "x$as_lineno_2" &&
7050 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7051 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7052 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7053 CONFIG_SHELL
=$as_dir/$as_base
7055 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7063 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7064 # uniformly replaced by the line number. The first 'sed' inserts a
7065 # line-number line before each line; the second 'sed' does the real
7066 # work. The second script uses 'N' to pair each line-number line
7067 # with the numbered line, and appends trailing '-' during
7068 # substitution so that $LINENO is not a special case at line end.
7069 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7070 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7071 sed '=' <$as_myself |
7076 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7079 s,^['$as_cr_digits']*\n,,
7081 chmod +x
$as_me.lineno ||
7082 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7083 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7084 { (exit 1); exit 1; }; }
7086 # Don't try to exec as it changes $[0], causing all sort of problems
7087 # (the dirname of $[0] is not the place where we might find the
7088 # original and so on. Autoconf is especially sensible to this).
7090 # Exit status is that of the last command.
7095 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7096 *c
*,-n*) ECHO_N
= ECHO_C
='
7098 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7099 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7102 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7108 rm -f conf$$ conf$$.exe conf$$.
file
7110 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7111 # We could just check for DJGPP; but this test a) works b) is more generic
7112 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7113 if test -f conf$$.exe
; then
7114 # Don't use ln at all; we don't have any links
7119 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7124 rm -f conf$$ conf$$.exe conf$$.
file
7126 if mkdir
-p .
2>/dev
/null
; then
7132 as_executable_p
="test -f"
7134 # Sed expression to map a string onto a valid CPP name.
7135 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7137 # Sed expression to map a string onto a valid variable name.
7138 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7142 # We need space, tab and new line, in precisely that order.
7152 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7153 # report actual input values of CONFIG_FILES etc. instead of their
7154 # values after options handling. Logging --version etc. is OK.
7158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7159 ## Running $as_me. ##
7164 This file was extended by $as_me, which was
7165 generated by GNU Autoconf 2.54. Invocation command line was
7167 CONFIG_FILES = $CONFIG_FILES
7168 CONFIG_HEADERS = $CONFIG_HEADERS
7169 CONFIG_LINKS = $CONFIG_LINKS
7170 CONFIG_COMMANDS = $CONFIG_COMMANDS
7174 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7178 # Files that config.status was made for.
7179 if test -n "$ac_config_files"; then
7180 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7183 if test -n "$ac_config_headers"; then
7184 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7187 if test -n "$ac_config_links"; then
7188 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7191 if test -n "$ac_config_commands"; then
7192 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7195 cat >>$CONFIG_STATUS <<\_ACEOF
7198 \`$as_me' instantiates files from templates according to the
7199 current configuration.
7201 Usage: $0 [OPTIONS] [FILE]...
7203 -h, --help print this help, then exit
7204 -V, --version print version number, then exit
7205 -d, --debug don't remove temporary files
7206 --recheck update $as_me by reconfiguring in the same conditions
7207 --file=FILE[:TEMPLATE]
7208 instantiate the configuration file FILE
7209 --header=FILE[:TEMPLATE]
7210 instantiate the configuration header FILE
7212 Configuration files:
7215 Configuration headers:
7218 Configuration commands:
7221 Report bugs to <bug-autoconf@gnu.org>."
7224 cat >>$CONFIG_STATUS <<_ACEOF
7227 configured by $0, generated by GNU Autoconf 2.54,
7228 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7230 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7231 Free Software Foundation, Inc.
7232 This config.status script is free software; the Free Software Foundation
7233 gives unlimited permission to copy, distribute and modify it."
7238 cat >>$CONFIG_STATUS <<\_ACEOF
7239 # If no file are specified by the user, then we need to provide default
7240 # value. By we need to know if files were specified by the user.
7246 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7247 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7255 *) # This is not an option, so the user has probably given explicit
7258 ac_need_defaults
=false
;;
7262 # Handling of the options.
7264 cat >>$CONFIG_STATUS <<_ACEOF
7265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7266 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7267 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7269 cat >>$CONFIG_STATUS <<\_ACEOF
7270 --version |
--vers* |
-V )
7271 echo "$ac_cs_version"; exit 0 ;;
7273 # Conflict between --help and --header
7274 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7275 Try \`$0 --help' for more information." >&5
7276 echo "$as_me: error: ambiguous option: $1
7277 Try \`$0 --help' for more information." >&2;}
7278 { (exit 1); exit 1; }; };;
7279 --help |
--hel |
-h )
7280 echo "$ac_cs_usage"; exit 0 ;;
7281 --debug |
--d* |
-d )
7283 --file |
--fil |
--fi |
--f )
7285 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7286 ac_need_defaults
=false
;;
7287 --header |
--heade |
--head |
--hea )
7289 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7290 ac_need_defaults
=false
;;
7293 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7294 Try \`$0 --help' for more information." >&5
7295 echo "$as_me: error: unrecognized option: $1
7296 Try \`$0 --help' for more information." >&2;}
7297 { (exit 1); exit 1; }; } ;;
7299 *) ac_config_targets
="$ac_config_targets $1" ;;
7307 cat >>$CONFIG_STATUS <<_ACEOF
7309 # INIT-COMMANDS section.
7312 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7318 cat >>$CONFIG_STATUS <<\_ACEOF
7319 for ac_config_target
in $ac_config_targets
7321 case "$ac_config_target" in
7322 # Handling of arguments.
7323 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7324 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
7325 "zebra/Makefile" ) CONFIG_FILES
="$CONFIG_FILES zebra/Makefile" ;;
7326 "ripd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ripd/Makefile" ;;
7327 "ripngd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ripngd/Makefile" ;;
7328 "bgpd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES bgpd/Makefile" ;;
7329 "ospfd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ospfd/Makefile" ;;
7330 "ospf6d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ospf6d/Makefile" ;;
7331 "vtysh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES vtysh/Makefile" ;;
7332 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
7333 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7334 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7335 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7336 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7337 { (exit 1); exit 1; }; };;
7341 # If the user did not use the arguments to specify the items to instantiate,
7342 # then the envvar interface is used. Set only those that are not.
7343 # We use the long form for the default assignment because of an extremely
7344 # bizarre bug on SunOS 4.1.3.
7345 if $ac_need_defaults; then
7346 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7347 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7348 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7351 # Create a temporary directory, and hook for its removal unless debugging.
7354 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7355 trap '{ (exit 1); exit 1; }' 1 2 13 15
7358 # Create a (secure) tmp directory for tmp files.
7361 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7362 test -n "$tmp" && test -d "$tmp"
7365 tmp
=$TMPDIR/cs$$
-$RANDOM
7366 (umask 077 && mkdir
$tmp)
7369 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7370 { (exit 1); exit 1; }
7375 cat >>$CONFIG_STATUS <<_ACEOF
7378 # CONFIG_FILES section.
7381 # No need to generate the scripts if there are no CONFIG_FILES.
7382 # This happens for instance when ./config.status config.h
7383 if test -n "\$CONFIG_FILES"; then
7384 # Protect against being on the right side of a sed subst in config.status.
7385 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7386 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7387 s,@SHELL@,$SHELL,;t t
7388 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7389 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7390 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7391 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7392 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7393 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7394 s,@exec_prefix@,$exec_prefix,;t t
7395 s,@prefix@,$prefix,;t t
7396 s,@program_transform_name@,$program_transform_name,;t t
7397 s,@bindir@,$bindir,;t t
7398 s,@sbindir@,$sbindir,;t t
7399 s,@libexecdir@,$libexecdir,;t t
7400 s,@datadir@,$datadir,;t t
7401 s,@sysconfdir@,$sysconfdir,;t t
7402 s,@sharedstatedir@,$sharedstatedir,;t t
7403 s,@localstatedir@,$localstatedir,;t t
7404 s,@libdir@,$libdir,;t t
7405 s,@includedir@,$includedir,;t t
7406 s,@oldincludedir@,$oldincludedir,;t t
7407 s,@infodir@,$infodir,;t t
7408 s,@mandir@,$mandir,;t t
7409 s,@build_alias@,$build_alias,;t t
7410 s,@host_alias@,$host_alias,;t t
7411 s,@target_alias@,$target_alias,;t t
7413 s,@ECHO_C@,$ECHO_C,;t t
7414 s,@ECHO_N@,$ECHO_N,;t t
7415 s,@ECHO_T@,$ECHO_T,;t t
7417 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7418 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7419 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7420 s,@CYGPATH_W@,$CYGPATH_W,;t t
7421 s,@PACKAGE@,$PACKAGE,;t t
7422 s,@VERSION@,$VERSION,;t t
7423 s,@ACLOCAL@,$ACLOCAL,;t t
7424 s,@AUTOCONF@,$AUTOCONF,;t t
7425 s,@AUTOMAKE@,$AUTOMAKE,;t t
7426 s,@AUTOHEADER@,$AUTOHEADER,;t t
7427 s,@MAKEINFO@,$MAKEINFO,;t t
7428 s,@AMTAR@,$AMTAR,;t t
7429 s,@install_sh@,$install_sh,;t t
7430 s,@STRIP@,$STRIP,;t t
7431 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7432 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7434 s,@SET_MAKE@,$SET_MAKE,;t t
7435 s,@build@,$build,;t t
7436 s,@build_cpu@,$build_cpu,;t t
7437 s,@build_vendor@,$build_vendor,;t t
7438 s,@build_os@,$build_os,;t t
7440 s,@host_cpu@,$host_cpu,;t t
7441 s,@host_vendor@,$host_vendor,;t t
7442 s,@host_os@,$host_os,;t t
7444 s,@CFLAGS@,$CFLAGS,;t t
7445 s,@LDFLAGS@,$LDFLAGS,;t t
7446 s,@CPPFLAGS@,$CPPFLAGS,;t t
7447 s,@ac_ct_CC@,$ac_ct_CC,;t t
7448 s,@EXEEXT@,$EXEEXT,;t t
7449 s,@OBJEXT@,$OBJEXT,;t t
7450 s,@DEPDIR@,$DEPDIR,;t t
7451 s,@am__include@,$am__include,;t t
7452 s,@am__quote@,$am__quote,;t t
7453 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7454 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7455 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7456 s,@CCDEPMODE@,$CCDEPMODE,;t t
7457 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7458 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7461 s,@ac_ct_AR@,$ac_ct_AR,;t t
7462 s,@RANLIB@,$RANLIB,;t t
7463 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7464 s,@EGREP@,$EGREP,;t t
7465 s,@MULTIPATH_NUM@,$MULTIPATH_NUM,;t t
7466 s,@LIBPAM@,$LIBPAM,;t t
7467 s,@RT_METHOD@,$RT_METHOD,;t t
7468 s,@KERNEL_METHOD@,$KERNEL_METHOD,;t t
7469 s,@OTHER_METHOD@,$OTHER_METHOD,;t t
7470 s,@RTREAD_METHOD@,$RTREAD_METHOD,;t t
7471 s,@IF_METHOD@,$IF_METHOD,;t t
7472 s,@IF_PROC@,$IF_PROC,;t t
7473 s,@IPFORWARD@,$IPFORWARD,;t t
7474 s,@LIB_IPV6@,$LIB_IPV6,;t t
7475 s,@ZEBRA@,$ZEBRA,;t t
7478 s,@RIPNGD@,$RIPNGD,;t t
7479 s,@OSPFD@,$OSPFD,;t t
7480 s,@OSPF6D@,$OSPF6D,;t t
7481 s,@VTYSH@,$VTYSH,;t t
7482 s,@INCLUDES@,$INCLUDES,;t t
7483 s,@CURSES@,$CURSES,;t t
7484 s,@LIB_REGEX@,$LIB_REGEX,;t t
7485 s,@LIBOBJS@,$LIBOBJS,;t t
7486 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7491 cat >>$CONFIG_STATUS <<\_ACEOF
7492 # Split the substitutions into bite-sized pieces for seds with
7493 # small command number limits, like on Digital OSF/1 and HP-UX.
7495 ac_sed_frag
=1 # Number of current file.
7496 ac_beg
=1 # First line for current file.
7497 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7500 while $ac_more_lines; do
7501 if test $ac_beg -gt 1; then
7502 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7504 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7506 if test ! -s $tmp/subs.frag
; then
7509 # The purpose of the label and of the branching condition is to
7510 # speed up the sed processing (if there are no `@' at all, there
7511 # is no need to browse any of the substitutions).
7512 # These are the two extra sed commands mentioned above.
7514 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7515 if test -z "$ac_sed_cmds"; then
7516 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7518 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7520 ac_sed_frag
=`expr $ac_sed_frag + 1`
7522 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7525 if test -z "$ac_sed_cmds"; then
7528 fi # test -n "$CONFIG_FILES"
7531 cat >>$CONFIG_STATUS <<\_ACEOF
7532 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7533 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7535 - |
*:- |
*:-:* ) # input from stdin
7537 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7538 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7539 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7540 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7541 * ) ac_file_in
=$ac_file.
in ;;
7544 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7545 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7546 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7547 X"$ac_file" : 'X\(//\)[^/]' \| \
7548 X"$ac_file" : 'X\(//\)$' \| \
7549 X"$ac_file" : 'X\(/\)' \| \
7550 . : '\(.\)' 2>/dev/null ||
7552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7554 /^X\(\/\/\)$/{ s//\1/; q; }
7555 /^X\(\/\).*/{ s//\1/; q; }
7557 { if $as_mkdir_p; then
7562 while test ! -d "$as_dir"; do
7563 as_dirs
="$as_dir $as_dirs"
7564 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7565 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7566 X"$as_dir" : 'X\(//\)[^/]' \| \
7567 X"$as_dir" : 'X\(//\)$' \| \
7568 X"$as_dir" : 'X\(/\)' \| \
7569 . : '\(.\)' 2>/dev/null ||
7571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7572 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7573 /^X\(\/\/\)$/{ s//\1/; q; }
7574 /^X\(\/\).*/{ s//\1/; q; }
7577 test ! -n "$as_dirs" || mkdir
$as_dirs
7578 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7579 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7580 { (exit 1); exit 1; }; }; }
7584 if test "$ac_dir" != .
; then
7585 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7586 # A "../" for each directory in $ac_dir_suffix.
7587 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7589 ac_dir_suffix
= ac_top_builddir
=
7593 .
) # No --srcdir option. We are building in place.
7595 if test -z "$ac_top_builddir"; then
7598 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7600 [\\/]* | ?
:[\\/]* ) # Absolute path.
7601 ac_srcdir
=$srcdir$ac_dir_suffix;
7602 ac_top_srcdir
=$srcdir ;;
7604 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7605 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7607 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7609 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7610 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7611 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7612 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7616 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7617 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7620 if test x
"$ac_file" != x-
; then
7621 { echo "$as_me:$LINENO: creating $ac_file" >&5
7622 echo "$as_me: creating $ac_file" >&6;}
7625 # Let's still pretend it is `configure' which instantiates (i.e., don't
7626 # use $as_me), people would be surprised to read:
7627 # /* config.h. Generated by config.status. */
7628 if test x
"$ac_file" = x-
; then
7631 configure_input
="$ac_file. "
7633 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7634 sed 's,.*/,,'` by configure."
7636 # First look for the input files in the build tree, otherwise in the
7638 ac_file_inputs
=`IFS=:
7639 for f in $ac_file_in; do
7641 -) echo $tmp/stdin ;;
7643 # Absolute (can't be DOS-style, as IFS=:)
7644 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7645 echo "$as_me: error: cannot find input file: $f" >&2;}
7646 { (exit 1); exit 1; }; }
7649 if test -f "$f"; then
7652 elif test -f "$srcdir/$f"; then
7657 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7658 echo "$as_me: error: cannot find input file: $f" >&2;}
7659 { (exit 1); exit 1; }; }
7662 done` ||
{ (exit 1); exit 1; }
7664 cat >>$CONFIG_STATUS <<_ACEOF
7668 cat >>$CONFIG_STATUS <<\_ACEOF
7670 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7671 s
,@configure_input@
,$configure_input,;t t
7672 s
,@srcdir@
,$ac_srcdir,;t t
7673 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7674 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7675 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7676 s
,@builddir@
,$ac_builddir,;t t
7677 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7678 s
,@top_builddir@
,$ac_top_builddir,;t t
7679 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7680 s
,@INSTALL@
,$ac_INSTALL,;t t
7681 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7683 if test x"$ac_file" != x-; then
7684 mv $tmp/out $ac_file
7692 cat >>$CONFIG_STATUS <<\_ACEOF
7695 # CONFIG_HEADER section.
7698 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7699 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7701 # ac_d sets the value in "#define NAME VALUE" lines.
7702 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7703 ac_dB
='[ ].*$,\1#\2'
7706 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7707 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7708 ac_uB
='$,\1#\2define\3'
7712 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7715 - |
*:- |
*:-:* ) # input from stdin
7717 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7718 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7719 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7720 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7721 * ) ac_file_in
=$ac_file.
in ;;
7724 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7725 echo "$as_me: creating $ac_file" >&6;}
7727 # First look for the input files in the build tree, otherwise in the
7729 ac_file_inputs
=`IFS=:
7730 for f in $ac_file_in; do
7732 -) echo $tmp/stdin ;;
7734 # Absolute (can't be DOS-style, as IFS=:)
7735 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7736 echo "$as_me: error: cannot find input file: $f" >&2;}
7737 { (exit 1); exit 1; }; }
7740 if test -f "$f"; then
7743 elif test -f "$srcdir/$f"; then
7748 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7749 echo "$as_me: error: cannot find input file: $f" >&2;}
7750 { (exit 1); exit 1; }; }
7753 done` ||
{ (exit 1); exit 1; }
7754 # Remove the trailing spaces.
7755 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7759 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7760 # `conftest.undefs', that substitutes the proper values into
7761 # config.h.in to produce config.h. The first handles `#define'
7762 # templates, and the second `#undef' templates.
7763 # And first: Protect against being on the right side of a sed subst in
7764 # config.status. Protect against being in an unquoted here document
7766 rm -f conftest.defines conftest.undefs
7767 # Using a here document instead of a string reduces the quoting nightmare.
7768 # Putting comments in sed scripts is not portable.
7770 # `end' is used to avoid that the second main sed command (meant for
7771 # 0-ary CPP macros) applies to n-ary macro definitions.
7772 # See the Autoconf documentation for `clear'.
7773 cat >confdef2sed.
sed <<\_ACEOF
7778 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7780 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7783 # If some macros were called several times there might be several times
7784 # the same #defines, which is useless. Nevertheless, we may not want to
7785 # sort them, since we want the *last* AC-DEFINE to be honored.
7786 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7787 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7788 rm -f confdef2sed.sed
7790 # This sed command replaces #undef with comments. This is necessary, for
7791 # example, in the case of _POSIX_SOURCE, which is predefined and required
7792 # on some systems where configure will not decide to define it.
7793 cat >>conftest.undefs <<\_ACEOF
7794 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7797 # Break up conftest.defines because some shells have a limit on the size
7798 # of here documents, and old seds have small limits too (100 cmds).
7799 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7800 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7801 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7802 echo ' :' >>$CONFIG_STATUS
7804 while grep . conftest.defines >/dev/null
7806 # Write a limited-size here document to $tmp/defines.sed.
7807 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7808 # Speed up: don't consider the non `#define' lines.
7809 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7810 # Work around the forget-to-reset-the-flag bug.
7811 echo 't clr' >>$CONFIG_STATUS
7812 echo ': clr' >>$CONFIG_STATUS
7813 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7815 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7819 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7820 rm -f conftest.defines
7821 mv conftest.
tail conftest.defines
7823 rm -f conftest.defines
7824 echo ' fi # grep' >>$CONFIG_STATUS
7825 echo >>$CONFIG_STATUS
7827 # Break up conftest.undefs because some shells have a limit on the size
7828 # of here documents, and old seds have small limits too (100 cmds).
7829 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7831 while grep . conftest.undefs
>/dev
/null
7833 # Write a limited-size here document to $tmp/undefs.sed.
7834 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7835 # Speed up: don't consider the non
`#undef'
7836 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7837 # Work around the forget-to-reset-the-flag bug.
7838 echo 't clr' >>$CONFIG_STATUS
7839 echo ': clr' >>$CONFIG_STATUS
7840 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7842 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7846 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7847 rm -f conftest.undefs
7848 mv conftest.tail conftest.undefs
7850 rm -f conftest.undefs
7852 cat >>$CONFIG_STATUS <<\_ACEOF
7853 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7854 # use $as_me), people would be surprised to read:
7855 # /* config.h. Generated by config.status. */
7856 if test x
"$ac_file" = x-
; then
7857 echo "/* Generated by configure. */" >$tmp/config.h
7859 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7861 cat $tmp/in >>$tmp/config.h
7863 if test x
"$ac_file" != x-
; then
7864 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
7865 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7866 echo "$as_me: $ac_file is unchanged" >&6;}
7868 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7869 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7870 X"$ac_file" : 'X\(//\)[^/]' \| \
7871 X"$ac_file" : 'X\(//\)$' \| \
7872 X"$ac_file" : 'X\(/\)' \| \
7873 . : '\(.\)' 2>/dev/null ||
7875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7877 /^X\(\/\/\)$/{ s//\1/; q; }
7878 /^X\(\/\).*/{ s//\1/; q; }
7880 { if $as_mkdir_p; then
7885 while test ! -d "$as_dir"; do
7886 as_dirs
="$as_dir $as_dirs"
7887 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7889 X"$as_dir" : 'X\(//\)[^/]' \| \
7890 X"$as_dir" : 'X\(//\)$' \| \
7891 X"$as_dir" : 'X\(/\)' \| \
7892 . : '\(.\)' 2>/dev/null ||
7894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7895 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7896 /^X\(\/\/\)$/{ s//\1/; q; }
7897 /^X\(\/\).*/{ s//\1/; q; }
7900 test ! -n "$as_dirs" || mkdir
$as_dirs
7901 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7902 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7903 { (exit 1); exit 1; }; }; }
7906 mv $tmp/config.h
$ac_file
7912 _am_stamp_count
=`expr ${_am_stamp_count-0} + 1`
7913 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7914 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7915 X$ac_file : 'X\(//\)[^/]' \| \
7916 X$ac_file : 'X\(//\)$' \| \
7917 X$ac_file : 'X\(/\)' \| \
7918 . : '\(.\)' 2>/dev/null ||
7920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7922 /^X\(\/\/\)$/{ s//\1/; q; }
7923 /^X\(\/\).*/{ s//\1/; q; }
7924 s/.*/./; q'`/stamp-h
$_am_stamp_count
7927 cat >>$CONFIG_STATUS <<\_ACEOF
7930 # CONFIG_COMMANDS section.
7932 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7933 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7934 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7935 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7936 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7937 X"$ac_dest" : 'X\(//\)[^/]' \| \
7938 X"$ac_dest" : 'X\(//\)$' \| \
7939 X"$ac_dest" : 'X\(/\)' \| \
7940 . : '\(.\)' 2>/dev/null ||
7942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7944 /^X\(\/\/\)$/{ s//\1/; q; }
7945 /^X\(\/\).*/{ s//\1/; q; }
7949 if test "$ac_dir" != .
; then
7950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7951 # A "../" for each directory in $ac_dir_suffix.
7952 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7954 ac_dir_suffix
= ac_top_builddir
=
7958 .
) # No --srcdir option. We are building in place.
7960 if test -z "$ac_top_builddir"; then
7963 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7965 [\\/]* | ?
:[\\/]* ) # Absolute path.
7966 ac_srcdir
=$srcdir$ac_dir_suffix;
7967 ac_top_srcdir
=$srcdir ;;
7969 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7970 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7972 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7974 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7975 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7976 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7977 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7980 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7981 echo "$as_me: executing $ac_dest commands" >&6;}
7983 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7984 # Strip MF so we end up with the name of the file.
7985 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7986 # Check whether this is an Automake generated Makefile or not.
7987 # We used to match only the files named `Makefile.in', but
7988 # some people rename them; so instead we look at the file content.
7989 # Grep'ing the first line is not enough: some people post-process
7990 # each Makefile.in and add a new line on top of each file to say so.
7991 # So let's grep whole file.
7992 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7993 dirpart
=`(dirname "$mf") 2>/dev/null ||
7994 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7995 X"$mf" : 'X\(//\)[^/]' \| \
7996 X"$mf" : 'X\(//\)$' \| \
7997 X"$mf" : 'X\(/\)' \| \
7998 . : '\(.\)' 2>/dev/null ||
8000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8001 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8002 /^X\(\/\/\)$/{ s//\1/; q; }
8003 /^X\(\/\).*/{ s//\1/; q; }
8008 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8009 # Extract the definition of DEP_FILES from the Makefile without
8011 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
8012 test -z "$DEPDIR" && continue
8013 # When using ansi2knr, U may be empty or an underscore; expand it
8014 U
=`sed -n -e '/^U = / s///p' < "$mf"`
8015 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8016 # We invoke sed twice because it is the simplest approach to
8017 # changing $(DEPDIR) to its actual value in the expansion.
8018 for file in `sed -n -e '
8019 /^DEP_FILES = .*\\\\$/ {
8028 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8029 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8030 # Make sure the directory exists.
8031 test -f "$dirpart/$file" && continue
8032 fdir
=`(dirname "$file") 2>/dev/null ||
8033 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8034 X"$file" : 'X\(//\)[^/]' \| \
8035 X"$file" : 'X\(//\)$' \| \
8036 X"$file" : 'X\(/\)' \| \
8037 . : '\(.\)' 2>/dev/null ||
8039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8041 /^X\(\/\/\)$/{ s//\1/; q; }
8042 /^X\(\/\).*/{ s//\1/; q; }
8044 { if $as_mkdir_p; then
8045 mkdir
-p $dirpart/$fdir
8047 as_dir
=$dirpart/$fdir
8049 while test ! -d "$as_dir"; do
8050 as_dirs
="$as_dir $as_dirs"
8051 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8053 X"$as_dir" : 'X\(//\)[^/]' \| \
8054 X"$as_dir" : 'X\(//\)$' \| \
8055 X"$as_dir" : 'X\(/\)' \| \
8056 . : '\(.\)' 2>/dev/null ||
8058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8059 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8060 /^X\(\/\/\)$/{ s//\1/; q; }
8061 /^X\(\/\).*/{ s//\1/; q; }
8064 test ! -n "$as_dirs" || mkdir
$as_dirs
8065 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8066 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8067 { (exit 1); exit 1; }; }; }
8069 # echo "creating $dirpart/$file"
8070 echo '# dummy' > "$dirpart/$file"
8078 cat >>$CONFIG_STATUS <<\_ACEOF
8080 { (exit 0); exit 0; }
8082 chmod +x
$CONFIG_STATUS
8083 ac_clean_files
=$ac_clean_files_save
8086 # configure is writing to config.log, and then calls config.status.
8087 # config.status does its own redirection, appending to config.log.
8088 # Unfortunately, on DOS this fails, as config.log is still kept open
8089 # by configure, so config.status won't be able to write to it; its
8090 # output is simply discarded. So we exec the FD to /dev/null,
8091 # effectively closing config.log, so it can be properly (re)opened and
8092 # appended to by config.status. When coming back to configure, we
8093 # need to make the FD available again.
8094 if test "$no_create" != yes; then
8097 $SHELL $CONFIG_STATUS || ac_cs_success
=false
8099 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8100 # would make configure fail if this is the last instruction.
8101 $ac_cs_success ||
{ (exit 1); exit 1; }
8108 zebra version : ${VERSION}
8109 host operationg system : ${host_os}
8110 source code location : ${srcdir}
8112 compiler flags : ${CFLAGS}
8113 directory for pid files : ${ac_piddir}