head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.46
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.44
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.42
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.40
	pgoyette-compat-base:1.2
	perseant-stdc-iso10646:1.2.0.38
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.36
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.34
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.32
	pgoyette-localcount-base:1.2
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	tls-earlyentropy:1.2.0.28
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	agc-symver:1.2.0.30
	agc-symver-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.26
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	yamt-pagecache-base6:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.24
	yamt-pagecache-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.22
	bouyer-quota2-base:1.2
	matt-nb5-pq3:1.2.0.20
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.18
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.2.0.16
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.14
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.12
	netbsd-5-base:1.2
	mjf-devfs2:1.2.0.10
	mjf-devfs2-base:1.2
	yamt-pf42-base4:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-base2:1.2
	yamt-pf42:1.2.0.8
	yamt-pf42-base:1.2
	keiichi-mipv6:1.2.0.6
	keiichi-mipv6-base:1.2
	cube-autoconf:1.2.0.4
	cube-autoconf-base:1.2
	hpcarm-cleanup:1.2.0.2
	hpcarm-cleanup-base:1.2
	netbsd-2-0-3-RELEASE:1.1.1.8.2.1
	netbsd-2-1:1.1.1.8.2.1.0.4
	netbsd-2-1-RELEASE:1.1.1.8.2.1
	netbsd-2-1-RC6:1.1.1.8.2.1
	netbsd-2-1-RC5:1.1.1.8.2.1
	netbsd-2-1-RC4:1.1.1.8.2.1
	netbsd-2-1-RC3:1.1.1.8.2.1
	netbsd-2-1-RC2:1.1.1.8.2.1
	netbsd-2-1-RC1:1.1.1.8.2.1
	netbsd-2-0-2-RELEASE:1.1.1.8.2.1
	netbsd-2-0-1-RELEASE:1.1.1.8.2.1
	netbsd-2:1.1.1.8.2.1.0.2
	netbsd-2-base:1.1.1.8.2.1
	netbsd-2-0-RELEASE:1.1.1.8.2.1
	netbsd-2-0-RC5:1.1.1.8.2.1
	netbsd-2-0-RC4:1.1.1.8.2.1
	netbsd-2-0-RC3:1.1.1.8.2.1
	netbsd-2-0-RC2:1.1.1.8.2.1
	netbsd-2-0-RC1:1.1.1.8.2.1
	notsnap20040617:1.1.1.10
	notsnap20040412:1.1.1.9
	netbsd-2-0:1.1.1.8.0.2
	netbsd-2-0-base:1.1.1.8
	netbsd-1-6-PATCH002-RELEASE:1.1.1.5
	netbsd-1-6-PATCH002:1.1.1.5
	netbsd-1-6-PATCH002-RC4:1.1.1.5
	netbsd-1-6-PATCH002-RC3:1.1.1.5
	netbsd-1-6-PATCH002-RC2:1.1.1.5
	netbsd-1-6-PATCH002-RC1:1.1.1.5
	notsnap20030826:1.1.1.8
	notsnap20030712:1.1.1.7
	netbsd-1-6-PATCH001:1.1.1.5
	netbsd-1-6-PATCH001-RELEASE:1.1.1.5
	netbsd-1-6-PATCH001-RC3:1.1.1.5
	netbsd-1-6-PATCH001-RC2:1.1.1.5
	netbsd-1-6-PATCH001-RC1:1.1.1.5
	fvdl_fs64_base:1.1.1.6
	notsnap20021120:1.1.1.6
	netbsd-1-6-RELEASE:1.1.1.5
	netbsd-1-6-RC3:1.1.1.5
	netbsd-1-6-RC2:1.1.1.5
	netbsd-1-6-RC1:1.1.1.5
	netbsd-1-6:1.1.1.5.0.2
	netbsd-1-6-base:1.1.1.5
	notsnap20020426:1.1.1.5
	notsnap20010831:1.1.1.4
	notsnap20010802:1.1.1.3
	notsnap20010404:1.1.1.2
	notsnap20010308:1.1.1.1
	notsnap20010222:1.1.1.1
	notsnap20010129:1.1.1.1
	notsnap20010126:1.1.1.1
	notsnap20010124:1.1.1.1
	snap20001229:1.1.1.1
	KAME:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.02.20.15.50.02;	author manu;	state dead;
branches;
next	1.1;

1.1
date	2000.12.29.02.25.24;	author itojun;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.12.29.02.25.24;	author itojun;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.04.04.19.33.02;	author thorpej;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2001.08.02.12.06.23;	author itojun;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2001.08.31.09.59.52;	author itojun;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2002.04.26.02.17.44;	author itojun;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2002.11.20.03.30.23;	author itojun;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2003.07.12.08.46.05;	author itojun;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2003.08.26.03.27.09;	author itojun;	state Exp;
branches
	1.1.1.8.2.1;
next	1.1.1.9;

1.1.1.9
date	2004.04.12.03.26.58;	author itojun;	state Exp;
branches;
next	1.1.1.10;

1.1.1.10
date	2004.06.17.03.38.45;	author itojun;	state Exp;
branches;
next	;

1.1.1.8.2.1
date	2004.06.17.12.38.09;	author tron;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove KAME racoon distribution, which is not used anymore
@
text
@#! /bin/sh

# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
  --enable-debug          build a debug version"
ac_help="$ac_help
  --enable-yydebug        build a yydebug version"
ac_help="$ac_help
  --enable-pedant         pedantic compiler options"
ac_help="$ac_help
  --enable-adminport      enable admin port (INSECURE!)"
ac_help="$ac_help
  --enable-rc5            enable RC5 encryption (patented)"
ac_help="$ac_help
  --enable-idea           enable IDEA encryption (patented)"
ac_help="$ac_help
  --enable-gssapi            enable GSS-API authentication"
ac_help="$ac_help
  --with-efence=DIR       specify ElectricFence directory"
ac_help="$ac_help
  --with-gc=DIR           specify Bohem GC directory (experimental)"
ac_help="$ac_help
  --with-ssleay=DIR       specify SSLeay directory"
ac_help="$ac_help
  --with-libpfkey=DIR     specify libpfkey"
ac_help="$ac_help
  --enable-ipv6           Enable ipv6 (with ipv4) support
  --disable-ipv6          Disable ipv6 support"

# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
build=NONE
cache_file=./config.cache
exec_prefix=NONE
host=NONE
no_create=
nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'

# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12

ac_prev=
for ac_option
do

  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case "$ac_option" in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir="$ac_optarg" ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build="$ac_optarg" ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file="$ac_optarg" ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir="$ac_optarg" ;;

  -disable-* | --disable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;

  -enable-* | --enable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_${ac_feature}='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix="$ac_optarg" ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he)
    # 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.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;

  -host | --host | --hos | --ho)
    ac_prev=host ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host="$ac_optarg" ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir="$ac_optarg" ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir="$ac_optarg" ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir="$ac_optarg" ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir="$ac_optarg" ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir="$ac_optarg" ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir="$ac_optarg" ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir="$ac_optarg" ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix="$ac_optarg" ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix="$ac_optarg" ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix="$ac_optarg" ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name="$ac_optarg" ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir="$ac_optarg" ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir="$ac_optarg" ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site="$ac_optarg" ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir="$ac_optarg" ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir="$ac_optarg" ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target="$ac_optarg" ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;

  -with-* | --with-*)
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "with_${ac_package}='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes="$ac_optarg" ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries="$ac_optarg" ;;

  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    ;;

  *)
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
    ;;

  esac
done

if test -n "$ac_prev"; then
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
fi
exec 5>./config.log

echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5

# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
do
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  esac
done

# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h

# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=admin.c

# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_prog=$0
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  else
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  fi
fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`

# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    echo "loading site script $ac_site_file"
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
else
  echo "creating cache $cache_file"
  > $cache_file
fi

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

ac_exeext=
ac_objext=o
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu.
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    ac_n= ac_c='
' ac_t='	'
  else
    ac_n=-n ac_c= ac_t=
  fi
else
  ac_n= ac_c='\c' ac_t=
fi



# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:554: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="gcc"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:584: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_prog_rejected=no
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
      break
    fi
  done
  IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# -gt 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" "$@@"
    shift
    ac_cv_prog_CC="$@@"
  fi
fi
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:635: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="cl"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
 ;;
    esac
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi

echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:667: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

cat > conftest.$ac_ext << EOF

#line 678 "configure"
#include "confdefs.h"

main(){return(0);}
EOF
if { (eval echo configure:683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
  else
    ac_cv_prog_cc_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:714: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
else
  ac_cv_prog_gcc=no
fi
fi

echo "$ac_t""$ac_cv_prog_gcc" 1>&6

if test $ac_cv_prog_gcc = yes; then
  GCC=yes
else
  GCC=
fi

ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:742: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  ac_cv_prog_cc_g=yes
else
  ac_cv_prog_cc_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi

echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:774: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 789 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 806 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 823 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP=/lib/cpp
fi
rm -f conftest*
fi
rm -f conftest*
fi
rm -f conftest*
  ac_cv_prog_CPP="$CPP"
fi
  CPP="$ac_cv_prog_CPP"
else
  ac_cv_prog_CPP="$CPP"
fi
echo "$ac_t""$CPP" 1>&6

# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:856: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$LEX"; then
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_LEX="flex"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
fi
fi
LEX="$ac_cv_prog_LEX"
if test -n "$LEX"; then
  echo "$ac_t""$LEX" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

if test -z "$LEXLIB"
then
  case "$LEX" in
  flex*) ac_lib=fl ;;
  *) ac_lib=l ;;
  esac
  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
echo "configure:890: checking for yywrap in -l$ac_lib" >&5
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-l$ac_lib  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 898 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yywrap();

int main() {
yywrap()
; return 0; }
EOF
if { (eval echo configure:909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  LEXLIB="-l$ac_lib"
else
  echo "$ac_t""no" 1>&6
fi

fi

ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
ac_config_sub=$ac_aux_dir/config.sub
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.

# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:962: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
  for ac_dir in $PATH; do
    # Account for people who put trailing slashes in PATH elements.
    case "$ac_dir/" in
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    *)
      # OSF1 and SCO ODT 3.0 have their own names for install.
      # Don't use installbsd from OSF since it installs stuff as root
      # by default.
      for ac_prog in ginstall scoinst install; do
        if test -f $ac_dir/$ac_prog; then
	  if test $ac_prog = install &&
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  else
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
	    break 2
	  fi
	fi
      done
      ;;
    esac
  done
  IFS="$ac_save_IFS"

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL="$ac_cv_path_install"
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL="$ac_install_sh"
  fi
fi
echo "$ac_t""$INSTALL" 1>&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:1015: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftestmake <<\EOF
all:
	@@echo 'ac_maketemp="${MAKE}"'
EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes
else
  eval ac_cv_prog_make_${ac_make}_set=no
fi
rm -f conftestmake
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  SET_MAKE=
else
  echo "$ac_t""no" 1>&6
  SET_MAKE="MAKE=${MAKE-make}"
fi



# Make sure we can run config.sub.
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi

echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:1049: checking host system type" >&5

host_alias=$host
case "$host_alias" in
NONE)
  case $nonopt in
  NONE)
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
    fi ;;
  *) host_alias=$nonopt ;;
  esac ;;
esac

host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6



OPTFLAG="-O -DYIPS_DEBUG"
echo $ac_n "checking if --enable-debug option is specified""... $ac_c" 1>&6
echo "configure:1073: checking if --enable-debug option is specified" >&5
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
  enableval="$enable_debug"
  OPTFLAG="-g $OPTFLAG"; enable_debug=yes
else
  enable_debug=no
fi

echo "$ac_t""$enable_debug" 1>&6

echo $ac_n "checking if --enable-yydebug option is specified""... $ac_c" 1>&6
echo "configure:1085: checking if --enable-yydebug option is specified" >&5
# Check whether --enable-yydebug or --disable-yydebug was given.
if test "${enable_yydebug+set}" = set; then
  enableval="$enable_yydebug"
  cat >> confdefs.h <<\EOF
#define YYDEBUG 1
EOF

	enable_yydebug=yes
else
  enable_yydebug=no
fi

echo "$ac_t""$enable_yydebug" 1>&6

OPTFLAG="-Wall -Wmissing-prototypes -Wmissing-declarations $OPTFLAG"
echo $ac_n "checking if --enable-pedant option is specified""... $ac_c" 1>&6
echo "configure:1102: checking if --enable-pedant option is specified" >&5
# Check whether --enable-pedant or --disable-pedant was given.
if test "${enable_pedant+set}" = set; then
  enableval="$enable_pedant"
  OPTFLAG="-Werror $OPTFLAG"; enable_pedant=yes
else
  enable_pedant=no
fi

echo "$ac_t""$enable_pedant" 1>&6

echo $ac_n "checking if --enable-adminport option is specified""... $ac_c" 1>&6
echo "configure:1114: checking if --enable-adminport option is specified" >&5
# Check whether --enable-adminport or --disable-adminport was given.
if test "${enable_adminport+set}" = set; then
  enableval="$enable_adminport"
  :
else
  enable_adminport=no
fi

if test $enable_adminport = "yes"; then
	cat >> confdefs.h <<\EOF
#define ENABLE_ADMINPORT 1
EOF

fi
echo "$ac_t""$enable_adminport" 1>&6

echo $ac_n "checking if --enable-rc5 option is specified""... $ac_c" 1>&6
echo "configure:1132: checking if --enable-rc5 option is specified" >&5
# Check whether --enable-rc5 or --disable-rc5 was given.
if test "${enable_rc5+set}" = set; then
  enableval="$enable_rc5"
  :
else
  enable_rc5=no
fi

echo "$ac_t""$enable_rc5" 1>&6

echo $ac_n "checking if --enable-idea option is specified""... $ac_c" 1>&6
echo "configure:1144: checking if --enable-idea option is specified" >&5
# Check whether --enable-idea or --disable-idea was given.
if test "${enable_idea+set}" = set; then
  enableval="$enable_idea"
  :
else
  enable_idea=no
fi

echo "$ac_t""$enable_idea" 1>&6

echo $ac_n "checking if --enable-gssapi option is specified""... $ac_c" 1>&6
echo "configure:1156: checking if --enable-gssapi option is specified" >&5
# Check whether --enable-rc5 or --disable-rc5 was given.
if test "${enable_rc5+set}" = set; then
  enableval="$enable_rc5"
  :
else
  enable_gssapi=no
fi

if test $enable_gssapi = "yes"; then
	cat >> confdefs.h <<\EOF
#define HAVE_GSSAPI 1
EOF

fi
echo "$ac_t""$enable_gssapi" 1>&6


efence_dir=
echo $ac_n "checking if --with-efence option is specified""... $ac_c" 1>&6
echo "configure:1176: checking if --with-efence option is specified" >&5
# Check whether --with-efence or --without-efence was given.
if test "${with_efence+set}" = set; then
  withval="$with_efence"
  efence_dir=$withval
else
  efence_dir=no
fi

echo "$ac_t""${efence_dir}" 1>&6
if test "$efence_dir" != "no"; then
	if test "x$efence_dir" = "x"; then
		
echo $ac_n "checking for efence containing EF_Print""... $ac_c" 1>&6
echo "configure:1190: checking for efence containing EF_Print" >&5
if eval "test \"`echo '$''{'ac_cv_search_EF_Print'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_EF_Print="no"
cat > conftest.$ac_ext <<EOF
#line 1197 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char EF_Print();

int main() {
EF_Print()
; return 0; }
EOF
if { (eval echo configure:1208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_EF_Print="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lefence $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 1217 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char EF_Print();

int main() {
EF_Print()
; return 0; }
EOF
if { (eval echo configure:1228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_EF_Print="-lefence"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_EF_Print" = "no" && for i in ; do
LIBS="-L$i -lefence $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1242 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char EF_Print();

int main() {
EF_Print()
; return 0; }
EOF
if { (eval echo configure:1253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_EF_Print="-L$i -lefence"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_EF_Print" 1>&6
if test "$ac_cv_search_EF_Print" != "no"; then
  test "$ac_cv_search_EF_Print" = "none required" || LIBS="$ac_cv_search_EF_Print $LIBS"
  
else :
  
fi
	else
		
echo $ac_n "checking for efence containing EF_Print""... $ac_c" 1>&6
echo "configure:1276: checking for efence containing EF_Print" >&5
if eval "test \"`echo '$''{'ac_cv_search_EF_Print'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_EF_Print="no"
cat > conftest.$ac_ext <<EOF
#line 1283 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char EF_Print();

int main() {
EF_Print()
; return 0; }
EOF
if { (eval echo configure:1294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_EF_Print="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lefence $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 1303 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char EF_Print();

int main() {
EF_Print()
; return 0; }
EOF
if { (eval echo configure:1314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_EF_Print="-lefence"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_EF_Print" = "no" && for i in $efence_dir; do
LIBS="-L$i -lefence $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1328 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char EF_Print();

int main() {
EF_Print()
; return 0; }
EOF
if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_EF_Print="-L$i -lefence"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_EF_Print" 1>&6
if test "$ac_cv_search_EF_Print" != "no"; then
  test "$ac_cv_search_EF_Print" = "none required" || LIBS="$ac_cv_search_EF_Print $LIBS"
  
else :
  
fi
	fi
fi

gc_dir=
echo $ac_n "checking if --with-gc option is specified""... $ac_c" 1>&6
echo "configure:1364: checking if --with-gc option is specified" >&5
# Check whether --with-gc or --without-gc was given.
if test "${with_gc+set}" = set; then
  withval="$with_gc"
  gc_dir=$withval
else
  gc_dir=no
fi

echo "$ac_t""${gc_dir}" 1>&6
if test "$gc_dir" != "no"; then
	cat >> confdefs.h <<\EOF
#define GC 1
EOF

	if test "x$gc_dir" = "x"; then
		
echo $ac_n "checking for gc containing GC_malloc""... $ac_c" 1>&6
echo "configure:1382: checking for gc containing GC_malloc" >&5
if eval "test \"`echo '$''{'ac_cv_search_GC_malloc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_GC_malloc="no"
cat > conftest.$ac_ext <<EOF
#line 1389 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char GC_malloc();

int main() {
GC_malloc()
; return 0; }
EOF
if { (eval echo configure:1400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_GC_malloc="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lgc $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 1409 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char GC_malloc();

int main() {
GC_malloc()
; return 0; }
EOF
if { (eval echo configure:1420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_GC_malloc="-lgc"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_GC_malloc" = "no" && for i in ; do
LIBS="-L$i -lgc $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1434 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char GC_malloc();

int main() {
GC_malloc()
; return 0; }
EOF
if { (eval echo configure:1445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_GC_malloc="-L$i -lgc"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_GC_malloc" 1>&6
if test "$ac_cv_search_GC_malloc" != "no"; then
  test "$ac_cv_search_GC_malloc" = "none required" || LIBS="$ac_cv_search_GC_malloc $LIBS"
  
else :
  
fi
	else
		
echo $ac_n "checking for gc containing GC_malloc""... $ac_c" 1>&6
echo "configure:1468: checking for gc containing GC_malloc" >&5
if eval "test \"`echo '$''{'ac_cv_search_GC_malloc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_GC_malloc="no"
cat > conftest.$ac_ext <<EOF
#line 1475 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char GC_malloc();

int main() {
GC_malloc()
; return 0; }
EOF
if { (eval echo configure:1486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_GC_malloc="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lgc $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 1495 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char GC_malloc();

int main() {
GC_malloc()
; return 0; }
EOF
if { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_GC_malloc="-lgc"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_GC_malloc" = "no" && for i in $gc_dir; do
LIBS="-L$i -lgc $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1520 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char GC_malloc();

int main() {
GC_malloc()
; return 0; }
EOF
if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_GC_malloc="-L$i -lgc"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_GC_malloc" 1>&6
if test "$ac_cv_search_GC_malloc" != "no"; then
  test "$ac_cv_search_GC_malloc" = "none required" || LIBS="$ac_cv_search_GC_malloc $LIBS"
  
else :
  
fi
	fi
fi

echo $ac_n "checking if you have KAME tcpdump in $srcdir/../tcpdump""... $ac_c" 1>&6
echo "configure:1555: checking if you have KAME tcpdump in $srcdir/../tcpdump" >&5
if test -f "$srcdir/../tcpdump/print-isakmp.c"; then
	LIBOBJS="$LIBOBJS print-isakmp.o"
	cat >> confdefs.h <<\EOF
#define HAVE_PRINT_ISAKMP_C 1
EOF

	echo "$ac_t""yes" 1>&6
else
	echo "$ac_t""no" 1>&6
fi

echo $ac_n "checking if __FUNCTION__ is available""... $ac_c" 1>&6
echo "configure:1568: checking if __FUNCTION__ is available" >&5
cat > conftest.$ac_ext <<EOF
#line 1570 "configure"
#include "confdefs.h"
#include <stdio.h>

int main() {
char *x = __FUNCTION__;
; return 0; }
EOF
if { (eval echo configure:1578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  cat >> confdefs.h <<\EOF
#define HAVE_FUNCTION_MACRO 1
EOF

	echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
fi
rm -f conftest*

echo $ac_n "checking if --with-ssleay option is specified""... $ac_c" 1>&6
echo "configure:1594: checking if --with-ssleay option is specified" >&5
# Check whether --with-ssleay or --without-ssleay was given.
if test "${with_ssleay+set}" = set; then
  withval="$with_ssleay"
  crypto_dir=$withval
fi

echo "$ac_t""${crypto_dir-"default"}" 1>&6


if test "x$crypto_dir" = "x"; then
	case $host_os in
	netbsd*)	crypto_dir="/usr/pkg";;
	freebsd*)
		if test -d /usr/local/ssl; then
			crypto_dir="/usr/local/ssl"
		else
			crypto_dir="/usr/local"
		fi
		;;
	esac
fi
if test "x$krb5_incdir" = "x"; then
	case $host_os in
	netbsd*)	krb5_incdir="/usr/include/krb5";;
	esac
fi
if test "x$krb5_libs" = "x"; then
	case $host_os in
	netbsd*)	krb5_libs="-lgssapi -lkrb5 -lcom_err -lroken -lasn1";;
	esac
fi
if test "$enable_gssapi" = "yes"; then
	LIBS="$LIBS $krb5_libs"
	CPPFLAGS="-I$krb5_incdir $CPPFLAGS"
fi

echo $ac_n "checking for crypto containing CAST_cfb64_encrypt""... $ac_c" 1>&6
echo "configure:1632: checking for crypto containing CAST_cfb64_encrypt" >&5
if eval "test \"`echo '$''{'ac_cv_search_CAST_cfb64_encrypt'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_CAST_cfb64_encrypt="no"
cat > conftest.$ac_ext <<EOF
#line 1639 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char CAST_cfb64_encrypt();

int main() {
CAST_cfb64_encrypt()
; return 0; }
EOF
if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_CAST_cfb64_encrypt="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lcrypto $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 1659 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char CAST_cfb64_encrypt();

int main() {
CAST_cfb64_encrypt()
; return 0; }
EOF
if { (eval echo configure:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_CAST_cfb64_encrypt="-lcrypto"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_CAST_cfb64_encrypt" = "no" && for i in ${crypto_dir}/lib; do
LIBS="-L$i -lcrypto $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1684 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char CAST_cfb64_encrypt();

int main() {
CAST_cfb64_encrypt()
; return 0; }
EOF
if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_CAST_cfb64_encrypt="-L$i -lcrypto"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_CAST_cfb64_encrypt" 1>&6
if test "$ac_cv_search_CAST_cfb64_encrypt" != "no"; then
  test "$ac_cv_search_CAST_cfb64_encrypt" = "none required" || LIBS="$ac_cv_search_CAST_cfb64_encrypt $LIBS"
  
else :
  
fi

echo $ac_n "checking for openssl include path""... $ac_c" 1>&6
echo "configure:1717: checking for openssl include path" >&5
cat > conftest.$ac_ext <<EOF
#line 1719 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1729 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x00904100L
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  include_path_openssl=yes
fi
rm -f conftest*

else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  
ac_func_search_save_CPPFLAGS="$CPPFLAGS"
ac_add_path="no"
for i in ${crypto_dir}/include; do
	CPPFLAGS="-I$i $CPPFLAGS"
	cat > conftest.$ac_ext <<EOF
#line 1754 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1764 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x00904100L
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_add_path=$i
fi
rm -f conftest*

else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
	CPPFLAGS="$ac_func_search_save_CPPFLAGS"
	if test "$ac_add_path" != "no"; then
		break
	fi
done
if test "$ac_add_path" != "no"; then
	CPPFLAGS="-I$ac_add_path $CPPFLAGS"
	include_path_openssl=yes
fi

fi
rm -f conftest*
if test "x$include_path_openssl" = "xyes"; then
	echo "$ac_t""include path needs openssl" 1>&6
	cat >> confdefs.h <<\EOF
#define INCLUDE_PATH_OPENSSL 1
EOF

else
	echo "$ac_t""pre-0.94 include path" 1>&6
fi

if test "x$include_path_openssl" = "x"; then
	
echo $ac_n "checking for cast.h""... $ac_c" 1>&6
echo "configure:1809: checking for cast.h" >&5
cat > conftest.$ac_ext <<EOF
#line 1811 "configure"
#include "confdefs.h"
#include <cast.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  
ac_func_search_save_CPPFLAGS="$CPPFLAGS"
ac_add_path="no"
for i in /usr/include/openssl /usr/include/ssleay ${crypto_dir}/include ${crypto_dir}/include/openssl ${crypto_dir}/include/ssleay; do
	CPPFLAGS="-I$i $CPPFLAGS"
	cat > conftest.$ac_ext <<EOF
#line 1831 "configure"
#include "confdefs.h"
#include <cast.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  ac_add_path=$i
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
	CPPFLAGS="$ac_func_search_save_CPPFLAGS"
	if test "$ac_add_path" != "no"; then
		break
	fi
done
if test "$ac_add_path" != "no"; then
	CPPFLAGS="-I$ac_add_path $CPPFLAGS"
fi
echo "$ac_t""$ac_add_path" 1>&6

fi
rm -f conftest*
	
echo $ac_n "checking for openssl/cast.h""... $ac_c" 1>&6
echo "configure:1861: checking for openssl/cast.h" >&5
cat > conftest.$ac_ext <<EOF
#line 1863 "configure"
#include "confdefs.h"
#include <openssl/cast.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  
ac_func_search_save_CPPFLAGS="$CPPFLAGS"
ac_add_path="no"
for i in /usr/include/openssl /usr/include/ssleay ${crypto_dir}/include ${crypto_dir}/include/openssl ${crypto_dir}/include/ssleay; do
	CPPFLAGS="-I$i $CPPFLAGS"
	cat > conftest.$ac_ext <<EOF
#line 1883 "configure"
#include "confdefs.h"
#include <openssl/cast.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  ac_add_path=$i
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
	CPPFLAGS="$ac_func_search_save_CPPFLAGS"
	if test "$ac_add_path" != "no"; then
		break
	fi
done
if test "$ac_add_path" != "no"; then
	CPPFLAGS="-I$ac_add_path $CPPFLAGS"
fi
echo "$ac_t""$ac_add_path" 1>&6

fi
rm -f conftest*
	cat > conftest.$ac_ext <<EOF
#line 1912 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <stdio.h>
#include <bn.h>
#include <dh.h>
#include <md5.h>
#include <sha.h>
#include <des.h>
int main() {

; return 0; }
EOF
if { (eval echo configure:1925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  openssl_compile_failed=yes
fi
rm -f conftest*
else
	cat > conftest.$ac_ext <<EOF
#line 1936 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <stdio.h>
#include <openssl/bn.h>
#include <openssl/dh.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <openssl/des.h>
int main() {

; return 0; }
EOF
if { (eval echo configure:1949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  openssl_compile_failed=yes
fi
rm -f conftest*
fi

if test "x$openssl_compile_failed" = "xyes"; then
	echo
	echo "Fatal: crypto library and headers not found."
	echo Specify proper directory by using --with-ssleay.
	if test `uname -s` = FreeBSD; then
		echo Use ports/security/SSLeay to install SSLeay, or visit
	elif test `uname -s` = NetBSD; then
		echo Use pkgsrc/security/SSLeay to install SSLeay, or visit
	else
		echo -n "Visit "
	fi
	echo ftp://psych.psy.uq.oz.au/pub/Crypto/SSL/, or visit
	echo http://www.openssl.org/
	exit 1
fi

echo $ac_n "checking openssl version""... $ac_c" 1>&6
echo "configure:1977: checking openssl version" >&5
if test "x$include_path_openssl" = "x"; then
	cat > conftest.$ac_ext <<EOF
#line 1980 "configure"
#include "confdefs.h"
#include <opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x00090581L
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  echo "$ac_t""ok" 1>&6
else
  rm -rf conftest*
  echo "$ac_t""too old" 1>&6
		echo
		echo "FATAL: OpenSSL version must be 0.9.4 or higher."
		exit 1
fi
rm -f conftest*

else
	cat > conftest.$ac_ext <<EOF
#line 2002 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x00904100L
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  echo "$ac_t""ok" 1>&6
else
  rm -rf conftest*
  echo "$ac_t""too old" 1>&6
		echo
		echo "FATAL: OpenSSL version must be 0.9.4 or higher."
		exit 1
fi
rm -f conftest*

fi

echo $ac_n "checking for ssl_ok in -lssl""... $ac_c" 1>&6
echo "configure:2025: checking for ssl_ok in -lssl" >&5
ac_lib_var=`echo ssl'_'ssl_ok | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lssl -lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2033 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ssl_ok();

int main() {
ssl_ok()
; return 0; }
EOF
if { (eval echo configure:2044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo ssl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-lssl $LIBS"

else
  echo "$ac_t""no" 1>&6
fi


echo $ac_n "checking for des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
echo "configure:2073: checking for des_cbc_encrypt in -lcrypto" >&5
ac_lib_var=`echo crypto'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lcrypto  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2081 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char des_cbc_encrypt();

int main() {
des_cbc_encrypt()
; return 0; }
EOF
if { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo crypto | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-lcrypto $LIBS"

else
  echo "$ac_t""no" 1>&6
fi

echo $ac_n "checking for yywrap in -ll""... $ac_c" 1>&6
echo "configure:2120: checking for yywrap in -ll" >&5
ac_lib_var=`echo l'_'yywrap | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-ll  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2128 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yywrap();

int main() {
yywrap()
; return 0; }
EOF
if { (eval echo configure:2139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo l | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-ll $LIBS"

else
  echo "$ac_t""no" 1>&6
fi

echo $ac_n "checking for yyerror in -ly""... $ac_c" 1>&6
echo "configure:2167: checking for yyerror in -ly" >&5
ac_lib_var=`echo y'_'yyerror | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-ly  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2175 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yyerror();

int main() {
yyerror()
; return 0; }
EOF
if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo y | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-ly $LIBS"

else
  echo "$ac_t""no" 1>&6
fi


echo $ac_n "checking for PF_KEYv2 support""... $ac_c" 1>&6
echo "configure:2215: checking for PF_KEYv2 support" >&5
if eval "test \"`echo '$''{'ac_cv_pfkey'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2220 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <net/pfkeyv2.h>
int main() {
int x = PF_KEY, y = PF_KEY_V2;
; return 0; }
EOF
if { (eval echo configure:2230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_pfkey="yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_pfkey="no"
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_pfkey" 1>&6
if test "$ac_cv_pfkey" = yes; then
        OPTFLAG="-DHAVE_PFKEYV2 $OPTFLAG"
fi

if test "$ac_cv_pfkey" = "yes"; then
	echo $ac_n "checking for old KAME PF_KEYv2 header file""... $ac_c" 1>&6
echo "configure:2249: checking for old KAME PF_KEYv2 header file" >&5
	cat > conftest.$ac_ext <<EOF
#line 2251 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <net/pfkeyv2.h>
int main() {
struct sadb_msg m; m.sadb_msg_reserved2 = 0;
; return 0; }
EOF
if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""old" 1>&6
		echo "FATAL: obsolete KAME PF_KEYv2 declaration (non-PF_KEY sadb_msg)"
		exit 1
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
	cat > conftest.$ac_ext <<EOF
#line 2272 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <net/pfkeyv2.h>
int main() {
struct sadb_x_policy m; m.sadb_x_policy_id = 0;
; return 0; }
EOF
if { (eval echo configure:2282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""old" 1>&6
		echo "FATAL: obsolete KAME PF_KEYv2 declaration (no sadb_x_policy_id)"
		exit 1
fi
rm -f conftest*
	cat > conftest.$ac_ext <<EOF
#line 2294 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <net/pfkeyv2.h>
int main() {
struct sadb_x_sa2 m;
; return 0; }
EOF
if { (eval echo configure:2304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""old" 1>&6
		echo "FATAL: obsolete KAME PF_KEYv2 declaration (no sadb_x_sa2)"
		exit 1
fi
rm -f conftest*
	echo "$ac_t""fine" 1>&6
fi

ipsectype=unknown
ipseclib=none
ipseclibdir=none
echo $ac_n "checking ipsec library path""... $ac_c" 1>&6
echo "configure:2322: checking ipsec library path" >&5
for i in inria kame; do
	ipsectrylibc=no
	case $i in
	inria)
				cat > conftest.$ac_ext <<EOF
#line 2328 "configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
#ifdef IPV6_INRIA_VERSION
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipsectype=$i;
			ipseclib=ipsec;
			ipseclibdir=/usr/lib
fi
rm -f conftest*

		;;
	kame)
				cat > conftest.$ac_ext <<EOF
#line 2348 "configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
#ifdef __KAME__
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipsectype=$i;
			ipseclib=ipsec;
			ipseclibdir=/usr/local/v6/lib
fi
rm -f conftest*

		;;
	esac
	if test "$ipsectype" != "unknown"; then
		break
	fi
done
echo "$ac_t""$ipseclibdir" 1>&6

if test "$ipseclib" != "none"; then
	if test "$ipseclibdir" != "none"; then
		
echo $ac_n "checking for $ipseclib containing ipsec_strerror""... $ac_c" 1>&6
echo "configure:2377: checking for $ipseclib containing ipsec_strerror" >&5
if eval "test \"`echo '$''{'ac_cv_search_ipsec_strerror'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_ipsec_strerror="no"
cat > conftest.$ac_ext <<EOF
#line 2384 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ipsec_strerror();

int main() {
ipsec_strerror()
; return 0; }
EOF
if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_ipsec_strerror="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-l$ipseclib $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 2404 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ipsec_strerror();

int main() {
ipsec_strerror()
; return 0; }
EOF
if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_ipsec_strerror="-l$ipseclib"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_ipsec_strerror" = "no" && for i in $ipseclibdir; do
LIBS="-L$i -l$ipseclib $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2429 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ipsec_strerror();

int main() {
ipsec_strerror()
; return 0; }
EOF
if { (eval echo configure:2440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_ipsec_strerror="-L$i -l$ipseclib"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_ipsec_strerror" 1>&6
if test "$ac_cv_search_ipsec_strerror" != "no"; then
  test "$ac_cv_search_ipsec_strerror" = "none required" || LIBS="$ac_cv_search_ipsec_strerror $LIBS"
  
else :
  
fi
	else
		
echo $ac_n "checking for $ipseclib containing ipsec_strerror""... $ac_c" 1>&6
echo "configure:2463: checking for $ipseclib containing ipsec_strerror" >&5
if eval "test \"`echo '$''{'ac_cv_search_ipsec_strerror'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_ipsec_strerror="no"
cat > conftest.$ac_ext <<EOF
#line 2470 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ipsec_strerror();

int main() {
ipsec_strerror()
; return 0; }
EOF
if { (eval echo configure:2481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_ipsec_strerror="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-l$ipseclib $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 2490 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ipsec_strerror();

int main() {
ipsec_strerror()
; return 0; }
EOF
if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_ipsec_strerror="-l$ipseclib"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_ipsec_strerror" = "no" && for i in ; do
LIBS="-L$i -l$ipseclib $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2515 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ipsec_strerror();

int main() {
ipsec_strerror()
; return 0; }
EOF
if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_ipsec_strerror="-L$i -l$ipseclib"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_ipsec_strerror" 1>&6
if test "$ac_cv_search_ipsec_strerror" != "no"; then
  test "$ac_cv_search_ipsec_strerror" = "none required" || LIBS="$ac_cv_search_ipsec_strerror $LIBS"
  
else :
  
fi
	fi
fi

echo $ac_n "checking if --with-libpfkey option is specified""... $ac_c" 1>&6
echo "configure:2550: checking if --with-libpfkey option is specified" >&5
# Check whether --with-libpfkey or --without-libpfkey was given.
if test "${with_libpfkey+set}" = set; then
  withval="$with_libpfkey"
  libpfkey_dir=$withval
else
  libpfkey_dir=no
fi

echo "$ac_t""${libpfkey_dir}" 1>&6
if test "$libpfkey_dir" != "no"; then
	if test "x$libpfkey_dir" = "x"; then
		
echo $ac_n "checking for pfkey containing pfkey_send_spdsetidx""... $ac_c" 1>&6
echo "configure:2564: checking for pfkey containing pfkey_send_spdsetidx" >&5
if eval "test \"`echo '$''{'ac_cv_search_pfkey_send_spdsetidx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_pfkey_send_spdsetidx="no"
cat > conftest.$ac_ext <<EOF
#line 2571 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pfkey_send_spdsetidx();

int main() {
pfkey_send_spdsetidx()
; return 0; }
EOF
if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_pfkey_send_spdsetidx="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lpfkey $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 2591 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pfkey_send_spdsetidx();

int main() {
pfkey_send_spdsetidx()
; return 0; }
EOF
if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_pfkey_send_spdsetidx="-lpfkey"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_pfkey_send_spdsetidx" = "no" && for i in ; do
LIBS="-L$i -lpfkey $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2616 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pfkey_send_spdsetidx();

int main() {
pfkey_send_spdsetidx()
; return 0; }
EOF
if { (eval echo configure:2627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_pfkey_send_spdsetidx="-L$i -lpfkey"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_pfkey_send_spdsetidx" 1>&6
if test "$ac_cv_search_pfkey_send_spdsetidx" != "no"; then
  test "$ac_cv_search_pfkey_send_spdsetidx" = "none required" || LIBS="$ac_cv_search_pfkey_send_spdsetidx $LIBS"
  
else :
  
fi
	else
		
echo $ac_n "checking for pfkey containing pfkey_send_spdsetidx""... $ac_c" 1>&6
echo "configure:2650: checking for pfkey containing pfkey_send_spdsetidx" >&5
if eval "test \"`echo '$''{'ac_cv_search_pfkey_send_spdsetidx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_pfkey_send_spdsetidx="no"
cat > conftest.$ac_ext <<EOF
#line 2657 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pfkey_send_spdsetidx();

int main() {
pfkey_send_spdsetidx()
; return 0; }
EOF
if { (eval echo configure:2668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_pfkey_send_spdsetidx="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lpfkey $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 2677 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pfkey_send_spdsetidx();

int main() {
pfkey_send_spdsetidx()
; return 0; }
EOF
if { (eval echo configure:2688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_pfkey_send_spdsetidx="-lpfkey"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_pfkey_send_spdsetidx" = "no" && for i in $libpfkey_dir; do
LIBS="-L$i -lpfkey $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2702 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pfkey_send_spdsetidx();

int main() {
pfkey_send_spdsetidx()
; return 0; }
EOF
if { (eval echo configure:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_pfkey_send_spdsetidx="-L$i -lpfkey"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_pfkey_send_spdsetidx" 1>&6
if test "$ac_cv_search_pfkey_send_spdsetidx" != "no"; then
  test "$ac_cv_search_pfkey_send_spdsetidx" = "none required" || LIBS="$ac_cv_search_pfkey_send_spdsetidx $LIBS"
  
else :
  
fi
	fi
fi

echo $ac_n "checking whether to enable ipv6""... $ac_c" 1>&6
echo "configure:2737: checking whether to enable ipv6" >&5
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if test "${enable_ipv6+set}" = set; then
  enableval="$enable_ipv6"
   case "$enableval" in
  no)
       echo "$ac_t""no" 1>&6
       ipv6=no
       ;;
  *)   echo "$ac_t""yes" 1>&6
       cat >> confdefs.h <<\EOF
#define INET6 1
EOF

       ipv6=yes
       ;;
  esac 
else
  if test "$cross_compiling" = yes; then
  echo "$ac_t""no" 1>&6
  ipv6=no

else
  cat > conftest.$ac_ext <<EOF
#line 2761 "configure"
#include "confdefs.h"
 /* AF_INET6 avalable check */
#include <sys/types.h>
#include <sys/socket.h>
main()
{
  exit(0);
 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
   exit(1);
 else
   exit(0);
}

EOF
if { (eval echo configure:2776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define ENABLE_IPV6 1
EOF

  ipv6=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""no" 1>&6
  ipv6=no
fi
rm -fr conftest*
fi

fi


ipv6type=unknown
ipv6lib=none
ipv6libdir=none

if test "$ipv6" = "yes"; then
	echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6
echo "configure:2803: checking ipv6 stack type" >&5
	for i in inria kame linux toshiba v6d zeta; do
		ipv6trylibc=no
		case $i in
		inria)
						cat > conftest.$ac_ext <<EOF
#line 2809 "configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
#ifdef IPV6_INRIA_VERSION
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/lib;
				ipv6trylibc=yes
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		kame)
						cat > conftest.$ac_ext <<EOF
#line 2831 "configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
#ifdef __KAME__
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/local/v6/lib;
				ipv6trylibc=yes
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		linux)
						if test -d /usr/inet6; then
				ipv6type=$i
				ipv6lib=inet6
				ipv6libdir=/usr/inet6/lib
				CPPFLAGS="-DINET6 -I/usr/inet6/include $CPPFLAGS"
			fi
			;;
		toshiba)
			cat > conftest.$ac_ext <<EOF
#line 2861 "configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
#ifdef _TOSHIBA_INET6
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/local/v6/lib;
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		v6d)
			cat > conftest.$ac_ext <<EOF
#line 2882 "configure"
#include "confdefs.h"
dnl
#include </usr/local/v6/include/sys/v6config.h>
#ifdef __V6D__
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=v6;
				ipv6libdir=/usr/local/v6/lib;
				CPPFLAGS="-I/usr/local/v6/include $CPPFLAGS"
fi
rm -f conftest*

			;;
		zeta)
			cat > conftest.$ac_ext <<EOF
#line 2903 "configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
#ifdef _ZETA_MINAMI_INET6
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/local/v6/lib;
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		esac
		if test "$ipv6type" != "unknown"; then
			break
		fi
	done
	echo "$ac_t""$ipv6type" 1>&6
fi

if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
		echo "using lib$ipv6lib for getaddrinfo"
		LIBS="$LIBS -L$ipv6libdir -l$ipv6lib"
	else
		if test "$ipv6trylibc" = "yes"; then
			echo 'using libc for getaddrinfo'
		else
			echo "Fatal: no $ipv6lib library found.  "
			echo "cannot continue.  You need to fetch lib$ipv6lib.a "
			echo "from appropriate ipv6 kit and compile beforehand."
			exit 1
		fi
	fi
fi

if test "$ipv6" = "yes"; then
	echo $ac_n "checking for advanced API support""... $ac_c" 1>&6
echo "configure:2948: checking for advanced API support" >&5
	if eval "test \"`echo '$''{'racoon_cv_advapi'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  	cat > conftest.$ac_ext <<EOF
#line 2953 "configure"
#include "confdefs.h"
#ifndef INET6
#define INET6
#endif
#include <sys/types.h>
#include <netinet/in.h>
int main() {
struct in6_pktinfo a;
; return 0; }
EOF
if { (eval echo configure:2964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  racoon_cv_advapi="yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  racoon_cv_advapi="no"
fi
rm -f conftest*
fi

	echo "$ac_t""$racoon_cv_advapi" 1>&6
	if test "$racoon_cv_advapi" = yes; then
		cat >> confdefs.h <<\EOF
#define ADVAPI 1
EOF

	fi
fi

echo $ac_n "checking getaddrinfo bug""... $ac_c" 1>&6
echo "configure:2986: checking getaddrinfo bug" >&5
if test "$cross_compiling" = yes; then
  echo "$ac_t""buggy" 1>&6
buggygetaddrinfo=yes
else
  cat > conftest.$ac_ext <<EOF
#line 2992 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
#include <netinet/in.h>

main()
{
  int passive, gaierr, inet4 = 0, inet6 = 0;
  struct addrinfo hints, *ai, *aitop;
  char straddr[INET6_ADDRSTRLEN], strport[16];

  for (passive = 0; passive <= 1; passive++) {
    memset(&hints, 0, sizeof(hints));
    hints.ai_family = AF_UNSPEC;
    hints.ai_flags = passive ? AI_PASSIVE : 0;
    hints.ai_socktype = SOCK_STREAM;
    if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
      (void)gai_strerror(gaierr);
      goto bad;
    }
    for (ai = aitop; ai; ai = ai->ai_next) {
      if (ai->ai_addr == NULL ||
          ai->ai_addrlen == 0 ||
          getnameinfo(ai->ai_addr, ai->ai_addrlen,
                      straddr, sizeof(straddr), strport, sizeof(strport),
                      NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
        goto bad;
      }
      switch (ai->ai_family) {
      case AF_INET:
	if (strcmp(strport, "54321") != 0) {
	  goto bad;
	}
        if (passive) {
          if (strcmp(straddr, "0.0.0.0") != 0) {
            goto bad;
          }
        } else {
          if (strcmp(straddr, "127.0.0.1") != 0) {
            goto bad;
          }
        }
        inet4++;
        break;
      case AF_INET6:
	if (strcmp(strport, "54321") != 0) {
	  goto bad;
	}
        if (passive) {
          if (strcmp(straddr, "::") != 0) {
            goto bad;
          }
        } else {
          if (strcmp(straddr, "::1") != 0) {
            goto bad;
          }
        }
        inet6++;
        break;
      case AF_UNSPEC:
        goto bad;
        break;
      default:
        /* another family support? */
        break;
      }
    }
  }

  if (!(inet4 == 0 || inet4 == 2))
    goto bad;
  if (!(inet6 == 0 || inet6 == 2))
    goto bad;

  if (aitop)
    freeaddrinfo(aitop);
  exit(0);

 bad:
  if (aitop)
    freeaddrinfo(aitop);
  exit(1);
}

EOF
if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""good" 1>&6
buggygetaddrinfo=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""buggy" 1>&6
buggygetaddrinfo=yes
fi
rm -fr conftest*
fi


if test "$buggygetaddrinfo" = "yes"; then
	if test "$ipv6" = "yes"; then
		echo 'Fatal: You must get working getaddrinfo() function.'
		echo '       or you can specify "--disable-ipv6"'.
		exit 1
	else
		CPPFLAGS="$CPPFLAGS -I./missing"
	fi
fi
for ac_func in getaddrinfo getnameinfo
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3108: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3113 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
fi
done



echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:3164: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3169 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  ac_cv_header_stdc=yes
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 3194 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 3212 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
  :
else
  cat > conftest.$ac_ext <<EOF
#line 3233 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }

EOF
if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_header_stdc=no
fi
rm -fr conftest*
fi

fi
fi

echo "$ac_t""$ac_cv_header_stdc" 1>&6
if test $ac_cv_header_stdc = yes; then
  cat >> confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF

fi

echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
echo "configure:3268: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3273 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
#ifndef WEXITSTATUS
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
int main() {
int s;
wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_header_sys_wait_h=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_sys_wait_h=no
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
if test $ac_cv_header_sys_wait_h = yes; then
  cat >> confdefs.h <<\EOF
#define HAVE_SYS_WAIT_H 1
EOF

fi

for ac_hdr in limits.h sys/time.h unistd.h stdarg.h varargs.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3313: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3318 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

signing=yes
if test "x$include_path_openssl" = "x"; then
	if test "$enable_rc5" = "yes"; then
		rc5header=rc5.h
	else
		rc5header=
	fi
	if test "$enable_idea" = "yes"; then
		ideaheader=idea.h
	else
		ideaheader=
	fi
	for ac_hdr in $ideaheader $rc5header rsa.h pem.h evp.h x509.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3365: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3370 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
nosymbol=`echo $ac_hdr | sed -e 's/.h$//' -e 's/^/NO_/' | tr 'a-z' 'A-Z'`
		CPPFLAGS="$CPPFLAGS -D$nosymbol=1"
		signing=no
fi
done

else
	if test "$enable_rc5" = "yes"; then
		rc5header=openssl/rc5.h
	else
		rc5header=
	fi
	if test "$enable_idea" = "yes"; then
		ideaheader=openssl/idea.h
	else
		ideaheader=
	fi
	for ac_hdr in $ideaheader $rc5header openssl/rsa.h openssl/pem.h openssl/evp.h openssl/x509.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3419: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3424 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
nosymbol=`echo $ac_hdr | sed -e 's/.h$//' -e 's/^openssl.//' -e 's/^/NO_/' | tr 'a-z' 'A-Z'`
		CPPFLAGS="$CPPFLAGS -D$nosymbol=1"
		signing=no
fi
done

fi
if test $signing = "yes"; then
	cat >> confdefs.h <<\EOF
#define HAVE_SIGNING_C 1
EOF

fi
if test "x$include_path_openssl" = "x"; then
	for ac_hdr in cversion.h opensslv.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3470: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3475 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

else
	for ac_hdr in openssl/cversion.h openssl/opensslv.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3511: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3516 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

fi

echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:3550: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3555 "configure"
#include "confdefs.h"

int main() {

/* Ultrix mips cc rejects this.  */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this.  */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this.  */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
   It does not let you subtract one const X* pointer from another in an arm
   of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this.  */
  char *t;
  char const *s = 0 ? (char *) 0 : (char const *) 0;

  *t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  int x[] = {25, 17};
  const int *foo = &x[0];
  ++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  typedef const int *iptr;
  iptr p = 0;
  ++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  struct s { int j; const int *ap[3]; };
  struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  const int foo = 10;
}

; return 0; }
EOF
if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_const=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_c_const=no
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_c_const" 1>&6
if test $ac_cv_c_const = no; then
  cat >> confdefs.h <<\EOF
#define const 
EOF

fi

echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:3625: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3630 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_pid_t=yes
else
  rm -rf conftest*
  ac_cv_type_pid_t=no
fi
rm -f conftest*

fi
echo "$ac_t""$ac_cv_type_pid_t" 1>&6
if test $ac_cv_type_pid_t = no; then
  cat >> confdefs.h <<\EOF
#define pid_t int
EOF

fi

echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:3658: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3663 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_size_t=yes
else
  rm -rf conftest*
  ac_cv_type_size_t=no
fi
rm -f conftest*

fi
echo "$ac_t""$ac_cv_type_size_t" 1>&6
if test $ac_cv_type_size_t = no; then
  cat >> confdefs.h <<\EOF
#define size_t unsigned
EOF

fi

echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:3691: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3696 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:3705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_header_time=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_time=no
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_header_time" 1>&6
if test $ac_cv_header_time = yes; then
  cat >> confdefs.h <<\EOF
#define TIME_WITH_SYS_TIME 1
EOF

fi

echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
echo "configure:3726: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3731 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if { (eval echo configure:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_struct_tm=time.h
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_struct_tm=sys/time.h
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_struct_tm" 1>&6
if test $ac_cv_struct_tm = sys/time.h; then
  cat >> confdefs.h <<\EOF
#define TM_IN_SYS_TIME 1
EOF

fi


echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
echo "configure:3761: checking for 8-bit clean memcmp" >&5
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_func_memcmp_clean=no
else
  cat > conftest.$ac_ext <<EOF
#line 3769 "configure"
#include "confdefs.h"

main()
{
  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
  exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
}

EOF
if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_func_memcmp_clean=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_func_memcmp_clean=no
fi
rm -fr conftest*
fi

fi

echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"

echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:3797: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3802 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
#ifdef signal
#undef signal
#endif
#ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif

int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:3819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_type_signal=void
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_type_signal=int
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_type_signal" 1>&6
cat >> confdefs.h <<EOF
#define RETSIGTYPE $ac_cv_type_signal
EOF


echo $ac_n "checking for vprintf""... $ac_c" 1>&6
echo "configure:3838: checking for vprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3843 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char vprintf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char vprintf();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_vprintf) || defined (__stub___vprintf)
choke me
#else
vprintf();
#endif

; return 0; }
EOF
if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_vprintf=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_vprintf=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define HAVE_VPRINTF 1
EOF

else
  echo "$ac_t""no" 1>&6
fi

if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
echo "configure:3890: checking for _doprnt" >&5
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3895 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _doprnt(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _doprnt();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__doprnt) || defined (__stub____doprnt)
choke me
#else
_doprnt();
#endif

; return 0; }
EOF
if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func__doprnt=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func__doprnt=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define HAVE_DOPRNT 1
EOF

else
  echo "$ac_t""no" 1>&6
fi

fi

for ac_func in gettimeofday select socket strerror strtol strtoul
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3945: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3950 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in strdup
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4000: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4005 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
fi
done



if test "x$prefix" = xNONE; then
	sysconfdir_x=`echo $sysconfdir | sed -e 's,${prefix},'"$ac_default_prefix,"`
else
	sysconfdir_x=`echo $sysconfdir | sed -e 's,${prefix},'"$prefix,"`

fi


for ac_func in getifaddrs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4066: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4071 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
fi

trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs


# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
  case "\$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"

trap 'rm -fr `echo "Makefile samples/psk.txt samples/racoon.conf" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@@/@@@@/; s/@@%/@@@@/; s/%g\$/@@g/; /@@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@@SHELL@@%$SHELL%g
s%@@CFLAGS@@%$CFLAGS%g
s%@@CPPFLAGS@@%$CPPFLAGS%g
s%@@CXXFLAGS@@%$CXXFLAGS%g
s%@@FFLAGS@@%$FFLAGS%g
s%@@DEFS@@%$DEFS%g
s%@@LDFLAGS@@%$LDFLAGS%g
s%@@LIBS@@%$LIBS%g
s%@@exec_prefix@@%$exec_prefix%g
s%@@prefix@@%$prefix%g
s%@@program_transform_name@@%$program_transform_name%g
s%@@bindir@@%$bindir%g
s%@@sbindir@@%$sbindir%g
s%@@libexecdir@@%$libexecdir%g
s%@@datadir@@%$datadir%g
s%@@sysconfdir@@%$sysconfdir%g
s%@@sharedstatedir@@%$sharedstatedir%g
s%@@localstatedir@@%$localstatedir%g
s%@@libdir@@%$libdir%g
s%@@includedir@@%$includedir%g
s%@@oldincludedir@@%$oldincludedir%g
s%@@infodir@@%$infodir%g
s%@@mandir@@%$mandir%g
s%@@CC@@%$CC%g
s%@@CPP@@%$CPP%g
s%@@LEX@@%$LEX%g
s%@@LEXLIB@@%$LEXLIB%g
s%@@INSTALL_PROGRAM@@%$INSTALL_PROGRAM%g
s%@@INSTALL_SCRIPT@@%$INSTALL_SCRIPT%g
s%@@INSTALL_DATA@@%$INSTALL_DATA%g
s%@@SET_MAKE@@%$SET_MAKE%g
s%@@host@@%$host%g
s%@@host_alias@@%$host_alias%g
s%@@host_cpu@@%$host_cpu%g
s%@@host_vendor@@%$host_vendor%g
s%@@host_os@@%$host_os%g
s%@@OPTFLAG@@%$OPTFLAG%g
s%@@LIBOBJS@@%$LIBOBJS%g
s%@@sysconfdir_x@@%$sysconfdir_x%g

CEOF
EOF

cat >> $CONFIG_STATUS <<\EOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi
EOF

cat >> $CONFIG_STATUS <<EOF

CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac

  case "$ac_given_INSTALL" in
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  esac

  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@@configure_input@@%$configure_input%g
s%@@srcdir@@%$srcdir%g
s%@@top_srcdir@@%$top_srcdir%g
s%@@INSTALL@@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*

EOF
cat >> $CONFIG_STATUS <<EOF

EOF
cat >> $CONFIG_STATUS <<\EOF

exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@KAME racoon, 2000/12/29
@
text
@@


1.1.1.2
log
@Import racoon/libipsec as of April 4, 2001.
@
text
@d1380 2
a1381 2
echo $ac_n "checking for leak containing GC_malloc""... $ac_c" 1>&6
echo "configure:1382: checking for leak containing GC_malloc" >&5
d1406 1
a1406 1
  LIBS="-lleak $LIBS"
d1421 1
a1421 1
  ac_cv_search_GC_malloc="-lleak"
d1431 1
a1431 1
LIBS="-L$i -lleak $ac_func_search_save_LIBS"
d1446 1
a1446 1
  ac_cv_search_GC_malloc="-L$i -lleak"
d1466 2
a1467 2
echo $ac_n "checking for leak containing GC_malloc""... $ac_c" 1>&6
echo "configure:1468: checking for leak containing GC_malloc" >&5
d1492 1
a1492 1
  LIBS="-lleak $LIBS"
d1507 1
a1507 1
  ac_cv_search_GC_malloc="-lleak"
d1517 1
a1517 1
LIBS="-L$i -lleak $ac_func_search_save_LIBS"
d1532 1
a1532 1
  ac_cv_search_GC_malloc="-L$i -lleak"
d1714 95
d1810 126
a1935 1
#line 1716 "configure"
d1948 1
a1948 1
if { (eval echo configure:1729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1957 1
d1976 26
a2001 3
echo "configure:1756: checking openssl version" >&5
cat > conftest.$ac_ext <<EOF
#line 1758 "configure"
d2015 3
a2017 3
	echo
	echo "FATAL: OpenSSL version must be 0.9.4 or higher."
	exit 1
d2021 1
d2024 1
a2024 1
echo "configure:1780: checking for ssl_ok in -lssl" >&5
d2032 1
a2032 1
#line 1788 "configure"
d2043 1
a2043 1
if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2072 1
a2072 1
echo "configure:1828: checking for des_cbc_encrypt in -lcrypto" >&5
d2080 1
a2080 1
#line 1836 "configure"
d2091 1
a2091 1
if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2119 1
a2119 1
echo "configure:1875: checking for yywrap in -ll" >&5
d2127 1
a2127 1
#line 1883 "configure"
d2138 1
a2138 1
if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2166 1
a2166 1
echo "configure:1922: checking for yyerror in -ly" >&5
d2174 1
a2174 1
#line 1930 "configure"
d2185 1
a2185 1
if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2214 1
a2214 1
echo "configure:1970: checking for PF_KEYv2 support" >&5
d2219 1
a2219 1
#line 1975 "configure"
d2229 1
a2229 1
if { (eval echo configure:1985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2248 1
a2248 1
echo "configure:2004: checking for old KAME PF_KEYv2 header file" >&5
d2250 1
a2250 1
#line 2006 "configure"
d2260 1
a2260 1
if { (eval echo configure:2016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2271 1
a2271 1
#line 2027 "configure"
d2281 1
a2281 1
if { (eval echo configure:2037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2293 1
a2293 1
#line 2049 "configure"
d2303 1
a2303 1
if { (eval echo configure:2059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2321 1
a2321 1
echo "configure:2077: checking ipsec library path" >&5
d2327 1
a2327 1
#line 2083 "configure"
d2347 1
a2347 1
#line 2103 "configure"
d2376 1
a2376 1
echo "configure:2132: checking for $ipseclib containing ipsec_strerror" >&5
d2383 1
a2383 1
#line 2139 "configure"
d2394 1
a2394 1
if { (eval echo configure:2150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2403 1
a2403 1
#line 2159 "configure"
d2414 1
a2414 1
if { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2428 1
a2428 1
#line 2184 "configure"
d2439 1
a2439 1
if { (eval echo configure:2195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2462 1
a2462 1
echo "configure:2218: checking for $ipseclib containing ipsec_strerror" >&5
d2469 1
a2469 1
#line 2225 "configure"
d2480 1
a2480 1
if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2489 1
a2489 1
#line 2245 "configure"
d2500 1
a2500 1
if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2514 1
a2514 1
#line 2270 "configure"
d2525 1
a2525 1
if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2549 1
a2549 1
echo "configure:2305: checking if --with-libpfkey option is specified" >&5
d2563 1
a2563 1
echo "configure:2319: checking for pfkey containing pfkey_send_spdsetidx" >&5
d2570 1
a2570 1
#line 2326 "configure"
d2581 1
a2581 1
if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2590 1
a2590 1
#line 2346 "configure"
d2601 1
a2601 1
if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2615 1
a2615 1
#line 2371 "configure"
d2626 1
a2626 1
if { (eval echo configure:2382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2649 1
a2649 1
echo "configure:2405: checking for pfkey containing pfkey_send_spdsetidx" >&5
d2656 1
a2656 1
#line 2412 "configure"
d2667 1
a2667 1
if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2676 1
a2676 1
#line 2432 "configure"
d2687 1
a2687 1
if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2701 1
a2701 1
#line 2457 "configure"
d2712 1
a2712 1
if { (eval echo configure:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2736 1
a2736 1
echo "configure:2492: checking whether to enable ipv6" >&5
d2760 1
a2760 1
#line 2516 "configure"
d2775 1
a2775 1
if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2802 1
a2802 1
echo "configure:2558: checking ipv6 stack type" >&5
d2808 1
a2808 1
#line 2564 "configure"
d2830 1
a2830 1
#line 2586 "configure"
d2860 1
a2860 1
#line 2616 "configure"
d2881 1
a2881 1
#line 2637 "configure"
d2902 1
a2902 1
#line 2658 "configure"
d2947 1
a2947 1
echo "configure:2703: checking for advanced API support" >&5
d2952 1
a2952 1
#line 2708 "configure"
d2963 1
a2963 1
if { (eval echo configure:2719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2985 1
a2985 1
echo "configure:2741: checking getaddrinfo bug" >&5
d2991 1
a2991 1
#line 2747 "configure"
d3080 1
a3080 1
if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3107 1
a3107 1
echo "configure:2863: checking for $ac_func" >&5
d3112 1
a3112 1
#line 2868 "configure"
d3135 1
a3135 1
if { (eval echo configure:2891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3163 1
a3163 1
echo "configure:2919: checking for ANSI C header files" >&5
d3168 1
a3168 1
#line 2924 "configure"
d3176 1
a3176 1
{ (eval echo configure:2932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3193 1
a3193 1
#line 2949 "configure"
d3211 1
a3211 1
#line 2967 "configure"
d3232 1
a3232 1
#line 2988 "configure"
d3243 1
a3243 1
if { (eval echo configure:2999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3267 1
a3267 1
echo "configure:3023: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3272 1
a3272 1
#line 3028 "configure"
d3288 1
a3288 1
if { (eval echo configure:3044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3312 1
a3312 1
echo "configure:3068: checking for $ac_hdr" >&5
d3317 1
a3317 1
#line 3073 "configure"
d3322 1
a3322 1
{ (eval echo configure:3078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3349 18
a3366 2
if test "$enable_rc5" = "yes"; then
	rc5header=openssl/rc5.h
d3368 17
a3384 1
	rc5header=
d3386 9
a3394 2
if test "$enable_idea" = "yes"; then
	ideaheader=openssl/idea.h
d3396 4
a3399 1
	ideaheader=
d3401 14
a3414 1
for ac_hdr in $ideaheader $rc5header openssl/rsa.h openssl/pem.h openssl/evp.h openssl/x509.h
d3418 1
a3418 1
echo "configure:3119: checking for $ac_hdr" >&5
d3423 1
a3423 1
#line 3124 "configure"
d3428 1
a3428 1
{ (eval echo configure:3129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3452 2
a3453 2
	CPPFLAGS="$CPPFLAGS -D$nosymbol=1"
	signing=no
d3457 1
d3464 43
a3506 1
for ac_hdr in openssl/cversion.h openssl/opensslv.h
d3510 1
a3510 1
echo "configure:3168: checking for $ac_hdr" >&5
d3515 1
a3515 1
#line 3173 "configure"
d3520 1
a3520 1
{ (eval echo configure:3178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3546 1
d3549 1
a3549 1
echo "configure:3206: checking for working const" >&5
d3554 1
a3554 1
#line 3211 "configure"
d3603 1
a3603 1
if { (eval echo configure:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3624 1
a3624 1
echo "configure:3281: checking for pid_t" >&5
d3629 1
a3629 1
#line 3286 "configure"
d3657 1
a3657 1
echo "configure:3314: checking for size_t" >&5
d3662 1
a3662 1
#line 3319 "configure"
d3690 1
a3690 1
echo "configure:3347: checking whether time.h and sys/time.h may both be included" >&5
d3695 1
a3695 1
#line 3352 "configure"
d3704 1
a3704 1
if { (eval echo configure:3361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3725 1
a3725 1
echo "configure:3382: checking whether struct tm is in sys/time.h or time.h" >&5
d3730 1
a3730 1
#line 3387 "configure"
d3738 1
a3738 1
if { (eval echo configure:3395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3760 1
a3760 1
echo "configure:3417: checking for 8-bit clean memcmp" >&5
d3768 1
a3768 1
#line 3425 "configure"
d3778 1
a3778 1
if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3796 1
a3796 1
echo "configure:3453: checking return type of signal handlers" >&5
d3801 1
a3801 1
#line 3458 "configure"
d3818 1
a3818 1
if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3837 1
a3837 1
echo "configure:3494: checking for vprintf" >&5
d3842 1
a3842 1
#line 3499 "configure"
d3865 1
a3865 1
if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3889 1
a3889 1
echo "configure:3546: checking for _doprnt" >&5
d3894 1
a3894 1
#line 3551 "configure"
d3917 1
a3917 1
if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3944 1
a3944 1
echo "configure:3601: checking for $ac_func" >&5
d3949 1
a3949 1
#line 3606 "configure"
d3972 1
a3972 1
if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3999 1
a3999 1
echo "configure:3656: checking for $ac_func" >&5
d4004 1
a4004 1
#line 3661 "configure"
d4027 1
a4027 1
if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4065 1
a4065 1
echo "configure:3722: checking for $ac_func" >&5
d4070 1
a4070 1
#line 3727 "configure"
d4093 1
a4093 1
if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@


1.1.1.3
log
@bring in latest racoon/libipsec from KAME.  lots of lots of stability fixes.
@
text
@d27 1
a27 5
  --enable-gssapi         enable GSS-API authentication"
ac_help="$ac_help
  --enable-stats          enable statistics logging function"
ac_help="$ac_help
  --enable-samode-unspec  enable to use unspecified a mode of SA"
d33 3
a35 1
  --with-dmalloc=DIR      specify Dmalloc directory"
a38 8
ac_help="$ac_help
  --with-ssleay=DIR       specify SSLeay directory"
ac_help="$ac_help
  --with-libpfkey=DIR     specify libpfkey.a dir"
ac_help="$ac_help
  --with-lwres=DIR        specify liblwres path (like /usr/pkg)"
ac_help="$ac_help
  --with-pkgversion=VERSION   specify package version"
d553 1
a553 1
echo "configure:564: checking for $ac_word" >&5
d583 1
a583 1
echo "configure:594: checking for $ac_word" >&5
d634 1
a634 1
echo "configure:645: checking for $ac_word" >&5
d666 1
a666 1
echo "configure:677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d677 1
a677 1
#line 688 "configure"
d682 1
a682 1
if { (eval echo configure:693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d708 1
a708 1
echo "configure:719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d713 1
a713 1
echo "configure:724: checking whether we are using GNU C" >&5
d722 1
a722 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d741 1
a741 1
echo "configure:752: checking whether ${CC-cc} accepts -g" >&5
d773 1
a773 1
echo "configure:784: checking how to run the C preprocessor" >&5
d788 1
a788 1
#line 799 "configure"
d794 1
a794 1
{ (eval echo configure:805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d805 1
a805 1
#line 816 "configure"
d811 1
a811 1
{ (eval echo configure:822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d822 1
a822 1
#line 833 "configure"
d828 1
a828 1
{ (eval echo configure:839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d855 1
a855 1
echo "configure:866: checking for $ac_word" >&5
d889 1
a889 1
echo "configure:900: checking for yywrap in -l$ac_lib" >&5
d897 1
a897 1
#line 908 "configure"
d908 1
a908 1
if { (eval echo configure:919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d961 1
a961 1
echo "configure:972: checking for a BSD compatible install" >&5
d1014 1
a1014 1
echo "configure:1025: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1048 1
a1048 1
echo "configure:1059: checking host system type" >&5
a1067 4
case $host in
*netbsd*)
	CFLAGS="-Wl,-R/usr/pkg/lib $CFLAGS" ;;
esac
d1072 1
a1072 1
echo "configure:1087: checking if --enable-debug option is specified" >&5
d1084 1
a1084 1
echo "configure:1099: checking if --enable-yydebug option is specified" >&5
d1101 1
a1101 1
echo "configure:1116: checking if --enable-pedant option is specified" >&5
d1113 1
a1113 1
echo "configure:1128: checking if --enable-adminport option is specified" >&5
d1131 1
a1131 1
echo "configure:1146: checking if --enable-rc5 option is specified" >&5
d1143 1
a1143 1
echo "configure:1158: checking if --enable-idea option is specified" >&5
d1155 1
a1155 1
echo "configure:1170: checking if --enable-gssapi option is specified" >&5
d1164 1
a1164 1
if test "x$enable_gssapi" = "xyes"; then
a1171 35
echo $ac_n "checking if --enable-stats option is specified""... $ac_c" 1>&6
echo "configure:1188: checking if --enable-stats option is specified" >&5
# Check whether --enable-stats or --disable-stats was given.
if test "${enable_stats+set}" = set; then
  enableval="$enable_stats"
  :
else
  enable_stats=no
fi

if test "x$enable_stats" = "xyes"; then
	cat >> confdefs.h <<\EOF
#define ENABLE_STATS 1
EOF

fi
echo "$ac_t""$enable_stats" 1>&6

echo $ac_n "checking if --enable-samode-unspec option is specified""... $ac_c" 1>&6
echo "configure:1206: checking if --enable-samode-unspec option is specified" >&5
# Check whether --enable-samode-unspec or --disable-samode-unspec was given.
if test "${enable_samode_unspec+set}" = set; then
  enableval="$enable_samode_unspec"
  :
else
  enable_samode_unspec=no
fi

if test "x$enable_samode_unspec" = "xyes"; then
	cat >> confdefs.h <<\EOF
#define ENABLE_SAMODE_UNSPECIFIED 1
EOF

fi
echo "$ac_t""$enable_samode_unspec" 1>&6
d1175 1
a1175 1
echo "configure:1225: checking if --with-efence option is specified" >&5
d1189 1
a1189 1
echo "configure:1239: checking for efence containing EF_Print" >&5
d1196 1
a1196 1
#line 1246 "configure"
d1207 1
a1207 1
if { (eval echo configure:1257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1216 1
a1216 1
#line 1266 "configure"
d1227 1
a1227 1
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1241 1
a1241 1
#line 1291 "configure"
d1252 1
a1252 1
if { (eval echo configure:1302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1275 1
a1275 1
echo "configure:1325: checking for efence containing EF_Print" >&5
d1282 1
a1282 1
#line 1332 "configure"
d1293 1
a1293 1
if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1302 1
a1302 1
#line 1352 "configure"
d1313 1
a1313 1
if { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1327 1
a1327 1
#line 1377 "configure"
d1338 1
a1338 1
if { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1363 1
a1363 1
echo "configure:1413: checking if --with-gc option is specified" >&5
d1381 1
a1381 1
echo "configure:1431: checking for leak containing GC_malloc" >&5
d1388 1
a1388 1
#line 1438 "configure"
d1399 1
a1399 1
if { (eval echo configure:1449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1408 1
a1408 1
#line 1458 "configure"
d1419 1
a1419 1
if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1433 1
a1433 1
#line 1483 "configure"
d1444 1
a1444 1
if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1467 1
a1467 1
echo "configure:1517: checking for leak containing GC_malloc" >&5
d1474 1
a1474 1
#line 1524 "configure"
d1485 1
a1485 1
if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1494 1
a1494 1
#line 1544 "configure"
d1505 1
a1505 1
if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1519 1
a1519 1
#line 1569 "configure"
d1530 1
a1530 1
if { (eval echo configure:1580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1553 9
a1561 7
dmalloc_dir=
echo $ac_n "checking if --with-dmalloc option is specified""... $ac_c" 1>&6
echo "configure:1605: checking if --with-dmalloc option is specified" >&5
# Check whether --with-dmalloc or --without-dmalloc was given.
if test "${with_dmalloc+set}" = set; then
  withval="$with_dmalloc"
  dmalloc_dir=$withval
d1563 1
a1563 1
  dmalloc_dir=no
d1566 15
a1580 4
echo "$ac_t""${dmalloc_dir}" 1>&6
if test "$dmalloc_dir" != "no"; then
	cat >> confdefs.h <<\EOF
#define DMALLOC 1
d1583 50
a1632 5
	if test "x$dmalloc_dir" = "x"; then
		
echo $ac_n "checking for dmalloc containing dmalloc_log_unfreed""... $ac_c" 1>&6
echo "configure:1623: checking for dmalloc containing dmalloc_log_unfreed" >&5
if eval "test \"`echo '$''{'ac_cv_search_dmalloc_log_unfreed'+set}'`\" = set"; then
d1636 1
a1636 1
ac_cv_search_dmalloc_log_unfreed="no"
d1638 1
a1638 1
#line 1630 "configure"
d1643 1
a1643 1
char dmalloc_log_unfreed();
d1646 1
a1646 1
dmalloc_log_unfreed()
d1649 1
a1649 1
if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1651 1
a1651 1
  ac_cv_search_dmalloc_log_unfreed="none required"
d1656 1
a1656 1
  LIBS="-ldmalloc $LIBS"
d1658 1
a1658 1
#line 1650 "configure"
d1663 1
a1663 1
char dmalloc_log_unfreed();
d1666 1
a1666 1
dmalloc_log_unfreed()
d1669 1
a1669 1
if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1671 1
a1671 1
  ac_cv_search_dmalloc_log_unfreed="-ldmalloc"
d1680 2
a1681 2
test "$ac_cv_search_dmalloc_log_unfreed" = "no" && for i in ; do
LIBS="-L$i -ldmalloc $ac_func_search_save_LIBS"
d1683 1
a1683 1
#line 1675 "configure"
d1688 1
a1688 1
char dmalloc_log_unfreed();
d1691 1
a1691 1
dmalloc_log_unfreed()
d1694 1
a1694 1
if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1696 1
a1696 1
  ac_cv_search_dmalloc_log_unfreed="-L$i -ldmalloc"
d1707 3
a1709 3
echo "$ac_t""$ac_cv_search_dmalloc_log_unfreed" 1>&6
if test "$ac_cv_search_dmalloc_log_unfreed" != "no"; then
  test "$ac_cv_search_dmalloc_log_unfreed" = "none required" || LIBS="$ac_cv_search_dmalloc_log_unfreed $LIBS"
a1713 9
	else
		
echo $ac_n "checking for dmalloc containing dmalloc_log_unfreed""... $ac_c" 1>&6
echo "configure:1709: checking for dmalloc containing dmalloc_log_unfreed" >&5
if eval "test \"`echo '$''{'ac_cv_search_dmalloc_log_unfreed'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_dmalloc_log_unfreed="no"
d1717 8
a1724 4
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dmalloc_log_unfreed();
a1725 2
int main() {
dmalloc_log_unfreed()
d1728 2
a1729 3
if { (eval echo configure:1727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_dmalloc_log_unfreed="none required"
d1734 24
a1757 3
  LIBS="-ldmalloc $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 1736 "configure"
d1759 4
a1762 8
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dmalloc_log_unfreed();

int main() {
dmalloc_log_unfreed()
; return 0; }
d1764 2
a1765 1
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1767 1
a1767 1
  ac_cv_search_dmalloc_log_unfreed="-ldmalloc"
d1769 5
a1773 2
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
d1776 10
a1785 5
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_dmalloc_log_unfreed" = "no" && for i in $dmalloc_dir; do
LIBS="-L$i -ldmalloc $ac_func_search_save_LIBS"
d1787 1
a1787 1
#line 1761 "configure"
d1792 1
a1792 1
char dmalloc_log_unfreed();
d1795 1
a1795 1
dmalloc_log_unfreed()
d1798 1
a1798 1
if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1800 1
a1800 2
  ac_cv_search_dmalloc_log_unfreed="-L$i -ldmalloc"
break
d1804 2
d1808 1
a1808 3
done
LIBS="$ac_func_search_save_LIBS"
fi
a1809 8
echo "$ac_t""$ac_cv_search_dmalloc_log_unfreed" 1>&6
if test "$ac_cv_search_dmalloc_log_unfreed" != "no"; then
  test "$ac_cv_search_dmalloc_log_unfreed" = "none required" || LIBS="$ac_cv_search_dmalloc_log_unfreed $LIBS"
  
else :
  
fi
	fi
d1811 7
d1819 1
a1819 7
echo $ac_n "checking if you have KAME tcpdump in $srcdir/../tcpdump""... $ac_c" 1>&6
echo "configure:1796: checking if you have KAME tcpdump in $srcdir/../tcpdump" >&5
if test -f "$srcdir/../tcpdump/print-isakmp.c"; then
	LIBOBJS="$LIBOBJS print-isakmp.o"
	cat >> confdefs.h <<\EOF
#define HAVE_PRINT_ISAKMP_C 1
EOF
a1820 1
	echo "$ac_t""yes" 1>&6
d1822 1
a1822 1
	echo "$ac_t""no" 1>&6
d1825 9
a1833 2
echo $ac_n "checking if __FUNCTION__ is available""... $ac_c" 1>&6
echo "configure:1809: checking if __FUNCTION__ is available" >&5
d1835 1
a1835 1
#line 1811 "configure"
d1837 4
a1840 1
#include <stdio.h>
d1843 1
a1843 1
char *x = __FUNCTION__;
d1846 1
a1846 1
if { (eval echo configure:1819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1848 1
a1848 5
  cat >> confdefs.h <<\EOF
#define HAVE_FUNCTION_MACRO 1
EOF

	echo "$ac_t""yes" 1>&6
d1853 1
a1853 1
  echo "$ac_t""no" 1>&6
d1856 12
a1867 704

echo $ac_n "checking whether to enable ipv6""... $ac_c" 1>&6
echo "configure:1835: checking whether to enable ipv6" >&5
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if test "${enable_ipv6+set}" = set; then
  enableval="$enable_ipv6"
   case "$enableval" in
  no)
       echo "$ac_t""no" 1>&6
       ipv6=no
       ;;
  *)   echo "$ac_t""yes" 1>&6
       cat >> confdefs.h <<\EOF
#define INET6 1
EOF

       ipv6=yes
       ;;
  esac 
else
  if test "$cross_compiling" = yes; then
  echo "$ac_t""no" 1>&6
  ipv6=no

else
  cat > conftest.$ac_ext <<EOF
#line 1859 "configure"
#include "confdefs.h"
 /* AF_INET6 avalable check */
#include <sys/types.h>
#include <sys/socket.h>
main()
{
  exit(0);
 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
   exit(1);
 else
   exit(0);
}

EOF
if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define ENABLE_IPV6 1
EOF

  ipv6=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""no" 1>&6
  ipv6=no
fi
rm -fr conftest*
fi

fi


ipv6type=unknown
ipv6lib=none
ipv6libdir=none

if test "$ipv6" = "yes"; then
	echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6
echo "configure:1901: checking ipv6 stack type" >&5
	for i in inria kame linux toshiba v6d zeta; do
		ipv6trylibc=no
		case $i in
		inria)
						cat > conftest.$ac_ext <<EOF
#line 1907 "configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
#ifdef IPV6_INRIA_VERSION
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/lib;
				ipv6trylibc=yes
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		kame)
						cat > conftest.$ac_ext <<EOF
#line 1929 "configure"
#include "confdefs.h"
dnl
#include <netinet/in.h>
#ifdef __KAME__
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/local/v6/lib;
				ipv6trylibc=yes
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		linux)
						if test -d /usr/inet6; then
				ipv6type=$i
				ipv6lib=inet6
				ipv6libdir=/usr/inet6/lib
				CPPFLAGS="-DINET6 -I/usr/inet6/include $CPPFLAGS"
			fi
			;;
		toshiba)
			cat > conftest.$ac_ext <<EOF
#line 1959 "configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
#ifdef _TOSHIBA_INET6
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/local/v6/lib;
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		v6d)
			cat > conftest.$ac_ext <<EOF
#line 1980 "configure"
#include "confdefs.h"
dnl
#include </usr/local/v6/include/sys/v6config.h>
#ifdef __V6D__
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=v6;
				ipv6libdir=/usr/local/v6/lib;
				CPPFLAGS="-I/usr/local/v6/include $CPPFLAGS"
fi
rm -f conftest*

			;;
		zeta)
			cat > conftest.$ac_ext <<EOF
#line 2001 "configure"
#include "confdefs.h"
dnl
#include <sys/param.h>
#ifdef _ZETA_MINAMI_INET6
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ipv6type=$i;
				ipv6lib=inet6;
				ipv6libdir=/usr/local/v6/lib;
				CPPFLAGS="-DINET6 $CPPFLAGS"
fi
rm -f conftest*

			;;
		esac
		if test "$ipv6type" != "unknown"; then
			break
		fi
	done
	echo "$ac_t""$ipv6type" 1>&6
fi

if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
		echo "using lib$ipv6lib for getaddrinfo"
		LIBS="$LIBS -L$ipv6libdir -l$ipv6lib"
	else
		if test "$ipv6trylibc" = "yes"; then
			echo 'using libc for getaddrinfo'
		else
			echo "Fatal: no $ipv6lib library found.  "
			echo "cannot continue.  You need to fetch lib$ipv6lib.a "
			echo "from appropriate ipv6 kit and compile beforehand."
			exit 1
		fi
	fi
fi

if test "$ipv6" = "yes"; then
	echo $ac_n "checking for advanced API support""... $ac_c" 1>&6
echo "configure:2046: checking for advanced API support" >&5
	if eval "test \"`echo '$''{'racoon_cv_advapi'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  	cat > conftest.$ac_ext <<EOF
#line 2051 "configure"
#include "confdefs.h"
#ifndef INET6
#define INET6
#endif
#include <sys/types.h>
#include <netinet/in.h>
int main() {
struct in6_pktinfo a;
; return 0; }
EOF
if { (eval echo configure:2062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  racoon_cv_advapi="yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  racoon_cv_advapi="no"
fi
rm -f conftest*
fi

	echo "$ac_t""$racoon_cv_advapi" 1>&6
	if test "$racoon_cv_advapi" = yes; then
		cat >> confdefs.h <<\EOF
#define ADVAPI 1
EOF

	fi
fi

echo $ac_n "checking getaddrinfo bug""... $ac_c" 1>&6
echo "configure:2084: checking getaddrinfo bug" >&5
if test "$cross_compiling" = yes; then
  echo "$ac_t""buggy" 1>&6
buggygetaddrinfo=yes
else
  cat > conftest.$ac_ext <<EOF
#line 2090 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
#include <netinet/in.h>

main()
{
  int passive, gaierr, inet4 = 0, inet6 = 0;
  struct addrinfo hints, *ai, *aitop;
  char straddr[INET6_ADDRSTRLEN], strport[16];

  for (passive = 0; passive <= 1; passive++) {
    memset(&hints, 0, sizeof(hints));
    hints.ai_family = AF_UNSPEC;
    hints.ai_flags = passive ? AI_PASSIVE : 0;
    hints.ai_socktype = SOCK_STREAM;
    if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
      (void)gai_strerror(gaierr);
      goto bad;
    }
    for (ai = aitop; ai; ai = ai->ai_next) {
      if (ai->ai_addr == NULL ||
          ai->ai_addrlen == 0 ||
          getnameinfo(ai->ai_addr, ai->ai_addrlen,
                      straddr, sizeof(straddr), strport, sizeof(strport),
                      NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
        goto bad;
      }
      switch (ai->ai_family) {
      case AF_INET:
	if (strcmp(strport, "54321") != 0) {
	  goto bad;
	}
        if (passive) {
          if (strcmp(straddr, "0.0.0.0") != 0) {
            goto bad;
          }
        } else {
          if (strcmp(straddr, "127.0.0.1") != 0) {
            goto bad;
          }
        }
        inet4++;
        break;
      case AF_INET6:
	if (strcmp(strport, "54321") != 0) {
	  goto bad;
	}
        if (passive) {
          if (strcmp(straddr, "::") != 0) {
            goto bad;
          }
        } else {
          if (strcmp(straddr, "::1") != 0) {
            goto bad;
          }
        }
        inet6++;
        break;
      case AF_UNSPEC:
        goto bad;
        break;
      default:
        /* another family support? */
        break;
      }
    }
  }

  if (!(inet4 == 0 || inet4 == 2))
    goto bad;
  if (!(inet6 == 0 || inet6 == 2))
    goto bad;

  if (aitop)
    freeaddrinfo(aitop);
  exit(0);

 bad:
  if (aitop)
    freeaddrinfo(aitop);
  exit(1);
}

EOF
if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""good" 1>&6
buggygetaddrinfo=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""buggy" 1>&6
buggygetaddrinfo=yes
fi
rm -fr conftest*
fi


if test "$buggygetaddrinfo" = "yes"; then
	if test "$ipv6" = "yes"; then
		echo 'Fatal: You must get working getaddrinfo() function.'
		echo '       or you can specify "--disable-ipv6"'.
		exit 1
	else
		CPPFLAGS="$CPPFLAGS -I./missing"
	fi
fi
for ac_func in getaddrinfo getnameinfo
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2206: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2211 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
fi
done



echo $ac_n "checking if --with-ssleay option is specified""... $ac_c" 1>&6
echo "configure:2262: checking if --with-ssleay option is specified" >&5
# Check whether --with-ssleay or --without-ssleay was given.
if test "${with_ssleay+set}" = set; then
  withval="$with_ssleay"
  crypto_dir=$withval
fi

echo "$ac_t""${crypto_dir-"default"}" 1>&6


if test "x$crypto_dir" = "x"; then
	case $host_os in
	netbsd*)	crypto_dir="/usr/pkg";;
	freebsd*)
		if test -d /usr/local/ssl; then
			crypto_dir="/usr/local/ssl"
		else
			crypto_dir="/usr/local"
		fi
		;;
	esac
fi
if test "x$krb5_incdir" = "x"; then
	case $host_os in
	netbsd*)	krb5_incdir="/usr/include/krb5";;
	esac
fi
if test "x$krb5_libs" = "x"; then
	case $host_os in
	netbsd*)	krb5_libs="-lgssapi -lkrb5 -lcom_err -lroken -lasn1";;
	esac
fi
if test "$enable_gssapi" = "yes"; then
	LIBS="$LIBS $krb5_libs"
	CPPFLAGS="-I$krb5_incdir $CPPFLAGS"
fi

echo $ac_n "checking for crypto containing CAST_cfb64_encrypt""... $ac_c" 1>&6
echo "configure:2300: checking for crypto containing CAST_cfb64_encrypt" >&5
if eval "test \"`echo '$''{'ac_cv_search_CAST_cfb64_encrypt'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_CAST_cfb64_encrypt="no"
cat > conftest.$ac_ext <<EOF
#line 2307 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char CAST_cfb64_encrypt();

int main() {
CAST_cfb64_encrypt()
; return 0; }
EOF
if { (eval echo configure:2318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_CAST_cfb64_encrypt="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-lcrypto $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 2327 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char CAST_cfb64_encrypt();

int main() {
CAST_cfb64_encrypt()
; return 0; }
EOF
if { (eval echo configure:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_CAST_cfb64_encrypt="-lcrypto"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_CAST_cfb64_encrypt" = "no" && for i in ${crypto_dir}/lib; do
LIBS="-L$i -lcrypto $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2352 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char CAST_cfb64_encrypt();

int main() {
CAST_cfb64_encrypt()
; return 0; }
EOF
if { (eval echo configure:2363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_CAST_cfb64_encrypt="-L$i -lcrypto"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi

echo "$ac_t""$ac_cv_search_CAST_cfb64_encrypt" 1>&6
if test "$ac_cv_search_CAST_cfb64_encrypt" != "no"; then
  test "$ac_cv_search_CAST_cfb64_encrypt" = "none required" || LIBS="$ac_cv_search_CAST_cfb64_encrypt $LIBS"
  
else :
  
fi
cat > conftest.$ac_ext <<EOF
#line 2384 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <stdio.h>
#include <openssl/bn.h>
#include <openssl/dh.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <openssl/des.h>
int main() {

; return 0; }
EOF
if { (eval echo configure:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  openssl_compile_failed=yes
fi
rm -f conftest*

if test "x$openssl_compile_failed" = "xyes"; then
	echo
	echo "Fatal: crypto library and headers not found."
	echo Specify proper directory by using --with-ssleay.
	if test `uname -s` = FreeBSD; then
		echo Use ports/security/SSLeay to install SSLeay, or visit
	elif test `uname -s` = NetBSD; then
		echo Use pkgsrc/security/SSLeay to install SSLeay, or visit
	else
		echo -n "Visit "
	fi
	echo ftp://psych.psy.uq.oz.au/pub/Crypto/SSL/, or visit
	echo http://www.openssl.org/
	exit 1
fi

echo $ac_n "checking openssl version""... $ac_c" 1>&6
echo "configure:2424: checking openssl version" >&5
cat > conftest.$ac_ext <<EOF
#line 2426 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x00904100L
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  echo "$ac_t""ok" 1>&6
else
  rm -rf conftest*
  echo "$ac_t""too old" 1>&6
	echo
	echo "FATAL: OpenSSL version must be 0.9.4 or higher."
	exit 1
fi
rm -f conftest*


echo $ac_n "checking for ssl_ok in -lssl""... $ac_c" 1>&6
echo "configure:2448: checking for ssl_ok in -lssl" >&5
ac_lib_var=`echo ssl'_'ssl_ok | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lssl -lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2456 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ssl_ok();

int main() {
ssl_ok()
; return 0; }
EOF
if { (eval echo configure:2467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo ssl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-lssl $LIBS"

else
  echo "$ac_t""no" 1>&6
fi


echo $ac_n "checking for des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
echo "configure:2496: checking for des_cbc_encrypt in -lcrypto" >&5
ac_lib_var=`echo crypto'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lcrypto  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2504 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char des_cbc_encrypt();

int main() {
des_cbc_encrypt()
; return 0; }
EOF
if { (eval echo configure:2515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo crypto | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-lcrypto $LIBS"
d1874 1
a1874 1
echo "configure:2543: checking for yywrap in -ll" >&5
d1882 1
a1882 1
#line 2551 "configure"
d1893 1
a1893 1
if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1921 1
a1921 1
echo "configure:2590: checking for yyerror in -ly" >&5
d1929 1
a1929 1
#line 2598 "configure"
d1940 1
a1940 1
if { (eval echo configure:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1969 1
a1969 1
echo "configure:2638: checking for PF_KEYv2 support" >&5
d1974 1
a1974 1
#line 2643 "configure"
d1984 1
a1984 1
if { (eval echo configure:2653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2003 1
a2003 1
echo "configure:2672: checking for old KAME PF_KEYv2 header file" >&5
d2005 1
a2005 1
#line 2674 "configure"
d2015 1
a2015 1
if { (eval echo configure:2684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2026 1
a2026 1
#line 2695 "configure"
d2036 1
a2036 1
if { (eval echo configure:2705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2048 1
a2048 1
#line 2717 "configure"
d2058 1
a2058 1
if { (eval echo configure:2727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2076 1
a2076 1
echo "configure:2745: checking ipsec library path" >&5
d2082 1
a2082 1
#line 2751 "configure"
d2102 1
a2102 1
#line 2771 "configure"
d2131 1
a2131 1
echo "configure:2800: checking for $ipseclib containing ipsec_strerror" >&5
d2138 1
a2138 1
#line 2807 "configure"
d2149 1
a2149 1
if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2158 1
a2158 1
#line 2827 "configure"
d2169 1
a2169 1
if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2183 1
a2183 1
#line 2852 "configure"
d2194 1
a2194 1
if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2217 1
a2217 1
echo "configure:2886: checking for $ipseclib containing ipsec_strerror" >&5
d2224 1
a2224 1
#line 2893 "configure"
d2235 1
a2235 1
if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2244 1
a2244 1
#line 2913 "configure"
d2255 1
a2255 1
if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2269 1
a2269 1
#line 2938 "configure"
d2280 1
a2280 1
if { (eval echo configure:2949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2304 1
a2304 1
echo "configure:2973: checking if --with-libpfkey option is specified" >&5
d2318 1
a2318 1
echo "configure:2987: checking for pfkey containing pfkey_send_spdsetidx" >&5
d2325 1
a2325 1
#line 2994 "configure"
d2336 1
a2336 1
if { (eval echo configure:3005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2345 1
a2345 1
#line 3014 "configure"
d2356 1
a2356 1
if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2370 1
a2370 1
#line 3039 "configure"
d2381 1
a2381 1
if { (eval echo configure:3050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2404 1
a2404 1
echo "configure:3073: checking for pfkey containing pfkey_send_spdsetidx" >&5
d2411 1
a2411 1
#line 3080 "configure"
d2422 1
a2422 1
if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2431 1
a2431 1
#line 3100 "configure"
d2442 1
a2442 1
if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2456 1
a2456 1
#line 3125 "configure"
d2467 1
a2467 1
if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2470 202
a2671 4
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
d2674 8
a2681 2
done
LIBS="$ac_func_search_save_LIBS"
d2684 13
a2696 7
echo "$ac_t""$ac_cv_search_pfkey_send_spdsetidx" 1>&6
if test "$ac_cv_search_pfkey_send_spdsetidx" != "no"; then
  test "$ac_cv_search_pfkey_send_spdsetidx" = "none required" || LIBS="$ac_cv_search_pfkey_send_spdsetidx $LIBS"
  
else :
  
fi
d2700 4
a2703 18
echo $ac_n "checking if --with-liblwres option is specified""... $ac_c" 1>&6
echo "configure:3160: checking if --with-liblwres option is specified" >&5
# Check whether --with-liblwres or --without-liblwres was given.
if test "${with_liblwres+set}" = set; then
  withval="$with_liblwres"
  liblwres_dir=$withval
else
  liblwres_dir=no
fi

echo "$ac_t""${liblwres_dir}" 1>&6
if test "$liblwres_dir" != "no"; then
	if test -d "$liblwres_dir/lib" -a -d "$liblwres_dir/lib"; then
		if test "x$liblwres_dir" = "x"; then
			
echo $ac_n "checking for lwres containing lwres_getrrsetbyname""... $ac_c" 1>&6
echo "configure:3175: checking for lwres containing lwres_getrrsetbyname" >&5
if eval "test \"`echo '$''{'ac_cv_search_lwres_getrrsetbyname'+set}'`\" = set"; then
d2706 2
a2707 4
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_lwres_getrrsetbyname="no"
cat > conftest.$ac_ext <<EOF
#line 3182 "configure"
d2709 5
a2713 5
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lwres_getrrsetbyname();

d2715 1
a2715 1
lwres_getrrsetbyname()
d2718 1
a2718 1
if { (eval echo configure:3193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2720 1
a2720 1
  ac_cv_search_lwres_getrrsetbyname="none required"
d2725 1
a2725 19
  LIBS="-llwres $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 3202 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lwres_getrrsetbyname();

int main() {
lwres_getrrsetbyname()
; return 0; }
EOF
if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_lwres_getrrsetbyname="-llwres"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
a2728 11
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_lwres_getrrsetbyname" = "no" && for i in ; do
LIBS="-L$i -llwres $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 3227 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lwres_getrrsetbyname();
d2730 4
a2733 3
int main() {
lwres_getrrsetbyname()
; return 0; }
d2735 2
a2736 11
if { (eval echo configure:3238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_lwres_getrrsetbyname="-L$i -llwres"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
d2739 5
a2743 13
echo "$ac_t""$ac_cv_search_lwres_getrrsetbyname" 1>&6
if test "$ac_cv_search_lwres_getrrsetbyname" != "no"; then
  test "$ac_cv_search_lwres_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_lwres_getrrsetbyname $LIBS"
  
else :
  
fi
		else
			
echo $ac_n "checking for lwres containing lwres_getrrsetbyname""... $ac_c" 1>&6
echo "configure:3261: checking for lwres containing lwres_getrrsetbyname" >&5
if eval "test \"`echo '$''{'ac_cv_search_lwres_getrrsetbyname'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2745 2
a2746 4
  ac_func_search_save_LIBS="$LIBS"
ac_cv_search_lwres_getrrsetbyname="no"
cat > conftest.$ac_ext <<EOF
#line 3268 "configure"
a2747 4
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lwres_getrrsetbyname();
d2749 84
a2832 19
int main() {
lwres_getrrsetbyname()
; return 0; }
EOF
if { (eval echo configure:3279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_lwres_getrrsetbyname="none required"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="-llwres $LIBS"
	cat > conftest.$ac_ext <<EOF
#line 3288 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lwres_getrrsetbyname();
a2833 3
int main() {
lwres_getrrsetbyname()
; return 0; }
d2835 4
a2838 3
if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_lwres_getrrsetbyname="-llwres"
d2842 3
d2846 1
a2846 1
rm -f conftest*
a2847 11
rm -f conftest*
LIBS="$ac_func_search_save_LIBS"
test "$ac_cv_search_lwres_getrrsetbyname" = "no" && for i in "$liblwres_dir/lib"; do
LIBS="-L$i -llwres $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 3313 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lwres_getrrsetbyname();
a2848 16
int main() {
lwres_getrrsetbyname()
; return 0; }
EOF
if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  ac_cv_search_lwres_getrrsetbyname="-L$i -llwres"
break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
LIBS="$ac_func_search_save_LIBS"
fi
d2850 8
a2857 6
echo "$ac_t""$ac_cv_search_lwres_getrrsetbyname" 1>&6
if test "$ac_cv_search_lwres_getrrsetbyname" != "no"; then
  test "$ac_cv_search_lwres_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_lwres_getrrsetbyname $LIBS"
  
else :
  
d2859 1
a2859 3
		fi
		CFLAGS="$CFLAGS -I$liblwres_dir/include"
		for ac_func in lwres_getrrsetbyname
d2862 1
a2862 1
echo "configure:3349: checking for $ac_func" >&5
d2867 1
a2867 1
#line 3354 "configure"
d2890 1
a2890 1
if { (eval echo configure:3377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2911 1
d2915 1
a2915 5
	else
		echo "FATAL: $liblwres_dir/lib or $liblwres_dir/include not found"
		exit 1
	fi
fi
d2918 1
a2918 1
echo "configure:3408: checking for ANSI C header files" >&5
d2923 1
a2923 1
#line 3413 "configure"
d2931 1
a2931 1
{ (eval echo configure:3421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2948 1
a2948 1
#line 3438 "configure"
d2966 1
a2966 1
#line 3456 "configure"
d2987 1
a2987 1
#line 3477 "configure"
d2998 1
a2998 1
if { (eval echo configure:3488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3022 1
a3022 1
echo "configure:3512: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3027 1
a3027 1
#line 3517 "configure"
d3043 1
a3043 1
if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3067 1
a3067 1
echo "configure:3557: checking for $ac_hdr" >&5
d3072 1
a3072 1
#line 3562 "configure"
d3077 1
a3077 1
{ (eval echo configure:3567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3118 1
a3118 1
echo "configure:3608: checking for $ac_hdr" >&5
d3123 1
a3123 1
#line 3613 "configure"
d3128 1
a3128 1
{ (eval echo configure:3618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3167 1
a3167 1
echo "configure:3657: checking for $ac_hdr" >&5
d3172 1
a3172 1
#line 3662 "configure"
d3177 1
a3177 1
{ (eval echo configure:3667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3205 1
a3205 1
echo "configure:3695: checking for working const" >&5
d3210 1
a3210 1
#line 3700 "configure"
d3259 1
a3259 1
if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3280 1
a3280 1
echo "configure:3770: checking for pid_t" >&5
d3285 1
a3285 1
#line 3775 "configure"
d3313 1
a3313 1
echo "configure:3803: checking for size_t" >&5
d3318 1
a3318 1
#line 3808 "configure"
d3346 1
a3346 1
echo "configure:3836: checking whether time.h and sys/time.h may both be included" >&5
d3351 1
a3351 1
#line 3841 "configure"
d3360 1
a3360 1
if { (eval echo configure:3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3381 1
a3381 1
echo "configure:3871: checking whether struct tm is in sys/time.h or time.h" >&5
d3386 1
a3386 1
#line 3876 "configure"
d3394 1
a3394 1
if { (eval echo configure:3884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3416 1
a3416 1
echo "configure:3906: checking for 8-bit clean memcmp" >&5
d3424 1
a3424 1
#line 3914 "configure"
d3434 1
a3434 1
if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3452 1
a3452 1
echo "configure:3942: checking return type of signal handlers" >&5
d3457 1
a3457 1
#line 3947 "configure"
d3474 1
a3474 1
if { (eval echo configure:3964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3493 1
a3493 1
echo "configure:3983: checking for vprintf" >&5
d3498 1
a3498 1
#line 3988 "configure"
d3521 1
a3521 1
if { (eval echo configure:4011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3545 1
a3545 1
echo "configure:4035: checking for _doprnt" >&5
d3550 1
a3550 1
#line 4040 "configure"
d3573 1
a3573 1
if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3600 1
a3600 1
echo "configure:4090: checking for $ac_func" >&5
d3605 1
a3605 1
#line 4095 "configure"
d3628 1
a3628 1
if { (eval echo configure:4118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3655 1
a3655 1
echo "configure:4145: checking for $ac_func" >&5
d3660 1
a3660 1
#line 4150 "configure"
d3683 1
a3683 1
if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3721 1
a3721 1
echo "configure:4211: checking for $ac_func" >&5
d3726 1
a3726 1
#line 4216 "configure"
d3749 1
a3749 1
if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3771 11


echo $ac_n "checking if --with-pkgversion option is specified""... $ac_c" 1>&6
echo "configure:4265: checking if --with-pkgversion option is specified" >&5
# Check whether --with-pkgversion or --without-pkgversion was given.
if test "${with_pkgversion+set}" = set; then
  withval="$with_pkgversion"
  CPPFLAGS="$CPPFLAGS -DRACOON_PKG_VERSION=\"\\\"$withval\\\"\""
else
  pkgversion=no
fi
@


1.1.1.4
log
@KAME as of 2001/8/31
@
text
@a2281 3
else
	LIBS="$LIBS -L${crypto_dir}/lib"
	CFLAGS="-I${crypto_dir}/include $CFLAGS"
d2299 1
a2299 1
echo "configure:2303: checking for crypto containing CAST_cfb64_encrypt" >&5
d2306 1
a2306 1
#line 2310 "configure"
d2317 1
a2317 1
if { (eval echo configure:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2326 1
a2326 1
#line 2330 "configure"
d2337 1
a2337 1
if { (eval echo configure:2341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2351 1
a2351 1
#line 2355 "configure"
d2362 1
a2362 1
if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2383 1
a2383 1
#line 2387 "configure"
d2396 1
a2396 1
if { (eval echo configure:2400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2423 1
a2423 1
echo "configure:2427: checking openssl version" >&5
d2425 1
a2425 1
#line 2429 "configure"
d2447 1
a2447 1
echo "configure:2451: checking for ssl_ok in -lssl" >&5
d2455 1
a2455 1
#line 2459 "configure"
d2466 1
a2466 1
if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2495 1
a2495 1
echo "configure:2499: checking for des_cbc_encrypt in -lcrypto" >&5
d2503 1
a2503 1
#line 2507 "configure"
d2514 1
a2514 1
if { (eval echo configure:2518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2542 1
a2542 1
echo "configure:2546: checking for yywrap in -ll" >&5
d2550 1
a2550 1
#line 2554 "configure"
d2561 1
a2561 1
if { (eval echo configure:2565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2589 1
a2589 1
echo "configure:2593: checking for yyerror in -ly" >&5
d2597 1
a2597 1
#line 2601 "configure"
d2608 1
a2608 1
if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2637 1
a2637 1
echo "configure:2641: checking for PF_KEYv2 support" >&5
d2642 1
a2642 1
#line 2646 "configure"
d2652 1
a2652 1
if { (eval echo configure:2656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2671 1
a2671 1
echo "configure:2675: checking for old KAME PF_KEYv2 header file" >&5
d2673 1
a2673 1
#line 2677 "configure"
d2683 1
a2683 1
if { (eval echo configure:2687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2694 1
a2694 1
#line 2698 "configure"
d2704 1
a2704 1
if { (eval echo configure:2708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2716 1
a2716 1
#line 2720 "configure"
d2726 1
a2726 1
if { (eval echo configure:2730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2744 1
a2744 1
echo "configure:2748: checking ipsec library path" >&5
d2750 1
a2750 1
#line 2754 "configure"
d2770 1
a2770 1
#line 2774 "configure"
d2799 1
a2799 1
echo "configure:2803: checking for $ipseclib containing ipsec_strerror" >&5
d2806 1
a2806 1
#line 2810 "configure"
d2817 1
a2817 1
if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2826 1
a2826 1
#line 2830 "configure"
d2837 1
a2837 1
if { (eval echo configure:2841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2851 1
a2851 1
#line 2855 "configure"
d2862 1
a2862 1
if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2885 1
a2885 1
echo "configure:2889: checking for $ipseclib containing ipsec_strerror" >&5
d2892 1
a2892 1
#line 2896 "configure"
d2903 1
a2903 1
if { (eval echo configure:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2912 1
a2912 1
#line 2916 "configure"
d2923 1
a2923 1
if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2937 1
a2937 1
#line 2941 "configure"
d2948 1
a2948 1
if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2972 1
a2972 1
echo "configure:2976: checking if --with-libpfkey option is specified" >&5
d2986 1
a2986 1
echo "configure:2990: checking for pfkey containing pfkey_send_spdsetidx" >&5
d2993 1
a2993 1
#line 2997 "configure"
d3004 1
a3004 1
if { (eval echo configure:3008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3013 1
a3013 1
#line 3017 "configure"
d3024 1
a3024 1
if { (eval echo configure:3028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3038 1
a3038 1
#line 3042 "configure"
d3049 1
a3049 1
if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3072 1
a3072 1
echo "configure:3076: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3079 1
a3079 1
#line 3083 "configure"
d3090 1
a3090 1
if { (eval echo configure:3094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3099 1
a3099 1
#line 3103 "configure"
d3110 1
a3110 1
if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3124 1
a3124 1
#line 3128 "configure"
d3135 1
a3135 1
if { (eval echo configure:3139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3159 1
a3159 1
echo "configure:3163: checking if --with-liblwres option is specified" >&5
d3174 1
a3174 1
echo "configure:3178: checking for lwres containing lwres_getrrsetbyname" >&5
d3181 1
a3181 1
#line 3185 "configure"
d3192 1
a3192 1
if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3201 1
a3201 1
#line 3205 "configure"
d3212 1
a3212 1
if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3226 1
a3226 1
#line 3230 "configure"
d3237 1
a3237 1
if { (eval echo configure:3241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3260 1
a3260 1
echo "configure:3264: checking for lwres containing lwres_getrrsetbyname" >&5
d3267 1
a3267 1
#line 3271 "configure"
d3278 1
a3278 1
if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3287 1
a3287 1
#line 3291 "configure"
d3298 1
a3298 1
if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3312 1
a3312 1
#line 3316 "configure"
d3323 1
a3323 1
if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3348 1
a3348 1
echo "configure:3352: checking for $ac_func" >&5
d3353 1
a3353 1
#line 3357 "configure"
d3376 1
a3376 1
if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3404 55
for ac_func in getrrsetbyname
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3412: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3417 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

d3407 1
a3407 1
echo "configure:3466: checking for ANSI C header files" >&5
d3412 1
a3412 1
#line 3471 "configure"
d3420 1
a3420 1
{ (eval echo configure:3479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3437 1
a3437 1
#line 3496 "configure"
d3455 1
a3455 1
#line 3514 "configure"
d3476 1
a3476 1
#line 3535 "configure"
d3487 1
a3487 1
if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3511 1
a3511 1
echo "configure:3570: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3516 1
a3516 1
#line 3575 "configure"
d3532 1
a3532 1
if { (eval echo configure:3591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3556 1
a3556 1
echo "configure:3615: checking for $ac_hdr" >&5
d3561 1
a3561 1
#line 3620 "configure"
d3566 1
a3566 1
{ (eval echo configure:3625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3607 1
a3607 1
echo "configure:3666: checking for $ac_hdr" >&5
d3612 1
a3612 1
#line 3671 "configure"
d3617 1
a3617 1
{ (eval echo configure:3676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3656 1
a3656 1
echo "configure:3715: checking for $ac_hdr" >&5
d3661 1
a3661 1
#line 3720 "configure"
d3666 1
a3666 1
{ (eval echo configure:3725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a3692 78

ac_safe=`echo "openssl/rijndael.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for openssl/rijndael.h""... $ac_c" 1>&6
echo "configure:3755: checking for openssl/rijndael.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3760 "configure"
#include "confdefs.h"
#include <openssl/rijndael.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  :
else
  echo "$ac_t""no" 1>&6

	CPPFLAGS="$CPPFLAGS -I./missing"
	CRYPTOBJS="$CRYPTOBJS rijndael-api-fst.o rijndael-alg-fst.o"

fi



ac_safe=`echo "openssl/sha2.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for openssl/sha2.h""... $ac_c" 1>&6
echo "configure:3794: checking for openssl/sha2.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3799 "configure"
#include "confdefs.h"
#include <openssl/sha2.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  :
else
  echo "$ac_t""no" 1>&6

	CPPFLAGS="$CPPFLAGS -I./missing"
	CRYPTOBJS="$CRYPTOBJS sha2.o"

fi


d3694 1
a3694 1
echo "configure:3831: checking for working const" >&5
d3699 1
a3699 1
#line 3836 "configure"
d3748 1
a3748 1
if { (eval echo configure:3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3769 1
a3769 1
echo "configure:3906: checking for pid_t" >&5
d3774 1
a3774 1
#line 3911 "configure"
d3802 1
a3802 1
echo "configure:3939: checking for size_t" >&5
d3807 1
a3807 1
#line 3944 "configure"
d3835 1
a3835 1
echo "configure:3972: checking whether time.h and sys/time.h may both be included" >&5
d3840 1
a3840 1
#line 3977 "configure"
d3849 1
a3849 1
if { (eval echo configure:3986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3870 1
a3870 1
echo "configure:4007: checking whether struct tm is in sys/time.h or time.h" >&5
d3875 1
a3875 1
#line 4012 "configure"
d3883 1
a3883 1
if { (eval echo configure:4020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3905 1
a3905 1
echo "configure:4042: checking for 8-bit clean memcmp" >&5
d3913 1
a3913 1
#line 4050 "configure"
d3923 1
a3923 1
if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3941 1
a3941 1
echo "configure:4078: checking return type of signal handlers" >&5
d3946 1
a3946 1
#line 4083 "configure"
d3963 1
a3963 1
if { (eval echo configure:4100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3982 1
a3982 1
echo "configure:4119: checking for vprintf" >&5
d3987 1
a3987 1
#line 4124 "configure"
d4010 1
a4010 1
if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4034 1
a4034 1
echo "configure:4171: checking for _doprnt" >&5
d4039 1
a4039 1
#line 4176 "configure"
d4062 1
a4062 1
if { (eval echo configure:4199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4089 1
a4089 1
echo "configure:4226: checking for $ac_func" >&5
d4094 1
a4094 1
#line 4231 "configure"
d4117 1
a4117 1
if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4144 1
a4144 1
echo "configure:4281: checking for $ac_func" >&5
d4149 1
a4149 1
#line 4286 "configure"
d4172 1
a4172 1
if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4210 1
a4210 1
echo "configure:4347: checking for $ac_func" >&5
d4215 1
a4215 1
#line 4352 "configure"
d4238 1
a4238 1
if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4264 1
a4264 1
echo "configure:4401: checking if --with-pkgversion option is specified" >&5
d4268 1
a4268 2
  echo "$ac_t""$withval" 1>&6
	CPPFLAGS="$CPPFLAGS -DRACOON_PKG_VERSION=\"\\\"$withval\\\"\""
d4270 1
a4270 2
  echo "$ac_t""no" 1>&6
	pkgversion=no
a4433 1
s%@@CRYPTOBJS@@%$CRYPTOBJS%g
@


1.1.1.5
log
@KAME racoon as of 2002/4/26
@
text
@a16 2
  --enable-debugrm        build with a memory allocation recorder"
ac_help="$ac_help
d563 1
a563 1
echo "configure:566: checking for $ac_word" >&5
d593 1
a593 1
echo "configure:596: checking for $ac_word" >&5
d644 1
a644 1
echo "configure:647: checking for $ac_word" >&5
d676 1
a676 1
echo "configure:679: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d687 1
a687 1
#line 690 "configure"
d692 1
a692 1
if { (eval echo configure:695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d718 1
a718 1
echo "configure:721: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d723 1
a723 1
echo "configure:726: checking whether we are using GNU C" >&5
d732 1
a732 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d751 1
a751 1
echo "configure:754: checking whether ${CC-cc} accepts -g" >&5
d783 1
a783 1
echo "configure:786: checking how to run the C preprocessor" >&5
d798 1
a798 1
#line 801 "configure"
d804 1
a804 1
{ (eval echo configure:807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d815 1
a815 1
#line 818 "configure"
d821 1
a821 1
{ (eval echo configure:824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d832 1
a832 1
#line 835 "configure"
d838 1
a838 1
{ (eval echo configure:841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d865 1
a865 1
echo "configure:868: checking for $ac_word" >&5
d899 1
a899 1
echo "configure:902: checking for yywrap in -l$ac_lib" >&5
d907 1
a907 1
#line 910 "configure"
d918 1
a918 1
if { (eval echo configure:921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d971 1
a971 1
echo "configure:974: checking for a BSD compatible install" >&5
d1024 1
a1024 1
echo "configure:1027: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1058 1
a1058 1
echo "configure:1061: checking host system type" >&5
d1086 1
a1086 1
echo "configure:1089: checking if --enable-debug option is specified" >&5
a1096 16

echo $ac_n "checking if --enable-debugrm option is specified""... $ac_c" 1>&6
echo "configure:1102: checking if --enable-debugrm option is specified" >&5
# Check whether --enable-debugrm or --disable-debugrm was given.
if test "${enable_debugrm+set}" = set; then
  enableval="$enable_debugrm"
  OPTFLAG="-DDEBUG_RECORD_MALLOCATION $OPTFLAG"; enable_debugrm=yes
else
  enable_debugrm=no
fi

if test "$enable_debugrm" != "no"; then
	DEBUGRMOBJS="debugrm.o"
fi
echo "$ac_t""$enable_debugrm" 1>&6

d1098 1
a1098 1
echo "configure:1117: checking if --enable-yydebug option is specified" >&5
d1115 1
a1115 1
echo "configure:1134: checking if --enable-pedant option is specified" >&5
d1127 1
a1127 1
echo "configure:1146: checking if --enable-adminport option is specified" >&5
d1145 1
a1145 1
echo "configure:1164: checking if --enable-rc5 option is specified" >&5
d1157 1
a1157 1
echo "configure:1176: checking if --enable-idea option is specified" >&5
d1169 1
a1169 1
echo "configure:1188: checking if --enable-gssapi option is specified" >&5
d1187 1
a1187 1
echo "configure:1206: checking if --enable-stats option is specified" >&5
d1205 1
a1205 1
echo "configure:1224: checking if --enable-samode-unspec option is specified" >&5
d1224 1
a1224 1
echo "configure:1243: checking if --with-efence option is specified" >&5
d1238 1
a1238 1
echo "configure:1257: checking for efence containing EF_Print" >&5
d1245 1
a1245 1
#line 1264 "configure"
d1256 1
a1256 1
if { (eval echo configure:1275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1265 1
a1265 1
#line 1284 "configure"
d1276 1
a1276 1
if { (eval echo configure:1295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1290 1
a1290 1
#line 1309 "configure"
d1301 1
a1301 1
if { (eval echo configure:1320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1324 1
a1324 1
echo "configure:1343: checking for efence containing EF_Print" >&5
d1331 1
a1331 1
#line 1350 "configure"
d1342 1
a1342 1
if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1351 1
a1351 1
#line 1370 "configure"
d1362 1
a1362 1
if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1376 1
a1376 1
#line 1395 "configure"
d1387 1
a1387 1
if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1412 1
a1412 1
echo "configure:1431: checking if --with-gc option is specified" >&5
d1430 1
a1430 1
echo "configure:1449: checking for leak containing GC_malloc" >&5
d1437 1
a1437 1
#line 1456 "configure"
d1448 1
a1448 1
if { (eval echo configure:1467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1457 1
a1457 1
#line 1476 "configure"
d1468 1
a1468 1
if { (eval echo configure:1487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1482 1
a1482 1
#line 1501 "configure"
d1493 1
a1493 1
if { (eval echo configure:1512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1516 1
a1516 1
echo "configure:1535: checking for leak containing GC_malloc" >&5
d1523 1
a1523 1
#line 1542 "configure"
d1534 1
a1534 1
if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1543 1
a1543 1
#line 1562 "configure"
d1554 1
a1554 1
if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1568 1
a1568 1
#line 1587 "configure"
d1579 1
a1579 1
if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1604 1
a1604 1
echo "configure:1623: checking if --with-dmalloc option is specified" >&5
d1622 1
a1622 1
echo "configure:1641: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1629 1
a1629 1
#line 1648 "configure"
d1640 1
a1640 1
if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1649 1
a1649 1
#line 1668 "configure"
d1660 1
a1660 1
if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1674 1
a1674 1
#line 1693 "configure"
d1685 1
a1685 1
if { (eval echo configure:1704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1708 1
a1708 1
echo "configure:1727: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1715 1
a1715 1
#line 1734 "configure"
d1726 1
a1726 1
if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1735 1
a1735 1
#line 1754 "configure"
d1746 1
a1746 1
if { (eval echo configure:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1760 1
a1760 1
#line 1779 "configure"
d1771 1
a1771 1
if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1795 1
a1795 1
echo "configure:1814: checking if you have KAME tcpdump in $srcdir/../tcpdump" >&5
d1808 1
a1808 1
echo "configure:1827: checking if __FUNCTION__ is available" >&5
d1810 1
a1810 1
#line 1829 "configure"
d1818 1
a1818 1
if { (eval echo configure:1837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1834 1
a1834 1
echo "configure:1853: checking whether to enable ipv6" >&5
d1858 1
a1858 1
#line 1877 "configure"
d1873 1
a1873 1
if { (eval echo configure:1892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1900 1
a1900 1
echo "configure:1919: checking ipv6 stack type" >&5
d1906 1
a1906 1
#line 1925 "configure"
d1928 1
a1928 1
#line 1947 "configure"
d1958 1
a1958 1
#line 1977 "configure"
d1979 1
a1979 1
#line 1998 "configure"
d2000 1
a2000 1
#line 2019 "configure"
d2045 1
a2045 1
echo "configure:2064: checking for advanced API support" >&5
d2050 1
a2050 1
#line 2069 "configure"
d2061 1
a2061 1
if { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2083 1
a2083 1
echo "configure:2102: checking getaddrinfo bug" >&5
d2089 1
a2089 1
#line 2108 "configure"
d2178 1
a2178 1
if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2205 1
a2205 1
echo "configure:2224: checking for $ac_func" >&5
d2210 1
a2210 1
#line 2229 "configure"
d2233 1
a2233 1
if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2261 1
a2261 1
echo "configure:2280: checking if --with-ssleay option is specified" >&5
d2302 1
a2302 1
echo "configure:2321: checking for crypto containing CAST_cfb64_encrypt" >&5
d2309 1
a2309 1
#line 2328 "configure"
d2320 1
a2320 1
if { (eval echo configure:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2329 1
a2329 1
#line 2348 "configure"
d2340 1
a2340 1
if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2354 1
a2354 1
#line 2373 "configure"
d2365 1
a2365 1
if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2386 1
a2386 1
#line 2405 "configure"
d2399 1
a2399 1
if { (eval echo configure:2418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2426 1
a2426 1
echo "configure:2445: checking openssl version" >&5
d2428 1
a2428 1
#line 2447 "configure"
d2450 1
a2450 1
echo "configure:2469: checking for ssl_ok in -lssl" >&5
d2458 1
a2458 1
#line 2477 "configure"
d2469 1
a2469 1
if { (eval echo configure:2488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2498 1
a2498 1
echo "configure:2517: checking for des_cbc_encrypt in -lcrypto" >&5
d2506 1
a2506 1
#line 2525 "configure"
d2517 1
a2517 1
if { (eval echo configure:2536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2545 1
a2545 1
echo "configure:2564: checking for yywrap in -ll" >&5
d2553 1
a2553 1
#line 2572 "configure"
d2564 1
a2564 1
if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2592 1
a2592 1
echo "configure:2611: checking for yyerror in -ly" >&5
d2600 1
a2600 1
#line 2619 "configure"
d2611 1
a2611 1
if { (eval echo configure:2630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2640 1
a2640 1
echo "configure:2659: checking for PF_KEYv2 support" >&5
d2645 1
a2645 1
#line 2664 "configure"
d2655 1
a2655 1
if { (eval echo configure:2674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2674 1
a2674 1
echo "configure:2693: checking for old KAME PF_KEYv2 header file" >&5
d2676 1
a2676 1
#line 2695 "configure"
d2686 1
a2686 1
if { (eval echo configure:2705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2697 1
a2697 1
#line 2716 "configure"
d2707 1
a2707 1
if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2719 1
a2719 1
#line 2738 "configure"
d2729 1
a2729 1
if { (eval echo configure:2748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2747 1
a2747 1
echo "configure:2766: checking ipsec library path" >&5
d2753 1
a2753 1
#line 2772 "configure"
d2773 1
a2773 1
#line 2792 "configure"
d2802 1
a2802 1
echo "configure:2821: checking for $ipseclib containing ipsec_strerror" >&5
d2809 1
a2809 1
#line 2828 "configure"
d2820 1
a2820 1
if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2829 1
a2829 1
#line 2848 "configure"
d2840 1
a2840 1
if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2854 1
a2854 1
#line 2873 "configure"
d2865 1
a2865 1
if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2888 1
a2888 1
echo "configure:2907: checking for $ipseclib containing ipsec_strerror" >&5
d2895 1
a2895 1
#line 2914 "configure"
d2906 1
a2906 1
if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2915 1
a2915 1
#line 2934 "configure"
d2926 1
a2926 1
if { (eval echo configure:2945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2940 1
a2940 1
#line 2959 "configure"
d2951 1
a2951 1
if { (eval echo configure:2970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2975 1
a2975 1
echo "configure:2994: checking if --with-libpfkey option is specified" >&5
d2989 1
a2989 1
echo "configure:3008: checking for pfkey containing pfkey_send_spdsetidx" >&5
d2996 1
a2996 1
#line 3015 "configure"
d3007 1
a3007 1
if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3016 1
a3016 1
#line 3035 "configure"
d3027 1
a3027 1
if { (eval echo configure:3046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3041 1
a3041 1
#line 3060 "configure"
d3052 1
a3052 1
if { (eval echo configure:3071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3075 1
a3075 1
echo "configure:3094: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3082 1
a3082 1
#line 3101 "configure"
d3093 1
a3093 1
if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3102 1
a3102 1
#line 3121 "configure"
d3113 1
a3113 1
if { (eval echo configure:3132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3127 1
a3127 1
#line 3146 "configure"
d3138 1
a3138 1
if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3162 1
a3162 1
echo "configure:3181: checking if --with-liblwres option is specified" >&5
d3177 1
a3177 1
echo "configure:3196: checking for lwres containing lwres_getrrsetbyname" >&5
d3184 1
a3184 1
#line 3203 "configure"
d3195 1
a3195 1
if { (eval echo configure:3214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3204 1
a3204 1
#line 3223 "configure"
d3215 1
a3215 1
if { (eval echo configure:3234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3229 1
a3229 1
#line 3248 "configure"
d3240 1
a3240 1
if { (eval echo configure:3259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3263 1
a3263 1
echo "configure:3282: checking for lwres containing lwres_getrrsetbyname" >&5
d3270 1
a3270 1
#line 3289 "configure"
d3281 1
a3281 1
if { (eval echo configure:3300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3290 1
a3290 1
#line 3309 "configure"
d3301 1
a3301 1
if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3315 1
a3315 1
#line 3334 "configure"
d3326 1
a3326 1
if { (eval echo configure:3345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3351 1
a3351 1
echo "configure:3370: checking for $ac_func" >&5
d3356 1
a3356 1
#line 3375 "configure"
d3379 1
a3379 1
if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3411 1
a3411 1
echo "configure:3430: checking for $ac_func" >&5
d3416 1
a3416 1
#line 3435 "configure"
d3439 1
a3439 1
if { (eval echo configure:3458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3465 1
a3465 1
echo "configure:3484: checking for ANSI C header files" >&5
d3470 1
a3470 1
#line 3489 "configure"
d3478 1
a3478 1
{ (eval echo configure:3497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3495 1
a3495 1
#line 3514 "configure"
d3513 1
a3513 1
#line 3532 "configure"
d3534 1
a3534 1
#line 3553 "configure"
d3545 1
a3545 1
if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3569 1
a3569 1
echo "configure:3588: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3574 1
a3574 1
#line 3593 "configure"
d3590 1
a3590 1
if { (eval echo configure:3609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3614 1
a3614 1
echo "configure:3633: checking for $ac_hdr" >&5
d3619 1
a3619 1
#line 3638 "configure"
d3624 1
a3624 1
{ (eval echo configure:3643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3665 1
a3665 1
echo "configure:3684: checking for $ac_hdr" >&5
d3670 1
a3670 1
#line 3689 "configure"
d3675 1
a3675 1
{ (eval echo configure:3694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3714 1
a3714 1
echo "configure:3733: checking for $ac_hdr" >&5
d3719 1
a3719 1
#line 3738 "configure"
d3724 1
a3724 1
{ (eval echo configure:3743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3754 1
a3754 1
echo "configure:3773: checking for openssl/rijndael.h" >&5
d3759 1
a3759 1
#line 3778 "configure"
d3764 1
a3764 1
{ (eval echo configure:3783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3793 1
a3793 1
echo "configure:3812: checking for openssl/sha2.h" >&5
d3798 1
a3798 1
#line 3817 "configure"
d3803 1
a3803 1
{ (eval echo configure:3822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3830 1
a3830 1
echo "configure:3849: checking for working const" >&5
d3835 1
a3835 1
#line 3854 "configure"
d3884 1
a3884 1
if { (eval echo configure:3903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3905 1
a3905 1
echo "configure:3924: checking for pid_t" >&5
d3910 1
a3910 1
#line 3929 "configure"
d3938 1
a3938 1
echo "configure:3957: checking for size_t" >&5
d3943 1
a3943 1
#line 3962 "configure"
d3971 1
a3971 1
echo "configure:3990: checking whether time.h and sys/time.h may both be included" >&5
d3976 1
a3976 1
#line 3995 "configure"
d3985 1
a3985 1
if { (eval echo configure:4004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4006 1
a4006 1
echo "configure:4025: checking whether struct tm is in sys/time.h or time.h" >&5
d4011 1
a4011 1
#line 4030 "configure"
d4019 1
a4019 1
if { (eval echo configure:4038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4041 1
a4041 1
echo "configure:4060: checking for 8-bit clean memcmp" >&5
d4049 1
a4049 1
#line 4068 "configure"
d4059 1
a4059 1
if { (eval echo configure:4078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4077 1
a4077 1
echo "configure:4096: checking return type of signal handlers" >&5
d4082 1
a4082 1
#line 4101 "configure"
d4099 1
a4099 1
if { (eval echo configure:4118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4118 1
a4118 1
echo "configure:4137: checking for vprintf" >&5
d4123 1
a4123 1
#line 4142 "configure"
d4146 1
a4146 1
if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4170 1
a4170 1
echo "configure:4189: checking for _doprnt" >&5
d4175 1
a4175 1
#line 4194 "configure"
d4198 1
a4198 1
if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4225 1
a4225 1
echo "configure:4244: checking for $ac_func" >&5
d4230 1
a4230 1
#line 4249 "configure"
d4253 1
a4253 1
if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4280 1
a4280 1
echo "configure:4299: checking for $ac_func" >&5
d4285 1
a4285 1
#line 4304 "configure"
d4308 1
a4308 1
if { (eval echo configure:4327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4346 1
a4346 1
echo "configure:4365: checking for $ac_func" >&5
d4351 1
a4351 1
#line 4370 "configure"
d4374 1
a4374 1
if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4400 1
a4400 1
echo "configure:4419: checking if --with-pkgversion option is specified" >&5
a4570 1
s%@@DEBUGRMOBJS@@%$DEBUGRMOBJS%g
@


1.1.1.6
log
@KAME racoon as of 2002/11/20
@
text
@d17 1
a17 1
  --enable-debugrm        build with the memory allocation recorder"
d1825 2
a1826 2
echo $ac_n "checking if __func__ is available""... $ac_c" 1>&6
echo "configure:1827: checking if __func__ is available" >&5
d1833 1
a1833 1
char *x = __func__;
d1839 1
a1839 1
#define HAVE_FUNC_MACRO 1
a2311 1
	freebsd*)	krb5_libs="-lgssapi -lkrb5 -lcom_err -lroken -lasn1 -lcrypt";;
d2315 2
a2316 6
	case $host_os in
	netbsd*)
		LIBS="$LIBS $krb5_libs"
		CPPFLAGS="-I$krb5_incdir $CPPFLAGS"
		;;
	esac
d2320 1
a2320 1
echo "configure:2326: checking for crypto containing CAST_cfb64_encrypt" >&5
d2327 1
a2327 1
#line 2333 "configure"
d2338 1
a2338 1
if { (eval echo configure:2344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2347 1
a2347 1
#line 2353 "configure"
d2358 1
a2358 1
if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2372 1
a2372 1
#line 2378 "configure"
d2383 1
a2383 1
if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2404 1
a2404 1
#line 2410 "configure"
d2417 1
a2417 1
if { (eval echo configure:2423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2444 1
a2444 1
echo "configure:2450: checking openssl version" >&5
d2446 1
a2446 1
#line 2452 "configure"
d2468 1
a2468 1
echo "configure:2474: checking for ssl_ok in -lssl" >&5
d2476 1
a2476 1
#line 2482 "configure"
d2487 1
a2487 1
if { (eval echo configure:2493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2516 1
a2516 1
echo "configure:2522: checking for des_cbc_encrypt in -lcrypto" >&5
d2524 1
a2524 1
#line 2530 "configure"
d2535 1
a2535 1
if { (eval echo configure:2541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2563 1
a2563 1
echo "configure:2569: checking for yywrap in -ll" >&5
d2571 1
a2571 1
#line 2577 "configure"
d2582 1
a2582 1
if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2610 1
a2610 1
echo "configure:2616: checking for yyerror in -ly" >&5
d2618 1
a2618 1
#line 2624 "configure"
d2629 1
a2629 1
if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2658 1
a2658 1
echo "configure:2664: checking for PF_KEYv2 support" >&5
d2663 1
a2663 1
#line 2669 "configure"
d2673 1
a2673 1
if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2692 1
a2692 1
echo "configure:2698: checking for old KAME PF_KEYv2 header file" >&5
d2694 1
a2694 1
#line 2700 "configure"
d2704 1
a2704 1
if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2715 1
a2715 1
#line 2721 "configure"
d2725 1
a2725 1
if { (eval echo configure:2731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2737 1
a2737 1
#line 2743 "configure"
d2747 1
a2747 1
if { (eval echo configure:2753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2765 1
a2765 1
echo "configure:2771: checking ipsec library path" >&5
d2771 1
a2771 1
#line 2777 "configure"
d2791 1
a2791 1
#line 2797 "configure"
d2820 1
a2820 1
echo "configure:2826: checking for $ipseclib containing ipsec_strerror" >&5
d2827 1
a2827 1
#line 2833 "configure"
d2838 1
a2838 1
if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2847 1
a2847 1
#line 2853 "configure"
d2858 1
a2858 1
if { (eval echo configure:2864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2872 1
a2872 1
#line 2878 "configure"
d2883 1
a2883 1
if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2906 1
a2906 1
echo "configure:2912: checking for $ipseclib containing ipsec_strerror" >&5
d2913 1
a2913 1
#line 2919 "configure"
d2924 1
a2924 1
if { (eval echo configure:2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2933 1
a2933 1
#line 2939 "configure"
d2944 1
a2944 1
if { (eval echo configure:2950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2958 1
a2958 1
#line 2964 "configure"
d2969 1
a2969 1
if { (eval echo configure:2975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2993 1
a2993 1
echo "configure:2999: checking if --with-libpfkey option is specified" >&5
d3007 1
a3007 1
echo "configure:3013: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3014 1
a3014 1
#line 3020 "configure"
d3025 1
a3025 1
if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3034 1
a3034 1
#line 3040 "configure"
d3045 1
a3045 1
if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3059 1
a3059 1
#line 3065 "configure"
d3070 1
a3070 1
if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3093 1
a3093 1
echo "configure:3099: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3100 1
a3100 1
#line 3106 "configure"
d3111 1
a3111 1
if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3120 1
a3120 1
#line 3126 "configure"
d3131 1
a3131 1
if { (eval echo configure:3137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3145 1
a3145 1
#line 3151 "configure"
d3156 1
a3156 1
if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3180 1
a3180 1
echo "configure:3186: checking if --with-liblwres option is specified" >&5
d3195 1
a3195 1
echo "configure:3201: checking for lwres containing lwres_getrrsetbyname" >&5
d3202 1
a3202 1
#line 3208 "configure"
d3213 1
a3213 1
if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3222 1
a3222 1
#line 3228 "configure"
d3233 1
a3233 1
if { (eval echo configure:3239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3247 1
a3247 1
#line 3253 "configure"
d3258 1
a3258 1
if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3281 1
a3281 1
echo "configure:3287: checking for lwres containing lwres_getrrsetbyname" >&5
d3288 1
a3288 1
#line 3294 "configure"
d3299 1
a3299 1
if { (eval echo configure:3305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3308 1
a3308 1
#line 3314 "configure"
d3319 1
a3319 1
if { (eval echo configure:3325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3333 1
a3333 1
#line 3339 "configure"
d3344 1
a3344 1
if { (eval echo configure:3350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3369 1
a3369 1
echo "configure:3375: checking for $ac_func" >&5
d3374 1
a3374 1
#line 3380 "configure"
d3397 1
a3397 1
if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3429 1
a3429 1
echo "configure:3435: checking for $ac_func" >&5
d3434 1
a3434 1
#line 3440 "configure"
d3457 1
a3457 1
if { (eval echo configure:3463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3483 1
a3483 1
echo "configure:3489: checking for ANSI C header files" >&5
d3488 1
a3488 1
#line 3494 "configure"
d3496 1
a3496 1
{ (eval echo configure:3502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3513 1
a3513 1
#line 3519 "configure"
d3531 1
a3531 1
#line 3537 "configure"
d3552 1
a3552 1
#line 3558 "configure"
d3563 1
a3563 1
if { (eval echo configure:3569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3587 1
a3587 1
echo "configure:3593: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3592 1
a3592 1
#line 3598 "configure"
d3608 1
a3608 1
if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3632 1
a3632 1
echo "configure:3638: checking for $ac_hdr" >&5
d3637 1
a3637 1
#line 3643 "configure"
d3642 1
a3642 1
{ (eval echo configure:3648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3683 1
a3683 1
echo "configure:3689: checking for $ac_hdr" >&5
d3688 1
a3688 1
#line 3694 "configure"
d3693 1
a3693 1
{ (eval echo configure:3699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3732 1
a3732 1
echo "configure:3738: checking for $ac_hdr" >&5
d3737 1
a3737 1
#line 3743 "configure"
d3742 1
a3742 1
{ (eval echo configure:3748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3772 1
a3772 1
echo "configure:3778: checking for openssl/rijndael.h" >&5
d3777 1
a3777 1
#line 3783 "configure"
d3782 1
a3782 1
{ (eval echo configure:3788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3811 1
a3811 1
echo "configure:3817: checking for openssl/sha2.h" >&5
d3816 1
a3816 1
#line 3822 "configure"
d3821 1
a3821 1
{ (eval echo configure:3827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3848 1
a3848 1
echo "configure:3854: checking for working const" >&5
d3853 1
a3853 1
#line 3859 "configure"
d3902 1
a3902 1
if { (eval echo configure:3908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3923 1
a3923 1
echo "configure:3929: checking for pid_t" >&5
d3928 1
a3928 1
#line 3934 "configure"
d3956 1
a3956 1
echo "configure:3962: checking for size_t" >&5
d3961 1
a3961 1
#line 3967 "configure"
d3989 1
a3989 1
echo "configure:3995: checking whether time.h and sys/time.h may both be included" >&5
d3994 1
a3994 1
#line 4000 "configure"
d4003 1
a4003 1
if { (eval echo configure:4009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4024 1
a4024 1
echo "configure:4030: checking whether struct tm is in sys/time.h or time.h" >&5
d4029 1
a4029 1
#line 4035 "configure"
d4037 1
a4037 1
if { (eval echo configure:4043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4059 1
a4059 1
echo "configure:4065: checking for 8-bit clean memcmp" >&5
d4067 1
a4067 1
#line 4073 "configure"
d4077 1
a4077 1
if { (eval echo configure:4083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4095 1
a4095 1
echo "configure:4101: checking return type of signal handlers" >&5
d4100 1
a4100 1
#line 4106 "configure"
d4117 1
a4117 1
if { (eval echo configure:4123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4136 1
a4136 1
echo "configure:4142: checking for vprintf" >&5
d4141 1
a4141 1
#line 4147 "configure"
d4164 1
a4164 1
if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4188 1
a4188 1
echo "configure:4194: checking for _doprnt" >&5
d4193 1
a4193 1
#line 4199 "configure"
d4216 1
a4216 1
if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4243 1
a4243 1
echo "configure:4249: checking for $ac_func" >&5
d4248 1
a4248 1
#line 4254 "configure"
d4271 1
a4271 1
if { (eval echo configure:4277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4298 1
a4298 1
echo "configure:4304: checking for $ac_func" >&5
d4303 1
a4303 1
#line 4309 "configure"
d4326 1
a4326 1
if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4364 1
a4364 1
echo "configure:4370: checking for $ac_func" >&5
d4369 1
a4369 1
#line 4375 "configure"
d4392 1
a4392 1
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a4416 58
for ac_func in arc4random
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4426: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4431 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:4454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
fi
done



d4418 1
a4418 1
echo "configure:4482: checking if --with-pkgversion option is specified" >&5
@


1.1.1.7
log
@kame racoon 2003/7/12.  lots of lots of stability fixes.
@
text
@a67 1
sitefile=
a181 1
  --site-file=FILE        use FILE as the site file
a351 5
  -site-file | --site-file | --site-fil | --site-fi | --site-f)
    ac_prev=sitefile ;;
  -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    sitefile="$ac_optarg" ;;

d517 5
a521 7
if test -z "$sitefile"; then
  if test -z "$CONFIG_SITE"; then
    if test "x$prefix" != xNONE; then
      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    else
      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    fi
a522 2
else
  CONFIG_SITE="$sitefile"
d565 1
a565 1
echo "configure:577: checking for $ac_word" >&5
d595 1
a595 1
echo "configure:607: checking for $ac_word" >&5
d646 1
a646 1
echo "configure:658: checking for $ac_word" >&5
d678 1
a678 1
echo "configure:690: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d689 1
a689 1
#line 701 "configure"
d694 1
a694 1
if { (eval echo configure:706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d720 1
a720 1
echo "configure:732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d725 1
a725 1
echo "configure:737: checking whether we are using GNU C" >&5
d734 1
a734 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d753 1
a753 1
echo "configure:765: checking whether ${CC-cc} accepts -g" >&5
d785 1
a785 1
echo "configure:797: checking how to run the C preprocessor" >&5
d800 1
a800 1
#line 812 "configure"
d806 1
a806 1
{ (eval echo configure:818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d817 1
a817 1
#line 829 "configure"
d823 1
a823 1
{ (eval echo configure:835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d834 1
a834 1
#line 846 "configure"
d840 1
a840 1
{ (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d867 1
a867 1
echo "configure:879: checking for $ac_word" >&5
d901 1
a901 1
echo "configure:913: checking for yywrap in -l$ac_lib" >&5
d909 1
a909 1
#line 921 "configure"
d920 1
a920 1
if { (eval echo configure:932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d973 1
a973 1
echo "configure:985: checking for a BSD compatible install" >&5
d1026 1
a1026 1
echo "configure:1038: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1060 1
a1060 1
echo "configure:1072: checking host system type" >&5
d1088 1
a1088 1
echo "configure:1100: checking if --enable-debug option is specified" >&5
d1101 1
a1101 1
echo "configure:1113: checking if --enable-debugrm option is specified" >&5
d1116 1
a1116 1
echo "configure:1128: checking if --enable-yydebug option is specified" >&5
d1133 1
a1133 1
echo "configure:1145: checking if --enable-pedant option is specified" >&5
d1145 1
a1145 1
echo "configure:1157: checking if --enable-adminport option is specified" >&5
d1163 1
a1163 1
echo "configure:1175: checking if --enable-rc5 option is specified" >&5
d1175 1
a1175 1
echo "configure:1187: checking if --enable-idea option is specified" >&5
d1187 1
a1187 1
echo "configure:1199: checking if --enable-gssapi option is specified" >&5
d1205 1
a1205 1
echo "configure:1217: checking if --enable-stats option is specified" >&5
d1223 1
a1223 1
echo "configure:1235: checking if --enable-samode-unspec option is specified" >&5
d1242 1
a1242 1
echo "configure:1254: checking if --with-efence option is specified" >&5
d1256 1
a1256 1
echo "configure:1268: checking for efence containing EF_Print" >&5
d1263 1
a1263 1
#line 1275 "configure"
d1274 1
a1274 1
if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1283 1
a1283 1
#line 1295 "configure"
d1294 1
a1294 1
if { (eval echo configure:1306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1308 1
a1308 1
#line 1320 "configure"
d1319 1
a1319 1
if { (eval echo configure:1331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1342 1
a1342 1
echo "configure:1354: checking for efence containing EF_Print" >&5
d1349 1
a1349 1
#line 1361 "configure"
d1360 1
a1360 1
if { (eval echo configure:1372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1369 1
a1369 1
#line 1381 "configure"
d1380 1
a1380 1
if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1394 1
a1394 1
#line 1406 "configure"
d1405 1
a1405 1
if { (eval echo configure:1417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1430 1
a1430 1
echo "configure:1442: checking if --with-gc option is specified" >&5
d1448 1
a1448 1
echo "configure:1460: checking for leak containing GC_malloc" >&5
d1455 1
a1455 1
#line 1467 "configure"
d1466 1
a1466 1
if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1475 1
a1475 1
#line 1487 "configure"
d1486 1
a1486 1
if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1500 1
a1500 1
#line 1512 "configure"
d1511 1
a1511 1
if { (eval echo configure:1523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1534 1
a1534 1
echo "configure:1546: checking for leak containing GC_malloc" >&5
d1541 1
a1541 1
#line 1553 "configure"
d1552 1
a1552 1
if { (eval echo configure:1564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1561 1
a1561 1
#line 1573 "configure"
d1572 1
a1572 1
if { (eval echo configure:1584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1586 1
a1586 1
#line 1598 "configure"
d1597 1
a1597 1
if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1622 1
a1622 1
echo "configure:1634: checking if --with-dmalloc option is specified" >&5
d1640 1
a1640 1
echo "configure:1652: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1647 1
a1647 1
#line 1659 "configure"
d1658 1
a1658 1
if { (eval echo configure:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1667 1
a1667 1
#line 1679 "configure"
d1678 1
a1678 1
if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1692 1
a1692 1
#line 1704 "configure"
d1703 1
a1703 1
if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1726 1
a1726 1
echo "configure:1738: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1733 1
a1733 1
#line 1745 "configure"
d1744 1
a1744 1
if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1753 1
a1753 1
#line 1765 "configure"
d1764 1
a1764 1
if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1778 1
a1778 1
#line 1790 "configure"
d1789 1
a1789 1
if { (eval echo configure:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1813 1
a1813 1
echo "configure:1825: checking if you have KAME tcpdump in $srcdir/../tcpdump" >&5
d1826 1
a1826 1
echo "configure:1838: checking if __func__ is available" >&5
d1828 1
a1828 1
#line 1840 "configure"
d1836 1
a1836 1
if { (eval echo configure:1848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1852 1
a1852 1
echo "configure:1864: checking whether to enable ipv6" >&5
d1876 1
a1876 1
#line 1888 "configure"
d1891 1
a1891 1
if { (eval echo configure:1903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1918 1
a1918 1
echo "configure:1930: checking ipv6 stack type" >&5
d1924 1
a1924 1
#line 1936 "configure"
d1946 1
a1946 1
#line 1958 "configure"
d1976 1
a1976 1
#line 1988 "configure"
d1997 1
a1997 1
#line 2009 "configure"
d2018 1
a2018 1
#line 2030 "configure"
d2063 1
a2063 1
echo "configure:2075: checking for advanced API support" >&5
d2068 1
a2068 1
#line 2080 "configure"
d2079 1
a2079 1
if { (eval echo configure:2091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2101 1
a2101 1
echo "configure:2113: checking getaddrinfo bug" >&5
d2107 1
a2107 1
#line 2119 "configure"
a2125 1
    hints.ai_protocol = IPPROTO_TCP;
d2196 1
a2196 1
if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2223 1
a2223 1
echo "configure:2236: checking for $ac_func" >&5
d2228 1
a2228 1
#line 2241 "configure"
d2251 1
a2251 1
if { (eval echo configure:2264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2279 1
a2279 1
echo "configure:2292: checking if --with-ssleay option is specified" >&5
d2325 1
a2325 1
echo "configure:2338: checking for crypto containing CAST_cfb64_encrypt" >&5
d2332 1
a2332 1
#line 2345 "configure"
d2343 1
a2343 1
if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2352 1
a2352 1
#line 2365 "configure"
d2363 1
a2363 1
if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2377 1
a2377 1
#line 2390 "configure"
d2388 1
a2388 1
if { (eval echo configure:2401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2409 1
a2409 1
#line 2422 "configure"
d2422 1
a2422 1
if { (eval echo configure:2435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2449 1
a2449 1
echo "configure:2462: checking openssl version" >&5
d2451 1
a2451 1
#line 2464 "configure"
d2473 1
a2473 1
echo "configure:2486: checking for ssl_ok in -lssl" >&5
d2481 1
a2481 1
#line 2494 "configure"
d2492 1
a2492 1
if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2521 1
a2521 1
echo "configure:2534: checking for des_cbc_encrypt in -lcrypto" >&5
d2529 1
a2529 1
#line 2542 "configure"
d2540 1
a2540 1
if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2568 1
a2568 1
echo "configure:2581: checking for yywrap in -ll" >&5
d2576 1
a2576 1
#line 2589 "configure"
d2587 1
a2587 1
if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2615 1
a2615 1
echo "configure:2628: checking for yyerror in -ly" >&5
d2623 1
a2623 1
#line 2636 "configure"
d2634 1
a2634 1
if { (eval echo configure:2647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2663 1
a2663 1
echo "configure:2676: checking for PF_KEYv2 support" >&5
d2668 1
a2668 1
#line 2681 "configure"
d2678 1
a2678 1
if { (eval echo configure:2691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2697 1
a2697 1
echo "configure:2710: checking for old KAME PF_KEYv2 header file" >&5
d2699 1
a2699 1
#line 2712 "configure"
d2709 1
a2709 1
if { (eval echo configure:2722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2720 1
a2720 1
#line 2733 "configure"
d2730 1
a2730 1
if { (eval echo configure:2743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2742 1
a2742 1
#line 2755 "configure"
d2752 1
a2752 1
if { (eval echo configure:2765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2770 1
a2770 1
echo "configure:2783: checking ipsec library path" >&5
d2776 1
a2776 1
#line 2789 "configure"
d2796 1
a2796 1
#line 2809 "configure"
d2825 1
a2825 1
echo "configure:2838: checking for $ipseclib containing ipsec_strerror" >&5
d2832 1
a2832 1
#line 2845 "configure"
d2843 1
a2843 1
if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2852 1
a2852 1
#line 2865 "configure"
d2863 1
a2863 1
if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2877 1
a2877 1
#line 2890 "configure"
d2888 1
a2888 1
if { (eval echo configure:2901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2911 1
a2911 1
echo "configure:2924: checking for $ipseclib containing ipsec_strerror" >&5
d2918 1
a2918 1
#line 2931 "configure"
d2929 1
a2929 1
if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2938 1
a2938 1
#line 2951 "configure"
d2949 1
a2949 1
if { (eval echo configure:2962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2963 1
a2963 1
#line 2976 "configure"
d2974 1
a2974 1
if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2998 1
a2998 1
echo "configure:3011: checking if --with-libpfkey option is specified" >&5
d3012 1
a3012 1
echo "configure:3025: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3019 1
a3019 1
#line 3032 "configure"
d3030 1
a3030 1
if { (eval echo configure:3043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3039 1
a3039 1
#line 3052 "configure"
d3050 1
a3050 1
if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3064 1
a3064 1
#line 3077 "configure"
d3075 1
a3075 1
if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3098 1
a3098 1
echo "configure:3111: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3105 1
a3105 1
#line 3118 "configure"
d3116 1
a3116 1
if { (eval echo configure:3129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3125 1
a3125 1
#line 3138 "configure"
d3136 1
a3136 1
if { (eval echo configure:3149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3150 1
a3150 1
#line 3163 "configure"
d3161 1
a3161 1
if { (eval echo configure:3174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3185 1
a3185 1
echo "configure:3198: checking if --with-liblwres option is specified" >&5
d3200 1
a3200 1
echo "configure:3213: checking for lwres containing lwres_getrrsetbyname" >&5
d3207 1
a3207 1
#line 3220 "configure"
d3218 1
a3218 1
if { (eval echo configure:3231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3227 1
a3227 1
#line 3240 "configure"
d3238 1
a3238 1
if { (eval echo configure:3251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3252 1
a3252 1
#line 3265 "configure"
d3263 1
a3263 1
if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3286 1
a3286 1
echo "configure:3299: checking for lwres containing lwres_getrrsetbyname" >&5
d3293 1
a3293 1
#line 3306 "configure"
d3304 1
a3304 1
if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3313 1
a3313 1
#line 3326 "configure"
d3324 1
a3324 1
if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3338 1
a3338 1
#line 3351 "configure"
d3349 1
a3349 1
if { (eval echo configure:3362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3374 1
a3374 1
echo "configure:3387: checking for $ac_func" >&5
d3379 1
a3379 1
#line 3392 "configure"
d3402 1
a3402 1
if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3434 1
a3434 1
echo "configure:3447: checking for $ac_func" >&5
d3439 1
a3439 1
#line 3452 "configure"
d3462 1
a3462 1
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3488 1
a3488 1
echo "configure:3501: checking for ANSI C header files" >&5
d3493 1
a3493 1
#line 3506 "configure"
d3501 1
a3501 1
{ (eval echo configure:3514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3518 1
a3518 1
#line 3531 "configure"
d3536 1
a3536 1
#line 3549 "configure"
d3557 1
a3557 1
#line 3570 "configure"
d3568 1
a3568 1
if { (eval echo configure:3581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3592 1
a3592 1
echo "configure:3605: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3597 1
a3597 1
#line 3610 "configure"
d3613 1
a3613 1
if { (eval echo configure:3626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3637 1
a3637 1
echo "configure:3650: checking for $ac_hdr" >&5
d3642 1
a3642 1
#line 3655 "configure"
d3647 1
a3647 1
{ (eval echo configure:3660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3688 1
a3688 1
echo "configure:3701: checking for $ac_hdr" >&5
d3693 1
a3693 1
#line 3706 "configure"
d3698 1
a3698 1
{ (eval echo configure:3711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3737 1
a3737 1
echo "configure:3750: checking for $ac_hdr" >&5
d3742 1
a3742 1
#line 3755 "configure"
d3747 1
a3747 1
{ (eval echo configure:3760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3777 1
a3777 1
echo "configure:3790: checking for openssl/rijndael.h" >&5
d3782 1
a3782 1
#line 3795 "configure"
d3787 1
a3787 1
{ (eval echo configure:3800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a3812 22
echo $ac_n "checking sha2 support""... $ac_c" 1>&6
echo "configure:3827: checking sha2 support" >&5
cat > conftest.$ac_ext <<EOF
#line 3829 "configure"
#include "confdefs.h"
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= 0x0090602fL
yes
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
        echo "WARNING: sha2 does not work."
else
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
 
 cat >> confdefs.h <<\EOF
#define WITH_SHA2 1
EOF
d3814 1
a3814 1
 ac_safe=`echo "openssl/sha2.h" | sed 'y%./+-%__p_%'`
d3816 1
a3816 1
echo "configure:3851: checking for openssl/sha2.h" >&5
d3821 1
a3821 1
#line 3856 "configure"
d3826 1
a3826 1
{ (eval echo configure:3861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a3847 2
fi

a3849 1
rm -f conftest*
d3853 1
a3853 1
echo "configure:3891: checking for working const" >&5
d3858 1
a3858 1
#line 3896 "configure"
d3907 1
a3907 1
if { (eval echo configure:3945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3928 1
a3928 1
echo "configure:3966: checking for pid_t" >&5
d3933 1
a3933 1
#line 3971 "configure"
d3961 1
a3961 1
echo "configure:3999: checking for size_t" >&5
d3966 1
a3966 1
#line 4004 "configure"
d3994 1
a3994 1
echo "configure:4032: checking whether time.h and sys/time.h may both be included" >&5
d3999 1
a3999 1
#line 4037 "configure"
d4008 1
a4008 1
if { (eval echo configure:4046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4029 1
a4029 1
echo "configure:4067: checking whether struct tm is in sys/time.h or time.h" >&5
d4034 1
a4034 1
#line 4072 "configure"
d4042 1
a4042 1
if { (eval echo configure:4080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4064 1
a4064 1
echo "configure:4102: checking for 8-bit clean memcmp" >&5
d4072 1
a4072 1
#line 4110 "configure"
d4082 1
a4082 1
if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4100 1
a4100 1
echo "configure:4138: checking return type of signal handlers" >&5
d4105 1
a4105 1
#line 4143 "configure"
d4122 1
a4122 1
if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4141 1
a4141 1
echo "configure:4179: checking for vprintf" >&5
d4146 1
a4146 1
#line 4184 "configure"
d4169 1
a4169 1
if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4193 1
a4193 1
echo "configure:4231: checking for _doprnt" >&5
d4198 1
a4198 1
#line 4236 "configure"
d4221 1
a4221 1
if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4248 1
a4248 1
echo "configure:4286: checking for $ac_func" >&5
d4253 1
a4253 1
#line 4291 "configure"
d4276 1
a4276 1
if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4303 1
a4303 1
echo "configure:4341: checking for $ac_func" >&5
d4308 1
a4308 1
#line 4346 "configure"
d4331 1
a4331 1
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4369 1
a4369 1
echo "configure:4407: checking for $ac_func" >&5
d4374 1
a4374 1
#line 4412 "configure"
d4397 1
a4397 1
if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4425 1
a4425 1
echo "configure:4463: checking for $ac_func" >&5
d4430 1
a4430 1
#line 4468 "configure"
d4453 1
a4453 1
if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4481 1
a4481 1
echo "configure:4519: checking if --with-pkgversion option is specified" >&5
@


1.1.1.8
log
@KAME racoon, as of 2003/08/26
@
text
@d68 1
d183 1
d354 5
d524 7
a530 5
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
d532 2
d576 1
a576 1
echo "configure:566: checking for $ac_word" >&5
d606 1
a606 1
echo "configure:596: checking for $ac_word" >&5
d657 1
a657 1
echo "configure:647: checking for $ac_word" >&5
d689 1
a689 1
echo "configure:679: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d700 1
a700 1
#line 690 "configure"
d705 1
a705 1
if { (eval echo configure:695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d731 1
a731 1
echo "configure:721: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d736 1
a736 1
echo "configure:726: checking whether we are using GNU C" >&5
d745 1
a745 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d764 1
a764 1
echo "configure:754: checking whether ${CC-cc} accepts -g" >&5
d796 1
a796 1
echo "configure:786: checking how to run the C preprocessor" >&5
d811 1
a811 1
#line 801 "configure"
d817 1
a817 1
{ (eval echo configure:807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d828 1
a828 1
#line 818 "configure"
d834 1
a834 1
{ (eval echo configure:824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d845 1
a845 1
#line 835 "configure"
d851 1
a851 1
{ (eval echo configure:841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d878 1
a878 1
echo "configure:868: checking for $ac_word" >&5
d912 1
a912 1
echo "configure:902: checking for yywrap in -l$ac_lib" >&5
d920 1
a920 1
#line 910 "configure"
d931 1
a931 1
if { (eval echo configure:921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d984 1
a984 1
echo "configure:974: checking for a BSD compatible install" >&5
d1037 1
a1037 1
echo "configure:1027: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1071 1
a1071 1
echo "configure:1061: checking host system type" >&5
d1099 1
a1099 1
echo "configure:1089: checking if --enable-debug option is specified" >&5
d1112 1
a1112 1
echo "configure:1102: checking if --enable-debugrm option is specified" >&5
d1127 1
a1127 1
echo "configure:1117: checking if --enable-yydebug option is specified" >&5
d1144 1
a1144 1
echo "configure:1134: checking if --enable-pedant option is specified" >&5
d1156 1
a1156 1
echo "configure:1146: checking if --enable-adminport option is specified" >&5
d1174 1
a1174 1
echo "configure:1164: checking if --enable-rc5 option is specified" >&5
d1186 1
a1186 1
echo "configure:1176: checking if --enable-idea option is specified" >&5
d1198 1
a1198 1
echo "configure:1188: checking if --enable-gssapi option is specified" >&5
d1216 1
a1216 1
echo "configure:1206: checking if --enable-stats option is specified" >&5
d1234 1
a1234 1
echo "configure:1224: checking if --enable-samode-unspec option is specified" >&5
d1253 1
a1253 1
echo "configure:1243: checking if --with-efence option is specified" >&5
d1267 1
a1267 1
echo "configure:1257: checking for efence containing EF_Print" >&5
d1274 1
a1274 1
#line 1264 "configure"
d1285 1
a1285 1
if { (eval echo configure:1275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1294 1
a1294 1
#line 1284 "configure"
d1305 1
a1305 1
if { (eval echo configure:1295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1319 1
a1319 1
#line 1309 "configure"
d1330 1
a1330 1
if { (eval echo configure:1320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1353 1
a1353 1
echo "configure:1343: checking for efence containing EF_Print" >&5
d1360 1
a1360 1
#line 1350 "configure"
d1371 1
a1371 1
if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1380 1
a1380 1
#line 1370 "configure"
d1391 1
a1391 1
if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1405 1
a1405 1
#line 1395 "configure"
d1416 1
a1416 1
if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1441 1
a1441 1
echo "configure:1431: checking if --with-gc option is specified" >&5
d1459 1
a1459 1
echo "configure:1449: checking for leak containing GC_malloc" >&5
d1466 1
a1466 1
#line 1456 "configure"
d1477 1
a1477 1
if { (eval echo configure:1467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1486 1
a1486 1
#line 1476 "configure"
d1497 1
a1497 1
if { (eval echo configure:1487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1511 1
a1511 1
#line 1501 "configure"
d1522 1
a1522 1
if { (eval echo configure:1512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1545 1
a1545 1
echo "configure:1535: checking for leak containing GC_malloc" >&5
d1552 1
a1552 1
#line 1542 "configure"
d1563 1
a1563 1
if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1572 1
a1572 1
#line 1562 "configure"
d1583 1
a1583 1
if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1597 1
a1597 1
#line 1587 "configure"
d1608 1
a1608 1
if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1633 1
a1633 1
echo "configure:1623: checking if --with-dmalloc option is specified" >&5
d1651 1
a1651 1
echo "configure:1641: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1658 1
a1658 1
#line 1648 "configure"
d1669 1
a1669 1
if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1678 1
a1678 1
#line 1668 "configure"
d1689 1
a1689 1
if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1703 1
a1703 1
#line 1693 "configure"
d1714 1
a1714 1
if { (eval echo configure:1704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1737 1
a1737 1
echo "configure:1727: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1744 1
a1744 1
#line 1734 "configure"
d1755 1
a1755 1
if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1764 1
a1764 1
#line 1754 "configure"
d1775 1
a1775 1
if { (eval echo configure:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1789 1
a1789 1
#line 1779 "configure"
d1800 1
a1800 1
if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1824 1
a1824 1
echo "configure:1814: checking if you have KAME tcpdump in $srcdir/../tcpdump" >&5
d1837 1
a1837 1
echo "configure:1827: checking if __func__ is available" >&5
d1839 1
a1839 1
#line 1829 "configure"
d1847 1
a1847 1
if { (eval echo configure:1837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1863 1
a1863 1
echo "configure:1853: checking whether to enable ipv6" >&5
d1887 1
a1887 1
#line 1877 "configure"
d1902 1
a1902 1
if { (eval echo configure:1892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1929 1
a1929 1
echo "configure:1919: checking ipv6 stack type" >&5
d1935 1
a1935 1
#line 1925 "configure"
d1957 1
a1957 1
#line 1947 "configure"
d1987 1
a1987 1
#line 1977 "configure"
d2008 1
a2008 1
#line 1998 "configure"
d2029 1
a2029 1
#line 2019 "configure"
d2074 1
a2074 1
echo "configure:2064: checking for advanced API support" >&5
d2079 1
a2079 1
#line 2069 "configure"
d2090 1
a2090 1
if { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2112 1
a2112 1
echo "configure:2102: checking getaddrinfo bug" >&5
d2118 1
a2118 1
#line 2108 "configure"
d2208 1
a2208 1
if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2235 1
a2235 1
echo "configure:2225: checking for $ac_func" >&5
d2240 1
a2240 1
#line 2230 "configure"
d2263 1
a2263 1
if { (eval echo configure:2253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2291 1
a2291 1
echo "configure:2281: checking if --with-ssleay option is specified" >&5
d2337 1
a2337 1
echo "configure:2327: checking for crypto containing CAST_cfb64_encrypt" >&5
d2344 1
a2344 1
#line 2334 "configure"
d2355 1
a2355 1
if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2364 1
a2364 1
#line 2354 "configure"
d2375 1
a2375 1
if { (eval echo configure:2365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2389 1
a2389 1
#line 2379 "configure"
d2400 1
a2400 1
if { (eval echo configure:2390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2421 1
a2421 1
#line 2411 "configure"
d2434 1
a2434 1
if { (eval echo configure:2424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2461 1
a2461 1
echo "configure:2451: checking openssl version" >&5
d2463 1
a2463 1
#line 2453 "configure"
d2485 1
a2485 1
echo "configure:2475: checking for ssl_ok in -lssl" >&5
d2493 1
a2493 1
#line 2483 "configure"
d2504 1
a2504 1
if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2533 1
a2533 1
echo "configure:2523: checking for des_cbc_encrypt in -lcrypto" >&5
d2541 1
a2541 1
#line 2531 "configure"
d2552 1
a2552 1
if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2580 1
a2580 1
echo "configure:2570: checking for yywrap in -ll" >&5
d2588 1
a2588 1
#line 2578 "configure"
d2599 1
a2599 1
if { (eval echo configure:2589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2627 1
a2627 1
echo "configure:2617: checking for yyerror in -ly" >&5
d2635 1
a2635 1
#line 2625 "configure"
d2646 1
a2646 1
if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2675 1
a2675 1
echo "configure:2665: checking for PF_KEYv2 support" >&5
d2680 1
a2680 1
#line 2670 "configure"
d2690 1
a2690 1
if { (eval echo configure:2680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2709 1
a2709 1
echo "configure:2699: checking for old KAME PF_KEYv2 header file" >&5
d2711 1
a2711 1
#line 2701 "configure"
d2721 1
a2721 1
if { (eval echo configure:2711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2732 1
a2732 1
#line 2722 "configure"
d2742 1
a2742 1
if { (eval echo configure:2732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2754 1
a2754 1
#line 2744 "configure"
d2764 1
a2764 1
if { (eval echo configure:2754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2782 1
a2782 1
echo "configure:2772: checking ipsec library path" >&5
d2788 1
a2788 1
#line 2778 "configure"
d2808 1
a2808 1
#line 2798 "configure"
d2837 1
a2837 1
echo "configure:2827: checking for $ipseclib containing ipsec_strerror" >&5
d2844 1
a2844 1
#line 2834 "configure"
d2855 1
a2855 1
if { (eval echo configure:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2864 1
a2864 1
#line 2854 "configure"
d2875 1
a2875 1
if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2889 1
a2889 1
#line 2879 "configure"
d2900 1
a2900 1
if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2923 1
a2923 1
echo "configure:2913: checking for $ipseclib containing ipsec_strerror" >&5
d2930 1
a2930 1
#line 2920 "configure"
d2941 1
a2941 1
if { (eval echo configure:2931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2950 1
a2950 1
#line 2940 "configure"
d2961 1
a2961 1
if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2975 1
a2975 1
#line 2965 "configure"
d2986 1
a2986 1
if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3010 1
a3010 1
echo "configure:3000: checking if --with-libpfkey option is specified" >&5
d3024 1
a3024 1
echo "configure:3014: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3031 1
a3031 1
#line 3021 "configure"
d3042 1
a3042 1
if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3051 1
a3051 1
#line 3041 "configure"
d3062 1
a3062 1
if { (eval echo configure:3052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3076 1
a3076 1
#line 3066 "configure"
d3087 1
a3087 1
if { (eval echo configure:3077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3110 1
a3110 1
echo "configure:3100: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3117 1
a3117 1
#line 3107 "configure"
d3128 1
a3128 1
if { (eval echo configure:3118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3137 1
a3137 1
#line 3127 "configure"
d3148 1
a3148 1
if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3162 1
a3162 1
#line 3152 "configure"
d3173 1
a3173 1
if { (eval echo configure:3163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3197 1
a3197 1
echo "configure:3187: checking if --with-liblwres option is specified" >&5
d3212 1
a3212 1
echo "configure:3202: checking for lwres containing lwres_getrrsetbyname" >&5
d3219 1
a3219 1
#line 3209 "configure"
d3230 1
a3230 1
if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3239 1
a3239 1
#line 3229 "configure"
d3250 1
a3250 1
if { (eval echo configure:3240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3264 1
a3264 1
#line 3254 "configure"
d3275 1
a3275 1
if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3298 1
a3298 1
echo "configure:3288: checking for lwres containing lwres_getrrsetbyname" >&5
d3305 1
a3305 1
#line 3295 "configure"
d3316 1
a3316 1
if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3325 1
a3325 1
#line 3315 "configure"
d3336 1
a3336 1
if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3350 1
a3350 1
#line 3340 "configure"
d3361 1
a3361 1
if { (eval echo configure:3351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3386 1
a3386 1
echo "configure:3376: checking for $ac_func" >&5
d3391 1
a3391 1
#line 3381 "configure"
d3414 1
a3414 1
if { (eval echo configure:3404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3446 1
a3446 1
echo "configure:3436: checking for $ac_func" >&5
d3451 1
a3451 1
#line 3441 "configure"
d3474 1
a3474 1
if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3500 1
a3500 1
echo "configure:3490: checking for ANSI C header files" >&5
d3505 1
a3505 1
#line 3495 "configure"
d3513 1
a3513 1
{ (eval echo configure:3503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3530 1
a3530 1
#line 3520 "configure"
d3548 1
a3548 1
#line 3538 "configure"
d3569 1
a3569 1
#line 3559 "configure"
d3580 1
a3580 1
if { (eval echo configure:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3604 1
a3604 1
echo "configure:3594: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3609 1
a3609 1
#line 3599 "configure"
d3625 1
a3625 1
if { (eval echo configure:3615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3649 1
a3649 1
echo "configure:3639: checking for $ac_hdr" >&5
d3654 1
a3654 1
#line 3644 "configure"
d3659 1
a3659 1
{ (eval echo configure:3649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3700 1
a3700 1
echo "configure:3690: checking for $ac_hdr" >&5
d3705 1
a3705 1
#line 3695 "configure"
d3710 1
a3710 1
{ (eval echo configure:3700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3749 1
a3749 1
echo "configure:3739: checking for $ac_hdr" >&5
d3754 1
a3754 1
#line 3744 "configure"
d3759 1
a3759 1
{ (eval echo configure:3749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a3786 1

d3789 1
a3789 1
echo "configure:3780: checking for openssl/rijndael.h" >&5
d3794 1
a3794 1
#line 3785 "configure"
d3799 1
a3799 1
{ (eval echo configure:3790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3826 1
a3826 1
echo "configure:3817: checking sha2 support" >&5
d3828 1
a3828 1
#line 3819 "configure"
d3839 1
a3839 2
        echo "WARNING: missing/crypto/sha2 is not compatible with this openssl."
        echo "WARNING: sha2 disabled."
d3843 1
d3850 1
a3850 1
echo "configure:3841: checking for openssl/sha2.h" >&5
d3855 1
a3855 1
#line 3846 "configure"
d3860 1
a3860 1
{ (eval echo configure:3851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3890 1
a3890 1
echo "configure:3881: checking for working const" >&5
d3895 1
a3895 1
#line 3886 "configure"
d3944 1
a3944 1
if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3965 1
a3965 1
echo "configure:3956: checking for pid_t" >&5
d3970 1
a3970 1
#line 3961 "configure"
d3998 1
a3998 1
echo "configure:3989: checking for size_t" >&5
d4003 1
a4003 1
#line 3994 "configure"
d4031 1
a4031 1
echo "configure:4022: checking whether time.h and sys/time.h may both be included" >&5
d4036 1
a4036 1
#line 4027 "configure"
d4045 1
a4045 1
if { (eval echo configure:4036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4066 1
a4066 1
echo "configure:4057: checking whether struct tm is in sys/time.h or time.h" >&5
d4071 1
a4071 1
#line 4062 "configure"
d4079 1
a4079 1
if { (eval echo configure:4070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4101 1
a4101 1
echo "configure:4092: checking for 8-bit clean memcmp" >&5
d4109 1
a4109 1
#line 4100 "configure"
d4119 1
a4119 1
if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4137 1
a4137 1
echo "configure:4128: checking return type of signal handlers" >&5
d4142 1
a4142 1
#line 4133 "configure"
d4159 1
a4159 1
if { (eval echo configure:4150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4178 1
a4178 1
echo "configure:4169: checking for vprintf" >&5
d4183 1
a4183 1
#line 4174 "configure"
d4206 1
a4206 1
if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4230 1
a4230 1
echo "configure:4221: checking for _doprnt" >&5
d4235 1
a4235 1
#line 4226 "configure"
d4258 1
a4258 1
if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4285 1
a4285 1
echo "configure:4276: checking for $ac_func" >&5
d4290 1
a4290 1
#line 4281 "configure"
d4313 1
a4313 1
if { (eval echo configure:4304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4340 1
a4340 1
echo "configure:4331: checking for $ac_func" >&5
d4345 1
a4345 1
#line 4336 "configure"
d4368 1
a4368 1
if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4406 1
a4406 1
echo "configure:4397: checking for $ac_func" >&5
d4411 1
a4411 1
#line 4402 "configure"
d4434 1
a4434 1
if { (eval echo configure:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4462 1
a4462 1
echo "configure:4453: checking for $ac_func" >&5
d4467 1
a4467 1
#line 4458 "configure"
d4490 1
a4490 1
if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4518 1
a4518 1
echo "configure:4509: checking if --with-pkgversion option is specified" >&5
@


1.1.1.8.2.1
log
@Apply patch (requested by itojun in ticket #505):
version 20040617a, includes important fix about cert handling
@
text
@a40 2
  --with-tcpdump          use tcpdump decoder on debugging"
ac_help="$ac_help
d565 1
a565 1
echo "configure:568: checking for $ac_word" >&5
d595 1
a595 1
echo "configure:598: checking for $ac_word" >&5
d646 1
a646 1
echo "configure:649: checking for $ac_word" >&5
d678 1
a678 1
echo "configure:681: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d689 1
a689 1
#line 692 "configure"
d694 1
a694 1
if { (eval echo configure:697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d720 1
a720 1
echo "configure:723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d725 1
a725 1
echo "configure:728: checking whether we are using GNU C" >&5
d734 1
a734 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d753 1
a753 1
echo "configure:756: checking whether ${CC-cc} accepts -g" >&5
d785 1
a785 1
echo "configure:788: checking how to run the C preprocessor" >&5
d800 1
a800 1
#line 803 "configure"
d806 1
a806 1
{ (eval echo configure:809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d817 1
a817 1
#line 820 "configure"
d823 1
a823 1
{ (eval echo configure:826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d834 1
a834 1
#line 837 "configure"
d840 1
a840 1
{ (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d867 1
a867 1
echo "configure:870: checking for $ac_word" >&5
d901 1
a901 1
echo "configure:904: checking for yywrap in -l$ac_lib" >&5
d909 1
a909 1
#line 912 "configure"
d920 1
a920 1
if { (eval echo configure:923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d973 1
a973 1
echo "configure:976: checking for a BSD compatible install" >&5
d1026 1
a1026 1
echo "configure:1029: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1060 1
a1060 1
echo "configure:1063: checking host system type" >&5
d1088 1
a1088 1
echo "configure:1091: checking if --enable-debug option is specified" >&5
d1101 1
a1101 1
echo "configure:1104: checking if --enable-debugrm option is specified" >&5
d1116 1
a1116 1
echo "configure:1119: checking if --enable-yydebug option is specified" >&5
d1133 1
a1133 1
echo "configure:1136: checking if --enable-pedant option is specified" >&5
d1145 1
a1145 1
echo "configure:1148: checking if --enable-adminport option is specified" >&5
d1163 1
a1163 1
echo "configure:1166: checking if --enable-rc5 option is specified" >&5
d1175 1
a1175 1
echo "configure:1178: checking if --enable-idea option is specified" >&5
d1187 1
a1187 1
echo "configure:1190: checking if --enable-gssapi option is specified" >&5
d1205 1
a1205 1
echo "configure:1208: checking if --enable-stats option is specified" >&5
d1223 1
a1223 1
echo "configure:1226: checking if --enable-samode-unspec option is specified" >&5
d1242 1
a1242 1
echo "configure:1245: checking if --with-efence option is specified" >&5
d1256 1
a1256 1
echo "configure:1259: checking for efence containing EF_Print" >&5
d1263 1
a1263 1
#line 1266 "configure"
d1274 1
a1274 1
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1283 1
a1283 1
#line 1286 "configure"
d1294 1
a1294 1
if { (eval echo configure:1297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1308 1
a1308 1
#line 1311 "configure"
d1319 1
a1319 1
if { (eval echo configure:1322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1342 1
a1342 1
echo "configure:1345: checking for efence containing EF_Print" >&5
d1349 1
a1349 1
#line 1352 "configure"
d1360 1
a1360 1
if { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1369 1
a1369 1
#line 1372 "configure"
d1380 1
a1380 1
if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1394 1
a1394 1
#line 1397 "configure"
d1405 1
a1405 1
if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1430 1
a1430 1
echo "configure:1433: checking if --with-gc option is specified" >&5
d1448 1
a1448 1
echo "configure:1451: checking for leak containing GC_malloc" >&5
d1455 1
a1455 1
#line 1458 "configure"
d1466 1
a1466 1
if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1475 1
a1475 1
#line 1478 "configure"
d1486 1
a1486 1
if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1500 1
a1500 1
#line 1503 "configure"
d1511 1
a1511 1
if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1534 1
a1534 1
echo "configure:1537: checking for leak containing GC_malloc" >&5
d1541 1
a1541 1
#line 1544 "configure"
d1552 1
a1552 1
if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1561 1
a1561 1
#line 1564 "configure"
d1572 1
a1572 1
if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1586 1
a1586 1
#line 1589 "configure"
d1597 1
a1597 1
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1622 1
a1622 1
echo "configure:1625: checking if --with-dmalloc option is specified" >&5
d1640 1
a1640 1
echo "configure:1643: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1647 1
a1647 1
#line 1650 "configure"
d1658 1
a1658 1
if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1667 1
a1667 1
#line 1670 "configure"
d1678 1
a1678 1
if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1692 1
a1692 1
#line 1695 "configure"
d1703 1
a1703 1
if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1726 1
a1726 1
echo "configure:1729: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1733 1
a1733 1
#line 1736 "configure"
d1744 1
a1744 1
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1753 1
a1753 1
#line 1756 "configure"
d1764 1
a1764 1
if { (eval echo configure:1767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1778 1
a1778 1
#line 1781 "configure"
d1789 1
a1789 1
if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1812 3
a1814 13
tcpdump=
echo $ac_n "checking if --with-tcpdump option is specified""... $ac_c" 1>&6
echo "configure:1817: checking if --with-tcpdump option is specified" >&5
# Check whether --with-tcpdump or --without-tcpdump was given.
if test "${with_tcpdump+set}" = set; then
  withval="$with_tcpdump"
  tcpdump=$withval
else
  tcpdump=no
fi

echo "$ac_t""${tcpdump}" 1>&6
if test "$tcpdump" != "no"; then
d1820 3
a1822 1
	CPPFLAGS="$CPPFLAGS -I$(srcdir)"
d1826 1
a1826 1
echo "configure:1837: checking if __func__ is available" >&5
d1828 1
a1828 1
#line 1839 "configure"
d1836 1
a1836 1
if { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1852 1
a1852 1
echo "configure:1863: checking whether to enable ipv6" >&5
d1876 1
a1876 1
#line 1887 "configure"
d1891 1
a1891 1
if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1918 1
a1918 1
echo "configure:1929: checking ipv6 stack type" >&5
d1924 1
a1924 1
#line 1935 "configure"
d1946 1
a1946 1
#line 1957 "configure"
d1976 1
a1976 1
#line 1987 "configure"
d1997 1
a1997 1
#line 2008 "configure"
d2018 1
a2018 1
#line 2029 "configure"
d2063 1
a2063 1
echo "configure:2074: checking for advanced API support" >&5
d2068 1
a2068 1
#line 2079 "configure"
d2079 1
a2079 1
if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2101 1
a2101 1
echo "configure:2112: checking getaddrinfo bug" >&5
d2107 1
a2107 1
#line 2118 "configure"
d2197 1
a2197 1
if { (eval echo configure:2208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2224 1
a2224 1
echo "configure:2235: checking for $ac_func" >&5
d2229 1
a2229 1
#line 2240 "configure"
d2252 1
a2252 1
if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2280 1
a2280 1
echo "configure:2291: checking if --with-ssleay option is specified" >&5
d2326 1
a2326 1
echo "configure:2337: checking for crypto containing CAST_cfb64_encrypt" >&5
d2333 1
a2333 1
#line 2344 "configure"
d2344 1
a2344 1
if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2353 1
a2353 1
#line 2364 "configure"
d2364 1
a2364 1
if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2378 1
a2378 1
#line 2389 "configure"
d2389 1
a2389 1
if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2410 1
a2410 1
#line 2421 "configure"
d2423 1
a2423 1
if { (eval echo configure:2434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2450 1
a2450 1
echo "configure:2461: checking openssl version" >&5
d2452 1
a2452 1
#line 2463 "configure"
d2474 1
a2474 1
echo "configure:2485: checking for ssl_ok in -lssl" >&5
d2482 1
a2482 1
#line 2493 "configure"
d2493 1
a2493 1
if { (eval echo configure:2504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2522 1
a2522 1
echo "configure:2533: checking for des_cbc_encrypt in -lcrypto" >&5
d2530 1
a2530 1
#line 2541 "configure"
d2541 1
a2541 1
if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2569 1
a2569 1
echo "configure:2580: checking for yywrap in -ll" >&5
d2577 1
a2577 1
#line 2588 "configure"
d2588 1
a2588 1
if { (eval echo configure:2599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2616 1
a2616 1
echo "configure:2627: checking for yyerror in -ly" >&5
d2624 1
a2624 1
#line 2635 "configure"
d2635 1
a2635 1
if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2664 1
a2664 1
echo "configure:2675: checking for PF_KEYv2 support" >&5
d2669 1
a2669 1
#line 2680 "configure"
d2679 1
a2679 1
if { (eval echo configure:2690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2698 1
a2698 1
echo "configure:2709: checking for old KAME PF_KEYv2 header file" >&5
d2700 1
a2700 1
#line 2711 "configure"
d2710 1
a2710 1
if { (eval echo configure:2721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2721 1
a2721 1
#line 2732 "configure"
d2731 1
a2731 1
if { (eval echo configure:2742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2743 1
a2743 1
#line 2754 "configure"
d2753 1
a2753 1
if { (eval echo configure:2764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2771 1
a2771 1
echo "configure:2782: checking ipsec library path" >&5
d2777 1
a2777 1
#line 2788 "configure"
d2797 1
a2797 1
#line 2808 "configure"
d2826 1
a2826 1
echo "configure:2837: checking for $ipseclib containing ipsec_strerror" >&5
d2833 1
a2833 1
#line 2844 "configure"
d2844 1
a2844 1
if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2853 1
a2853 1
#line 2864 "configure"
d2864 1
a2864 1
if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2878 1
a2878 1
#line 2889 "configure"
d2889 1
a2889 1
if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2912 1
a2912 1
echo "configure:2923: checking for $ipseclib containing ipsec_strerror" >&5
d2919 1
a2919 1
#line 2930 "configure"
d2930 1
a2930 1
if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2939 1
a2939 1
#line 2950 "configure"
d2950 1
a2950 1
if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2964 1
a2964 1
#line 2975 "configure"
d2975 1
a2975 1
if { (eval echo configure:2986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2999 1
a2999 1
echo "configure:3010: checking if --with-libpfkey option is specified" >&5
d3013 1
a3013 1
echo "configure:3024: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3020 1
a3020 1
#line 3031 "configure"
d3031 1
a3031 1
if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3040 1
a3040 1
#line 3051 "configure"
d3051 1
a3051 1
if { (eval echo configure:3062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3065 1
a3065 1
#line 3076 "configure"
d3076 1
a3076 1
if { (eval echo configure:3087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3099 1
a3099 1
echo "configure:3110: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3106 1
a3106 1
#line 3117 "configure"
d3117 1
a3117 1
if { (eval echo configure:3128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3126 1
a3126 1
#line 3137 "configure"
d3137 1
a3137 1
if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3151 1
a3151 1
#line 3162 "configure"
d3162 1
a3162 1
if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3186 1
a3186 1
echo "configure:3197: checking if --with-liblwres option is specified" >&5
d3201 1
a3201 1
echo "configure:3212: checking for lwres containing lwres_getrrsetbyname" >&5
d3208 1
a3208 1
#line 3219 "configure"
d3219 1
a3219 1
if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3228 1
a3228 1
#line 3239 "configure"
d3239 1
a3239 1
if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3253 1
a3253 1
#line 3264 "configure"
d3264 1
a3264 1
if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3287 1
a3287 1
echo "configure:3298: checking for lwres containing lwres_getrrsetbyname" >&5
d3294 1
a3294 1
#line 3305 "configure"
d3305 1
a3305 1
if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3314 1
a3314 1
#line 3325 "configure"
d3325 1
a3325 1
if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3339 1
a3339 1
#line 3350 "configure"
d3350 1
a3350 1
if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3375 1
a3375 1
echo "configure:3386: checking for $ac_func" >&5
d3380 1
a3380 1
#line 3391 "configure"
d3403 1
a3403 1
if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3435 1
a3435 1
echo "configure:3446: checking for $ac_func" >&5
d3440 1
a3440 1
#line 3451 "configure"
d3463 1
a3463 1
if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3489 1
a3489 1
echo "configure:3500: checking for ANSI C header files" >&5
d3494 1
a3494 1
#line 3505 "configure"
d3502 1
a3502 1
{ (eval echo configure:3513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3519 1
a3519 1
#line 3530 "configure"
d3537 1
a3537 1
#line 3548 "configure"
d3558 1
a3558 1
#line 3569 "configure"
d3569 1
a3569 1
if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3593 1
a3593 1
echo "configure:3604: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3598 1
a3598 1
#line 3609 "configure"
d3614 1
a3614 1
if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3638 1
a3638 1
echo "configure:3649: checking for $ac_hdr" >&5
d3643 1
a3643 1
#line 3654 "configure"
d3648 1
a3648 1
{ (eval echo configure:3659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3689 1
a3689 1
echo "configure:3700: checking for $ac_hdr" >&5
d3694 1
a3694 1
#line 3705 "configure"
d3699 1
a3699 1
{ (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3738 1
a3738 1
echo "configure:3749: checking for $ac_hdr" >&5
d3743 1
a3743 1
#line 3754 "configure"
d3748 1
a3748 1
{ (eval echo configure:3759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3779 1
a3779 1
echo "configure:3790: checking for openssl/rijndael.h" >&5
d3784 1
a3784 1
#line 3795 "configure"
d3789 1
a3789 1
{ (eval echo configure:3800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3816 1
a3816 1
echo "configure:3827: checking sha2 support" >&5
d3818 1
a3818 1
#line 3829 "configure"
d3829 1
a3829 1
        echo "WARNING: racoon sha2 library is not compatible with recent openssl(0.9.6b or above)."
d3840 1
a3840 1
echo "configure:3851: checking for openssl/sha2.h" >&5
d3845 1
a3845 1
#line 3856 "configure"
d3850 1
a3850 1
{ (eval echo configure:3861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3880 1
a3880 1
echo "configure:3891: checking for working const" >&5
d3885 1
a3885 1
#line 3896 "configure"
d3934 1
a3934 1
if { (eval echo configure:3945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3955 1
a3955 1
echo "configure:3966: checking for pid_t" >&5
d3960 1
a3960 1
#line 3971 "configure"
d3988 1
a3988 1
echo "configure:3999: checking for size_t" >&5
d3993 1
a3993 1
#line 4004 "configure"
d4021 1
a4021 1
echo "configure:4032: checking whether time.h and sys/time.h may both be included" >&5
d4026 1
a4026 1
#line 4037 "configure"
d4035 1
a4035 1
if { (eval echo configure:4046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4056 1
a4056 1
echo "configure:4067: checking whether struct tm is in sys/time.h or time.h" >&5
d4061 1
a4061 1
#line 4072 "configure"
d4069 1
a4069 1
if { (eval echo configure:4080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4091 1
a4091 1
echo "configure:4102: checking for 8-bit clean memcmp" >&5
d4099 1
a4099 1
#line 4110 "configure"
d4109 1
a4109 1
if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4127 1
a4127 1
echo "configure:4138: checking return type of signal handlers" >&5
d4132 1
a4132 1
#line 4143 "configure"
d4149 1
a4149 1
if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4168 1
a4168 1
echo "configure:4179: checking for vprintf" >&5
d4173 1
a4173 1
#line 4184 "configure"
d4196 1
a4196 1
if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4220 1
a4220 1
echo "configure:4231: checking for _doprnt" >&5
d4225 1
a4225 1
#line 4236 "configure"
d4248 1
a4248 1
if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4275 1
a4275 1
echo "configure:4286: checking for $ac_func" >&5
d4280 1
a4280 1
#line 4291 "configure"
d4303 1
a4303 1
if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4330 1
a4330 1
echo "configure:4341: checking for $ac_func" >&5
d4335 1
a4335 1
#line 4346 "configure"
d4358 1
a4358 1
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4396 1
a4396 1
echo "configure:4407: checking for $ac_func" >&5
d4401 1
a4401 1
#line 4412 "configure"
d4424 1
a4424 1
if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4452 1
a4452 1
echo "configure:4463: checking for $ac_func" >&5
d4457 1
a4457 1
#line 4468 "configure"
d4480 1
a4480 1
if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4508 1
a4508 1
echo "configure:4519: checking if --with-pkgversion option is specified" >&5
@


1.1.1.9
log
@KAME racoon as of 2004/4/12
@
text
@d3829 1
a3829 1
        echo "WARNING: racoon sha2 library is not compatible with recent openssl(0.9.6b or above)."
@


1.1.1.10
log
@version 20040617a, includes important fix about cert handling
@
text
@a40 2
  --with-tcpdump          use tcpdump decoder on debugging"
ac_help="$ac_help
d565 1
a565 1
echo "configure:568: checking for $ac_word" >&5
d595 1
a595 1
echo "configure:598: checking for $ac_word" >&5
d646 1
a646 1
echo "configure:649: checking for $ac_word" >&5
d678 1
a678 1
echo "configure:681: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d689 1
a689 1
#line 692 "configure"
d694 1
a694 1
if { (eval echo configure:697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d720 1
a720 1
echo "configure:723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d725 1
a725 1
echo "configure:728: checking whether we are using GNU C" >&5
d734 1
a734 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d753 1
a753 1
echo "configure:756: checking whether ${CC-cc} accepts -g" >&5
d785 1
a785 1
echo "configure:788: checking how to run the C preprocessor" >&5
d800 1
a800 1
#line 803 "configure"
d806 1
a806 1
{ (eval echo configure:809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d817 1
a817 1
#line 820 "configure"
d823 1
a823 1
{ (eval echo configure:826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d834 1
a834 1
#line 837 "configure"
d840 1
a840 1
{ (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d867 1
a867 1
echo "configure:870: checking for $ac_word" >&5
d901 1
a901 1
echo "configure:904: checking for yywrap in -l$ac_lib" >&5
d909 1
a909 1
#line 912 "configure"
d920 1
a920 1
if { (eval echo configure:923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d973 1
a973 1
echo "configure:976: checking for a BSD compatible install" >&5
d1026 1
a1026 1
echo "configure:1029: checking whether ${MAKE-make} sets \${MAKE}" >&5
d1060 1
a1060 1
echo "configure:1063: checking host system type" >&5
d1088 1
a1088 1
echo "configure:1091: checking if --enable-debug option is specified" >&5
d1101 1
a1101 1
echo "configure:1104: checking if --enable-debugrm option is specified" >&5
d1116 1
a1116 1
echo "configure:1119: checking if --enable-yydebug option is specified" >&5
d1133 1
a1133 1
echo "configure:1136: checking if --enable-pedant option is specified" >&5
d1145 1
a1145 1
echo "configure:1148: checking if --enable-adminport option is specified" >&5
d1163 1
a1163 1
echo "configure:1166: checking if --enable-rc5 option is specified" >&5
d1175 1
a1175 1
echo "configure:1178: checking if --enable-idea option is specified" >&5
d1187 1
a1187 1
echo "configure:1190: checking if --enable-gssapi option is specified" >&5
d1205 1
a1205 1
echo "configure:1208: checking if --enable-stats option is specified" >&5
d1223 1
a1223 1
echo "configure:1226: checking if --enable-samode-unspec option is specified" >&5
d1242 1
a1242 1
echo "configure:1245: checking if --with-efence option is specified" >&5
d1256 1
a1256 1
echo "configure:1259: checking for efence containing EF_Print" >&5
d1263 1
a1263 1
#line 1266 "configure"
d1274 1
a1274 1
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1283 1
a1283 1
#line 1286 "configure"
d1294 1
a1294 1
if { (eval echo configure:1297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1308 1
a1308 1
#line 1311 "configure"
d1319 1
a1319 1
if { (eval echo configure:1322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1342 1
a1342 1
echo "configure:1345: checking for efence containing EF_Print" >&5
d1349 1
a1349 1
#line 1352 "configure"
d1360 1
a1360 1
if { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1369 1
a1369 1
#line 1372 "configure"
d1380 1
a1380 1
if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1394 1
a1394 1
#line 1397 "configure"
d1405 1
a1405 1
if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1430 1
a1430 1
echo "configure:1433: checking if --with-gc option is specified" >&5
d1448 1
a1448 1
echo "configure:1451: checking for leak containing GC_malloc" >&5
d1455 1
a1455 1
#line 1458 "configure"
d1466 1
a1466 1
if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1475 1
a1475 1
#line 1478 "configure"
d1486 1
a1486 1
if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1500 1
a1500 1
#line 1503 "configure"
d1511 1
a1511 1
if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1534 1
a1534 1
echo "configure:1537: checking for leak containing GC_malloc" >&5
d1541 1
a1541 1
#line 1544 "configure"
d1552 1
a1552 1
if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1561 1
a1561 1
#line 1564 "configure"
d1572 1
a1572 1
if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1586 1
a1586 1
#line 1589 "configure"
d1597 1
a1597 1
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1622 1
a1622 1
echo "configure:1625: checking if --with-dmalloc option is specified" >&5
d1640 1
a1640 1
echo "configure:1643: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1647 1
a1647 1
#line 1650 "configure"
d1658 1
a1658 1
if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1667 1
a1667 1
#line 1670 "configure"
d1678 1
a1678 1
if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1692 1
a1692 1
#line 1695 "configure"
d1703 1
a1703 1
if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1726 1
a1726 1
echo "configure:1729: checking for dmalloc containing dmalloc_log_unfreed" >&5
d1733 1
a1733 1
#line 1736 "configure"
d1744 1
a1744 1
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1753 1
a1753 1
#line 1756 "configure"
d1764 1
a1764 1
if { (eval echo configure:1767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1778 1
a1778 1
#line 1781 "configure"
d1789 1
a1789 1
if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1812 3
a1814 13
tcpdump=
echo $ac_n "checking if --with-tcpdump option is specified""... $ac_c" 1>&6
echo "configure:1817: checking if --with-tcpdump option is specified" >&5
# Check whether --with-tcpdump or --without-tcpdump was given.
if test "${with_tcpdump+set}" = set; then
  withval="$with_tcpdump"
  tcpdump=$withval
else
  tcpdump=no
fi

echo "$ac_t""${tcpdump}" 1>&6
if test "$tcpdump" != "no"; then
d1820 3
a1822 1
	CPPFLAGS="$CPPFLAGS -I$(srcdir)"
d1826 1
a1826 1
echo "configure:1837: checking if __func__ is available" >&5
d1828 1
a1828 1
#line 1839 "configure"
d1836 1
a1836 1
if { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1852 1
a1852 1
echo "configure:1863: checking whether to enable ipv6" >&5
d1876 1
a1876 1
#line 1887 "configure"
d1891 1
a1891 1
if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1918 1
a1918 1
echo "configure:1929: checking ipv6 stack type" >&5
d1924 1
a1924 1
#line 1935 "configure"
d1946 1
a1946 1
#line 1957 "configure"
d1976 1
a1976 1
#line 1987 "configure"
d1997 1
a1997 1
#line 2008 "configure"
d2018 1
a2018 1
#line 2029 "configure"
d2063 1
a2063 1
echo "configure:2074: checking for advanced API support" >&5
d2068 1
a2068 1
#line 2079 "configure"
d2079 1
a2079 1
if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2101 1
a2101 1
echo "configure:2112: checking getaddrinfo bug" >&5
d2107 1
a2107 1
#line 2118 "configure"
d2197 1
a2197 1
if { (eval echo configure:2208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2224 1
a2224 1
echo "configure:2235: checking for $ac_func" >&5
d2229 1
a2229 1
#line 2240 "configure"
d2252 1
a2252 1
if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2280 1
a2280 1
echo "configure:2291: checking if --with-ssleay option is specified" >&5
d2326 1
a2326 1
echo "configure:2337: checking for crypto containing CAST_cfb64_encrypt" >&5
d2333 1
a2333 1
#line 2344 "configure"
d2344 1
a2344 1
if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2353 1
a2353 1
#line 2364 "configure"
d2364 1
a2364 1
if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2378 1
a2378 1
#line 2389 "configure"
d2389 1
a2389 1
if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2410 1
a2410 1
#line 2421 "configure"
d2423 1
a2423 1
if { (eval echo configure:2434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2450 1
a2450 1
echo "configure:2461: checking openssl version" >&5
d2452 1
a2452 1
#line 2463 "configure"
d2474 1
a2474 1
echo "configure:2485: checking for ssl_ok in -lssl" >&5
d2482 1
a2482 1
#line 2493 "configure"
d2493 1
a2493 1
if { (eval echo configure:2504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2522 1
a2522 1
echo "configure:2533: checking for des_cbc_encrypt in -lcrypto" >&5
d2530 1
a2530 1
#line 2541 "configure"
d2541 1
a2541 1
if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2569 1
a2569 1
echo "configure:2580: checking for yywrap in -ll" >&5
d2577 1
a2577 1
#line 2588 "configure"
d2588 1
a2588 1
if { (eval echo configure:2599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2616 1
a2616 1
echo "configure:2627: checking for yyerror in -ly" >&5
d2624 1
a2624 1
#line 2635 "configure"
d2635 1
a2635 1
if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2664 1
a2664 1
echo "configure:2675: checking for PF_KEYv2 support" >&5
d2669 1
a2669 1
#line 2680 "configure"
d2679 1
a2679 1
if { (eval echo configure:2690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2698 1
a2698 1
echo "configure:2709: checking for old KAME PF_KEYv2 header file" >&5
d2700 1
a2700 1
#line 2711 "configure"
d2710 1
a2710 1
if { (eval echo configure:2721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2721 1
a2721 1
#line 2732 "configure"
d2731 1
a2731 1
if { (eval echo configure:2742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2743 1
a2743 1
#line 2754 "configure"
d2753 1
a2753 1
if { (eval echo configure:2764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2771 1
a2771 1
echo "configure:2782: checking ipsec library path" >&5
d2777 1
a2777 1
#line 2788 "configure"
d2797 1
a2797 1
#line 2808 "configure"
d2826 1
a2826 1
echo "configure:2837: checking for $ipseclib containing ipsec_strerror" >&5
d2833 1
a2833 1
#line 2844 "configure"
d2844 1
a2844 1
if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2853 1
a2853 1
#line 2864 "configure"
d2864 1
a2864 1
if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2878 1
a2878 1
#line 2889 "configure"
d2889 1
a2889 1
if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2912 1
a2912 1
echo "configure:2923: checking for $ipseclib containing ipsec_strerror" >&5
d2919 1
a2919 1
#line 2930 "configure"
d2930 1
a2930 1
if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2939 1
a2939 1
#line 2950 "configure"
d2950 1
a2950 1
if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2964 1
a2964 1
#line 2975 "configure"
d2975 1
a2975 1
if { (eval echo configure:2986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2999 1
a2999 1
echo "configure:3010: checking if --with-libpfkey option is specified" >&5
d3013 1
a3013 1
echo "configure:3024: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3020 1
a3020 1
#line 3031 "configure"
d3031 1
a3031 1
if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3040 1
a3040 1
#line 3051 "configure"
d3051 1
a3051 1
if { (eval echo configure:3062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3065 1
a3065 1
#line 3076 "configure"
d3076 1
a3076 1
if { (eval echo configure:3087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3099 1
a3099 1
echo "configure:3110: checking for pfkey containing pfkey_send_spdsetidx" >&5
d3106 1
a3106 1
#line 3117 "configure"
d3117 1
a3117 1
if { (eval echo configure:3128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3126 1
a3126 1
#line 3137 "configure"
d3137 1
a3137 1
if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3151 1
a3151 1
#line 3162 "configure"
d3162 1
a3162 1
if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3186 1
a3186 1
echo "configure:3197: checking if --with-liblwres option is specified" >&5
d3201 1
a3201 1
echo "configure:3212: checking for lwres containing lwres_getrrsetbyname" >&5
d3208 1
a3208 1
#line 3219 "configure"
d3219 1
a3219 1
if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3228 1
a3228 1
#line 3239 "configure"
d3239 1
a3239 1
if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3253 1
a3253 1
#line 3264 "configure"
d3264 1
a3264 1
if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3287 1
a3287 1
echo "configure:3298: checking for lwres containing lwres_getrrsetbyname" >&5
d3294 1
a3294 1
#line 3305 "configure"
d3305 1
a3305 1
if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3314 1
a3314 1
#line 3325 "configure"
d3325 1
a3325 1
if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3339 1
a3339 1
#line 3350 "configure"
d3350 1
a3350 1
if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3375 1
a3375 1
echo "configure:3386: checking for $ac_func" >&5
d3380 1
a3380 1
#line 3391 "configure"
d3403 1
a3403 1
if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3435 1
a3435 1
echo "configure:3446: checking for $ac_func" >&5
d3440 1
a3440 1
#line 3451 "configure"
d3463 1
a3463 1
if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3489 1
a3489 1
echo "configure:3500: checking for ANSI C header files" >&5
d3494 1
a3494 1
#line 3505 "configure"
d3502 1
a3502 1
{ (eval echo configure:3513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3519 1
a3519 1
#line 3530 "configure"
d3537 1
a3537 1
#line 3548 "configure"
d3558 1
a3558 1
#line 3569 "configure"
d3569 1
a3569 1
if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3593 1
a3593 1
echo "configure:3604: checking for sys/wait.h that is POSIX.1 compatible" >&5
d3598 1
a3598 1
#line 3609 "configure"
d3614 1
a3614 1
if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3638 1
a3638 1
echo "configure:3649: checking for $ac_hdr" >&5
d3643 1
a3643 1
#line 3654 "configure"
d3648 1
a3648 1
{ (eval echo configure:3659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3689 1
a3689 1
echo "configure:3700: checking for $ac_hdr" >&5
d3694 1
a3694 1
#line 3705 "configure"
d3699 1
a3699 1
{ (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3738 1
a3738 1
echo "configure:3749: checking for $ac_hdr" >&5
d3743 1
a3743 1
#line 3754 "configure"
d3748 1
a3748 1
{ (eval echo configure:3759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3779 1
a3779 1
echo "configure:3790: checking for openssl/rijndael.h" >&5
d3784 1
a3784 1
#line 3795 "configure"
d3789 1
a3789 1
{ (eval echo configure:3800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3816 1
a3816 1
echo "configure:3827: checking sha2 support" >&5
d3818 1
a3818 1
#line 3829 "configure"
d3840 1
a3840 1
echo "configure:3851: checking for openssl/sha2.h" >&5
d3845 1
a3845 1
#line 3856 "configure"
d3850 1
a3850 1
{ (eval echo configure:3861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3880 1
a3880 1
echo "configure:3891: checking for working const" >&5
d3885 1
a3885 1
#line 3896 "configure"
d3934 1
a3934 1
if { (eval echo configure:3945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3955 1
a3955 1
echo "configure:3966: checking for pid_t" >&5
d3960 1
a3960 1
#line 3971 "configure"
d3988 1
a3988 1
echo "configure:3999: checking for size_t" >&5
d3993 1
a3993 1
#line 4004 "configure"
d4021 1
a4021 1
echo "configure:4032: checking whether time.h and sys/time.h may both be included" >&5
d4026 1
a4026 1
#line 4037 "configure"
d4035 1
a4035 1
if { (eval echo configure:4046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4056 1
a4056 1
echo "configure:4067: checking whether struct tm is in sys/time.h or time.h" >&5
d4061 1
a4061 1
#line 4072 "configure"
d4069 1
a4069 1
if { (eval echo configure:4080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4091 1
a4091 1
echo "configure:4102: checking for 8-bit clean memcmp" >&5
d4099 1
a4099 1
#line 4110 "configure"
d4109 1
a4109 1
if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4127 1
a4127 1
echo "configure:4138: checking return type of signal handlers" >&5
d4132 1
a4132 1
#line 4143 "configure"
d4149 1
a4149 1
if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4168 1
a4168 1
echo "configure:4179: checking for vprintf" >&5
d4173 1
a4173 1
#line 4184 "configure"
d4196 1
a4196 1
if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4220 1
a4220 1
echo "configure:4231: checking for _doprnt" >&5
d4225 1
a4225 1
#line 4236 "configure"
d4248 1
a4248 1
if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4275 1
a4275 1
echo "configure:4286: checking for $ac_func" >&5
d4280 1
a4280 1
#line 4291 "configure"
d4303 1
a4303 1
if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4330 1
a4330 1
echo "configure:4341: checking for $ac_func" >&5
d4335 1
a4335 1
#line 4346 "configure"
d4358 1
a4358 1
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4396 1
a4396 1
echo "configure:4407: checking for $ac_func" >&5
d4401 1
a4401 1
#line 4412 "configure"
d4424 1
a4424 1
if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4452 1
a4452 1
echo "configure:4463: checking for $ac_func" >&5
d4457 1
a4457 1
#line 4468 "configure"
d4480 1
a4480 1
if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4508 1
a4508 1
echo "configure:4519: checking if --with-pkgversion option is specified" >&5
@


