Diff for /embedaddon/quagga/configure between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2012/10/09 09:22:28 version 1.1.1.4, 2013/07/21 23:54:37
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Quagga 0.99.21.# Generated by GNU Autoconf 2.69 for Quagga 0.99.22.
 #  #
 # Report bugs to <https://bugzilla.quagga.net>.  # Report bugs to <https://bugzilla.quagga.net>.
 #  #
Line 590  MAKEFLAGS= Line 590  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='Quagga'  PACKAGE_NAME='Quagga'
 PACKAGE_TARNAME='quagga'  PACKAGE_TARNAME='quagga'
PACKAGE_VERSION='0.99.21'PACKAGE_VERSION='0.99.22'
PACKAGE_STRING='Quagga 0.99.21'PACKAGE_STRING='Quagga 0.99.22'
 PACKAGE_BUGREPORT='https://bugzilla.quagga.net'  PACKAGE_BUGREPORT='https://bugzilla.quagga.net'
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 641  quagga_statedir Line 641  quagga_statedir
 PILDFLAGS  PILDFLAGS
 PICFLAGS  PICFLAGS
 CONFDATE  CONFDATE
   WEAK_ALIAS_CROSSFILE
   WEAK_ALIAS
 LIBCAP  LIBCAP
SNMP_INCLUDESNETSNMP_CONFIG
 LIB_REGEX  LIB_REGEX
 HAVE_LIBPCREPOSIX  HAVE_LIBPCREPOSIX
 OSPFAPI  OSPFAPI
Line 660  RIPNGD Line 662  RIPNGD
 RIPD  RIPD
 BGPD  BGPD
 ZEBRA  ZEBRA
   BUILD_TESTS
 DOC  DOC
 ISISD_FALSE  ISISD_FALSE
 ISISD_TRUE  ISISD_TRUE
Line 687  IF_PROC Line 690  IF_PROC
 IOCTL_METHOD  IOCTL_METHOD
 IF_METHOD  IF_METHOD
 RTREAD_METHOD  RTREAD_METHOD
   HAVE_NETLINK_FALSE
   HAVE_NETLINK_TRUE
 OTHER_METHOD  OTHER_METHOD
 KERNEL_METHOD  KERNEL_METHOD
 RT_METHOD  RT_METHOD
Line 696  LIBPAM Line 701  LIBPAM
 VTYSH_FALSE  VTYSH_FALSE
 VTYSH_TRUE  VTYSH_TRUE
 LIBREADLINE  LIBREADLINE
PERLGIT_VERSION_FALSE
 GIT_VERSION_TRUE
 MULTIPATH_NUM  MULTIPATH_NUM
 enable_vty_group  enable_vty_group
 enable_group  enable_group
Line 751  pkgsrcrcdir Line 757  pkgsrcrcdir
 pkgsrcdir  pkgsrcdir
 exampledir  exampledir
 GAWK  GAWK
   PERL
 am__untar  am__untar
 am__tar  am__tar
 AMTAR  AMTAR
Line 838  enable_fast_install Line 845  enable_fast_install
 with_gnu_ld  with_gnu_ld
 with_sysroot  with_sysroot
 enable_libtool_lock  enable_libtool_lock
   with_pkg_extra_version
   with_pkg_git_version
 enable_vtysh  enable_vtysh
 enable_ipv6  enable_ipv6
 enable_doc  enable_doc
   enable_tests
 enable_zebra  enable_zebra
 enable_bgpd  enable_bgpd
 enable_ripd  enable_ripd
Line 854  enable_solaris Line 864  enable_solaris
 enable_bgp_announce  enable_bgp_announce
 enable_netlink  enable_netlink
 enable_broken_aliases  enable_broken_aliases
 with_crypto  
 enable_snmp  enable_snmp
 with_libpam  with_libpam
 enable_tcp_zebra  enable_tcp_zebra
Line 872  enable_rtadv Line 881  enable_rtadv
 enable_irdp  enable_irdp
 enable_isis_topology  enable_isis_topology
 enable_capabilities  enable_capabilities
   enable_rusage
 enable_gcc_ultra_verbose  enable_gcc_ultra_verbose
 enable_linux24_tcp_md5  enable_linux24_tcp_md5
 enable_gcc_rdynamic  enable_gcc_rdynamic
 enable_time_check  enable_time_check
 enable_pcreposix  enable_pcreposix
   enable_fpm
 enable_largefile  enable_largefile
 enable_pie  enable_pie
 '  '
Line 1430  if test "$ac_init_help" = "long"; then Line 1441  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
\`configure' configures Quagga 0.99.21 to adapt to many kinds of systems.\`configure' configures Quagga 0.99.22 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1501  fi Line 1512  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
     short | recursive ) echo "Configuration of Quagga 0.99.21:";;     short | recursive ) echo "Configuration of Quagga 0.99.22:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1511  Optional Features: Line 1522  Optional Features:
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-exampledir     specify alternate directory for examples    --enable-exampledir     specify alternate directory for examples
   --enable-pkgsrcrcdir    specify directory for rc.d scripts    --enable-pkgsrcrcdir    specify directory for rc.d scripts
  --disable-dependency-tracking  speeds up one-time build  --enable-dependency-tracking
  --enable-dependency-tracking   do not reject slow dependency extractors                          do not reject slow dependency extractors
   --disable-dependency-tracking
                           speeds up one-time build
   --enable-shared[=PKGS]  build shared libraries [default=yes]    --enable-shared[=PKGS]  build shared libraries [default=yes]
   --enable-static[=PKGS]  build static libraries [default=yes]    --enable-static[=PKGS]  build static libraries [default=yes]
   --enable-fast-install[=PKGS]    --enable-fast-install[=PKGS]
Line 1521  Optional Features: Line 1534  Optional Features:
   --enable-vtysh          include integrated vty shell for Quagga    --enable-vtysh          include integrated vty shell for Quagga
   --disable-ipv6          turn off IPv6 related features and daemons    --disable-ipv6          turn off IPv6 related features and daemons
   --disable-doc           do not build docs    --disable-doc           do not build docs
     --disable-tests         do not build tests
   --disable-zebra         do not build zebra daemon    --disable-zebra         do not build zebra daemon
   --disable-bgpd          do not build bgpd    --disable-bgpd          do not build bgpd
   --disable-ripd          do not build ripd    --disable-ripd          do not build ripd
Line 1534  Optional Features: Line 1548  Optional Features:
   --disable-bgp-announce, turn off BGP route announcement    --disable-bgp-announce, turn off BGP route announcement
   --enable-netlink        force to use Linux netlink interface    --enable-netlink        force to use Linux netlink interface
   --enable-broken-aliases enable aliases as distinct interfaces for Linux 2.2.X    --enable-broken-aliases enable aliases as distinct interfaces for Linux 2.2.X
  --enable-snmp           enable SNMP support  --enable-snmp=ARG       enable SNMP support (smux or agentx)
   --enable-tcp-zebra      enable TCP/IP socket connection between zebra and protocol daemon    --enable-tcp-zebra      enable TCP/IP socket connection between zebra and protocol daemon
   --disable-opaque-lsa    do not build OSPF Opaque-LSA with OSPFAPI support    --disable-opaque-lsa    do not build OSPF Opaque-LSA with OSPFAPI support
                           (RFC2370)                            (RFC2370)
Line 1552  Optional Features: Line 1566  Optional Features:
   --enable-irdp                 enable IRDP server support in zebra    --enable-irdp                 enable IRDP server support in zebra
   --enable-isis-topology        enable IS-IS topology generator    --enable-isis-topology        enable IS-IS topology generator
   --disable-capabilities        disable using POSIX capabilities    --disable-capabilities        disable using POSIX capabilities
     --disable-rusage              disable using getrusage
   --enable-gcc-ultra-verbose    enable ultra verbose GCC warnings    --enable-gcc-ultra-verbose    enable ultra verbose GCC warnings
   --enable-linux24-tcp-md5  enable support for old, Linux-2.4 RFC2385 patch    --enable-linux24-tcp-md5  enable support for old, Linux-2.4 RFC2385 patch
   --enable-gcc-rdynamic   enable gcc linking with -rdynamic for better backtraces    --enable-gcc-rdynamic   enable gcc linking with -rdynamic for better backtraces
   --disable-time-check          disable slow thread warning messages    --disable-time-check          disable slow thread warning messages
   --enable-pcreposix          enable using PCRE Posix libs for regex functions    --enable-pcreposix          enable using PCRE Posix libs for regex functions
     --enable-fpm            enable Forwarding Plane Manager support
   --disable-largefile     omit support for large files    --disable-largefile     omit support for large files
   --disable-pie           Do not build tools as a Position Independent    --disable-pie           Do not build tools as a Position Independent
                           Executables                            Executables
Line 1570  Optional Packages: Line 1586  Optional Packages:
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot=DIR Search for dependent libraries within DIR    --with-sysroot=DIR Search for dependent libraries within DIR
                         (or the compiler's sysroot if not specified).                          (or the compiler's sysroot if not specified).
  --without-crypto        do not use libcrypto in SNMP  --with-pkg-extra-version=VER
                           add extra version field, for packagers/distributions
   --with-pkg-git-version  add git information to MOTD and build version string
   --with-libpam           use libpam for PAM support in vtysh    --with-libpam           use libpam for PAM support in vtysh
   
 Some influential environment variables:  Some influential environment variables:
Line 1650  fi Line 1668  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
Quagga configure 0.99.21Quagga configure 0.99.22
 generated by GNU Autoconf 2.69  generated by GNU Autoconf 2.69
   
 Copyright (C) 2012 Free Software Foundation, Inc.  Copyright (C) 2012 Free Software Foundation, Inc.
Line 2176  cat >config.log <<_ACEOF Line 2194  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
It was created by Quagga $as_me 0.99.21, which wasIt was created by Quagga $as_me 0.99.22, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 2670  test -n "$target_alias" && Line 2688  test -n "$target_alias" &&
     NONENONEs,x,x, &&      NONENONEs,x,x, &&
   program_prefix=${target_alias}-    program_prefix=${target_alias}-
   
am__api_version='1.11'am__api_version='1.12'
   
 # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
Line 2767  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m Line 2785  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 $as_echo_n "checking whether build environment is sane... " >&6; }  $as_echo_n "checking whether build environment is sane... " >&6; }
 # Just in case  
 sleep 1  
 echo timestamp > conftest.file  
 # Reject unsafe characters in $srcdir or the absolute working directory  # Reject unsafe characters in $srcdir or the absolute working directory
 # name.  Accept space and tab only in the latter.  # name.  Accept space and tab only in the latter.
 am_lf='  am_lf='
Line 2780  case `pwd` in Line 2795  case `pwd` in
 esac  esac
 case $srcdir in  case $srcdir in
   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)    *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 esac  esac
   
# Do `set' in a subshell so we don't clobber the current shell's# Do 'set' in a subshell so we don't clobber the current shell's
 # arguments.  Must try -L first in case configure is actually a  # arguments.  Must try -L first in case configure is actually a
 # symlink; some systems play weird games with the mod time of symlinks  # symlink; some systems play weird games with the mod time of symlinks
 # (eg FreeBSD returns the mod time of the symlink's containing  # (eg FreeBSD returns the mod time of the symlink's containing
 # directory).  # directory).
 if (  if (
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`   am_has_slept=no
   if test "$*" = "X"; then   for am_try in 1 2; do
      # -L didn't work.     echo "timestamp, slept: $am_has_slept" > conftest.file
      set X `ls -t "$srcdir/configure" conftest.file`     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   fi     if test "$*" = "X"; then
   rm -f conftest.file        # -L didn't work.
   if test "$*" != "X $srcdir/configure conftest.file" \        set X `ls -t "$srcdir/configure" conftest.file`
      && test "$*" != "X conftest.file $srcdir/configure"; then     fi
      if test "$*" != "X $srcdir/configure conftest.file" \
         && test "$*" != "X conftest.file $srcdir/configure"; then
   
      # If neither matched, then we have a broken ls.  This can happen        # If neither matched, then we have a broken ls.  This can happen
      # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
      # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
      # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
alias in your environment" "$LINENO" 5  alias in your environment" "$LINENO" 5
   fi     fi
     if test "$2" = conftest.file || test $am_try -eq 2; then
        break
      fi
      # Just in case.
      sleep 1
      am_has_slept=yes
    done
    test "$2" = conftest.file     test "$2" = conftest.file
    )     )
 then  then
Line 2817  Check your system clock" "$LINENO" 5 Line 2840  Check your system clock" "$LINENO" 5
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
   # If we didn't sleep, we still need to ensure time stamps of config.status and
   # generated files are strictly newer.
   am_sleep_pid=
   if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     ( sleep 1 ) &
     am_sleep_pid=$!
   fi
   
   rm -f conftest.file
   
 test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
   program_transform_name="s&^&$program_prefix&;$program_transform_name"    program_transform_name="s&^&$program_prefix&;$program_transform_name"
 # Use a double $ so make ignores it.  # Use a double $ so make ignores it.
Line 2843  if eval "$MISSING --run true"; then Line 2876  if eval "$MISSING --run true"; then
   am_missing_run="$MISSING --run "    am_missing_run="$MISSING --run "
 else  else
   am_missing_run=    am_missing_run=
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 fi  fi
   
 if test x"${install_sh}" != xset; then  if test x"${install_sh}" != xset; then
Line 2856  if test x"${install_sh}" != xset; then Line 2889  if test x"${install_sh}" != xset; then
   esac    esac
 fi  fi
   
# Installed binaries are usually stripped using `strip' when the user# Installed binaries are usually stripped using 'strip' when the user
# run `make install-strip'.  However `strip' might not be the right# run "make install-strip".  However 'strip' might not be the right
 # tool to use in cross-compilation environments, therefore Automake  # tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.# will honor the 'STRIP' environment variable to overrule this program.
 if test "$cross_compiling" != no; then  if test "$cross_compiling" != no; then
   if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
Line 2998  fi Line 3031  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 $as_echo "$MKDIR_P" >&6; }  $as_echo "$MKDIR_P" >&6; }
   
 mkdir_p="$MKDIR_P"  
 case $mkdir_p in  
   [\\/$]* | ?:[\\/]*) ;;  
   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;  
 esac  
   
 for ac_prog in gawk mawk nawk awk  for ac_prog in gawk mawk nawk awk
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
Line 3108  fi Line 3135  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='quagga'   PACKAGE='quagga'
 VERSION='0.99.21' VERSION='0.99.22'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 3136  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} Line 3163  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   
   # For better backward compatibility.  To be removed once Automake 1.9.x
   # dies out for good.  For more background, see:
   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   mkdir_p='$(MKDIR_P)'
   
 # We need awk for the "check" target.  The system "awk" is bad on  # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.  # some platforms.
 # Always define AMTAR for backward compatibility.  Yes, it's still used  # Always define AMTAR for backward compatibility.  Yes, it's still used
Line 3151  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${ Line 3184  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${
 ac_config_headers="$ac_config_headers config.h"  ac_config_headers="$ac_config_headers config.h"
   
   
   # Extract the first word of "perl", so it can be a program name with args.
   set dummy perl; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_path_PERL+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     case $PERL in
     [\\/]* | ?:[\\/]*)
     ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
     ;;
     *)
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_exec_ext in '' $ac_executable_extensions; do
     if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
     ;;
   esac
   fi
   PERL=$ac_cv_path_PERL
   if test -n "$PERL"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   $as_echo "$PERL" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
 # Extract the first word of "gawk", so it can be a program name with args.  # Extract the first word of "gawk", so it can be a program name with args.
 set dummy gawk; ac_word=$2  set dummy gawk; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Line 4038  am__quote= Line 4111  am__quote=
 _am_result=none  _am_result=none
 # First try GNU make style include.  # First try GNU make style include.
 echo "include confinc" > confmf  echo "include confinc" > confmf
# Ignore all kinds of additional output from `make'.# Ignore all kinds of additional output from 'make'.
 case `$am_make -s -f confmf 2> /dev/null` in #(  case `$am_make -s -f confmf 2> /dev/null` in #(
 *the\ am__doit\ target*)  *the\ am__doit\ target*)
   am__include=include    am__include=include
Line 4094  else Line 4167  else
   # We make a subdir and do the tests there.  Otherwise we can end up    # We make a subdir and do the tests there.  Otherwise we can end up
   # making bogus files that we don't know about and never remove.  For    # making bogus files that we don't know about and never remove.  For
   # instance it was reported that on HP-UX the gcc test will end up    # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named `D' -- because `-MD' means `put the output  # making a dummy file named 'D' -- because '-MD' means "put the output
  # in D'.  # in D".
   rm -rf conftest.dir    rm -rf conftest.dir
   mkdir conftest.dir    mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're    # Copy depcomp to subdir because otherwise we won't find it if we're
Line 4130  else Line 4203  else
     : > sub/conftest.c      : > sub/conftest.c
     for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
       echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
      # Solaris 8's {/usr,}/bin/sh.      # Solaris 10 /bin/sh.
      touch sub/conftst$i.h      echo '/* dummy */' > sub/conftst$i.h
     done      done
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   
    # We check with `-c' and `-o' for the sake of the "dashmstdout"    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     # mode.  It turns out that the SunPro C++ compiler does not properly      # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle `-M -o', and we need to detect this.  Also, some Intel    # handle '-M -o', and we need to detect this.  Also, some Intel
    # versions had trouble with output in subdirs    # versions had trouble with output in subdirs.
     am__obj=sub/conftest.${OBJEXT-o}      am__obj=sub/conftest.${OBJEXT-o}
     am__minus_obj="-o $am__obj"      am__minus_obj="-o $am__obj"
     case $depmode in      case $depmode in
Line 4148  else Line 4221  else
       test "$am__universal" = false || continue        test "$am__universal" = false || continue
       ;;        ;;
     nosideeffect)      nosideeffect)
      # after this tag, mechanisms are not by side-effect, so they'll      # After this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested      # only be used when explicitly requested.
       if test "x$enable_dependency_tracking" = xyes; then        if test "x$enable_dependency_tracking" = xyes; then
         continue          continue
       else        else
Line 4157  else Line 4230  else
       fi        fi
       ;;        ;;
     msvc7 | msvc7msys | msvisualcpp | msvcmsys)      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
      # This compiler won't grok `-c -o', but also, the minuso test has      # This compiler won't grok '-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and        # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.        # so weak that their functioning should not be impacted.
       am__obj=conftest.${OBJEXT-o}        am__obj=conftest.${OBJEXT-o}
Line 4784  $as_echo_n "checking whether to set a default CFLAGS.. Line 4857  $as_echo_n "checking whether to set a default CFLAGS..
 if test "x${cflags_specified}" = "x" ; then  if test "x${cflags_specified}" = "x" ; then
   case ${COMPILER} in    case ${COMPILER} in
     "ICC")      "ICC")
        CFLAGS="-Os -g -Wall -wd 279,869,981"        CFLAGS="-Os -g -Wall"
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel default" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel default" >&5
 $as_echo "Intel default" >&6; }  $as_echo "Intel default" >&6; }
         ;;          ;;
Line 12273  CC="$lt_save_CC" Line 12346  CC="$lt_save_CC"
   
   
   
   
   # Check whether --with-pkg-extra-version was given.
   if test "${with_pkg_extra_version+set}" = set; then :
     withval=$with_pkg_extra_version; EXTRAVERSION=$withval
   fi
   
   
   # Check whether --with-pkg-git-version was given.
   if test "${with_pkg_git_version+set}" = set; then :
     withval=$with_pkg_git_version;  test "x$withval" != "xno" && with_pkg_git_version="yes"
   fi
   
 # Check whether --enable-vtysh was given.  # Check whether --enable-vtysh was given.
 if test "${enable_vtysh+set}" = set; then :  if test "${enable_vtysh+set}" = set; then :
   enableval=$enable_vtysh;    enableval=$enable_vtysh;
Line 12288  if test "${enable_doc+set}" = set; then : Line 12373  if test "${enable_doc+set}" = set; then :
   enableval=$enable_doc;    enableval=$enable_doc;
 fi  fi
   
   # Check whether --enable-tests was given.
   if test "${enable_tests+set}" = set; then :
     enableval=$enable_tests;
   fi
   
 # Check whether --enable-zebra was given.  # Check whether --enable-zebra was given.
 if test "${enable_zebra+set}" = set; then :  if test "${enable_zebra+set}" = set; then :
   enableval=$enable_zebra;    enableval=$enable_zebra;
Line 12353  if test "${enable_broken_aliases+set}" = set; then : Line 12443  if test "${enable_broken_aliases+set}" = set; then :
   enableval=$enable_broken_aliases;    enableval=$enable_broken_aliases;
 fi  fi
   
   
 # Check whether --with-crypto was given.  
 if test "${with_crypto+set}" = set; then :  
   withval=$with_crypto;  
 fi  
   
 # Check whether --enable-snmp was given.  # Check whether --enable-snmp was given.
 if test "${enable_snmp+set}" = set; then :  if test "${enable_snmp+set}" = set; then :
   enableval=$enable_snmp;    enableval=$enable_snmp;
Line 12446  if test "${enable_capabilities+set}" = set; then : Line 12530  if test "${enable_capabilities+set}" = set; then :
   enableval=$enable_capabilities;    enableval=$enable_capabilities;
 fi  fi
   
   # Check whether --enable-rusage was given.
   if test "${enable_rusage+set}" = set; then :
     enableval=$enable_rusage;
   fi
   
 # Check whether --enable-gcc_ultra_verbose was given.  # Check whether --enable-gcc_ultra_verbose was given.
 if test "${enable_gcc_ultra_verbose+set}" = set; then :  if test "${enable_gcc_ultra_verbose+set}" = set; then :
   enableval=$enable_gcc_ultra_verbose;    enableval=$enable_gcc_ultra_verbose;
Line 12471  if test "${enable_pcreposix+set}" = set; then : Line 12560  if test "${enable_pcreposix+set}" = set; then :
   enableval=$enable_pcreposix;    enableval=$enable_pcreposix;
 fi  fi
   
   # Check whether --enable-fpm was given.
   if test "${enable_fpm+set}" = set; then :
     enableval=$enable_fpm;
   fi
   
   
 if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then  if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
   CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"    CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
   CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"    CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
Line 12497  _ACEOF Line 12591  _ACEOF
   fi    fi
 fi  fi
   
   if test "${enable_fpm}" = "yes"; then
   
   $as_echo "#define HAVE_FPM /**/" >>confdefs.h
   
   fi
   
 if test "${enable_broken_aliases}" = "yes"; then  if test "${enable_broken_aliases}" = "yes"; then
   if test "${enable_netlink}" = "yes"    if test "${enable_netlink}" = "yes"
   then    then
Line 12561  if test "${enable_isisd}" = "yes" && test "${enable_is Line 12661  if test "${enable_isisd}" = "yes" && test "${enable_is
   
 $as_echo "#define TOPOLOGY_GENERATE /**/" >>confdefs.h  $as_echo "#define TOPOLOGY_GENERATE /**/" >>confdefs.h
   
  ISIS_TOPOLOGY_INCLUDES="-I./topology"  ISIS_TOPOLOGY_INCLUDES="-I\$(srcdir)/topology"
   ISIS_TOPOLOGY_DIR="topology"    ISIS_TOPOLOGY_DIR="topology"
   ISIS_TOPOLOGY_LIB="./topology/libtopology.a"    ISIS_TOPOLOGY_LIB="./topology/libtopology.a"
 fi  fi
Line 12639  esac Line 12739  esac
   
   
   
   if test "x${EXTRAVERSION}" != "x" ; then
     VERSION="${VERSION}${EXTRAVERSION}"
     PACKAGE_VERSION="${PACKAGE_VERSION}${EXTRAVERSION}"
     PACKAGE_STRING="${PACKAGE_STRING}${EXTRAVERSION}"
   fi
   
   if test "x$with_pkg_git_version" = "xyes"; then
           if test -d "${srcdir}/.git"; then
   
   $as_echo "#define GIT_VERSION 1" >>confdefs.h
   
           else    with_pkg_git_version="no"
                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pkg-git-version given, but this is not a git checkout" >&5
   $as_echo "$as_me: WARNING: --with-pkg-git-version given, but this is not a git checkout" >&2;}
           fi
   fi
    if test "x$with_pkg_git_version" = "xyes"; then
     GIT_VERSION_TRUE=
     GIT_VERSION_FALSE='#'
   else
     GIT_VERSION_TRUE='#'
     GIT_VERSION_FALSE=
   fi
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }  $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 if ${ac_cv_c_const+:} false; then :  if ${ac_cv_c_const+:} false; then :
Line 13199  do : Line 13324  do :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 13255  do : Line 13383  do :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 13319  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$ Line 13450  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 13384  do : Line 13518  do :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 14064  case "${enable_vtysh}" in Line 14201  case "${enable_vtysh}" in
   
 $as_echo "#define VTYSH /**/" >>confdefs.h  $as_echo "#define VTYSH /**/" >>confdefs.h
   
          # Extract the first word of "perl", so it can be a program name with args.  
 set dummy perl; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if ${ac_cv_path_PERL+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   case $PERL in  
   [\\/]* | ?:[\\/]*)  
   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.  
   ;;  
   *)  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
   ;;  
 esac  
 fi  
 PERL=$ac_cv_path_PERL  
 if test -n "$PERL"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5  
 $as_echo "$PERL" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltermcap" >&5           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltermcap" >&5
 $as_echo_n "checking for tputs in -ltermcap... " >&6; }  $as_echo_n "checking for tputs in -ltermcap... " >&6; }
 if ${ac_cv_lib_termcap_tputs+:} false; then :  if ${ac_cv_lib_termcap_tputs+:} false; then :
Line 14403  if test "$with_libpam" = "yes"; then Line 14500  if test "$with_libpam" = "yes"; then
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 14494  fi Line 14594  fi
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16196  fi Line 16299  fi
   
   
   
    if test "x$netlink" = "xyes"; then
     HAVE_NETLINK_TRUE=
     HAVE_NETLINK_FALSE='#'
   else
     HAVE_NETLINK_TRUE='#'
     HAVE_NETLINK_FALSE=
   fi
   
   
   
 $as_echo "#define ISIS_METHOD_PFPACKET 1" >>confdefs.h  $as_echo "#define ISIS_METHOD_PFPACKET 1" >>confdefs.h
   
   
Line 16398  ac_fn_c_check_member "$LINENO" "struct ip_mreqn" "imr_ Line 16509  ac_fn_c_check_member "$LINENO" "struct ip_mreqn" "imr_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16470  cat confdefs.h - <<_ACEOF >conftest.$ac_ext Line 16584  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 int  int
 main ()  main ()
 {  {
#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000)#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) || defined(__OpenBSD__) || defined(__APPLE__)
   return (0);    return (0);
 #else  #else
   #error No support for BSD struct ip_mreq hack detected    #error No support for BSD struct ip_mreq hack detected
Line 16547  ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_ Line 16661  ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16627  if test "x$ac_cv_header_net_if_h" = xyes; then : Line 16744  if test "x$ac_cv_header_net_if_h" = xyes; then :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16708  if test "x$ac_cv_header_net_if_media_h" = xyes; then : Line 16828  if test "x$ac_cv_header_net_if_media_h" = xyes; then :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16780  fi Line 16903  fi
   
   
   
   ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
   if test "x$ac_cv_header_net_if_h" = xyes; then :
     ac_fn_c_check_member "$LINENO" "struct if_data" "ifi_link_state" "ac_cv_member_struct_if_data_ifi_link_state" "#ifdef SUNOS_5
   #define _XPG4_2
   #define __EXTENSIONS__
   #endif
   #include <stdio.h>
   #if STDC_HEADERS
   # include <stdlib.h>
   # include <stddef.h>
   #else
   # if HAVE_STDLIB_H
   #  include <stdlib.h>
   # endif
   #endif
   #if HAVE_SYS_TYPES_H
   # include <sys/types.h>
   #endif
   /* sys/conf.h depends on param.h on FBSD at least */
   #if HAVE_SYS_PARAM_H
   # include <sys/param.h>
   #endif
   /* Required for MAXSIG */
   #if HAVE_SIGNAL_H
   # include <signal.h>
   #endif
   #if HAVE_SYS_SOCKET_H
   # include <sys/socket.h>
   #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
   #if HAVE_NETINET_IN_H
   # include <netinet/in.h>
   #endif
   #ifdef TIME_WITH_SYS_TIME
   # include <sys/time.h>
   # include <time.h>
   #else
   # ifdef HAVE_SYS_TIME_H
   #  include <sys/time.h>
   # else
   #  include <time.h>
   # endif
   #endif /* TIME_WITH_SYS_TIME */
   
   #if HAVE_NET_IF_H
   # include <net/if.h>
   #endif
   
   #if HAVE_NET_IF_VAR_H
   # include <net/if_var.h>
   #endif
   
   #if HAVE_SYS_UN_H
   # include <sys/un.h>
   #endif
   #if HAVE_NETINET_IN_SYSTM_H
   # include <netinet/in_systm.h>
   #endif
   #if HAVE_NETINET_IN_VAR_H
   # include <netinet/in_var.h>
   #endif
   #if HAVE_NET_IF_DL_H
   # include <net/if_dl.h>
   #endif
   #if HAVE_NET_NETOPT_H
   # include <net/netopt.h>
   #endif
   #if HAVE_NET_ROUTE_H
   # include <net/route.h>
   #endif
   #if HAVE_INET_ND_H
   # include <inet/nd.h>
   #endif
   #if HAVE_ARPA_INET_H
   # include <arpa/inet.h>
   #endif
   /* Required for IDRP */
   #if HAVE_NETINET_IP_ICMP_H
   # include <netinet/ip_icmp.h>
   #endif
   
   "
   if test "x$ac_cv_member_struct_if_data_ifi_link_state" = xyes; then :
   
   cat >>confdefs.h <<_ACEOF
   #define HAVE_STRUCT_IF_DATA_IFI_LINK_STATE 1
   _ACEOF
   
   
   $as_echo "#define HAVE_BSD_IFI_LINK_STATE /**/" >>confdefs.h
   
   fi
   
   fi
   
   
   
   
 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef SUNOS_5  ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
Line 16808  ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" Line 17030  ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h"
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16889  if test "x$ac_cv_header_netinet_tcp_h" = xyes; then : Line 17114  if test "x$ac_cv_header_netinet_tcp_h" = xyes; then :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 16987  if test "x$ac_cv_header_linux_tcp_h" = xyes; then : Line 17215  if test "x$ac_cv_header_linux_tcp_h" = xyes; then :
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 17342  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$ Line 17573  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 17412  else Line 17646  else
   DOC="doc"    DOC="doc"
 fi  fi
   
   if test "${enable_tests}" = "no";then
     BUILD_TESTS=""
   else
     BUILD_TESTS="tests"
   fi
   
 if test "${enable_zebra}" = "no";then  if test "${enable_zebra}" = "no";then
   ZEBRA=""    ZEBRA=""
 else  else
Line 17593  fi Line 17833  fi
   
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -lc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -lc" >&5
 $as_echo_n "checking for inet_ntop in -lc... " >&6; }  $as_echo_n "checking for inet_ntop in -lc... " >&6; }
 if ${ac_cv_lib_c_inet_ntop+:} false; then :  if ${ac_cv_lib_c_inet_ntop+:} false; then :
Line 17894  fi Line 18135  fi
   
   
   
if test "${enable_snmp}" = "yes"; thenif test "${enable_snmp}" != ""; then
    if test "$with_crypto" != "no"; then   if test -n "$ac_tool_prefix"; then
        LIBS="${LIBS} -lcrypto";  # Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args.
    fiset dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asn_parse_int in -lnetsnmp" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for asn_parse_int in -lnetsnmp... " >&6; }$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_lib_netsnmp_asn_parse_int+:} false; then :if ${ac_cv_path_NETSNMP_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
  ac_check_lib_save_LIBS=$LIBS  case $NETSNMP_CONFIG in
LIBS="-lnetsnmp  $LIBS"  [\\/]* | ?:[\\/]*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext  ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
   done
 IFS=$as_save_IFS
 
   ;;
 esac
 fi
 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
 if test -n "$NETSNMP_CONFIG"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NETSNMP_CONFIG" >&5
 $as_echo "$NETSNMP_CONFIG" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
 
 
 fi
 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
   ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
   # Extract the first word of "net-snmp-config", so it can be a program name with args.
 set dummy net-snmp-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
 if ${ac_cv_path_ac_pt_NETSNMP_CONFIG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $ac_pt_NETSNMP_CONFIG in
   [\\/]* | ?:[\\/]*)
   ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
   done
 IFS=$as_save_IFS
 
   ;;
 esac
 fi
 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
 if test -n "$ac_pt_NETSNMP_CONFIG"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_NETSNMP_CONFIG" >&5
 $as_echo "$ac_pt_NETSNMP_CONFIG" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
 
   if test "x$ac_pt_NETSNMP_CONFIG" = x; then
     NETSNMP_CONFIG="no"
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
     NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
   fi
 else
   NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
 fi
 
    if test x"$NETSNMP_CONFIG" = x"no"; then
       as_fn_error $? "--enable-snmp given but unable to find net-snmp-config" "$LINENO" 5
    fi
    LIBS="$LIBS `${NETSNMP_CONFIG} --agent-libs`"
    CFLAGS="`${NETSNMP_CONFIG} --base-cflags` $CFLAGS"
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link to Net-SNMP" >&5
 $as_echo_n "checking whether we can link to Net-SNMP... " >&6; }
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
/* Override any GCC internal prototype to avoid an error.int main(void);
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
char asn_parse_int (); 
 int  int
 main ()  main ()
 {  {
return asn_parse_int ();
 {
   return 0;
 }
 
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_netsnmp_asn_parse_int=yes  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 else  else
  ac_cv_lib_netsnmp_asn_parse_int=no
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
      as_fn_error $? "--enable-snmp given but not usable" "$LINENO" 5
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_asn_parse_int" >&5  
 $as_echo "$ac_cv_lib_netsnmp_asn_parse_int" >&6; }  
 if test "x$ac_cv_lib_netsnmp_asn_parse_int" = xyes; then :  
   
$as_echo "#define HAVE_NETSNMP /**/" >>confdefs.h$as_echo "#define HAVE_SNMP /**/" >>confdefs.h
   
      case "${enable_snmp}" in
        yes)
         SNMP_METHOD=agentx
         ;;
        smux|agentx)
         SNMP_METHOD="${enable_snmp}"
         ;;
        *)
         as_fn_error $? "--enable-snmp given with an unknown method (${enable_snmp}). Use smux or agentx" "$LINENO" 5
         ;;
      esac
   
 $as_echo "#define HAVE_SNMP /**/" >>confdefs.h  
   
          LIBS="${LIBS} -lnetsnmp"  
 else  
   as_fn_error $? "--enable-snmp given, but cannot find support for SNMP" "$LINENO" 5  
 fi  
   
   cat >>confdefs.h <<_ACEOF
   #define `$as_echo "SNMP_${SNMP_METHOD}" | $as_tr_cpp` /**/
   _ACEOF
   
    ac_fn_c_check_header_compile "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "#ifdef SUNOS_5fi
 
 ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_type_struct_sockaddr" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 17974  fi Line 18319  fi
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18042  fi Line 18390  fi
 #endif  #endif
   
 "  "
if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = xyes; then :if test "x$ac_cv_type_struct_sockaddr" = xyes; then :
   
elsecat >>confdefs.h <<_ACEOF
  as_fn_error $? "--enable-snmp given, but cannot find net-snmp-config.h" "$LINENO" 5#define HAVE_STRUCT_SOCKADDR 1
fi_ACEOF
   
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#ifdef SUNOS_5
ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_type_struct_sockaddr" "#ifdef SUNOS_5 
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18079  ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_ Line 18425  ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18147  ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_ Line 18496  ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_sockaddr" = xyes; then :if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR 1#define HAVE_STRUCT_SOCKADDR_IN 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18182  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_ Line 18531  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18250  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_ Line 18602  ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_IN 1#define HAVE_STRUCT_SOCKADDR_IN6 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_cv_type_struct_sockaddr_un" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18285  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac Line 18637  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18353  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac Line 18708  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :if test "x$ac_cv_type_struct_sockaddr_un" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_IN6 1#define HAVE_STRUCT_SOCKADDR_UN 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_cv_type_struct_sockaddr_un" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_cv_type_struct_sockaddr_dl" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18388  ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_ Line 18743  ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18456  ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_ Line 18814  ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_sockaddr_un" = xyes; then :if test "x$ac_cv_type_struct_sockaddr_dl" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_UN 1#define HAVE_STRUCT_SOCKADDR_DL 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_cv_type_struct_sockaddr_dl" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18491  ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_ Line 18849  ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18559  ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_ Line 18920  ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_sockaddr_dl" = xyes; then :if test "x$ac_cv_type_socklen_t" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_DL 1#define HAVE_SOCKLEN_T 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_cv_type_struct_ifaliasreq" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18594  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s Line 18955  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18662  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s Line 19026  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_socklen_t" = xyes; then :if test "x$ac_cv_type_struct_ifaliasreq" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_SOCKLEN_T 1#define HAVE_STRUCT_IFALIASREQ 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_cv_type_struct_ifaliasreq" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac_cv_type_struct_if6_aliasreq" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18697  ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_c Line 19061  ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_c
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18765  ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_c Line 19132  ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_c
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_ifaliasreq" = xyes; then :if test "x$ac_cv_type_struct_if6_aliasreq" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_IFALIASREQ 1#define HAVE_STRUCT_IF6_ALIASREQ 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac_cv_type_struct_if6_aliasreq" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac_cv_type_struct_in6_aliasreq" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18800  ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac Line 19167  ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18868  ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac Line 19238  ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_if6_aliasreq" = xyes; then :if test "x$ac_cv_type_struct_in6_aliasreq" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_IF6_ALIASREQ 1#define HAVE_STRUCT_IN6_ALIASREQ 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac_cv_type_struct_in6_aliasreq" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 18903  ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac Line 19273  ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 18971  ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac Line 19344  ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_in6_aliasreq" = xyes; then :if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_IN6_ALIASREQ 1#define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_cv_type_struct_rt_addrinfo" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19006  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv Line 19379  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19074  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv Line 19450  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :if test "x$ac_cv_type_struct_rt_addrinfo" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1#define HAVE_STRUCT_RT_ADDRINFO 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_cv_type_struct_rt_addrinfo" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_info" "ac_cv_type_struct_nd_opt_homeagent_info" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19109  ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_ Line 19485  ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19177  ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_ Line 19556  ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_rt_addrinfo" = xyes; then :if test "x$ac_cv_type_struct_nd_opt_homeagent_info" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_RT_ADDRINFO 1#define HAVE_STRUCT_ND_OPT_HOMEAGENT_INFO 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_info" "ac_cv_type_struct_nd_opt_homeagent_info" "#ifdef SUNOS_5ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19212  ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_ Line 19591  ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19280  ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_ Line 19662  ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_nd_opt_homeagent_info" = xyes; then :if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_ND_OPT_HOMEAGENT_INFO 1#define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
 
 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19315  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv Line 19699  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19383  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv Line 19770  ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
 #endif  #endif
   
 "  "
if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#ifdef SUNOS_5
 
ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#ifdef SUNOS_5 
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19420  ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_l Line 19805  ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_l
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19488  ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_l Line 19876  ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_l
 #endif  #endif
   
 "  "
if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_SA_LEN 1#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#ifdef SUNOS_5ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19523  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "s Line 19911  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "s
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19591  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "s Line 19982  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "s
 #endif  #endif
   
 "  "
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#ifdef SUNOS_5ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19626  ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "s Line 20017  ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "s
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19694  ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "s Line 20088  ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "s
 #endif  #endif
   
 "  "
if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
 _ACEOF  _ACEOF
   
   
 fi  fi
ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef SUNOS_5ac_fn_c_check_member "$LINENO" "struct sockaddr_dl" "sdl_len" "ac_cv_member_struct_sockaddr_dl_sdl_len" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
 #define __EXTENSIONS__  #define __EXTENSIONS__
 #endif  #endif
Line 19729  ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" " Line 20123  ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19797  ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" " Line 20194  ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "
 #endif  #endif
   
 "  "
if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :if test "x$ac_cv_member_struct_sockaddr_dl_sdl_len" = xyes; then :
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1#define HAVE_STRUCT_SOCKADDR_DL_SDL_LEN 1
 _ACEOF  _ACEOF
   
   
Line 19832  ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" " Line 20229  ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 19935  ac_fn_c_check_member "$LINENO" "struct nd_opt_adv_inte Line 20335  ac_fn_c_check_member "$LINENO" "struct nd_opt_adv_inte
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 20040  ac_fn_c_check_type "$LINENO" "struct in_pktinfo" "ac_c Line 20443  ac_fn_c_check_type "$LINENO" "struct in_pktinfo" "ac_c
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 20141  ac_fn_c_check_type "$LINENO" "struct icmphdr" "ac_cv_t Line 20547  ac_fn_c_check_type "$LINENO" "struct icmphdr" "ac_cv_t
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 20233  else Line 20642  else
 fi  fi
   
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getrusage is available" >&5if test "${enable_rusage}" != "no"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getrusage is available" >&5
 $as_echo_n "checking whether getrusage is available... " >&6; }  $as_echo_n "checking whether getrusage is available... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <sys/resource.h>  #include <sys/resource.h>
   
 int  int
 main ()  main ()
 {  {
Line 20258  else Line 20667  else
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   
 ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#ifdef SUNOS_5  ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#ifdef SUNOS_5
 #define _XPG4_2  #define _XPG4_2
Line 20286  ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_ Line 20696  ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 20542  $as_echo "#define HAVE_CAPABILITIES 1" >>confdefs.h Line 20955  $as_echo "#define HAVE_CAPABILITIES 1" >>confdefs.h
 fi  fi
   
   
   
     # starting point: no aliasing scheme yet...
     ax_sys_weak_alias=no
   
     # Figure out what kind of aliasing may be supported...
      # Test whether compiler accepts __attribute__ form of weak aliasing
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts function __attribute__((weak,alias()))" >&5
   $as_echo_n "checking whether $CC accepts function __attribute__((weak,alias()))... " >&6; }
   if ${ax_cv_sys_weak_alias_attribute+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
       # We add -Werror if it's gcc to force an error exit if the weak attribute
       # isn't understood
       if test $GCC = yes; then :
   
         save_CFLAGS=$CFLAGS
         CFLAGS=-Werror
   fi
   
       # Try linking with a weak alias...
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   
   void __weakf(int c) {}
   void weakf(int c) __attribute__((weak, alias("__weakf")));
   int
   main ()
   {
   weakf(0)
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_sys_weak_alias_attribute=yes
   else
     ax_cv_sys_weak_alias_attribute=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   
       # Restore original CFLAGS
       if test $GCC = yes; then :
   
         CFLAGS=$save_CFLAGS
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_attribute" >&5
   $as_echo "$ax_cv_sys_weak_alias_attribute" >&6; }
   
     # What was the result of the test?
     if test $ax_cv_sys_weak_alias_attribute = yes; then :
   
       test $ax_sys_weak_alias = no && ax_sys_weak_alias=attribute
   
   $as_echo "#define HAVE_SYS_WEAK_ALIAS_ATTRIBUTE 1" >>confdefs.h
   
   
   fi
   
      # Test whether compiler accepts #pragma form of weak aliasing
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma weak" >&5
   $as_echo_n "checking whether $CC supports #pragma weak... " >&6; }
   if ${ax_cv_sys_weak_alias_pragma+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
   
       # Try linking with a weak alias...
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   
   extern void weakf(int c);
   #pragma weak weakf = __weakf
   void __weakf(int c) {}
   int
   main ()
   {
   weakf(0)
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_sys_weak_alias_pragma=yes
   else
     ax_cv_sys_weak_alias_pragma=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_pragma" >&5
   $as_echo "$ax_cv_sys_weak_alias_pragma" >&6; }
   
     # What was the result of the test?
     if test $ax_cv_sys_weak_alias_pragma = yes; then :
   
       test $ax_sys_weak_alias = no && ax_sys_weak_alias=pragma
   
   $as_echo "#define HAVE_SYS_WEAK_ALIAS_PRAGMA 1" >>confdefs.h
   
   
   fi
   
      # Test whether compiler accepts _HP_SECONDARY_DEF pragma from HP...
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma _HP_SECONDARY_DEF" >&5
   $as_echo_n "checking whether $CC supports #pragma _HP_SECONDARY_DEF... " >&6; }
   if ${ax_cv_sys_weak_alias_hpsecondary+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
   
       # Try linking with a weak alias...
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   
   extern void weakf(int c);
   #pragma _HP_SECONDARY_DEF __weakf weakf
   void __weakf(int c) {}
   int
   main ()
   {
   weakf(0)
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_sys_weak_alias_hpsecondary=yes
   else
     ax_cv_sys_weak_alias_hpsecondary=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_hpsecondary" >&5
   $as_echo "$ax_cv_sys_weak_alias_hpsecondary" >&6; }
   
     # What was the result of the test?
     if test $ax_cv_sys_weak_alias_hpsecondary = yes; then :
   
       test $ax_sys_weak_alias = no && ax_sys_weak_alias=hpsecondary
   
   $as_echo "#define HAVE_SYS_WEAK_ALIAS_HPSECONDARY 1" >>confdefs.h
   
   
   fi
   
      # Test whether compiler accepts "_CRI duplicate" pragma from Cray
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma _CRI duplicate" >&5
   $as_echo_n "checking whether $CC supports #pragma _CRI duplicate... " >&6; }
   if ${ax_cv_sys_weak_alias_criduplicate+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
   
       # Try linking with a weak alias...
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   
   extern void weakf(int c);
   #pragma _CRI duplicate weakf as __weakf
   void __weakf(int c) {}
   int
   main ()
   {
   weakf(0)
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_sys_weak_alias_criduplicate=yes
   else
     ax_cv_sys_weak_alias_criduplicate=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_criduplicate" >&5
   $as_echo "$ax_cv_sys_weak_alias_criduplicate" >&6; }
   
     # What was the result of the test?
     if test $ax_cv_sys_weak_alias_criduplicate = yes; then :
   
       test $ax_sys_weak_alias = no && ax_sys_weak_alias=criduplicate
   
   $as_echo "#define HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE 1" >>confdefs.h
   
   
   fi
   
   
     # Do we actually support aliasing?
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create weak aliases with $CC" >&5
   $as_echo_n "checking how to create weak aliases with $CC... " >&6; }
   if ${ax_cv_sys_weak_alias+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ax_cv_sys_weak_alias=$ax_sys_weak_alias
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias" >&5
   $as_echo "$ax_cv_sys_weak_alias" >&6; }
   
     # OK, set a #define
     if test $ax_cv_sys_weak_alias != no; then :
   
   
   $as_echo "#define HAVE_SYS_WEAK_ALIAS 1" >>confdefs.h
   
   
   fi
   
     # Can aliases cross object file boundaries?
      # Check to see if weak aliases can cross object file boundaries
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports weak aliases across object file boundaries" >&5
   $as_echo_n "checking whether $CC supports weak aliases across object file boundaries... " >&6; }
   if ${ax_cv_sys_weak_alias_crossfile+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   
       if test $ax_cv_sys_weak_alias = no; then :
     ax_cv_sys_weak_alias_crossfile=no
   else
   
         # conftest1 contains our weak alias definition...
         cat >conftest1.$ac_ext <<_ACEOF
   /* confdefs.h.  */
   _ACEOF
         cat confdefs.h >>conftest1.$ac_ext
         cat >>conftest1.$ac_ext <<_ACEOF
   /* end confdefs.h.  */
   
   #ifndef HAVE_SYS_WEAK_ALIAS_ATTRIBUTE
   extern void weakf(int c);
   #if defined(HAVE_SYS_WEAK_ALIAS_PRAGMA)
   #pragma weak weakf = __weakf
   #elif defined(HAVE_SYS_WEAK_ALIAS_HPSECONDARY)
   #pragma _HP_SECONDARY_DEF __weakf weakf
   #elif defined(HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE)
   #pragma _CRI duplicate weakf as __weakf
   #endif
   #endif
   void __weakf(int c) {}
   #ifdef HAVE_SYS_WEAK_ALIAS_ATTRIBUTE
   void weakf(int c) __attribute((weak, alias("__weakf")));
   #endif
   _ACEOF
         # And conftest2 contains our main routine that calls it
         cat >conftest2.$ac_ext <<_ACEOF
   /* confdefs.h.  */
   _ACEOF
         cat confdefs.h >> conftest2.$ac_ext
         cat >>conftest2.$ac_ext <<_ACEOF
   /* end confdefs.h.  */
   
   extern void weakf(int c);
   int
   main ()
   {
     weakf(0);
     return 0;
   }
   _ACEOF
         # We must remove the object files (if any) ourselves...
         rm -f conftest2.$ac_objext conftest$ac_exeext
   
         # Change ac_link to compile *2* files together
         save_aclink=$ac_link
         ac_link=`echo "$ac_link" | \
                  sed -e 's/conftest\(\.\$ac_ext\)/conftest1\1 conftest2\1/'`
         # Since we created the files ourselves, don't use SOURCE argument
         if ac_fn_c_try_link "$LINENO"; then :
     ax_cv_sys_weak_alias_crossfile=yes
   else
     ax_cv_sys_weak_alias_crossfile=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext
         # Restore ac_link
         ac_link=$save_aclink
   
         # We must remove the object files (if any) and C files ourselves...
         rm -f conftest1.$ac_ext conftest2.$ac_ext \
               conftest1.$ac_objext conftest2.$ac_objext
   
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_crossfile" >&5
   $as_echo "$ax_cv_sys_weak_alias_crossfile" >&6; }
   
     # What were the results of the test?
     if test $ax_cv_sys_weak_alias_crossfile = yes; then :
   
   
   $as_echo "#define HAVE_SYS_WEAK_ALIAS_CROSSFILE 1" >>confdefs.h
   
   
   fi
   
   
     # OK, remember the results
     WEAK_ALIAS=$ax_cv_sys_weak_alias
   
     WEAK_ALIAS_CROSSFILE=$ax_cv_sys_weak_alias_crossfile
   
   
   
 ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"  ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
 if test "x$ac_cv_header_execinfo_h" = xyes; then :  if test "x$ac_cv_header_execinfo_h" = xyes; then :
   ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"    ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
Line 20587  ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_ Line 21318  ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 20890  else Line 21624  else
 #if HAVE_SYS_SOCKET_H  #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>  # include <sys/socket.h>
 #endif  #endif
   #ifdef __APPLE__
   # define __APPLE_USE_RFC_3542
   #endif
 #if HAVE_NETINET_IN_H  #if HAVE_NETINET_IN_H
 # include <netinet/in.h>  # include <netinet/in.h>
 #endif  #endif
Line 21097  LIBOBJS=$ac_libobjs Line 21834  LIBOBJS=$ac_libobjs
 LTLIBOBJS=$ac_ltlibobjs  LTLIBOBJS=$ac_ltlibobjs
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   $as_echo_n "checking that generated files are newer than configure... " >&6; }
      if test -n "$am_sleep_pid"; then
        # Hide warnings about reused PIDs.
        wait $am_sleep_pid 2>/dev/null
      fi
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   $as_echo "done" >&6; }
  if test -n "$EXEEXT"; then   if test -n "$EXEEXT"; then
   am__EXEEXT_TRUE=    am__EXEEXT_TRUE=
   am__EXEEXT_FALSE='#'    am__EXEEXT_FALSE='#'
Line 21117  if test -z "${HAVE_LATEX_TRUE}" && test -z "${HAVE_LAT Line 21862  if test -z "${HAVE_LATEX_TRUE}" && test -z "${HAVE_LAT
   as_fn_error $? "conditional \"HAVE_LATEX\" was never defined.    as_fn_error $? "conditional \"HAVE_LATEX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
   if test -z "${GIT_VERSION_TRUE}" && test -z "${GIT_VERSION_FALSE}"; then
     as_fn_error $? "conditional \"GIT_VERSION\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
 if test -z "${VTYSH_TRUE}" && test -z "${VTYSH_FALSE}"; then  if test -z "${VTYSH_TRUE}" && test -z "${VTYSH_FALSE}"; then
   as_fn_error $? "conditional \"VTYSH\" was never defined.    as_fn_error $? "conditional \"VTYSH\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
   
   if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then
     as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
 if test -z "${ZEBRA_TRUE}" && test -z "${ZEBRA_FALSE}"; then  if test -z "${ZEBRA_TRUE}" && test -z "${ZEBRA_FALSE}"; then
   as_fn_error $? "conditional \"ZEBRA\" was never defined.    as_fn_error $? "conditional \"ZEBRA\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
Line 21559  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 22312  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
This file was extended by Quagga $as_me 0.99.21, which wasThis file was extended by Quagga $as_me 0.99.22, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 21625  _ACEOF Line 22378  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
Quagga config.status 0.99.21Quagga config.status 0.99.22
 configured by $0, generated by GNU Autoconf 2.69,  configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 22673  $as_echo "$as_me: executing $ac_file commands" >&6;} Line 23426  $as_echo "$as_me: executing $ac_file commands" >&6;}
     # Strip MF so we end up with the name of the file.      # Strip MF so we end up with the name of the file.
     mf=`echo "$mf" | sed -e 's/:.*$//'`      mf=`echo "$mf" | sed -e 's/:.*$//'`
     # Check whether this is an Automake generated Makefile or not.      # Check whether this is an Automake generated Makefile or not.
    # We used to match only the files named `Makefile.in', but    # We used to match only the files named 'Makefile.in', but
     # some people rename them; so instead we look at the file content.      # some people rename them; so instead we look at the file content.
     # Grep'ing the first line is not enough: some people post-process      # Grep'ing the first line is not enough: some people post-process
     # each Makefile.in and add a new line on top of each file to say so.      # each Makefile.in and add a new line on top of each file to say so.
Line 22707  $as_echo X"$mf" | Line 23460  $as_echo X"$mf" |
       continue        continue
     fi      fi
     # Extract the definition of DEPDIR, am__include, and am__quote      # Extract the definition of DEPDIR, am__include, and am__quote
    # from the Makefile without running `make'.    # from the Makefile without running 'make'.
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     test -z "$DEPDIR" && continue      test -z "$DEPDIR" && continue
     am__include=`sed -n 's/^am__include = //p' < "$mf"`      am__include=`sed -n 's/^am__include = //p' < "$mf"`
     test -z "am__include" && continue      test -z "am__include" && continue
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
     # When using ansi2knr, U may be empty or an underscore; expand it  
     U=`sed -n 's/^U = //p' < "$mf"`  
     # Find all dependency output files, they are included files with      # Find all dependency output files, they are included files with
     # $(DEPDIR) in their names.  We invoke sed twice because it is the      # $(DEPDIR) in their names.  We invoke sed twice because it is the
     # simplest approach to changing $(DEPDIR) to its actual value in the      # simplest approach to changing $(DEPDIR) to its actual value in the
     # expansion.      # expansion.
     for file in `sed -n "      for file in `sed -n "
       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
       # Make sure the directory exists.        # Make sure the directory exists.
       test -f "$dirpart/$file" && continue        test -f "$dirpart/$file" && continue
       fdir=`$as_dirname -- "$file" ||        fdir=`$as_dirname -- "$file" ||
Line 23428  echo " Line 24179  echo "
 Quagga configuration  Quagga configuration
 --------------------  --------------------
 quagga version          : ${PACKAGE_VERSION}  quagga version          : ${PACKAGE_VERSION}
host operating system  : ${host_os}host operating system   : ${host_os}
 source code location    : ${srcdir}  source code location    : ${srcdir}
 compiler                : ${CC}  compiler                : ${CC}
 compiler flags          : ${CFLAGS}  compiler flags          : ${CFLAGS}
 make                    : ${MAKE-make}  make                    : ${MAKE-make}
includes                : ${INCLUDES} ${SNMP_INCLUDES}includes                : ${INCLUDES}
 linker flags            : ${LDFLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM}  linker flags            : ${LDFLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM}
 state file directory    : ${quagga_statedir}  state file directory    : ${quagga_statedir}
 config file directory   : `eval echo \`echo ${sysconfdir}\``  config file directory   : `eval echo \`echo ${sysconfdir}\``

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>