ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.46 by root, Sun Mar 6 13:49:49 2011 UTC vs.
Revision 1.60 by root, Thu Oct 25 07:31:58 2018 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67. 3# Generated by GNU Autoconf 2.69 for gvpe 3.1.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9# 7#
10# 8#
11# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ## 11## -------------------- ##
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl" 87IFS=" "" $as_nl"
90 88
91# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
92case $0 in #(( 91case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 94for as_dir in $PATH
96do 95do
131export LANGUAGE 130export LANGUAGE
132 131
133# CDPATH. 132# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
136if test "x$CONFIG_SHELL" = x; then 160if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh 162 emulate sh
139 NULLCMD=: 163 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 189
166else 190else
167 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
168fi 192fi
169test x\$exitcode = x0 || exit 1" 193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1" 199test \$(( 1 + 1 )) = 2 || exit 1"
209fi; } 234fi; }
210IFS=$as_save_IFS 235IFS=$as_save_IFS
211 236
212 237
213 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
214 # We cannot yet assume a decent shell, so we have to provide a 240 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 244BASH_ENV=/dev/null
218 ENV=/dev/null 245ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
222fi 258fi
223 259
224 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 262 $as_echo "$0: the shells that I found on your system."
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 356
321 357
322} # as_fn_mkdir_p 358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
323# as_fn_append VAR VALUE 367# as_fn_append VAR VALUE
324# ---------------------- 368# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take 369# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over 370# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive 371# repeated appends, instead of the typical quadratic growth present in naive
439 s/-\n.*// 483 s/-\n.*//
440 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
444 # Don't try to exec as it changes $[0], causing all sort of problems 492 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the 493 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno" 495 . "./$as_me.lineno"
448 # Exit status is that of the last command. 496 # Exit status is that of the last command.
473 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s' 522 as_ln_s='ln -s'
475 # ... but there are two gotchas: 523 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
481 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln 530 as_ln_s=ln
483 else 531 else
484 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
485 fi 533 fi
486else 534else
487 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
488fi 536fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
491 539
492if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
494else 542else
495 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 544 as_mkdir_p=false
497fi 545fi
498 546
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x' 547as_test_x='test -x'
501else 548as_executable_p=as_fn_executable_p
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521 549
522# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 552
525# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
545subdirs= 573subdirs=
546MFLAGS= 574MFLAGS=
547MAKEFLAGS= 575MAKEFLAGS=
548 576
549# Identity of this package. 577# Identity of this package.
550PACKAGE_NAME= 578PACKAGE_NAME='gvpe'
551PACKAGE_TARNAME= 579PACKAGE_TARNAME='gvpe'
552PACKAGE_VERSION= 580PACKAGE_VERSION='3.1'
553PACKAGE_STRING= 581PACKAGE_STRING='gvpe 3.1'
554PACKAGE_BUGREPORT= 582PACKAGE_BUGREPORT=''
555PACKAGE_URL= 583PACKAGE_URL=''
556 584
557ac_unique_file="src/gvpe.C" 585ac_unique_file="src/gvpe.C"
558# Factoring default headers for most tests. 586# Factoring default headers for most tests.
559ac_includes_default="\ 587ac_includes_default="\
560#include <stdio.h> 588#include <stdio.h>
589#endif 617#endif
590#ifdef HAVE_UNISTD_H 618#ifdef HAVE_UNISTD_H
591# include <unistd.h> 619# include <unistd.h>
592#endif" 620#endif"
593 621
594ac_subst_vars='am__EXEEXT_FALSE 622ac_subst_vars='LTLIBOBJS
595am__EXEEXT_TRUE
596LTLIBOBJS
597LIBOBJS 623LIBOBJS
598INCLUDES 624AM_CPPFLAGS
599ROHC_FALSE 625ROHC_FALSE
600ROHC_TRUE 626ROHC_TRUE
601LDFLAGS_DAEMON 627LDFLAGS_DAEMON
628LIBCRYPTO_LIBS
629LIBCRYPTO_CFLAGS
630PKG_CONFIG_LIBDIR
631PKG_CONFIG_PATH
632PKG_CONFIG
602HAVE_TUNTAP 633HAVE_TUNTAP
603LINUX_IF_TUN_H 634LINUX_IF_TUN_H
604ALLOCA 635ALLOCA
605CXXCPP 636CXXCPP
606IFSUBTYPE 637IFSUBTYPE
645MSGFMT 676MSGFMT
646MKINSTALLDIRS 677MKINSTALLDIRS
647MAINT 678MAINT
648MAINTAINER_MODE_FALSE 679MAINTAINER_MODE_FALSE
649MAINTAINER_MODE_TRUE 680MAINTAINER_MODE_TRUE
650am__untar
651am__tar
652AMTAR
653am__leading_dot 681am__leading_dot
654SET_MAKE 682SET_MAKE
655AWK 683AWK
656mkdir_p
657MKDIR_P
658INSTALL_STRIP_PROGRAM 684INSTALL_STRIP_PROGRAM
659STRIP 685STRIP
660install_sh 686install_sh
687AMTAR
661MAKEINFO 688MAKEINFO
662AUTOHEADER 689AUTOHEADER
663AUTOMAKE 690AUTOMAKE
664AUTOCONF 691AUTOCONF
665ACLOCAL 692ACLOCAL
666VERSION 693VERSION
667PACKAGE 694PACKAGE
668CYGPATH_W 695CYGPATH_W
669am__isrc
670INSTALL_DATA 696INSTALL_DATA
671INSTALL_SCRIPT 697INSTALL_SCRIPT
672INSTALL_PROGRAM 698INSTALL_PROGRAM
673target_os 699target_os
674target_vendor 700target_vendor
699htmldir 725htmldir
700infodir 726infodir
701docdir 727docdir
702oldincludedir 728oldincludedir
703includedir 729includedir
730runstatedir
704localstatedir 731localstatedir
705sharedstatedir 732sharedstatedir
706sysconfdir 733sysconfdir
707datadir 734datadir
708datarootdir 735datarootdir
730with_libiconv_prefix 757with_libiconv_prefix
731enable_nls 758enable_nls
732with_libintl_prefix 759with_libintl_prefix
733enable_iftype 760enable_iftype
734with_kernel 761with_kernel
735with_openssl_include 762enable_threads
736with_openssl_lib
737enable_static_daemon 763enable_static_daemon
738enable_icmp 764enable_icmp
739enable_tcp 765enable_tcp
740enable_http_proxy 766enable_http_proxy
741enable_dns 767enable_dns
768enable_rsa_length
742enable_hmac_length 769enable_hmac_length
743enable_rand_length
744enable_max_mtu 770enable_max_mtu
745enable_compression 771enable_compression
746enable_cipher 772enable_cipher
747enable_digest 773enable_hmac_digest
774enable_auth_digest
748' 775'
749 ac_precious_vars='build_alias 776 ac_precious_vars='build_alias
750host_alias 777host_alias
751target_alias 778target_alias
752CC 779CC
756CPPFLAGS 783CPPFLAGS
757CPP 784CPP
758CXX 785CXX
759CXXFLAGS 786CXXFLAGS
760CCC 787CCC
761CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
762 794
763 795
764# Initialize some variables set by options. 796# Initialize some variables set by options.
765ac_init_help= 797ac_init_help=
766ac_init_version=false 798ac_init_version=false
795datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
796datadir='${datarootdir}' 828datadir='${datarootdir}'
797sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
798sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
799localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
800includedir='${prefix}/include' 833includedir='${prefix}/include'
801oldincludedir='/usr/include' 834oldincludedir='/usr/include'
802docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
803infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
804htmldir='${docdir}' 837htmldir='${docdir}'
805dvidir='${docdir}' 838dvidir='${docdir}'
806pdfdir='${docdir}' 839pdfdir='${docdir}'
807psdir='${docdir}' 840psdir='${docdir}'
1047 1080
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1050 silent=yes ;; 1083 silent=yes ;;
1051 1084
1085 -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 | --runstate | --runstat | --runsta | --runst | --runs \
1087 | --run | --ru | --r)
1088 ac_prev=runstatedir ;;
1089 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 | --run=* | --ru=* | --r=*)
1092 runstatedir=$ac_optarg ;;
1093
1052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1056 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1161 *) 1203 *)
1162 # FIXME: should be removed in autoconf 3.0. 1204 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1167 ;; 1209 ;;
1168 1210
1169 esac 1211 esac
1170done 1212done
1171 1213
1184 1226
1185# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1186for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1190do 1232do
1191 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1192 # Remove trailing slashes. 1234 # Remove trailing slashes.
1193 case $ac_val in 1235 case $ac_val in
1194 */ ) 1236 */ )
1212 1254
1213# FIXME: To remove some day. 1255# FIXME: To remove some day.
1214if test "x$host_alias" != x; then 1256if test "x$host_alias" != x; then
1215 if test "x$build_alias" = x; then 1257 if test "x$build_alias" = x; then
1216 cross_compiling=maybe 1258 cross_compiling=maybe
1217 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used" >&2
1219 elif test "x$build_alias" != "x$host_alias"; then 1259 elif test "x$build_alias" != "x$host_alias"; then
1220 cross_compiling=yes 1260 cross_compiling=yes
1221 fi 1261 fi
1222fi 1262fi
1223 1263
1299# 1339#
1300if test "$ac_init_help" = "long"; then 1340if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing. 1341 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh. 1342 # This message is too long to be a string in the A/UX 3.1 sh.
1303 cat <<_ACEOF 1343 cat <<_ACEOF
1304\`configure' configures this package to adapt to many kinds of systems. 1344\`configure' configures gvpe 3.1 to adapt to many kinds of systems.
1305 1345
1306Usage: $0 [OPTION]... [VAR=VALUE]... 1346Usage: $0 [OPTION]... [VAR=VALUE]...
1307 1347
1308To assign environment variables (e.g., CC, CFLAGS...), specify them as 1348To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309VAR=VALUE. See below for descriptions of some of the useful variables. 1349VAR=VALUE. See below for descriptions of some of the useful variables.
1339 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1344 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info] 1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man] 1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe]
1353 --htmldir=DIR html documentation [DOCDIR] 1394 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR]
1357_ACEOF 1398_ACEOF
1369 --target=TARGET configure for building compilers for TARGET [HOST] 1410 --target=TARGET configure for building compilers for TARGET [HOST]
1370_ACEOF 1411_ACEOF
1371fi 1412fi
1372 1413
1373if test -n "$ac_init_help"; then 1414if test -n "$ac_init_help"; then
1374 1415 case $ac_init_help in
1416 short | recursive ) echo "Configuration of gvpe 3.1:";;
1417 esac
1375 cat <<\_ACEOF 1418 cat <<\_ACEOF
1376 1419
1377Optional Features: 1420Optional Features:
1378 --disable-option-checking ignore unrecognized --enable/--with options 1421 --disable-option-checking ignore unrecognized --enable/--with options
1379 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1380 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1423 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1381 --enable-maintainer-mode enable make rules and dependencies not useful 1424 --enable-maintainer-mode enable make rules and dependencies not useful
1382 (and sometimes confusing) to the casual installer 1425 (and sometimes confusing) to the casual installer
1383 --disable-dependency-tracking speeds up one-time build 1426 --disable-dependency-tracking Speeds up one-time builds
1384 --enable-dependency-tracking do not reject slow dependency extractors 1427 --enable-dependency-tracking Do not reject slow dependency extractors
1385 --disable-rpath do not hardcode runtime library paths 1428 --disable-rpath do not hardcode runtime library paths
1386 --disable-nls do not use Native Language Support 1429 --disable-nls do not use Native Language Support
1387 --enable-iftype=TYPE/SUBTYPE 1430 --enable-iftype=TYPE/SUBTYPE
1388 Use kernel/net device interface TYPE/SUBTYPE. 1431 Use kernel/net device interface TYPE/SUBTYPE.
1389 Working combinations are (see doc/gvpe.osdep.5.pod): 1432 Working combinations are (see doc/gvpe.osdep.5.pod):
1392 "tincd/darwin" "native/cygwin"; Untested 1435 "tincd/darwin" "native/cygwin"; Untested
1393 combinations are: "tincd/bsd" "tincd/solaris" 1436 combinations are: "tincd/bsd" "tincd/solaris"
1394 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1437 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1395 Broken combinations are: "tincd/cygwin"; The default 1438 Broken combinations are: "tincd/cygwin"; The default
1396 is to autodetect. 1439 is to autodetect.
1440 --enable-threads try to use threads for long-running asynchronous
1441 operations (default enabled).
1397 --enable-static-daemon enable statically linked daemon. 1442 --enable-static-daemon enable statically linked daemon.
1398 --disable-icmp enable icmp protocol support (default enabled). 1443 --disable-icmp enable icmp protocol support (default enabled).
1399 --disable-tcp enable tcp protocol support (default enabled). 1444 --disable-tcp enable tcp protocol support (default enabled).
1400 --disable-http-proxy enable http proxy connect support (default enabled). 1445 --disable-http-proxy enable http proxy connect support (default enabled).
1401 --enable-dns enable dns tunnel protocol support (default 1446 --enable-dns enable dns tunnel protocol support (default
1402 disabled). 1447 disabled).
1448 --enable-rsa-length=BITS
1449 use BITS rsa keys (default 3072). Allowed values are
1450 2048-10240.
1403 --enable-hmac-length=BYTES 1451 --enable-hmac-length=BYTES
1404 use a hmac of length BYTES bytes (default 12). 1452 use a hmac of length BYTES bytes (default 12).
1405 Allowed values are 4, 8, 12, 16. 1453 Allowed values are 4, 8, 12, 16.
1406 --enable-rand-length=BYTES
1407 use BYTES bytes of extra randomness (default 8).
1408 Allowed values are 0, 4, 8.
1409 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 1454 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1410 Use 9100 for jumbogram support. 1455 Use 9100 for jumbogram support.
1411 --disable-compression Disable compression support. 1456 --disable-compression Disable compression support.
1412 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1457 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1413 Must be one of "bf" (blowfish), "aes-128" 1458 Must be one of "aes-128" (rijndael), "aes-192", or
1414 (rijndael), "aes-192" or "aes-256". 1459 "aes-256".
1415 --enable-digest=CIPHER Select the digest algorithm to use (default 1460 --enable-hmac-digest=HMAC
1461 Select the HMAC digest algorithm to use (default
1416 "ripemd160"). Must be one of "sha512", "sha256", 1462 "sha1"). Must be one of "sha512", "sha256", "sha1",
1417 "sha1" (somewhat insecure), "ripemd160", "md5" 1463 "ripemd160", "whirlpool".
1418 (insecure) or "md4" (insecure). 1464 --enable-auth-digest=DIGEST
1465 Select the hmac algorithm to use (default "sha512").
1466 Must be one of "sha512", "sha256", "whirlpool".
1419 1467
1420Optional Packages: 1468Optional Packages:
1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1423 --with-gnu-ld assume the C compiler uses GNU ld default=no 1471 --with-gnu-ld assume the C compiler uses GNU ld default=no
1425 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1473 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1426 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib 1474 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1427 --without-libintl-prefix don't search for libintl in includedir and libdir 1475 --without-libintl-prefix don't search for libintl in includedir and libdir
1428 --with-kernel=dir give the directory with kernel sources 1476 --with-kernel=dir give the directory with kernel sources
1429 (default: /usr/src/linux) 1477 (default: /usr/src/linux)
1430 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1431 --with-openssl-lib=DIR OpenSSL library directory
1432 1478
1433Some influential environment variables: 1479Some influential environment variables:
1434 CC C compiler command 1480 CC C compiler command
1435 CFLAGS C compiler flags 1481 CFLAGS C compiler flags
1436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1440 you have headers in a nonstandard directory <include dir> 1486 you have headers in a nonstandard directory <include dir>
1441 CPP C preprocessor 1487 CPP C preprocessor
1442 CXX C++ compiler command 1488 CXX C++ compiler command
1443 CXXFLAGS C++ compiler flags 1489 CXXFLAGS C++ compiler flags
1444 CXXCPP C++ preprocessor 1490 CXXCPP C++ preprocessor
1491 PKG_CONFIG path to pkg-config utility
1492 PKG_CONFIG_PATH
1493 directories to add to pkg-config's search path
1494 PKG_CONFIG_LIBDIR
1495 path overriding pkg-config's built-in search path
1496 LIBCRYPTO_CFLAGS
1497 C compiler flags for LIBCRYPTO, overriding pkg-config
1498 LIBCRYPTO_LIBS
1499 linker flags for LIBCRYPTO, overriding pkg-config
1445 1500
1446Use these variables to override the choices made by `configure' or to help 1501Use these variables to override the choices made by `configure' or to help
1447it to find libraries and programs with nonstandard names/locations. 1502it to find libraries and programs with nonstandard names/locations.
1448 1503
1449Report bugs to the package provider. 1504Report bugs to the package provider.
1507fi 1562fi
1508 1563
1509test -n "$ac_init_help" && exit $ac_status 1564test -n "$ac_init_help" && exit $ac_status
1510if $ac_init_version; then 1565if $ac_init_version; then
1511 cat <<\_ACEOF 1566 cat <<\_ACEOF
1512configure 1567gvpe configure 3.1
1513generated by GNU Autoconf 2.67 1568generated by GNU Autoconf 2.69
1514 1569
1515Copyright (C) 2010 Free Software Foundation, Inc. 1570Copyright (C) 2012 Free Software Foundation, Inc.
1516This configure script is free software; the Free Software Foundation 1571This configure script is free software; the Free Software Foundation
1517gives unlimited permission to copy, distribute and modify it. 1572gives unlimited permission to copy, distribute and modify it.
1518_ACEOF 1573_ACEOF
1519 exit 1574 exit
1520fi 1575fi
1554 $as_echo "$as_me: failed program was:" >&5 1609 $as_echo "$as_me: failed program was:" >&5
1555sed 's/^/| /' conftest.$ac_ext >&5 1610sed 's/^/| /' conftest.$ac_ext >&5
1556 1611
1557 ac_retval=1 1612 ac_retval=1
1558fi 1613fi
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status $ac_retval 1615 as_fn_set_status $ac_retval
1561 1616
1562} # ac_fn_c_try_compile 1617} # ac_fn_c_try_compile
1563 1618
1564# ac_fn_c_try_link LINENO 1619# ac_fn_c_try_link LINENO
1586 test $ac_status = 0; } && { 1641 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" || 1642 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err 1643 test ! -s conftest.err
1589 } && test -s conftest$ac_exeext && { 1644 } && test -s conftest$ac_exeext && {
1590 test "$cross_compiling" = yes || 1645 test "$cross_compiling" = yes ||
1591 $as_test_x conftest$ac_exeext 1646 test -x conftest$ac_exeext
1592 }; then : 1647 }; then :
1593 ac_retval=0 1648 ac_retval=0
1594else 1649else
1595 $as_echo "$as_me: failed program was:" >&5 1650 $as_echo "$as_me: failed program was:" >&5
1596sed 's/^/| /' conftest.$ac_ext >&5 1651sed 's/^/| /' conftest.$ac_ext >&5
1600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602 # interfere with the next link command; also delete a directory that is 1657 # interfere with the next link command; also delete a directory that is
1603 # left behind by Apple's compiler. We do this before executing the actions. 1658 # left behind by Apple's compiler. We do this before executing the actions.
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status $ac_retval 1661 as_fn_set_status $ac_retval
1607 1662
1608} # ac_fn_c_try_link 1663} # ac_fn_c_try_link
1609 1664
1610# ac_fn_c_try_cpp LINENO 1665# ac_fn_c_try_cpp LINENO
1637 $as_echo "$as_me: failed program was:" >&5 1692 $as_echo "$as_me: failed program was:" >&5
1638sed 's/^/| /' conftest.$ac_ext >&5 1693sed 's/^/| /' conftest.$ac_ext >&5
1639 1694
1640 ac_retval=1 1695 ac_retval=1
1641fi 1696fi
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval 1698 as_fn_set_status $ac_retval
1644 1699
1645} # ac_fn_c_try_cpp 1700} # ac_fn_c_try_cpp
1646 1701
1647# ac_fn_cxx_try_compile LINENO 1702# ac_fn_cxx_try_compile LINENO
1675 $as_echo "$as_me: failed program was:" >&5 1730 $as_echo "$as_me: failed program was:" >&5
1676sed 's/^/| /' conftest.$ac_ext >&5 1731sed 's/^/| /' conftest.$ac_ext >&5
1677 1732
1678 ac_retval=1 1733 ac_retval=1
1679fi 1734fi
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval 1736 as_fn_set_status $ac_retval
1682 1737
1683} # ac_fn_cxx_try_compile 1738} # ac_fn_cxx_try_compile
1684 1739
1685# ac_fn_cxx_try_cpp LINENO 1740# ac_fn_cxx_try_cpp LINENO
1712 $as_echo "$as_me: failed program was:" >&5 1767 $as_echo "$as_me: failed program was:" >&5
1713sed 's/^/| /' conftest.$ac_ext >&5 1768sed 's/^/| /' conftest.$ac_ext >&5
1714 1769
1715 ac_retval=1 1770 ac_retval=1
1716fi 1771fi
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status $ac_retval 1773 as_fn_set_status $ac_retval
1719 1774
1720} # ac_fn_cxx_try_cpp 1775} # ac_fn_cxx_try_cpp
1721 1776
1722# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1777# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1725# the include files in INCLUDES and setting the cache variable VAR 1780# the include files in INCLUDES and setting the cache variable VAR
1726# accordingly. 1781# accordingly.
1727ac_fn_cxx_check_header_mongrel () 1782ac_fn_cxx_check_header_mongrel ()
1728{ 1783{
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 if eval "test \"\${$3+set}\"" = set; then : 1785 if eval \${$3+:} false; then :
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732$as_echo_n "checking for $2... " >&6; } 1787$as_echo_n "checking for $2... " >&6; }
1733if eval "test \"\${$3+set}\"" = set; then : 1788if eval \${$3+:} false; then :
1734 $as_echo_n "(cached) " >&6 1789 $as_echo_n "(cached) " >&6
1735fi 1790fi
1736eval ac_res=\$$3 1791eval ac_res=\$$3
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738$as_echo "$ac_res" >&6; } 1793$as_echo "$ac_res" >&6; }
1791$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1846$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792 ;; 1847 ;;
1793esac 1848esac
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795$as_echo_n "checking for $2... " >&6; } 1850$as_echo_n "checking for $2... " >&6; }
1796if eval "test \"\${$3+set}\"" = set; then : 1851if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6 1852 $as_echo_n "(cached) " >&6
1798else 1853else
1799 eval "$3=\$ac_header_compiler" 1854 eval "$3=\$ac_header_compiler"
1800fi 1855fi
1801eval ac_res=\$$3 1856eval ac_res=\$$3
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803$as_echo "$ac_res" >&6; } 1858$as_echo "$ac_res" >&6; }
1804fi 1859fi
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 1861
1807} # ac_fn_cxx_check_header_mongrel 1862} # ac_fn_cxx_check_header_mongrel
1808 1863
1809# ac_fn_cxx_try_run LINENO 1864# ac_fn_cxx_try_run LINENO
1810# ------------------------ 1865# ------------------------
1841sed 's/^/| /' conftest.$ac_ext >&5 1896sed 's/^/| /' conftest.$ac_ext >&5
1842 1897
1843 ac_retval=$ac_status 1898 ac_retval=$ac_status
1844fi 1899fi
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status $ac_retval 1902 as_fn_set_status $ac_retval
1848 1903
1849} # ac_fn_cxx_try_run 1904} # ac_fn_cxx_try_run
1850 1905
1851# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1906# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1855ac_fn_cxx_check_header_compile () 1910ac_fn_cxx_check_header_compile ()
1856{ 1911{
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; } 1914$as_echo_n "checking for $2... " >&6; }
1860if eval "test \"\${$3+set}\"" = set; then : 1915if eval \${$3+:} false; then :
1861 $as_echo_n "(cached) " >&6 1916 $as_echo_n "(cached) " >&6
1862else 1917else
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h. */ 1919/* end confdefs.h. */
1865$4 1920$4
1873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874fi 1929fi
1875eval ac_res=\$$3 1930eval ac_res=\$$3
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877$as_echo "$ac_res" >&6; } 1932$as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 1934
1880} # ac_fn_cxx_check_header_compile 1935} # ac_fn_cxx_check_header_compile
1881 1936
1882# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1937# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1883# --------------------------------------------- 1938# ---------------------------------------------
1886ac_fn_cxx_check_type () 1941ac_fn_cxx_check_type ()
1887{ 1942{
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890$as_echo_n "checking for $2... " >&6; } 1945$as_echo_n "checking for $2... " >&6; }
1891if eval "test \"\${$3+set}\"" = set; then : 1946if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6 1947 $as_echo_n "(cached) " >&6
1893else 1948else
1894 eval "$3=no" 1949 eval "$3=no"
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896/* end confdefs.h. */ 1951/* end confdefs.h. */
1927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928fi 1983fi
1929eval ac_res=\$$3 1984eval ac_res=\$$3
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931$as_echo "$ac_res" >&6; } 1986$as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 1988
1934} # ac_fn_cxx_check_type 1989} # ac_fn_cxx_check_type
1935 1990
1936# ac_fn_c_try_run LINENO 1991# ac_fn_c_try_run LINENO
1937# ---------------------- 1992# ----------------------
1968sed 's/^/| /' conftest.$ac_ext >&5 2023sed 's/^/| /' conftest.$ac_ext >&5
1969 2024
1970 ac_retval=$ac_status 2025 ac_retval=$ac_status
1971fi 2026fi
1972 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 as_fn_set_status $ac_retval 2029 as_fn_set_status $ac_retval
1975 2030
1976} # ac_fn_c_try_run 2031} # ac_fn_c_try_run
1977 2032
1978# ac_fn_c_check_func LINENO FUNC VAR 2033# ac_fn_c_check_func LINENO FUNC VAR
1981ac_fn_c_check_func () 2036ac_fn_c_check_func ()
1982{ 2037{
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985$as_echo_n "checking for $2... " >&6; } 2040$as_echo_n "checking for $2... " >&6; }
1986if eval "test \"\${$3+set}\"" = set; then : 2041if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6 2042 $as_echo_n "(cached) " >&6
1988else 2043else
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990/* end confdefs.h. */ 2045/* end confdefs.h. */
1991/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2046/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036 conftest$ac_exeext conftest.$ac_ext 2091 conftest$ac_exeext conftest.$ac_ext
2037fi 2092fi
2038eval ac_res=\$$3 2093eval ac_res=\$$3
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040$as_echo "$ac_res" >&6; } 2095$as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 2097
2043} # ac_fn_c_check_func 2098} # ac_fn_c_check_func
2044 2099
2045# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2100# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2046# ------------------------------------------------------- 2101# -------------------------------------------------------
2048# the include files in INCLUDES and setting the cache variable VAR 2103# the include files in INCLUDES and setting the cache variable VAR
2049# accordingly. 2104# accordingly.
2050ac_fn_c_check_header_mongrel () 2105ac_fn_c_check_header_mongrel ()
2051{ 2106{
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 if eval "test \"\${$3+set}\"" = set; then : 2108 if eval \${$3+:} false; then :
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055$as_echo_n "checking for $2... " >&6; } 2110$as_echo_n "checking for $2... " >&6; }
2056if eval "test \"\${$3+set}\"" = set; then : 2111if eval \${$3+:} false; then :
2057 $as_echo_n "(cached) " >&6 2112 $as_echo_n "(cached) " >&6
2058fi 2113fi
2059eval ac_res=\$$3 2114eval ac_res=\$$3
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061$as_echo "$ac_res" >&6; } 2116$as_echo "$ac_res" >&6; }
2114$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2169$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ;; 2170 ;;
2116esac 2171esac
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2118$as_echo_n "checking for $2... " >&6; } 2173$as_echo_n "checking for $2... " >&6; }
2119if eval "test \"\${$3+set}\"" = set; then : 2174if eval \${$3+:} false; then :
2120 $as_echo_n "(cached) " >&6 2175 $as_echo_n "(cached) " >&6
2121else 2176else
2122 eval "$3=\$ac_header_compiler" 2177 eval "$3=\$ac_header_compiler"
2123fi 2178fi
2124eval ac_res=\$$3 2179eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126$as_echo "$ac_res" >&6; } 2181$as_echo "$ac_res" >&6; }
2127fi 2182fi
2128 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 2184
2130} # ac_fn_c_check_header_mongrel 2185} # ac_fn_c_check_header_mongrel
2131 2186
2132# ac_fn_cxx_try_link LINENO 2187# ac_fn_cxx_try_link LINENO
2133# ------------------------- 2188# -------------------------
2154 test $ac_status = 0; } && { 2209 test $ac_status = 0; } && {
2155 test -z "$ac_cxx_werror_flag" || 2210 test -z "$ac_cxx_werror_flag" ||
2156 test ! -s conftest.err 2211 test ! -s conftest.err
2157 } && test -s conftest$ac_exeext && { 2212 } && test -s conftest$ac_exeext && {
2158 test "$cross_compiling" = yes || 2213 test "$cross_compiling" = yes ||
2159 $as_test_x conftest$ac_exeext 2214 test -x conftest$ac_exeext
2160 }; then : 2215 }; then :
2161 ac_retval=0 2216 ac_retval=0
2162else 2217else
2163 $as_echo "$as_me: failed program was:" >&5 2218 $as_echo "$as_me: failed program was:" >&5
2164sed 's/^/| /' conftest.$ac_ext >&5 2219sed 's/^/| /' conftest.$ac_ext >&5
2168 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2223 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2169 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2224 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2170 # interfere with the next link command; also delete a directory that is 2225 # interfere with the next link command; also delete a directory that is
2171 # left behind by Apple's compiler. We do this before executing the actions. 2226 # left behind by Apple's compiler. We do this before executing the actions.
2172 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2227 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2173 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2174 as_fn_set_status $ac_retval 2229 as_fn_set_status $ac_retval
2175 2230
2176} # ac_fn_cxx_try_link 2231} # ac_fn_cxx_try_link
2177
2178# ac_fn_cxx_check_func LINENO FUNC VAR
2179# ------------------------------------
2180# Tests whether FUNC exists, setting the cache variable VAR accordingly
2181ac_fn_cxx_check_func ()
2182{
2183 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185$as_echo_n "checking for $2... " >&6; }
2186if eval "test \"\${$3+set}\"" = set; then :
2187 $as_echo_n "(cached) " >&6
2188else
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190/* end confdefs.h. */
2191/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2193#define $2 innocuous_$2
2194
2195/* System header to define __stub macros and hopefully few prototypes,
2196 which can conflict with char $2 (); below.
2197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2198 <limits.h> exists even on freestanding compilers. */
2199
2200#ifdef __STDC__
2201# include <limits.h>
2202#else
2203# include <assert.h>
2204#endif
2205
2206#undef $2
2207
2208/* Override any GCC internal prototype to avoid an error.
2209 Use char because int might match the return type of a GCC
2210 builtin and then its argument prototype would still apply. */
2211#ifdef __cplusplus
2212extern "C"
2213#endif
2214char $2 ();
2215/* The GNU C library defines this for functions which it implements
2216 to always fail with ENOSYS. Some functions are actually named
2217 something starting with __ and the normal name is an alias. */
2218#if defined __stub_$2 || defined __stub___$2
2219choke me
2220#endif
2221
2222int
2223main ()
2224{
2225return $2 ();
2226 ;
2227 return 0;
2228}
2229_ACEOF
2230if ac_fn_cxx_try_link "$LINENO"; then :
2231 eval "$3=yes"
2232else
2233 eval "$3=no"
2234fi
2235rm -f core conftest.err conftest.$ac_objext \
2236 conftest$ac_exeext conftest.$ac_ext
2237fi
2238eval ac_res=\$$3
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240$as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242
2243} # ac_fn_cxx_check_func
2244cat >config.log <<_ACEOF 2232cat >config.log <<_ACEOF
2245This file contains any messages produced by compilers while 2233This file contains any messages produced by compilers while
2246running configure, to aid debugging if configure makes a mistake. 2234running configure, to aid debugging if configure makes a mistake.
2247 2235
2248It was created by $as_me, which was 2236It was created by gvpe $as_me 3.1, which was
2249generated by GNU Autoconf 2.67. Invocation command line was 2237generated by GNU Autoconf 2.69. Invocation command line was
2250 2238
2251 $ $0 $@ 2239 $ $0 $@
2252 2240
2253_ACEOF 2241_ACEOF
2254exec 5>>config.log 2242exec 5>>config.log
2502 sed 's/^/| /' "$ac_site_file" >&5 2490 sed 's/^/| /' "$ac_site_file" >&5
2503 . "$ac_site_file" \ 2491 . "$ac_site_file" \
2504 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2492 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2493$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506as_fn_error $? "failed to load site script $ac_site_file 2494as_fn_error $? "failed to load site script $ac_site_file
2507See \`config.log' for more details" "$LINENO" 5 ; } 2495See \`config.log' for more details" "$LINENO" 5; }
2508 fi 2496 fi
2509done 2497done
2510 2498
2511if test -r "$cache_file"; then 2499if test -r "$cache_file"; then
2512 # Some versions of bash will fail to source /dev/null (special files 2500 # Some versions of bash will fail to source /dev/null (special files
2627$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2615$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2628 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2616 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2629 2617
2630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2631$as_echo_n "checking build system type... " >&6; } 2619$as_echo_n "checking build system type... " >&6; }
2632if test "${ac_cv_build+set}" = set; then : 2620if ${ac_cv_build+:} false; then :
2633 $as_echo_n "(cached) " >&6 2621 $as_echo_n "(cached) " >&6
2634else 2622else
2635 ac_build_alias=$build_alias 2623 ac_build_alias=$build_alias
2636test "x$ac_build_alias" = x && 2624test "x$ac_build_alias" = x &&
2637 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2625 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2643fi 2631fi
2644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2645$as_echo "$ac_cv_build" >&6; } 2633$as_echo "$ac_cv_build" >&6; }
2646case $ac_cv_build in 2634case $ac_cv_build in
2647*-*-*) ;; 2635*-*-*) ;;
2648*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2636*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2649esac 2637esac
2650build=$ac_cv_build 2638build=$ac_cv_build
2651ac_save_IFS=$IFS; IFS='-' 2639ac_save_IFS=$IFS; IFS='-'
2652set x $ac_cv_build 2640set x $ac_cv_build
2653shift 2641shift
2661case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2649case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2662 2650
2663 2651
2664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2665$as_echo_n "checking host system type... " >&6; } 2653$as_echo_n "checking host system type... " >&6; }
2666if test "${ac_cv_host+set}" = set; then : 2654if ${ac_cv_host+:} false; then :
2667 $as_echo_n "(cached) " >&6 2655 $as_echo_n "(cached) " >&6
2668else 2656else
2669 if test "x$host_alias" = x; then 2657 if test "x$host_alias" = x; then
2670 ac_cv_host=$ac_cv_build 2658 ac_cv_host=$ac_cv_build
2671else 2659else
2676fi 2664fi
2677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2678$as_echo "$ac_cv_host" >&6; } 2666$as_echo "$ac_cv_host" >&6; }
2679case $ac_cv_host in 2667case $ac_cv_host in
2680*-*-*) ;; 2668*-*-*) ;;
2681*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2669*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2682esac 2670esac
2683host=$ac_cv_host 2671host=$ac_cv_host
2684ac_save_IFS=$IFS; IFS='-' 2672ac_save_IFS=$IFS; IFS='-'
2685set x $ac_cv_host 2673set x $ac_cv_host
2686shift 2674shift
2694case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2682case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2695 2683
2696 2684
2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2698$as_echo_n "checking target system type... " >&6; } 2686$as_echo_n "checking target system type... " >&6; }
2699if test "${ac_cv_target+set}" = set; then : 2687if ${ac_cv_target+:} false; then :
2700 $as_echo_n "(cached) " >&6 2688 $as_echo_n "(cached) " >&6
2701else 2689else
2702 if test "x$target_alias" = x; then 2690 if test "x$target_alias" = x; then
2703 ac_cv_target=$ac_cv_host 2691 ac_cv_target=$ac_cv_host
2704else 2692else
2709fi 2697fi
2710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2711$as_echo "$ac_cv_target" >&6; } 2699$as_echo "$ac_cv_target" >&6; }
2712case $ac_cv_target in 2700case $ac_cv_target in
2713*-*-*) ;; 2701*-*-*) ;;
2714*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2702*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2715esac 2703esac
2716target=$ac_cv_target 2704target=$ac_cv_target
2717ac_save_IFS=$IFS; IFS='-' 2705ac_save_IFS=$IFS; IFS='-'
2718set x $ac_cv_target 2706set x $ac_cv_target
2719shift 2707shift
2731# will get canonicalized. 2719# will get canonicalized.
2732test -n "$target_alias" && 2720test -n "$target_alias" &&
2733 test "$program_prefix$program_suffix$program_transform_name" = \ 2721 test "$program_prefix$program_suffix$program_transform_name" = \
2734 NONENONEs,x,x, && 2722 NONENONEs,x,x, &&
2735 program_prefix=${target_alias}- 2723 program_prefix=${target_alias}-
2736am__api_version='1.11' 2724am__api_version="1.7"
2737
2738# Find a good install program. We prefer a C program (faster), 2725# Find a good install program. We prefer a C program (faster),
2739# so one script is as good as another. But avoid the broken or 2726# so one script is as good as another. But avoid the broken or
2740# incompatible versions: 2727# incompatible versions:
2741# SysV /etc/install, /usr/sbin/install 2728# SysV /etc/install, /usr/sbin/install
2742# SunOS /usr/etc/install 2729# SunOS /usr/etc/install
2750# ./install, which can be erroneously created by make from ./install.sh. 2737# ./install, which can be erroneously created by make from ./install.sh.
2751# Reject install programs that cannot install multiple files. 2738# Reject install programs that cannot install multiple files.
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2753$as_echo_n "checking for a BSD-compatible install... " >&6; } 2740$as_echo_n "checking for a BSD-compatible install... " >&6; }
2754if test -z "$INSTALL"; then 2741if test -z "$INSTALL"; then
2755if test "${ac_cv_path_install+set}" = set; then : 2742if ${ac_cv_path_install+:} false; then :
2756 $as_echo_n "(cached) " >&6 2743 $as_echo_n "(cached) " >&6
2757else 2744else
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759for as_dir in $PATH 2746for as_dir in $PATH
2760do 2747do
2770 # OSF1 and SCO ODT 3.0 have their own names for install. 2757 # OSF1 and SCO ODT 3.0 have their own names for install.
2771 # Don't use installbsd from OSF since it installs stuff as root 2758 # Don't use installbsd from OSF since it installs stuff as root
2772 # by default. 2759 # by default.
2773 for ac_prog in ginstall scoinst install; do 2760 for ac_prog in ginstall scoinst install; do
2774 for ac_exec_ext in '' $ac_executable_extensions; do 2761 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2762 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2776 if test $ac_prog = install && 2763 if test $ac_prog = install &&
2777 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2764 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2778 # AIX install. It has an incompatible calling convention. 2765 # AIX install. It has an incompatible calling convention.
2779 : 2766 :
2780 elif test $ac_prog = install && 2767 elif test $ac_prog = install &&
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2832$as_echo_n "checking whether build environment is sane... " >&6; } 2819$as_echo_n "checking whether build environment is sane... " >&6; }
2833# Just in case 2820# Just in case
2834sleep 1 2821sleep 1
2835echo timestamp > conftest.file 2822echo timestamp > conftest.file
2836# Reject unsafe characters in $srcdir or the absolute working directory
2837# name. Accept space and tab only in the latter.
2838am_lf='
2839'
2840case `pwd` in
2841 *[\\\"\#\$\&\'\`$am_lf]*)
2842 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2843esac
2844case $srcdir in
2845 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2846 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2847esac
2848
2849# Do `set' in a subshell so we don't clobber the current shell's 2823# Do `set' in a subshell so we don't clobber the current shell's
2850# arguments. Must try -L first in case configure is actually a 2824# arguments. Must try -L first in case configure is actually a
2851# symlink; some systems play weird games with the mod time of symlinks 2825# symlink; some systems play weird games with the mod time of symlinks
2852# (eg FreeBSD returns the mod time of the symlink's containing 2826# (eg FreeBSD returns the mod time of the symlink's containing
2853# directory). 2827# directory).
2854if ( 2828if (
2855 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2829 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2856 if test "$*" = "X"; then 2830 if test "$*" = "X"; then
2857 # -L didn't work. 2831 # -L didn't work.
2858 set X `ls -t "$srcdir/configure" conftest.file` 2832 set X `ls -t $srcdir/configure conftest.file`
2859 fi 2833 fi
2860 rm -f conftest.file 2834 rm -f conftest.file
2861 if test "$*" != "X $srcdir/configure conftest.file" \ 2835 if test "$*" != "X $srcdir/configure conftest.file" \
2862 && test "$*" != "X conftest.file $srcdir/configure"; then 2836 && test "$*" != "X conftest.file $srcdir/configure"; then
2863 2837
2888# Double any \ or $. 2862# Double any \ or $.
2889# By default was `s,x,x', remove it if useless. 2863# By default was `s,x,x', remove it if useless.
2890ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2864ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2891program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2865program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2892 2866
2867
2893# expand $ac_aux_dir to an absolute path 2868# expand $ac_aux_dir to an absolute path
2894am_aux_dir=`cd $ac_aux_dir && pwd` 2869am_aux_dir=`cd $ac_aux_dir && pwd`
2895 2870
2896if test x"${MISSING+set}" != xset; then 2871test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2897 case $am_aux_dir in
2898 *\ * | *\ *)
2899 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2900 *)
2901 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2902 esac
2903fi
2904# Use eval to expand $SHELL 2872# Use eval to expand $SHELL
2905if eval "$MISSING --run true"; then 2873if eval "$MISSING --run true"; then
2906 am_missing_run="$MISSING --run " 2874 am_missing_run="$MISSING --run "
2907else 2875else
2908 am_missing_run= 2876 am_missing_run=
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2910$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2878$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2911fi 2879fi
2912 2880
2913if test x"${install_sh}" != xset; then 2881for ac_prog in gawk mawk nawk awk
2914 case $am_aux_dir in 2882do
2915 *\ * | *\ *) 2883 # Extract the first word of "$ac_prog", so it can be a program name with args.
2916 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2884set dummy $ac_prog; ac_word=$2
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886$as_echo_n "checking for $ac_word... " >&6; }
2887if ${ac_cv_prog_AWK+:} false; then :
2888 $as_echo_n "(cached) " >&6
2889else
2890 if test -n "$AWK"; then
2891 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2892else
2893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894for as_dir in $PATH
2895do
2896 IFS=$as_save_IFS
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_AWK="$ac_prog"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 break 2
2903 fi
2904done
2905 done
2906IFS=$as_save_IFS
2907
2908fi
2909fi
2910AWK=$ac_cv_prog_AWK
2911if test -n "$AWK"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2913$as_echo "$AWK" >&6; }
2914else
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916$as_echo "no" >&6; }
2917fi
2918
2919
2920 test -n "$AWK" && break
2921done
2922
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2924$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2925set x ${MAKE-make}
2926ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2927if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2928 $as_echo_n "(cached) " >&6
2929else
2930 cat >conftest.make <<\_ACEOF
2931SHELL = /bin/sh
2932all:
2933 @echo '@@@%%%=$(MAKE)=@@@%%%'
2934_ACEOF
2935# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2936case `${MAKE-make} -f conftest.make 2>/dev/null` in
2937 *@@@%%%=?*=@@@%%%*)
2938 eval ac_cv_prog_make_${ac_make}_set=yes;;
2917 *) 2939 *)
2918 install_sh="\${SHELL} $am_aux_dir/install-sh" 2940 eval ac_cv_prog_make_${ac_make}_set=no;;
2919 esac 2941esac
2942rm -f conftest.make
2920fi 2943fi
2944if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2946$as_echo "yes" >&6; }
2947 SET_MAKE=
2948else
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950$as_echo "no" >&6; }
2951 SET_MAKE="MAKE=${MAKE-make}"
2952fi
2953
2954rm -rf .tst 2>/dev/null
2955mkdir .tst 2>/dev/null
2956if test -d .tst; then
2957 am__leading_dot=.
2958else
2959 am__leading_dot=_
2960fi
2961rmdir .tst 2>/dev/null
2962
2963 # test to see if srcdir already configured
2964if test "`cd $srcdir && pwd`" != "`pwd`" &&
2965 test -f $srcdir/config.status; then
2966 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2967fi
2968
2969# test whether we have cygpath
2970if test -z "$CYGPATH_W"; then
2971 if (cygpath --version) >/dev/null 2>/dev/null; then
2972 CYGPATH_W='cygpath -w'
2973 else
2974 CYGPATH_W=echo
2975 fi
2976fi
2977
2978
2979# Define the identity of the package.
2980 PACKAGE='gvpe'
2981 VERSION='3.1'
2982
2983
2984cat >>confdefs.h <<_ACEOF
2985#define PACKAGE "$PACKAGE"
2986_ACEOF
2987
2988
2989cat >>confdefs.h <<_ACEOF
2990#define VERSION "$VERSION"
2991_ACEOF
2992
2993# Some tools Automake needs.
2994
2995ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2996
2997
2998AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2999
3000
3001AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3002
3003
3004AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3005
3006
3007MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3008
3009
3010AMTAR=${AMTAR-"${am_missing_run}tar"}
3011
3012install_sh=${install_sh-"$am_aux_dir/install-sh"}
2921 3013
2922# Installed binaries are usually stripped using `strip' when the user 3014# Installed binaries are usually stripped using `strip' when the user
2923# run `make install-strip'. However `strip' might not be the right 3015# run `make install-strip'. However `strip' might not be the right
2924# tool to use in cross-compilation environments, therefore Automake 3016# tool to use in cross-compilation environments, therefore Automake
2925# will honor the `STRIP' environment variable to overrule this program. 3017# will honor the `STRIP' environment variable to overrule this program.
2927 if test -n "$ac_tool_prefix"; then 3019 if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2929set dummy ${ac_tool_prefix}strip; ac_word=$2 3021set dummy ${ac_tool_prefix}strip; ac_word=$2
2930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931$as_echo_n "checking for $ac_word... " >&6; } 3023$as_echo_n "checking for $ac_word... " >&6; }
2932if test "${ac_cv_prog_STRIP+set}" = set; then : 3024if ${ac_cv_prog_STRIP+:} false; then :
2933 $as_echo_n "(cached) " >&6 3025 $as_echo_n "(cached) " >&6
2934else 3026else
2935 if test -n "$STRIP"; then 3027 if test -n "$STRIP"; then
2936 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2937else 3029else
2939for as_dir in $PATH 3031for as_dir in $PATH
2940do 3032do
2941 IFS=$as_save_IFS 3033 IFS=$as_save_IFS
2942 test -z "$as_dir" && as_dir=. 3034 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do 3035 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3037 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 break 2 3039 break 2
2948 fi 3040 fi
2949done 3041done
2967 ac_ct_STRIP=$STRIP 3059 ac_ct_STRIP=$STRIP
2968 # Extract the first word of "strip", so it can be a program name with args. 3060 # Extract the first word of "strip", so it can be a program name with args.
2969set dummy strip; ac_word=$2 3061set dummy strip; ac_word=$2
2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971$as_echo_n "checking for $ac_word... " >&6; } 3063$as_echo_n "checking for $ac_word... " >&6; }
2972if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3064if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2973 $as_echo_n "(cached) " >&6 3065 $as_echo_n "(cached) " >&6
2974else 3066else
2975 if test -n "$ac_ct_STRIP"; then 3067 if test -n "$ac_ct_STRIP"; then
2976 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2977else 3069else
2979for as_dir in $PATH 3071for as_dir in $PATH
2980do 3072do
2981 IFS=$as_save_IFS 3073 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=. 3074 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do 3075 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_ac_ct_STRIP="strip" 3077 ac_cv_prog_ac_ct_STRIP="strip"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 break 2 3079 break 2
2988 fi 3080 fi
2989done 3081done
3015else 3107else
3016 STRIP="$ac_cv_prog_STRIP" 3108 STRIP="$ac_cv_prog_STRIP"
3017fi 3109fi
3018 3110
3019fi 3111fi
3020INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3112INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3021
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3023$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3024if test -z "$MKDIR_P"; then
3025 if test "${ac_cv_path_mkdir+set}" = set; then :
3026 $as_echo_n "(cached) " >&6
3027else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3030do
3031 IFS=$as_save_IFS
3032 test -z "$as_dir" && as_dir=.
3033 for ac_prog in mkdir gmkdir; do
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3036 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3037 'mkdir (GNU coreutils) '* | \
3038 'mkdir (coreutils) '* | \
3039 'mkdir (fileutils) '4.1*)
3040 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3041 break 3;;
3042 esac
3043 done
3044 done
3045 done
3046IFS=$as_save_IFS
3047
3048fi
3049
3050 test -d ./--version && rmdir ./--version
3051 if test "${ac_cv_path_mkdir+set}" = set; then
3052 MKDIR_P="$ac_cv_path_mkdir -p"
3053 else
3054 # As a last resort, use the slow shell script. Don't cache a
3055 # value for MKDIR_P within a source directory, because that will
3056 # break other packages using the cache if that directory is
3057 # removed, or if the value is a relative name.
3058 MKDIR_P="$ac_install_sh -d"
3059 fi
3060fi
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3062$as_echo "$MKDIR_P" >&6; }
3063
3064mkdir_p="$MKDIR_P"
3065case $mkdir_p in
3066 [\\/$]* | ?:[\\/]*) ;;
3067 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3068esac
3069
3070for ac_prog in gawk mawk nawk awk
3071do
3072 # Extract the first word of "$ac_prog", so it can be a program name with args.
3073set dummy $ac_prog; ac_word=$2
3074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075$as_echo_n "checking for $ac_word... " >&6; }
3076if test "${ac_cv_prog_AWK+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3078else
3079 if test -n "$AWK"; then
3080 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3081else
3082as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083for as_dir in $PATH
3084do
3085 IFS=$as_save_IFS
3086 test -z "$as_dir" && as_dir=.
3087 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089 ac_cv_prog_AWK="$ac_prog"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 break 2
3092 fi
3093done
3094 done
3095IFS=$as_save_IFS
3096
3097fi
3098fi
3099AWK=$ac_cv_prog_AWK
3100if test -n "$AWK"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3102$as_echo "$AWK" >&6; }
3103else
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105$as_echo "no" >&6; }
3106fi
3107
3108
3109 test -n "$AWK" && break
3110done
3111
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3113$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3114set x ${MAKE-make}
3115ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3116if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3117 $as_echo_n "(cached) " >&6
3118else
3119 cat >conftest.make <<\_ACEOF
3120SHELL = /bin/sh
3121all:
3122 @echo '@@@%%%=$(MAKE)=@@@%%%'
3123_ACEOF
3124# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3125case `${MAKE-make} -f conftest.make 2>/dev/null` in
3126 *@@@%%%=?*=@@@%%%*)
3127 eval ac_cv_prog_make_${ac_make}_set=yes;;
3128 *)
3129 eval ac_cv_prog_make_${ac_make}_set=no;;
3130esac
3131rm -f conftest.make
3132fi
3133if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135$as_echo "yes" >&6; }
3136 SET_MAKE=
3137else
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139$as_echo "no" >&6; }
3140 SET_MAKE="MAKE=${MAKE-make}"
3141fi
3142
3143rm -rf .tst 2>/dev/null
3144mkdir .tst 2>/dev/null
3145if test -d .tst; then
3146 am__leading_dot=.
3147else
3148 am__leading_dot=_
3149fi
3150rmdir .tst 2>/dev/null
3151
3152if test "`cd $srcdir && pwd`" != "`pwd`"; then
3153 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3154 # is not polluted with repeated "-I."
3155 am__isrc=' -I$(srcdir)'
3156 # test to see if srcdir already configured
3157 if test -f $srcdir/config.status; then
3158 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3159 fi
3160fi
3161
3162# test whether we have cygpath
3163if test -z "$CYGPATH_W"; then
3164 if (cygpath --version) >/dev/null 2>/dev/null; then
3165 CYGPATH_W='cygpath -w'
3166 else
3167 CYGPATH_W=echo
3168 fi
3169fi
3170
3171
3172# Define the identity of the package.
3173 PACKAGE=gvpe
3174 VERSION=2.24
3175
3176
3177cat >>confdefs.h <<_ACEOF
3178#define PACKAGE "$PACKAGE"
3179_ACEOF
3180
3181
3182cat >>confdefs.h <<_ACEOF
3183#define VERSION "$VERSION"
3184_ACEOF
3185
3186# Some tools Automake needs.
3187
3188ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3189
3190
3191AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3192
3193
3194AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3195
3196
3197AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3198
3199
3200MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3201 3113
3202# We need awk for the "check" target. The system "awk" is bad on 3114# We need awk for the "check" target. The system "awk" is bad on
3203# some platforms. 3115# some platforms.
3204# Always define AMTAR for backward compatibility.
3205
3206AMTAR=${AMTAR-"${am_missing_run}tar"}
3207
3208am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3209
3210
3211 3116
3212 3117
3213 3118
3214ac_config_headers="$ac_config_headers config.h" 3119ac_config_headers="$ac_config_headers config.h"
3215
3216 3120
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3218$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3122$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3219 # Check whether --enable-maintainer-mode was given. 3123 # Check whether --enable-maintainer-mode was given.
3220if test "${enable_maintainer_mode+set}" = set; then : 3124if test "${enable_maintainer_mode+set}" = set; then :
3223 USE_MAINTAINER_MODE=no 3127 USE_MAINTAINER_MODE=no
3224fi 3128fi
3225 3129
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3227$as_echo "$USE_MAINTAINER_MODE" >&6; } 3131$as_echo "$USE_MAINTAINER_MODE" >&6; }
3132
3133
3228 if test $USE_MAINTAINER_MODE = yes; then 3134if test $USE_MAINTAINER_MODE = yes; then
3229 MAINTAINER_MODE_TRUE= 3135 MAINTAINER_MODE_TRUE=
3230 MAINTAINER_MODE_FALSE='#' 3136 MAINTAINER_MODE_FALSE='#'
3231else 3137else
3232 MAINTAINER_MODE_TRUE='#' 3138 MAINTAINER_MODE_TRUE='#'
3233 MAINTAINER_MODE_FALSE= 3139 MAINTAINER_MODE_FALSE=
3237 3143
3238 3144
3239 3145
3240 3146
3241 3147
3242
3243
3244
3245 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3246
3247 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3248 3148
3249 3149
3250 3150
3251 MKINSTALLDIRS= 3151 MKINSTALLDIRS=
3252 if test -n "$ac_aux_dir"; then 3152 if test -n "$ac_aux_dir"; then
3262 3162
3263 # Extract the first word of "msgfmt", so it can be a program name with args. 3163 # Extract the first word of "msgfmt", so it can be a program name with args.
3264set dummy msgfmt; ac_word=$2 3164set dummy msgfmt; ac_word=$2
3265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266$as_echo_n "checking for $ac_word... " >&6; } 3166$as_echo_n "checking for $ac_word... " >&6; }
3267if test "${ac_cv_path_MSGFMT+set}" = set; then : 3167if ${ac_cv_path_MSGFMT+:} false; then :
3268 $as_echo_n "(cached) " >&6 3168 $as_echo_n "(cached) " >&6
3269else 3169else
3270 case "$MSGFMT" in 3170 case "$MSGFMT" in
3271 /*) 3171 /*)
3272 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3172 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3299 3199
3300 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3200 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3301set dummy gmsgfmt; ac_word=$2 3201set dummy gmsgfmt; ac_word=$2
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303$as_echo_n "checking for $ac_word... " >&6; } 3203$as_echo_n "checking for $ac_word... " >&6; }
3304if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3204if ${ac_cv_path_GMSGFMT+:} false; then :
3305 $as_echo_n "(cached) " >&6 3205 $as_echo_n "(cached) " >&6
3306else 3206else
3307 case $GMSGFMT in 3207 case $GMSGFMT in
3308 [\\/]* | ?:[\\/]*) 3208 [\\/]* | ?:[\\/]*)
3309 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3209 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3313for as_dir in $PATH 3213for as_dir in $PATH
3314do 3214do
3315 IFS=$as_save_IFS 3215 IFS=$as_save_IFS
3316 test -z "$as_dir" && as_dir=. 3216 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do 3217 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3319 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3219 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 break 2 3221 break 2
3322 fi 3222 fi
3323done 3223done
3341 3241
3342 # Extract the first word of "xgettext", so it can be a program name with args. 3242 # Extract the first word of "xgettext", so it can be a program name with args.
3343set dummy xgettext; ac_word=$2 3243set dummy xgettext; ac_word=$2
3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345$as_echo_n "checking for $ac_word... " >&6; } 3245$as_echo_n "checking for $ac_word... " >&6; }
3346if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3246if ${ac_cv_path_XGETTEXT+:} false; then :
3347 $as_echo_n "(cached) " >&6 3247 $as_echo_n "(cached) " >&6
3348else 3248else
3349 case "$XGETTEXT" in 3249 case "$XGETTEXT" in
3350 /*) 3250 /*)
3351 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3251 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3380 3280
3381 # Extract the first word of "msgmerge", so it can be a program name with args. 3281 # Extract the first word of "msgmerge", so it can be a program name with args.
3382set dummy msgmerge; ac_word=$2 3282set dummy msgmerge; ac_word=$2
3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384$as_echo_n "checking for $ac_word... " >&6; } 3284$as_echo_n "checking for $ac_word... " >&6; }
3385if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3285if ${ac_cv_path_MSGMERGE+:} false; then :
3386 $as_echo_n "(cached) " >&6 3286 $as_echo_n "(cached) " >&6
3387else 3287else
3388 case "$MSGMERGE" in 3288 case "$MSGMERGE" in
3389 /*) 3289 /*)
3390 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3290 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3464 3364
3465 3365
3466am_make=${MAKE-make} 3366am_make=${MAKE-make}
3467cat > confinc << 'END' 3367cat > confinc << 'END'
3468am__doit: 3368am__doit:
3469 @echo this is the am__doit target 3369 @echo done
3470.PHONY: am__doit 3370.PHONY: am__doit
3471END 3371END
3472# If we don't find an include directive, just comment out the code. 3372# If we don't find an include directive, just comment out the code.
3473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3474$as_echo_n "checking for style of include used by $am_make... " >&6; } 3374$as_echo_n "checking for style of include used by $am_make... " >&6; }
3475am__include="#" 3375am__include="#"
3476am__quote= 3376am__quote=
3477_am_result=none 3377_am_result=none
3478# First try GNU make style include. 3378# First try GNU make style include.
3479echo "include confinc" > confmf 3379echo "include confinc" > confmf
3480# Ignore all kinds of additional output from `make'. 3380# We grep out `Entering directory' and `Leaving directory'
3481case `$am_make -s -f confmf 2> /dev/null` in #( 3381# messages which can occur if `w' ends up in MAKEFLAGS.
3482*the\ am__doit\ target*) 3382# In particular we don't look at `^make:' because GNU make might
3383# be invoked under some other name (usually "gmake"), in which
3384# case it prints its new name instead of `make'.
3385if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3483 am__include=include 3386 am__include=include
3484 am__quote= 3387 am__quote=
3485 _am_result=GNU 3388 _am_result=GNU
3486 ;; 3389fi
3487esac
3488# Now try BSD make style include. 3390# Now try BSD make style include.
3489if test "$am__include" = "#"; then 3391if test "$am__include" = "#"; then
3490 echo '.include "confinc"' > confmf 3392 echo '.include "confinc"' > confmf
3491 case `$am_make -s -f confmf 2> /dev/null` in #( 3393 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3492 *the\ am__doit\ target*)
3493 am__include=.include 3394 am__include=.include
3494 am__quote="\"" 3395 am__quote="\""
3495 _am_result=BSD 3396 _am_result=BSD
3496 ;; 3397 fi
3497 esac
3498fi 3398fi
3499 3399
3500 3400
3501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3502$as_echo "$_am_result" >&6; } 3402$as_echo "$_am_result" >&6; }
3509 3409
3510if test "x$enable_dependency_tracking" != xno; then 3410if test "x$enable_dependency_tracking" != xno; then
3511 am_depcomp="$ac_aux_dir/depcomp" 3411 am_depcomp="$ac_aux_dir/depcomp"
3512 AMDEPBACKSLASH='\' 3412 AMDEPBACKSLASH='\'
3513fi 3413fi
3414
3415
3514 if test "x$enable_dependency_tracking" != xno; then 3416if test "x$enable_dependency_tracking" != xno; then
3515 AMDEP_TRUE= 3417 AMDEP_TRUE=
3516 AMDEP_FALSE='#' 3418 AMDEP_FALSE='#'
3517else 3419else
3518 AMDEP_TRUE='#' 3420 AMDEP_TRUE='#'
3519 AMDEP_FALSE= 3421 AMDEP_FALSE=
3520fi 3422fi
3423
3521 3424
3522 3425
3523ac_ext=c 3426ac_ext=c
3524ac_cpp='$CPP $CPPFLAGS' 3427ac_cpp='$CPP $CPPFLAGS'
3525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528if test -n "$ac_tool_prefix"; then 3431if test -n "$ac_tool_prefix"; then
3529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3432 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3530set dummy ${ac_tool_prefix}gcc; ac_word=$2 3433set dummy ${ac_tool_prefix}gcc; ac_word=$2
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532$as_echo_n "checking for $ac_word... " >&6; } 3435$as_echo_n "checking for $ac_word... " >&6; }
3533if test "${ac_cv_prog_CC+set}" = set; then : 3436if ${ac_cv_prog_CC+:} false; then :
3534 $as_echo_n "(cached) " >&6 3437 $as_echo_n "(cached) " >&6
3535else 3438else
3536 if test -n "$CC"; then 3439 if test -n "$CC"; then
3537 ac_cv_prog_CC="$CC" # Let the user override the test. 3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3538else 3441else
3540for as_dir in $PATH 3443for as_dir in $PATH
3541do 3444do
3542 IFS=$as_save_IFS 3445 IFS=$as_save_IFS
3543 test -z "$as_dir" && as_dir=. 3446 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do 3447 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 break 2 3451 break 2
3549 fi 3452 fi
3550done 3453done
3568 ac_ct_CC=$CC 3471 ac_ct_CC=$CC
3569 # Extract the first word of "gcc", so it can be a program name with args. 3472 # Extract the first word of "gcc", so it can be a program name with args.
3570set dummy gcc; ac_word=$2 3473set dummy gcc; ac_word=$2
3571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572$as_echo_n "checking for $ac_word... " >&6; } 3475$as_echo_n "checking for $ac_word... " >&6; }
3573if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3476if ${ac_cv_prog_ac_ct_CC+:} false; then :
3574 $as_echo_n "(cached) " >&6 3477 $as_echo_n "(cached) " >&6
3575else 3478else
3576 if test -n "$ac_ct_CC"; then 3479 if test -n "$ac_ct_CC"; then
3577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3578else 3481else
3580for as_dir in $PATH 3483for as_dir in $PATH
3581do 3484do
3582 IFS=$as_save_IFS 3485 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=. 3486 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do 3487 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3586 ac_cv_prog_ac_ct_CC="gcc" 3489 ac_cv_prog_ac_ct_CC="gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2 3491 break 2
3589 fi 3492 fi
3590done 3493done
3621 if test -n "$ac_tool_prefix"; then 3524 if test -n "$ac_tool_prefix"; then
3622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3525 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3623set dummy ${ac_tool_prefix}cc; ac_word=$2 3526set dummy ${ac_tool_prefix}cc; ac_word=$2
3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625$as_echo_n "checking for $ac_word... " >&6; } 3528$as_echo_n "checking for $ac_word... " >&6; }
3626if test "${ac_cv_prog_CC+set}" = set; then : 3529if ${ac_cv_prog_CC+:} false; then :
3627 $as_echo_n "(cached) " >&6 3530 $as_echo_n "(cached) " >&6
3628else 3531else
3629 if test -n "$CC"; then 3532 if test -n "$CC"; then
3630 ac_cv_prog_CC="$CC" # Let the user override the test. 3533 ac_cv_prog_CC="$CC" # Let the user override the test.
3631else 3534else
3633for as_dir in $PATH 3536for as_dir in $PATH
3634do 3537do
3635 IFS=$as_save_IFS 3538 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=. 3539 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do 3540 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_CC="${ac_tool_prefix}cc" 3542 ac_cv_prog_CC="${ac_tool_prefix}cc"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2 3544 break 2
3642 fi 3545 fi
3643done 3546done
3661if test -z "$CC"; then 3564if test -z "$CC"; then
3662 # Extract the first word of "cc", so it can be a program name with args. 3565 # Extract the first word of "cc", so it can be a program name with args.
3663set dummy cc; ac_word=$2 3566set dummy cc; ac_word=$2
3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665$as_echo_n "checking for $ac_word... " >&6; } 3568$as_echo_n "checking for $ac_word... " >&6; }
3666if test "${ac_cv_prog_CC+set}" = set; then : 3569if ${ac_cv_prog_CC+:} false; then :
3667 $as_echo_n "(cached) " >&6 3570 $as_echo_n "(cached) " >&6
3668else 3571else
3669 if test -n "$CC"; then 3572 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test. 3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3671else 3574else
3674for as_dir in $PATH 3577for as_dir in $PATH
3675do 3578do
3676 IFS=$as_save_IFS 3579 IFS=$as_save_IFS
3677 test -z "$as_dir" && as_dir=. 3580 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do 3581 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3583 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3681 ac_prog_rejected=yes 3584 ac_prog_rejected=yes
3682 continue 3585 continue
3683 fi 3586 fi
3684 ac_cv_prog_CC="cc" 3587 ac_cv_prog_CC="cc"
3720 do 3623 do
3721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3722set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3625set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724$as_echo_n "checking for $ac_word... " >&6; } 3627$as_echo_n "checking for $ac_word... " >&6; }
3725if test "${ac_cv_prog_CC+set}" = set; then : 3628if ${ac_cv_prog_CC+:} false; then :
3726 $as_echo_n "(cached) " >&6 3629 $as_echo_n "(cached) " >&6
3727else 3630else
3728 if test -n "$CC"; then 3631 if test -n "$CC"; then
3729 ac_cv_prog_CC="$CC" # Let the user override the test. 3632 ac_cv_prog_CC="$CC" # Let the user override the test.
3730else 3633else
3732for as_dir in $PATH 3635for as_dir in $PATH
3733do 3636do
3734 IFS=$as_save_IFS 3637 IFS=$as_save_IFS
3735 test -z "$as_dir" && as_dir=. 3638 test -z "$as_dir" && as_dir=.
3736 for ac_exec_ext in '' $ac_executable_extensions; do 3639 for ac_exec_ext in '' $ac_executable_extensions; do
3737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3641 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 break 2 3643 break 2
3741 fi 3644 fi
3742done 3645done
3764do 3667do
3765 # Extract the first word of "$ac_prog", so it can be a program name with args. 3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3766set dummy $ac_prog; ac_word=$2 3669set dummy $ac_prog; ac_word=$2
3767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768$as_echo_n "checking for $ac_word... " >&6; } 3671$as_echo_n "checking for $ac_word... " >&6; }
3769if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3672if ${ac_cv_prog_ac_ct_CC+:} false; then :
3770 $as_echo_n "(cached) " >&6 3673 $as_echo_n "(cached) " >&6
3771else 3674else
3772 if test -n "$ac_ct_CC"; then 3675 if test -n "$ac_ct_CC"; then
3773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3774else 3677else
3776for as_dir in $PATH 3679for as_dir in $PATH
3777do 3680do
3778 IFS=$as_save_IFS 3681 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=. 3682 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do 3683 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_ac_ct_CC="$ac_prog" 3685 ac_cv_prog_ac_ct_CC="$ac_prog"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 break 2 3687 break 2
3785 fi 3688 fi
3786done 3689done
3819 3722
3820 3723
3821test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3724test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3822$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3725$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3823as_fn_error $? "no acceptable C compiler found in \$PATH 3726as_fn_error $? "no acceptable C compiler found in \$PATH
3824See \`config.log' for more details" "$LINENO" 5 ; } 3727See \`config.log' for more details" "$LINENO" 5; }
3825 3728
3826# Provide some information about the compiler. 3729# Provide some information about the compiler.
3827$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3730$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3828set X $ac_compile 3731set X $ac_compile
3829ac_compiler=$2 3732ac_compiler=$2
3934sed 's/^/| /' conftest.$ac_ext >&5 3837sed 's/^/| /' conftest.$ac_ext >&5
3935 3838
3936{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3839{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938as_fn_error 77 "C compiler cannot create executables 3841as_fn_error 77 "C compiler cannot create executables
3939See \`config.log' for more details" "$LINENO" 5 ; } 3842See \`config.log' for more details" "$LINENO" 5; }
3940else 3843else
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3942$as_echo "yes" >&6; } 3845$as_echo "yes" >&6; }
3943fi 3846fi
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3977done 3880done
3978else 3881else
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3884as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3982See \`config.log' for more details" "$LINENO" 5 ; } 3885See \`config.log' for more details" "$LINENO" 5; }
3983fi 3886fi
3984rm -f conftest conftest$ac_cv_exeext 3887rm -f conftest conftest$ac_cv_exeext
3985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3986$as_echo "$ac_cv_exeext" >&6; } 3889$as_echo "$ac_cv_exeext" >&6; }
3987 3890
4036 else 3939 else
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3941$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039as_fn_error $? "cannot run C compiled programs. 3942as_fn_error $? "cannot run C compiled programs.
4040If you meant to cross compile, use \`--host'. 3943If you meant to cross compile, use \`--host'.
4041See \`config.log' for more details" "$LINENO" 5 ; } 3944See \`config.log' for more details" "$LINENO" 5; }
4042 fi 3945 fi
4043 fi 3946 fi
4044fi 3947fi
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4046$as_echo "$cross_compiling" >&6; } 3949$as_echo "$cross_compiling" >&6; }
4047 3950
4048rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3951rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4049ac_clean_files=$ac_clean_files_save 3952ac_clean_files=$ac_clean_files_save
4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4051$as_echo_n "checking for suffix of object files... " >&6; } 3954$as_echo_n "checking for suffix of object files... " >&6; }
4052if test "${ac_cv_objext+set}" = set; then : 3955if ${ac_cv_objext+:} false; then :
4053 $as_echo_n "(cached) " >&6 3956 $as_echo_n "(cached) " >&6
4054else 3957else
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056/* end confdefs.h. */ 3959/* end confdefs.h. */
4057 3960
4088sed 's/^/| /' conftest.$ac_ext >&5 3991sed 's/^/| /' conftest.$ac_ext >&5
4089 3992
4090{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3993{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4092as_fn_error $? "cannot compute suffix of object files: cannot compile 3995as_fn_error $? "cannot compute suffix of object files: cannot compile
4093See \`config.log' for more details" "$LINENO" 5 ; } 3996See \`config.log' for more details" "$LINENO" 5; }
4094fi 3997fi
4095rm -f conftest.$ac_cv_objext conftest.$ac_ext 3998rm -f conftest.$ac_cv_objext conftest.$ac_ext
4096fi 3999fi
4097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4098$as_echo "$ac_cv_objext" >&6; } 4001$as_echo "$ac_cv_objext" >&6; }
4099OBJEXT=$ac_cv_objext 4002OBJEXT=$ac_cv_objext
4100ac_objext=$OBJEXT 4003ac_objext=$OBJEXT
4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4102$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4005$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4103if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4006if ${ac_cv_c_compiler_gnu+:} false; then :
4104 $as_echo_n "(cached) " >&6 4007 $as_echo_n "(cached) " >&6
4105else 4008else
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107/* end confdefs.h. */ 4010/* end confdefs.h. */
4108 4011
4135fi 4038fi
4136ac_test_CFLAGS=${CFLAGS+set} 4039ac_test_CFLAGS=${CFLAGS+set}
4137ac_save_CFLAGS=$CFLAGS 4040ac_save_CFLAGS=$CFLAGS
4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4139$as_echo_n "checking whether $CC accepts -g... " >&6; } 4042$as_echo_n "checking whether $CC accepts -g... " >&6; }
4140if test "${ac_cv_prog_cc_g+set}" = set; then : 4043if ${ac_cv_prog_cc_g+:} false; then :
4141 $as_echo_n "(cached) " >&6 4044 $as_echo_n "(cached) " >&6
4142else 4045else
4143 ac_save_c_werror_flag=$ac_c_werror_flag 4046 ac_save_c_werror_flag=$ac_c_werror_flag
4144 ac_c_werror_flag=yes 4047 ac_c_werror_flag=yes
4145 ac_cv_prog_cc_g=no 4048 ac_cv_prog_cc_g=no
4213 CFLAGS= 4116 CFLAGS=
4214 fi 4117 fi
4215fi 4118fi
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4217$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4120$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4218if test "${ac_cv_prog_cc_c89+set}" = set; then : 4121if ${ac_cv_prog_cc_c89+:} false; then :
4219 $as_echo_n "(cached) " >&6 4122 $as_echo_n "(cached) " >&6
4220else 4123else
4221 ac_cv_prog_cc_c89=no 4124 ac_cv_prog_cc_c89=no
4222ac_save_CC=$CC 4125ac_save_CC=$CC
4223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224/* end confdefs.h. */ 4127/* end confdefs.h. */
4225#include <stdarg.h> 4128#include <stdarg.h>
4226#include <stdio.h> 4129#include <stdio.h>
4227#include <sys/types.h> 4130struct stat;
4228#include <sys/stat.h>
4229/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4131/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4230struct buf { int x; }; 4132struct buf { int x; };
4231FILE * (*rcsopen) (struct buf *, struct stat *, int); 4133FILE * (*rcsopen) (struct buf *, struct stat *, int);
4232static char *e (p, i) 4134static char *e (p, i)
4233 char **p; 4135 char **p;
4312 4214
4313depcc="$CC" am_compiler_list= 4215depcc="$CC" am_compiler_list=
4314 4216
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4316$as_echo_n "checking dependency style of $depcc... " >&6; } 4218$as_echo_n "checking dependency style of $depcc... " >&6; }
4317if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4219if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4318 $as_echo_n "(cached) " >&6 4220 $as_echo_n "(cached) " >&6
4319else 4221else
4320 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4321 # We make a subdir and do the tests there. Otherwise we can end up 4223 # We make a subdir and do the tests there. Otherwise we can end up
4322 # making bogus files that we don't know about and never remove. For 4224 # making bogus files that we don't know about and never remove. For
4338 4240
4339 am_cv_CC_dependencies_compiler_type=none 4241 am_cv_CC_dependencies_compiler_type=none
4340 if test "$am_compiler_list" = ""; then 4242 if test "$am_compiler_list" = ""; then
4341 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4243 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4342 fi 4244 fi
4343 am__universal=false
4344 case " $depcc " in #(
4345 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4346 esac
4347
4348 for depmode in $am_compiler_list; do 4245 for depmode in $am_compiler_list; do
4349 # Setup a source with many dependencies, because some compilers 4246 # Setup a source with many dependencies, because some compilers
4350 # like to wrap large dependency lists on column 80 (with \), and 4247 # like to wrap large dependency lists on column 80 (with \), and
4351 # we should not choose a depcomp mode which is confused by this. 4248 # we should not choose a depcomp mode which is confused by this.
4352 # 4249 #
4354 # overwrite some of them when testing with obscure command lines. 4251 # overwrite some of them when testing with obscure command lines.
4355 # This happens at least with the AIX C compiler. 4252 # This happens at least with the AIX C compiler.
4356 : > sub/conftest.c 4253 : > sub/conftest.c
4357 for i in 1 2 3 4 5 6; do 4254 for i in 1 2 3 4 5 6; do
4358 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4255 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4359 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4360 # Solaris 8's {/usr,}/bin/sh.
4361 touch sub/conftst$i.h 4256 : > sub/conftst$i.h
4362 done 4257 done
4363 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4258 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4364 4259
4365 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4366 # mode. It turns out that the SunPro C++ compiler does not properly
4367 # handle `-M -o', and we need to detect this. Also, some Intel
4368 # versions had trouble with output in subdirs
4369 am__obj=sub/conftest.${OBJEXT-o}
4370 am__minus_obj="-o $am__obj"
4371 case $depmode in 4260 case $depmode in
4372 gcc)
4373 # This depmode causes a compiler race in universal mode.
4374 test "$am__universal" = false || continue
4375 ;;
4376 nosideeffect) 4261 nosideeffect)
4377 # after this tag, mechanisms are not by side-effect, so they'll 4262 # after this tag, mechanisms are not by side-effect, so they'll
4378 # only be used when explicitly requested 4263 # only be used when explicitly requested
4379 if test "x$enable_dependency_tracking" = xyes; then 4264 if test "x$enable_dependency_tracking" = xyes; then
4380 continue 4265 continue
4381 else 4266 else
4382 break 4267 break
4383 fi 4268 fi
4384 ;; 4269 ;;
4385 msvisualcpp | msvcmsys)
4386 # This compiler won't grok `-c -o', but also, the minuso test has
4387 # not run yet. These depmodes are late enough in the game, and
4388 # so weak that their functioning should not be impacted.
4389 am__obj=conftest.${OBJEXT-o}
4390 am__minus_obj=
4391 ;;
4392 none) break ;; 4270 none) break ;;
4393 esac 4271 esac
4272 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4273 # mode. It turns out that the SunPro C++ compiler does not properly
4274 # handle `-M -o', and we need to detect this.
4394 if depmode=$depmode \ 4275 if depmode=$depmode \
4395 source=sub/conftest.c object=$am__obj \ 4276 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4396 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4277 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4397 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4278 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4398 >/dev/null 2>conftest.err && 4279 >/dev/null 2>conftest.err &&
4399 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4400 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4401 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4281 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4402 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4403 # icc doesn't choke on unknown options, it will just issue warnings 4283 # icc doesn't choke on unknown options, it will just issue warnings
4404 # or remarks (even with -Werror). So we grep stderr for any message 4284 # (even with -Werror). So we grep stderr for any message
4405 # that says an option was ignored or not supported. 4285 # that says an option was ignored.
4406 # When given -MP, icc 7.0 and 7.1 complain thusly:
4407 # icc: Command line warning: ignoring option '-M'; no argument required
4408 # The diagnosis changed in icc 8.0:
4409 # icc: Command line remark: option '-MP' not supported
4410 if (grep 'ignoring option' conftest.err ||
4411 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4286 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4412 am_cv_CC_dependencies_compiler_type=$depmode 4287 am_cv_CC_dependencies_compiler_type=$depmode
4413 break 4288 break
4414 fi 4289 fi
4415 fi 4290 fi
4416 done 4291 done
4424fi 4299fi
4425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4426$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4301$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4427CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4302CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4428 4303
4304
4305
4429 if 4306if
4430 test "x$enable_dependency_tracking" != xno \ 4307 test "x$enable_dependency_tracking" != xno \
4431 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4432 am__fastdepCC_TRUE= 4309 am__fastdepCC_TRUE=
4433 am__fastdepCC_FALSE='#' 4310 am__fastdepCC_FALSE='#'
4434else 4311else
4482$as_echo_n "checking for GNU ld... " >&6; } 4359$as_echo_n "checking for GNU ld... " >&6; }
4483else 4360else
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4485$as_echo_n "checking for non-GNU ld... " >&6; } 4362$as_echo_n "checking for non-GNU ld... " >&6; }
4486fi 4363fi
4487if test "${acl_cv_path_LD+set}" = set; then : 4364if ${acl_cv_path_LD+:} false; then :
4488 $as_echo_n "(cached) " >&6 4365 $as_echo_n "(cached) " >&6
4489else 4366else
4490 if test -z "$LD"; then 4367 if test -z "$LD"; then
4491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4368 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4492 for ac_dir in $PATH; do 4369 for ac_dir in $PATH; do
4518$as_echo "no" >&6; } 4395$as_echo "no" >&6; }
4519fi 4396fi
4520test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4397test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4522$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4399$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4523if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4400if ${acl_cv_prog_gnu_ld+:} false; then :
4524 $as_echo_n "(cached) " >&6 4401 $as_echo_n "(cached) " >&6
4525else 4402else
4526 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4403 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4527if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 4404if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4528 acl_cv_prog_gnu_ld=yes 4405 acl_cv_prog_gnu_ld=yes
4536 4413
4537 4414
4538 4415
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4540$as_echo_n "checking for shared library run path origin... " >&6; } 4417$as_echo_n "checking for shared library run path origin... " >&6; }
4541if test "${acl_cv_rpath+set}" = set; then : 4418if ${acl_cv_rpath+:} false; then :
4542 $as_echo_n "(cached) " >&6 4419 $as_echo_n "(cached) " >&6
4543else 4420else
4544 4421
4545 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4422 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4546 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 4423 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4993 4870
4994 4871
4995 4872
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4997$as_echo_n "checking for GNU gettext in libc... " >&6; } 4874$as_echo_n "checking for GNU gettext in libc... " >&6; }
4998if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 4875if ${gt_cv_func_gnugettext1_libc+:} false; then :
4999 $as_echo_n "(cached) " >&6 4876 $as_echo_n "(cached) " >&6
5000else 4877else
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002/* end confdefs.h. */ 4879/* end confdefs.h. */
5003#include <libintl.h> 4880#include <libintl.h>
5054 done 4931 done
5055 4932
5056 4933
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5058$as_echo_n "checking for iconv... " >&6; } 4935$as_echo_n "checking for iconv... " >&6; }
5059if test "${am_cv_func_iconv+set}" = set; then : 4936if ${am_cv_func_iconv+:} false; then :
5060 $as_echo_n "(cached) " >&6 4937 $as_echo_n "(cached) " >&6
5061else 4938else
5062 4939
5063 am_cv_func_iconv="no, consider installing GNU libiconv" 4940 am_cv_func_iconv="no, consider installing GNU libiconv"
5064 am_cv_lib_iconv=no 4941 am_cv_lib_iconv=no
5507 done 5384 done
5508 fi 5385 fi
5509 5386
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5511$as_echo_n "checking for GNU gettext in libintl... " >&6; } 5388$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5512if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5389if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5513 $as_echo_n "(cached) " >&6 5390 $as_echo_n "(cached) " >&6
5514else 5391else
5515 gt_save_CPPFLAGS="$CPPFLAGS" 5392 gt_save_CPPFLAGS="$CPPFLAGS"
5516 CPPFLAGS="$CPPFLAGS $INCINTL" 5393 CPPFLAGS="$CPPFLAGS $INCINTL"
5517 gt_save_LIBS="$LIBS" 5394 gt_save_LIBS="$LIBS"
5675# On Suns, sometimes $CPP names a directory. 5552# On Suns, sometimes $CPP names a directory.
5676if test -n "$CPP" && test -d "$CPP"; then 5553if test -n "$CPP" && test -d "$CPP"; then
5677 CPP= 5554 CPP=
5678fi 5555fi
5679if test -z "$CPP"; then 5556if test -z "$CPP"; then
5680 if test "${ac_cv_prog_CPP+set}" = set; then : 5557 if ${ac_cv_prog_CPP+:} false; then :
5681 $as_echo_n "(cached) " >&6 5558 $as_echo_n "(cached) " >&6
5682else 5559else
5683 # Double quotes because CPP needs to be expanded 5560 # Double quotes because CPP needs to be expanded
5684 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5685 do 5562 do
5791 5668
5792else 5669else
5793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5671$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5795as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5672as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5796See \`config.log' for more details" "$LINENO" 5 ; } 5673See \`config.log' for more details" "$LINENO" 5; }
5797fi 5674fi
5798 5675
5799ac_ext=c 5676ac_ext=c
5800ac_cpp='$CPP $CPPFLAGS' 5677ac_cpp='$CPP $CPPFLAGS'
5801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5816 do 5693 do
5817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5818set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5695set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820$as_echo_n "checking for $ac_word... " >&6; } 5697$as_echo_n "checking for $ac_word... " >&6; }
5821if test "${ac_cv_prog_CXX+set}" = set; then : 5698if ${ac_cv_prog_CXX+:} false; then :
5822 $as_echo_n "(cached) " >&6 5699 $as_echo_n "(cached) " >&6
5823else 5700else
5824 if test -n "$CXX"; then 5701 if test -n "$CXX"; then
5825 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5702 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5826else 5703else
5828for as_dir in $PATH 5705for as_dir in $PATH
5829do 5706do
5830 IFS=$as_save_IFS 5707 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=. 5708 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do 5709 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5711 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2 5713 break 2
5837 fi 5714 fi
5838done 5715done
5860do 5737do
5861 # Extract the first word of "$ac_prog", so it can be a program name with args. 5738 # Extract the first word of "$ac_prog", so it can be a program name with args.
5862set dummy $ac_prog; ac_word=$2 5739set dummy $ac_prog; ac_word=$2
5863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864$as_echo_n "checking for $ac_word... " >&6; } 5741$as_echo_n "checking for $ac_word... " >&6; }
5865if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5742if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5866 $as_echo_n "(cached) " >&6 5743 $as_echo_n "(cached) " >&6
5867else 5744else
5868 if test -n "$ac_ct_CXX"; then 5745 if test -n "$ac_ct_CXX"; then
5869 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5746 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5870else 5747else
5872for as_dir in $PATH 5749for as_dir in $PATH
5873do 5750do
5874 IFS=$as_save_IFS 5751 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=. 5752 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do 5753 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_ac_ct_CXX="$ac_prog" 5755 ac_cv_prog_ac_ct_CXX="$ac_prog"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 break 2 5757 break 2
5881 fi 5758 fi
5882done 5759done
5938 test $ac_status = 0; } 5815 test $ac_status = 0; }
5939done 5816done
5940 5817
5941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5942$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5819$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5943if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5820if ${ac_cv_cxx_compiler_gnu+:} false; then :
5944 $as_echo_n "(cached) " >&6 5821 $as_echo_n "(cached) " >&6
5945else 5822else
5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947/* end confdefs.h. */ 5824/* end confdefs.h. */
5948 5825
5975fi 5852fi
5976ac_test_CXXFLAGS=${CXXFLAGS+set} 5853ac_test_CXXFLAGS=${CXXFLAGS+set}
5977ac_save_CXXFLAGS=$CXXFLAGS 5854ac_save_CXXFLAGS=$CXXFLAGS
5978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5979$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5856$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5980if test "${ac_cv_prog_cxx_g+set}" = set; then : 5857if ${ac_cv_prog_cxx_g+:} false; then :
5981 $as_echo_n "(cached) " >&6 5858 $as_echo_n "(cached) " >&6
5982else 5859else
5983 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5860 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5984 ac_cxx_werror_flag=yes 5861 ac_cxx_werror_flag=yes
5985 ac_cv_prog_cxx_g=no 5862 ac_cv_prog_cxx_g=no
6061 5938
6062depcc="$CXX" am_compiler_list= 5939depcc="$CXX" am_compiler_list=
6063 5940
6064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6065$as_echo_n "checking dependency style of $depcc... " >&6; } 5942$as_echo_n "checking dependency style of $depcc... " >&6; }
6066if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 5943if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6067 $as_echo_n "(cached) " >&6 5944 $as_echo_n "(cached) " >&6
6068else 5945else
6069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6070 # We make a subdir and do the tests there. Otherwise we can end up 5947 # We make a subdir and do the tests there. Otherwise we can end up
6071 # making bogus files that we don't know about and never remove. For 5948 # making bogus files that we don't know about and never remove. For
6087 5964
6088 am_cv_CXX_dependencies_compiler_type=none 5965 am_cv_CXX_dependencies_compiler_type=none
6089 if test "$am_compiler_list" = ""; then 5966 if test "$am_compiler_list" = ""; then
6090 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6091 fi 5968 fi
6092 am__universal=false
6093 case " $depcc " in #(
6094 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6095 esac
6096
6097 for depmode in $am_compiler_list; do 5969 for depmode in $am_compiler_list; do
6098 # Setup a source with many dependencies, because some compilers 5970 # Setup a source with many dependencies, because some compilers
6099 # like to wrap large dependency lists on column 80 (with \), and 5971 # like to wrap large dependency lists on column 80 (with \), and
6100 # we should not choose a depcomp mode which is confused by this. 5972 # we should not choose a depcomp mode which is confused by this.
6101 # 5973 #
6103 # overwrite some of them when testing with obscure command lines. 5975 # overwrite some of them when testing with obscure command lines.
6104 # This happens at least with the AIX C compiler. 5976 # This happens at least with the AIX C compiler.
6105 : > sub/conftest.c 5977 : > sub/conftest.c
6106 for i in 1 2 3 4 5 6; do 5978 for i in 1 2 3 4 5 6; do
6107 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5979 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6108 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6109 # Solaris 8's {/usr,}/bin/sh.
6110 touch sub/conftst$i.h 5980 : > sub/conftst$i.h
6111 done 5981 done
6112 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6113 5983
6114 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6115 # mode. It turns out that the SunPro C++ compiler does not properly
6116 # handle `-M -o', and we need to detect this. Also, some Intel
6117 # versions had trouble with output in subdirs
6118 am__obj=sub/conftest.${OBJEXT-o}
6119 am__minus_obj="-o $am__obj"
6120 case $depmode in 5984 case $depmode in
6121 gcc)
6122 # This depmode causes a compiler race in universal mode.
6123 test "$am__universal" = false || continue
6124 ;;
6125 nosideeffect) 5985 nosideeffect)
6126 # after this tag, mechanisms are not by side-effect, so they'll 5986 # after this tag, mechanisms are not by side-effect, so they'll
6127 # only be used when explicitly requested 5987 # only be used when explicitly requested
6128 if test "x$enable_dependency_tracking" = xyes; then 5988 if test "x$enable_dependency_tracking" = xyes; then
6129 continue 5989 continue
6130 else 5990 else
6131 break 5991 break
6132 fi 5992 fi
6133 ;; 5993 ;;
6134 msvisualcpp | msvcmsys)
6135 # This compiler won't grok `-c -o', but also, the minuso test has
6136 # not run yet. These depmodes are late enough in the game, and
6137 # so weak that their functioning should not be impacted.
6138 am__obj=conftest.${OBJEXT-o}
6139 am__minus_obj=
6140 ;;
6141 none) break ;; 5994 none) break ;;
6142 esac 5995 esac
5996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5997 # mode. It turns out that the SunPro C++ compiler does not properly
5998 # handle `-M -o', and we need to detect this.
6143 if depmode=$depmode \ 5999 if depmode=$depmode \
6144 source=sub/conftest.c object=$am__obj \ 6000 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6145 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6146 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6002 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6147 >/dev/null 2>conftest.err && 6003 >/dev/null 2>conftest.err &&
6148 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6149 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6004 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6150 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6005 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6151 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6006 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6152 # icc doesn't choke on unknown options, it will just issue warnings 6007 # icc doesn't choke on unknown options, it will just issue warnings
6153 # or remarks (even with -Werror). So we grep stderr for any message 6008 # (even with -Werror). So we grep stderr for any message
6154 # that says an option was ignored or not supported. 6009 # that says an option was ignored.
6155 # When given -MP, icc 7.0 and 7.1 complain thusly:
6156 # icc: Command line warning: ignoring option '-M'; no argument required
6157 # The diagnosis changed in icc 8.0:
6158 # icc: Command line remark: option '-MP' not supported
6159 if (grep 'ignoring option' conftest.err ||
6160 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6010 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6161 am_cv_CXX_dependencies_compiler_type=$depmode 6011 am_cv_CXX_dependencies_compiler_type=$depmode
6162 break 6012 break
6163 fi 6013 fi
6164 fi 6014 fi
6165 done 6015 done
6173fi 6023fi
6174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6175$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6025$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6176CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6026CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6177 6027
6028
6029
6178 if 6030if
6179 test "x$enable_dependency_tracking" != xno \ 6031 test "x$enable_dependency_tracking" != xno \
6180 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6032 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6181 am__fastdepCXX_TRUE= 6033 am__fastdepCXX_TRUE=
6182 am__fastdepCXX_FALSE='#' 6034 am__fastdepCXX_FALSE='#'
6183else 6035else
6187 6039
6188 6040
6189 6041
6190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6191$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6043$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6192if test "${ac_cv_path_GREP+set}" = set; then : 6044if ${ac_cv_path_GREP+:} false; then :
6193 $as_echo_n "(cached) " >&6 6045 $as_echo_n "(cached) " >&6
6194else 6046else
6195 if test -z "$GREP"; then 6047 if test -z "$GREP"; then
6196 ac_path_GREP_found=false 6048 ac_path_GREP_found=false
6197 # Loop through the user's path and test for each of PROGNAME-LIST 6049 # Loop through the user's path and test for each of PROGNAME-LIST
6201 IFS=$as_save_IFS 6053 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=. 6054 test -z "$as_dir" && as_dir=.
6203 for ac_prog in grep ggrep; do 6055 for ac_prog in grep ggrep; do
6204 for ac_exec_ext in '' $ac_executable_extensions; do 6056 for ac_exec_ext in '' $ac_executable_extensions; do
6205 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6057 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6206 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6058 as_fn_executable_p "$ac_path_GREP" || continue
6207# Check for GNU ac_path_GREP and select it if it is found. 6059# Check for GNU ac_path_GREP and select it if it is found.
6208 # Check for GNU $ac_path_GREP 6060 # Check for GNU $ac_path_GREP
6209case `"$ac_path_GREP" --version 2>&1` in 6061case `"$ac_path_GREP" --version 2>&1` in
6210*GNU*) 6062*GNU*)
6211 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6063 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6250 GREP="$ac_cv_path_GREP" 6102 GREP="$ac_cv_path_GREP"
6251 6103
6252 6104
6253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6254$as_echo_n "checking for egrep... " >&6; } 6106$as_echo_n "checking for egrep... " >&6; }
6255if test "${ac_cv_path_EGREP+set}" = set; then : 6107if ${ac_cv_path_EGREP+:} false; then :
6256 $as_echo_n "(cached) " >&6 6108 $as_echo_n "(cached) " >&6
6257else 6109else
6258 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6110 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6259 then ac_cv_path_EGREP="$GREP -E" 6111 then ac_cv_path_EGREP="$GREP -E"
6260 else 6112 else
6267 IFS=$as_save_IFS 6119 IFS=$as_save_IFS
6268 test -z "$as_dir" && as_dir=. 6120 test -z "$as_dir" && as_dir=.
6269 for ac_prog in egrep; do 6121 for ac_prog in egrep; do
6270 for ac_exec_ext in '' $ac_executable_extensions; do 6122 for ac_exec_ext in '' $ac_executable_extensions; do
6271 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6272 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6124 as_fn_executable_p "$ac_path_EGREP" || continue
6273# Check for GNU ac_path_EGREP and select it if it is found. 6125# Check for GNU ac_path_EGREP and select it if it is found.
6274 # Check for GNU $ac_path_EGREP 6126 # Check for GNU $ac_path_EGREP
6275case `"$ac_path_EGREP" --version 2>&1` in 6127case `"$ac_path_EGREP" --version 2>&1` in
6276*GNU*) 6128*GNU*)
6277 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6129 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6318 6170
6319 6171
6320if test $ac_cv_c_compiler_gnu = yes; then 6172if test $ac_cv_c_compiler_gnu = yes; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6322$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6174$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6323if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6175if ${ac_cv_prog_gcc_traditional+:} false; then :
6324 $as_echo_n "(cached) " >&6 6176 $as_echo_n "(cached) " >&6
6325else 6177else
6326 ac_pattern="Autoconf.*'x'" 6178 ac_pattern="Autoconf.*'x'"
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328/* end confdefs.h. */ 6180/* end confdefs.h. */
6363do 6215do
6364 # Extract the first word of "$ac_prog", so it can be a program name with args. 6216 # Extract the first word of "$ac_prog", so it can be a program name with args.
6365set dummy $ac_prog; ac_word=$2 6217set dummy $ac_prog; ac_word=$2
6366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367$as_echo_n "checking for $ac_word... " >&6; } 6219$as_echo_n "checking for $ac_word... " >&6; }
6368if test "${ac_cv_prog_AWK+set}" = set; then : 6220if ${ac_cv_prog_AWK+:} false; then :
6369 $as_echo_n "(cached) " >&6 6221 $as_echo_n "(cached) " >&6
6370else 6222else
6371 if test -n "$AWK"; then 6223 if test -n "$AWK"; then
6372 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6224 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6373else 6225else
6375for as_dir in $PATH 6227for as_dir in $PATH
6376do 6228do
6377 IFS=$as_save_IFS 6229 IFS=$as_save_IFS
6378 test -z "$as_dir" && as_dir=. 6230 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do 6231 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6381 ac_cv_prog_AWK="$ac_prog" 6233 ac_cv_prog_AWK="$ac_prog"
6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 break 2 6235 break 2
6384 fi 6236 fi
6385done 6237done
6415 6267
6416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6417$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6269$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6418set x ${MAKE-make} 6270set x ${MAKE-make}
6419ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6271ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6420if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6272if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6421 $as_echo_n "(cached) " >&6 6273 $as_echo_n "(cached) " >&6
6422else 6274else
6423 cat >conftest.make <<\_ACEOF 6275 cat >conftest.make <<\_ACEOF
6424SHELL = /bin/sh 6276SHELL = /bin/sh
6425all: 6277all:
6447if test -n "$ac_tool_prefix"; then 6299if test -n "$ac_tool_prefix"; then
6448 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6300 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6449set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6301set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451$as_echo_n "checking for $ac_word... " >&6; } 6303$as_echo_n "checking for $ac_word... " >&6; }
6452if test "${ac_cv_prog_RANLIB+set}" = set; then : 6304if ${ac_cv_prog_RANLIB+:} false; then :
6453 $as_echo_n "(cached) " >&6 6305 $as_echo_n "(cached) " >&6
6454else 6306else
6455 if test -n "$RANLIB"; then 6307 if test -n "$RANLIB"; then
6456 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6457else 6309else
6459for as_dir in $PATH 6311for as_dir in $PATH
6460do 6312do
6461 IFS=$as_save_IFS 6313 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=. 6314 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do 6315 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2 6319 break 2
6468 fi 6320 fi
6469done 6321done
6487 ac_ct_RANLIB=$RANLIB 6339 ac_ct_RANLIB=$RANLIB
6488 # Extract the first word of "ranlib", so it can be a program name with args. 6340 # Extract the first word of "ranlib", so it can be a program name with args.
6489set dummy ranlib; ac_word=$2 6341set dummy ranlib; ac_word=$2
6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491$as_echo_n "checking for $ac_word... " >&6; } 6343$as_echo_n "checking for $ac_word... " >&6; }
6492if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6344if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6493 $as_echo_n "(cached) " >&6 6345 $as_echo_n "(cached) " >&6
6494else 6346else
6495 if test -n "$ac_ct_RANLIB"; then 6347 if test -n "$ac_ct_RANLIB"; then
6496 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6348 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6497else 6349else
6499for as_dir in $PATH 6351for as_dir in $PATH
6500do 6352do
6501 IFS=$as_save_IFS 6353 IFS=$as_save_IFS
6502 test -z "$as_dir" && as_dir=. 6354 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do 6355 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_ac_ct_RANLIB="ranlib" 6357 ac_cv_prog_ac_ct_RANLIB="ranlib"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 break 2 6359 break 2
6508 fi 6360 fi
6509done 6361done
6685 t end 6537 t end
6686 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6687 :end' >>confcache 6539 :end' >>confcache
6688if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6540if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6689 if test -w "$cache_file"; then 6541 if test -w "$cache_file"; then
6690 test "x$cache_file" != "x/dev/null" && 6542 if test "x$cache_file" != "x/dev/null"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6543 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6692$as_echo "$as_me: updating cache $cache_file" >&6;} 6544$as_echo "$as_me: updating cache $cache_file" >&6;}
6545 if test ! -f "$cache_file" || test -h "$cache_file"; then
6693 cat confcache >$cache_file 6546 cat confcache >"$cache_file"
6547 else
6548 case $cache_file in #(
6549 */* | ?:*)
6550 mv -f confcache "$cache_file"$$ &&
6551 mv -f "$cache_file"$$ "$cache_file" ;; #(
6552 *)
6553 mv -f confcache "$cache_file" ;;
6554 esac
6555 fi
6556 fi
6694 else 6557 else
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6558 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6696$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6559$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6697 fi 6560 fi
6698fi 6561fi
6712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6575ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 6577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6715$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6578$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6716if test -z "$CXXCPP"; then 6579if test -z "$CXXCPP"; then
6717 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6580 if ${ac_cv_prog_CXXCPP+:} false; then :
6718 $as_echo_n "(cached) " >&6 6581 $as_echo_n "(cached) " >&6
6719else 6582else
6720 # Double quotes because CXXCPP needs to be expanded 6583 # Double quotes because CXXCPP needs to be expanded
6721 for CXXCPP in "$CXX -E" "/lib/cpp" 6584 for CXXCPP in "$CXX -E" "/lib/cpp"
6722 do 6585 do
6828 6691
6829else 6692else
6830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6832as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6695as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6833See \`config.log' for more details" "$LINENO" 5 ; } 6696See \`config.log' for more details" "$LINENO" 5; }
6834fi 6697fi
6835 6698
6836ac_ext=cpp 6699ac_ext=cpp
6837ac_cpp='$CXXCPP $CPPFLAGS' 6700ac_cpp='$CXXCPP $CPPFLAGS'
6838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6841 6704
6842 6705
6843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6844$as_echo_n "checking for ANSI C header files... " >&6; } 6707$as_echo_n "checking for ANSI C header files... " >&6; }
6845if test "${ac_cv_header_stdc+set}" = set; then : 6708if ${ac_cv_header_stdc+:} false; then :
6846 $as_echo_n "(cached) " >&6 6709 $as_echo_n "(cached) " >&6
6847else 6710else
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849/* end confdefs.h. */ 6712/* end confdefs.h. */
6850#include <stdlib.h> 6713#include <stdlib.h>
7025done 6888done
7026 6889
7027 6890
7028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7029$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6892$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7030if test "${ac_cv_c_const+set}" = set; then : 6893if ${ac_cv_c_const+:} false; then :
7031 $as_echo_n "(cached) " >&6 6894 $as_echo_n "(cached) " >&6
7032else 6895else
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034/* end confdefs.h. */ 6897/* end confdefs.h. */
7035 6898
7036int 6899int
7037main () 6900main ()
7038{ 6901{
7039/* FIXME: Include the comments suggested by Paul. */ 6902
7040#ifndef __cplusplus 6903#ifndef __cplusplus
7041 /* Ultrix mips cc rejects this. */ 6904 /* Ultrix mips cc rejects this sort of thing. */
7042 typedef int charset[2]; 6905 typedef int charset[2];
7043 const charset cs; 6906 const charset cs = { 0, 0 };
7044 /* SunOS 4.1.1 cc rejects this. */ 6907 /* SunOS 4.1.1 cc rejects this. */
7045 char const *const *pcpcc; 6908 char const *const *pcpcc;
7046 char **ppc; 6909 char **ppc;
7047 /* NEC SVR4.0.2 mips cc rejects this. */ 6910 /* NEC SVR4.0.2 mips cc rejects this. */
7048 struct point {int x, y;}; 6911 struct point {int x, y;};
7055 pcpcc = &g + (g ? g-g : 0); 6918 pcpcc = &g + (g ? g-g : 0);
7056 /* HPUX 7.0 cc rejects these. */ 6919 /* HPUX 7.0 cc rejects these. */
7057 ++pcpcc; 6920 ++pcpcc;
7058 ppc = (char**) pcpcc; 6921 ppc = (char**) pcpcc;
7059 pcpcc = (char const *const *) ppc; 6922 pcpcc = (char const *const *) ppc;
7060 { /* SCO 3.2v4 cc rejects this. */ 6923 { /* SCO 3.2v4 cc rejects this sort of thing. */
7061 char *t; 6924 char tx;
6925 char *t = &tx;
7062 char const *s = 0 ? (char *) 0 : (char const *) 0; 6926 char const *s = 0 ? (char *) 0 : (char const *) 0;
7063 6927
7064 *t++ = 0; 6928 *t++ = 0;
7065 if (s) return 0; 6929 if (s) return 0;
7066 } 6930 }
7072 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7073 typedef const int *iptr; 6937 typedef const int *iptr;
7074 iptr p = 0; 6938 iptr p = 0;
7075 ++p; 6939 ++p;
7076 } 6940 }
7077 { /* AIX XL C 1.02.0.0 rejects this saying 6941 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7078 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6942 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7079 struct s { int j; const int *ap[3]; }; 6943 struct s { int j; const int *ap[3]; } bx;
7080 struct s *b; b->j = 5; 6944 struct s *b = &bx; b->j = 5;
7081 } 6945 }
7082 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7083 const int foo = 10; 6947 const int foo = 10;
7084 if (!foo) return 0; 6948 if (!foo) return 0;
7085 } 6949 }
7104$as_echo "#define const /**/" >>confdefs.h 6968$as_echo "#define const /**/" >>confdefs.h
7105 6969
7106fi 6970fi
7107 6971
7108ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6972ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7109if test "x$ac_cv_type_pid_t" = x""yes; then : 6973if test "x$ac_cv_type_pid_t" = xyes; then :
7110 6974
7111else 6975else
7112 6976
7113cat >>confdefs.h <<_ACEOF 6977cat >>confdefs.h <<_ACEOF
7114#define pid_t int 6978#define pid_t int
7115_ACEOF 6979_ACEOF
7116 6980
7117fi 6981fi
7118 6982
7119ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 6983ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7120if test "x$ac_cv_type_size_t" = x""yes; then : 6984if test "x$ac_cv_type_size_t" = xyes; then :
7121 6985
7122else 6986else
7123 6987
7124cat >>confdefs.h <<_ACEOF 6988cat >>confdefs.h <<_ACEOF
7125#define size_t unsigned int 6989#define size_t unsigned int
7127 6991
7128fi 6992fi
7129 6993
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7131$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6995$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7132if test "${ac_cv_header_time+set}" = set; then : 6996if ${ac_cv_header_time+:} false; then :
7133 $as_echo_n "(cached) " >&6 6997 $as_echo_n "(cached) " >&6
7134else 6998else
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136/* end confdefs.h. */ 7000/* end confdefs.h. */
7137#include <sys/types.h> 7001#include <sys/types.h>
7162 7026
7163fi 7027fi
7164 7028
7165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7166$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7030$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7167if test "${ac_cv_struct_tm+set}" = set; then : 7031if ${ac_cv_struct_tm+:} false; then :
7168 $as_echo_n "(cached) " >&6 7032 $as_echo_n "(cached) " >&6
7169else 7033else
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171/* end confdefs.h. */ 7035/* end confdefs.h. */
7172#include <sys/types.h> 7036#include <sys/types.h>
7198fi 7062fi
7199 7063
7200 7064
7201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 7065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
7202$as_echo_n "checking for socklen_t... " >&6; } 7066$as_echo_n "checking for socklen_t... " >&6; }
7203if test "${ac_cv_type_socklen_t+set}" = set; then : 7067if ${ac_cv_type_socklen_t+:} false; then :
7204 $as_echo_n "(cached) " >&6 7068 $as_echo_n "(cached) " >&6
7205else 7069else
7206 7070
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208/* end confdefs.h. */ 7072/* end confdefs.h. */
7232 7096
7233fi 7097fi
7234 7098
7235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 7099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
7236$as_echo_n "checking for struct addrinfo... " >&6; } 7100$as_echo_n "checking for struct addrinfo... " >&6; }
7237if test "${ac_cv_struct_addrinfo+set}" = set; then : 7101if ${ac_cv_struct_addrinfo+:} false; then :
7238 $as_echo_n "(cached) " >&6 7102 $as_echo_n "(cached) " >&6
7239else 7103else
7240 7104
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242/* end confdefs.h. */ 7106/* end confdefs.h. */
7267 7131
7268fi 7132fi
7269 7133
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7271$as_echo_n "checking return type of signal handlers... " >&6; } 7135$as_echo_n "checking return type of signal handlers... " >&6; }
7272if test "${ac_cv_type_signal+set}" = set; then : 7136if ${ac_cv_type_signal+:} false; then :
7273 $as_echo_n "(cached) " >&6 7137 $as_echo_n "(cached) " >&6
7274else 7138else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276/* end confdefs.h. */ 7140/* end confdefs.h. */
7277#include <sys/types.h> 7141#include <sys/types.h>
7308ac_compiler_gnu=$ac_cv_c_compiler_gnu 7172ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 7173
7310 7174
7311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7312$as_echo_n "checking for ANSI C header files... " >&6; } 7176$as_echo_n "checking for ANSI C header files... " >&6; }
7313if test "${ac_cv_header_stdc+set}" = set; then : 7177if ${ac_cv_header_stdc+:} false; then :
7314 $as_echo_n "(cached) " >&6 7178 $as_echo_n "(cached) " >&6
7315else 7179else
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317/* end confdefs.h. */ 7181/* end confdefs.h. */
7318#include <stdlib.h> 7182#include <stdlib.h>
7436 7300
7437# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7301# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7438# for constant arguments. Useless! 7302# for constant arguments. Useless!
7439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 7303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7440$as_echo_n "checking for working alloca.h... " >&6; } 7304$as_echo_n "checking for working alloca.h... " >&6; }
7441if test "${ac_cv_working_alloca_h+set}" = set; then : 7305if ${ac_cv_working_alloca_h+:} false; then :
7442 $as_echo_n "(cached) " >&6 7306 $as_echo_n "(cached) " >&6
7443else 7307else
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445/* end confdefs.h. */ 7309/* end confdefs.h. */
7446#include <alloca.h> 7310#include <alloca.h>
7469 7333
7470fi 7334fi
7471 7335
7472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7473$as_echo_n "checking for alloca... " >&6; } 7337$as_echo_n "checking for alloca... " >&6; }
7474if test "${ac_cv_func_alloca_works+set}" = set; then : 7338if ${ac_cv_func_alloca_works+:} false; then :
7475 $as_echo_n "(cached) " >&6 7339 $as_echo_n "(cached) " >&6
7476else 7340else
7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7478/* end confdefs.h. */ 7342/* end confdefs.h. */
7479#ifdef __GNUC__ 7343#ifdef __GNUC__
7488# else 7352# else
7489# ifdef _AIX 7353# ifdef _AIX
7490 #pragma alloca 7354 #pragma alloca
7491# else 7355# else
7492# ifndef alloca /* predefined by HP cc +Olibcalls */ 7356# ifndef alloca /* predefined by HP cc +Olibcalls */
7493char *alloca (); 7357void *alloca (size_t);
7494# endif 7358# endif
7495# endif 7359# endif
7496# endif 7360# endif
7497# endif 7361# endif
7498#endif 7362#endif
7532$as_echo "#define C_ALLOCA 1" >>confdefs.h 7396$as_echo "#define C_ALLOCA 1" >>confdefs.h
7533 7397
7534 7398
7535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7536$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7400$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7537if test "${ac_cv_os_cray+set}" = set; then : 7401if ${ac_cv_os_cray+:} false; then :
7538 $as_echo_n "(cached) " >&6 7402 $as_echo_n "(cached) " >&6
7539else 7403else
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541/* end confdefs.h. */ 7405/* end confdefs.h. */
7542#if defined CRAY && ! defined CRAY2 7406#if defined CRAY && ! defined CRAY2
7573 done 7437 done
7574fi 7438fi
7575 7439
7576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 7440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7577$as_echo_n "checking stack direction for C alloca... " >&6; } 7441$as_echo_n "checking stack direction for C alloca... " >&6; }
7578if test "${ac_cv_c_stack_direction+set}" = set; then : 7442if ${ac_cv_c_stack_direction+:} false; then :
7579 $as_echo_n "(cached) " >&6 7443 $as_echo_n "(cached) " >&6
7580else 7444else
7581 if test "$cross_compiling" = yes; then : 7445 if test "$cross_compiling" = yes; then :
7582 ac_cv_c_stack_direction=0 7446 ac_cv_c_stack_direction=0
7583else 7447else
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585/* end confdefs.h. */ 7449/* end confdefs.h. */
7586$ac_includes_default 7450$ac_includes_default
7587int 7451int
7588find_stack_direction () 7452find_stack_direction (int *addr, int depth)
7589{ 7453{
7590 static char *addr = 0; 7454 int dir, dummy = 0;
7591 auto char dummy;
7592 if (addr == 0) 7455 if (! addr)
7593 {
7594 addr = &dummy; 7456 addr = &dummy;
7595 return find_stack_direction (); 7457 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7596 } 7458 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7597 else 7459 return dir + dummy;
7598 return (&dummy > addr) ? 1 : -1;
7599} 7460}
7600 7461
7601int 7462int
7602main () 7463main (int argc, char **argv)
7603{ 7464{
7604 return find_stack_direction () < 0; 7465 return find_stack_direction (0, argc + !argv + 20) < 0;
7605} 7466}
7606_ACEOF 7467_ACEOF
7607if ac_fn_c_try_run "$LINENO"; then : 7468if ac_fn_c_try_run "$LINENO"; then :
7608 ac_cv_c_stack_direction=1 7469 ac_cv_c_stack_direction=1
7609else 7470else
7624fi 7485fi
7625 7486
7626 7487
7627 7488
7628ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7489ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7629if test "x$ac_cv_func_socket" = x""yes; then : 7490if test "x$ac_cv_func_socket" = xyes; then :
7630 7491
7631else 7492else
7632 7493
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7634$as_echo_n "checking for connect in -lsocket... " >&6; } 7495$as_echo_n "checking for connect in -lsocket... " >&6; }
7635if test "${ac_cv_lib_socket_connect+set}" = set; then : 7496if ${ac_cv_lib_socket_connect+:} false; then :
7636 $as_echo_n "(cached) " >&6 7497 $as_echo_n "(cached) " >&6
7637else 7498else
7638 ac_check_lib_save_LIBS=$LIBS 7499 ac_check_lib_save_LIBS=$LIBS
7639LIBS="-lsocket $LIBS" 7500LIBS="-lsocket $LIBS"
7640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 conftest$ac_exeext conftest.$ac_ext 7525 conftest$ac_exeext conftest.$ac_ext
7665LIBS=$ac_check_lib_save_LIBS 7526LIBS=$ac_check_lib_save_LIBS
7666fi 7527fi
7667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 7528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7668$as_echo "$ac_cv_lib_socket_connect" >&6; } 7529$as_echo "$ac_cv_lib_socket_connect" >&6; }
7669if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7530if test "x$ac_cv_lib_socket_connect" = xyes; then :
7670 cat >>confdefs.h <<_ACEOF 7531 cat >>confdefs.h <<_ACEOF
7671#define HAVE_LIBSOCKET 1 7532#define HAVE_LIBSOCKET 1
7672_ACEOF 7533_ACEOF
7673 7534
7674 LIBS="-lsocket $LIBS" 7535 LIBS="-lsocket $LIBS"
7677 7538
7678 7539
7679fi 7540fi
7680 7541
7681ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7542ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7682if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7543if test "x$ac_cv_func_gethostbyname" = xyes; then :
7683 7544
7684else 7545else
7685 7546
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7687$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7548$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7688if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7549if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7689 $as_echo_n "(cached) " >&6 7550 $as_echo_n "(cached) " >&6
7690else 7551else
7691 ac_check_lib_save_LIBS=$LIBS 7552 ac_check_lib_save_LIBS=$LIBS
7692LIBS="-lnsl $LIBS" 7553LIBS="-lnsl $LIBS"
7693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 conftest$ac_exeext conftest.$ac_ext 7578 conftest$ac_exeext conftest.$ac_ext
7718LIBS=$ac_check_lib_save_LIBS 7579LIBS=$ac_check_lib_save_LIBS
7719fi 7580fi
7720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 7581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7721$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7582$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7722if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7583if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7723 cat >>confdefs.h <<_ACEOF 7584 cat >>confdefs.h <<_ACEOF
7724#define HAVE_LIBNSL 1 7585#define HAVE_LIBNSL 1
7725_ACEOF 7586_ACEOF
7726 7587
7727 LIBS="-lnsl $LIBS" 7588 LIBS="-lnsl $LIBS"
7761 7622
7762 7623
7763for ac_func in clock_gettime 7624for ac_func in clock_gettime
7764do : 7625do :
7765 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7626 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7766if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7627if test "x$ac_cv_func_clock_gettime" = xyes; then :
7767 cat >>confdefs.h <<_ACEOF 7628 cat >>confdefs.h <<_ACEOF
7768#define HAVE_CLOCK_GETTIME 1 7629#define HAVE_CLOCK_GETTIME 1
7769_ACEOF 7630_ACEOF
7770 7631
7771else 7632else
7801 conftest$ac_exeext conftest.$ac_ext 7662 conftest$ac_exeext conftest.$ac_ext
7802 fi 7663 fi
7803 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 7664 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
7805$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 7666$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7806if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7667if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7807 $as_echo_n "(cached) " >&6 7668 $as_echo_n "(cached) " >&6
7808else 7669else
7809 ac_check_lib_save_LIBS=$LIBS 7670 ac_check_lib_save_LIBS=$LIBS
7810LIBS="-lrt $LIBS" 7671LIBS="-lrt $LIBS"
7811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 conftest$ac_exeext conftest.$ac_ext 7696 conftest$ac_exeext conftest.$ac_ext
7836LIBS=$ac_check_lib_save_LIBS 7697LIBS=$ac_check_lib_save_LIBS
7837fi 7698fi
7838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
7839$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 7700$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7840if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7701if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF 7702 cat >>confdefs.h <<_ACEOF
7842#define HAVE_LIBRT 1 7703#define HAVE_LIBRT 1
7843_ACEOF 7704_ACEOF
7844 7705
7845 LIBS="-lrt $LIBS" 7706 LIBS="-lrt $LIBS"
7848 7709
7849 unset ac_cv_func_clock_gettime 7710 unset ac_cv_func_clock_gettime
7850 for ac_func in clock_gettime 7711 for ac_func in clock_gettime
7851do : 7712do :
7852 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7713 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7853if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7714if test "x$ac_cv_func_clock_gettime" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF 7715 cat >>confdefs.h <<_ACEOF
7855#define HAVE_CLOCK_GETTIME 1 7716#define HAVE_CLOCK_GETTIME 1
7856_ACEOF 7717_ACEOF
7857 7718
7858fi 7719fi
7865 7726
7866 7727
7867for ac_func in nanosleep 7728for ac_func in nanosleep
7868do : 7729do :
7869 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7730 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7870if test "x$ac_cv_func_nanosleep" = x""yes; then : 7731if test "x$ac_cv_func_nanosleep" = xyes; then :
7871 cat >>confdefs.h <<_ACEOF 7732 cat >>confdefs.h <<_ACEOF
7872#define HAVE_NANOSLEEP 1 7733#define HAVE_NANOSLEEP 1
7873_ACEOF 7734_ACEOF
7874 7735
7875else 7736else
7876 7737
7877 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7738 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7879$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7740$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7880if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7741if ${ac_cv_lib_rt_nanosleep+:} false; then :
7881 $as_echo_n "(cached) " >&6 7742 $as_echo_n "(cached) " >&6
7882else 7743else
7883 ac_check_lib_save_LIBS=$LIBS 7744 ac_check_lib_save_LIBS=$LIBS
7884LIBS="-lrt $LIBS" 7745LIBS="-lrt $LIBS"
7885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 conftest$ac_exeext conftest.$ac_ext 7770 conftest$ac_exeext conftest.$ac_ext
7910LIBS=$ac_check_lib_save_LIBS 7771LIBS=$ac_check_lib_save_LIBS
7911fi 7772fi
7912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 7773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7913$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7774$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7914if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7775if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7915 cat >>confdefs.h <<_ACEOF 7776 cat >>confdefs.h <<_ACEOF
7916#define HAVE_LIBRT 1 7777#define HAVE_LIBRT 1
7917_ACEOF 7778_ACEOF
7918 7779
7919 LIBS="-lrt $LIBS" 7780 LIBS="-lrt $LIBS"
7922 7783
7923 unset ac_cv_func_nanosleep 7784 unset ac_cv_func_nanosleep
7924 for ac_func in nanosleep 7785 for ac_func in nanosleep
7925do : 7786do :
7926 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7787 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7927if test "x$ac_cv_func_nanosleep" = x""yes; then : 7788if test "x$ac_cv_func_nanosleep" = xyes; then :
7928 cat >>confdefs.h <<_ACEOF 7789 cat >>confdefs.h <<_ACEOF
7929#define HAVE_NANOSLEEP 1 7790#define HAVE_NANOSLEEP 1
7930_ACEOF 7791_ACEOF
7931 7792
7932fi 7793fi
7941if test -z "$LIBEV_M4_AVOID_LIBM"; then 7802if test -z "$LIBEV_M4_AVOID_LIBM"; then
7942 LIBM=m 7803 LIBM=m
7943fi 7804fi
7944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7945$as_echo_n "checking for library containing floor... " >&6; } 7806$as_echo_n "checking for library containing floor... " >&6; }
7946if test "${ac_cv_search_floor+set}" = set; then : 7807if ${ac_cv_search_floor+:} false; then :
7947 $as_echo_n "(cached) " >&6 7808 $as_echo_n "(cached) " >&6
7948else 7809else
7949 ac_func_search_save_LIBS=$LIBS 7810 ac_func_search_save_LIBS=$LIBS
7950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7951/* end confdefs.h. */ 7812/* end confdefs.h. */
7975 if ac_fn_c_try_link "$LINENO"; then : 7836 if ac_fn_c_try_link "$LINENO"; then :
7976 ac_cv_search_floor=$ac_res 7837 ac_cv_search_floor=$ac_res
7977fi 7838fi
7978rm -f core conftest.err conftest.$ac_objext \ 7839rm -f core conftest.err conftest.$ac_objext \
7979 conftest$ac_exeext 7840 conftest$ac_exeext
7980 if test "${ac_cv_search_floor+set}" = set; then : 7841 if ${ac_cv_search_floor+:} false; then :
7981 break 7842 break
7982fi 7843fi
7983done 7844done
7984if test "${ac_cv_search_floor+set}" = set; then : 7845if ${ac_cv_search_floor+:} false; then :
7985 7846
7986else 7847else
7987 ac_cv_search_floor=no 7848 ac_cv_search_floor=no
7988fi 7849fi
7989rm conftest.$ac_ext 7850rm conftest.$ac_ext
8072 t end 7933 t end
8073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8074 :end' >>confcache 7935 :end' >>confcache
8075if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7936if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8076 if test -w "$cache_file"; then 7937 if test -w "$cache_file"; then
8077 test "x$cache_file" != "x/dev/null" && 7938 if test "x$cache_file" != "x/dev/null"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7939 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8079$as_echo "$as_me: updating cache $cache_file" >&6;} 7940$as_echo "$as_me: updating cache $cache_file" >&6;}
7941 if test ! -f "$cache_file" || test -h "$cache_file"; then
8080 cat confcache >$cache_file 7942 cat confcache >"$cache_file"
7943 else
7944 case $cache_file in #(
7945 */* | ?:*)
7946 mv -f confcache "$cache_file"$$ &&
7947 mv -f "$cache_file"$$ "$cache_file" ;; #(
7948 *)
7949 mv -f confcache "$cache_file" ;;
7950 esac
7951 fi
7952 fi
8081 else 7953 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8083$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7955$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8084 fi 7956 fi
8085fi 7957fi
8096fi 7968fi
8097 7969
8098 7970
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 7971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5
8100$as_echo_n "checking for linux/if_tun.h... " >&6; } 7972$as_echo_n "checking for linux/if_tun.h... " >&6; }
8101if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 7973if ${tinc_cv_linux_if_tun_h+:} false; then :
8102 $as_echo_n "(cached) " >&6 7974 $as_echo_n "(cached) " >&6
8103else 7975else
8104 7976
8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106/* end confdefs.h. */ 7978/* end confdefs.h. */
8163 8035
8164 8036
8165 8037
8166 8038
8167 8039
8168 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8169 8040
8170 8041
8171# Check whether --with-openssl-include was given.
8172if test "${with_openssl_include+set}" = set; then :
8173 withval=$with_openssl_include; openssl_include="$withval"
8174 CFLAGS="$CFLAGS -I$withval"
8175 CPPFLAGS="$CPPFLAGS -I$withval"
8176 8042
8177fi
8178 8043
8179 8044
8180 8045
8181# Check whether --with-openssl-lib was given. 8046if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8182if test "${with_openssl_lib+set}" = set; then : 8047 if test -n "$ac_tool_prefix"; then
8183 withval=$with_openssl_lib; openssl_lib="$withval" 8048 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8184 LIBS="$LIBS -L$withval" 8049set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8185 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8186fi 8051$as_echo_n "checking for $ac_word... " >&6; }
8187 8052if ${ac_cv_path_PKG_CONFIG+:} false; then :
8188 8053 $as_echo_n "(cached) " >&6
8189 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8190do :
8191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8192ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8193if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8194 cat >>confdefs.h <<_ACEOF
8195#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8196_ACEOF
8197
8198else 8054else
8199 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8055 case $PKG_CONFIG in
8200 8056 [\\/]* | ?:[\\/]*)
8201fi 8057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8202 8058 ;;
8059 *)
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061for as_dir in $PATH
8062do
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8070 fi
8203done 8071done
8072 done
8073IFS=$as_save_IFS
8204 8074
8075 ;;
8076esac
8077fi
8078PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8079if test -n "$PKG_CONFIG"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8081$as_echo "$PKG_CONFIG" >&6; }
8082else
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084$as_echo "no" >&6; }
8085fi
8205 8086
8206 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8207 8087
8088fi
8089if test -z "$ac_cv_path_PKG_CONFIG"; then
8090 ac_pt_PKG_CONFIG=$PKG_CONFIG
8091 # Extract the first word of "pkg-config", so it can be a program name with args.
8092set dummy pkg-config; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 8093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8094$as_echo_n "checking for $ac_word... " >&6; }
8210if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8095if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8211 $as_echo_n "(cached) " >&6 8096 $as_echo_n "(cached) " >&6
8212else 8097else
8213 ac_check_lib_save_LIBS=$LIBS 8098 case $ac_pt_PKG_CONFIG in
8214LIBS="-lcrypto $LIBS" 8099 [\\/]* | ?:[\\/]*)
8100 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8101 ;;
8102 *)
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104for as_dir in $PATH
8105do
8106 IFS=$as_save_IFS
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 break 2
8113 fi
8114done
8115 done
8116IFS=$as_save_IFS
8117
8118 ;;
8119esac
8120fi
8121ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8122if test -n "$ac_pt_PKG_CONFIG"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8124$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8125else
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127$as_echo "no" >&6; }
8128fi
8129
8130 if test "x$ac_pt_PKG_CONFIG" = x; then
8131 PKG_CONFIG=""
8132 else
8133 case $cross_compiling:$ac_tool_warned in
8134yes:)
8135{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8136$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8137ac_tool_warned=yes ;;
8138esac
8139 PKG_CONFIG=$ac_pt_PKG_CONFIG
8140 fi
8141else
8142 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8143fi
8144
8145fi
8146if test -n "$PKG_CONFIG"; then
8147 _pkg_min_version=0.9.0
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8149$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8150 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8152$as_echo "yes" >&6; }
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155$as_echo "no" >&6; }
8156 PKG_CONFIG=""
8157 fi
8158fi
8159
8160pkg_failed=no
8161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
8162$as_echo_n "checking for LIBCRYPTO... " >&6; }
8163
8164if test -n "$LIBCRYPTO_CFLAGS"; then
8165 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
8166 elif test -n "$PKG_CONFIG"; then
8167 if test -n "$PKG_CONFIG" && \
8168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8169 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8170 ac_status=$?
8171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8172 test $ac_status = 0; }; then
8173 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null`
8174 test "x$?" != "x0" && pkg_failed=yes
8175else
8176 pkg_failed=yes
8177fi
8178 else
8179 pkg_failed=untried
8180fi
8181if test -n "$LIBCRYPTO_LIBS"; then
8182 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8183 elif test -n "$PKG_CONFIG"; then
8184 if test -n "$PKG_CONFIG" && \
8185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8186 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8187 ac_status=$?
8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8189 test $ac_status = 0; }; then
8190 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8191 test "x$?" != "x0" && pkg_failed=yes
8192else
8193 pkg_failed=yes
8194fi
8195 else
8196 pkg_failed=untried
8197fi
8198
8199
8200
8201if test $pkg_failed = yes; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203$as_echo "no" >&6; }
8204
8205if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8206 _pkg_short_errors_supported=yes
8207else
8208 _pkg_short_errors_supported=no
8209fi
8210 if test $_pkg_short_errors_supported = yes; then
8211 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8212 else
8213 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8214 fi
8215 # Put the nasty error message in config.log where it belongs
8216 echo "$LIBCRYPTO_PKG_ERRORS" >&5
8217
8218 as_fn_error $? "Package requirements (libcrypto >= 1) were not met:
8219
8220$LIBCRYPTO_PKG_ERRORS
8221
8222Consider adjusting the PKG_CONFIG_PATH environment variable if you
8223installed software in a non-standard prefix.
8224
8225Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8226and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8227See the pkg-config man page for more details." "$LINENO" 5
8228elif test $pkg_failed = untried; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230$as_echo "no" >&6; }
8231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8233as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8234is in your PATH or set the PKG_CONFIG environment variable to the full
8235path to pkg-config.
8236
8237Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
8238and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
8239See the pkg-config man page for more details.
8240
8241To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8242See \`config.log' for more details" "$LINENO" 5; }
8243else
8244 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
8245 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8247$as_echo "yes" >&6; }
8248
8249fi
8250
8251# Check whether --enable-threads was given.
8252if test "${enable_threads+set}" = set; then :
8253 enableval=$enable_threads; try_threads=$enableval
8254else
8255 try_threads=yes
8256
8257fi
8258
8259
8260if test "x$try_threads" = xyes; then
8261 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8262if test "x$ac_cv_header_pthread_h" = xyes; then :
8263
8264 LIBS="$LIBS -lpthread"
8215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216/* end confdefs.h. */ 8266/* end confdefs.h. */
8217 8267#include <pthread.h>
8218/* Override any GCC internal prototype to avoid an error.
8219 Use char because int might match the return type of a GCC
8220 builtin and then its argument prototype would still apply. */
8221#ifdef __cplusplus
8222extern "C"
8223#endif
8224char SHA1_version ();
8225int 8268int
8226main () 8269main ()
8227{ 8270{
8228return SHA1_version (); 8271pthread_t id; pthread_create (&id, 0, 0, 0);
8229 ; 8272 ;
8230 return 0; 8273 return 0;
8231} 8274}
8232_ACEOF 8275_ACEOF
8233if ac_fn_cxx_try_link "$LINENO"; then : 8276if ac_fn_cxx_try_compile "$LINENO"; then :
8234 ac_cv_lib_crypto_SHA1_version=yes
8235else
8236 ac_cv_lib_crypto_SHA1_version=no
8237fi
8238rm -f core conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext
8240LIBS=$ac_check_lib_save_LIBS
8241fi
8242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5
8243$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; }
8244if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then :
8245 LIBS="$LIBS -lcrypto"
8246else
8247 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8248 8277
8249fi
8250
8251
8252 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8253do :
8254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8255ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8256if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8257 cat >>confdefs.h <<_ACEOF 8278cat >>confdefs.h <<_ACEOF
8258#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8279#define ENABLE_PTHREADS 1
8259_ACEOF 8280_ACEOF
8260 8281
8261fi
8262done
8263 8282
8264
8265 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8266if test "x$ac_cv_func_dlopen" = x""yes; then :
8267
8268else
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8270$as_echo_n "checking for dlopen in -ldl... " >&6; }
8271if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8272 $as_echo_n "(cached) " >&6
8273else
8274 ac_check_lib_save_LIBS=$LIBS
8275LIBS="-ldl $LIBS"
8276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277/* end confdefs.h. */
8278
8279/* Override any GCC internal prototype to avoid an error.
8280 Use char because int might match the return type of a GCC
8281 builtin and then its argument prototype would still apply. */
8282#ifdef __cplusplus
8283extern "C"
8284#endif
8285char dlopen ();
8286int
8287main ()
8288{
8289return dlopen ();
8290 ;
8291 return 0;
8292}
8293_ACEOF
8294if ac_fn_cxx_try_link "$LINENO"; then :
8295 ac_cv_lib_dl_dlopen=yes
8296else
8297 ac_cv_lib_dl_dlopen=no
8298fi 8283fi
8299rm -f core conftest.err conftest.$ac_objext \ 8284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8300 conftest$ac_exeext conftest.$ac_ext
8301LIBS=$ac_check_lib_save_LIBS
8302fi
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8304$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8305if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
8306 LIBS="$LIBS -ldl"
8307else
8308 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8309 8285
8310fi 8286fi
8311 8287
8312 8288
8313fi
8314
8315
8316 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8317if test "x$ac_cv_func_inflate" = x""yes; then :
8318
8319else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
8321$as_echo_n "checking for inflate in -lz... " >&6; }
8322if test "${ac_cv_lib_z_inflate+set}" = set; then :
8323 $as_echo_n "(cached) " >&6
8324else
8325 ac_check_lib_save_LIBS=$LIBS
8326LIBS="-lz $LIBS"
8327cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328/* end confdefs.h. */
8329
8330/* Override any GCC internal prototype to avoid an error.
8331 Use char because int might match the return type of a GCC
8332 builtin and then its argument prototype would still apply. */
8333#ifdef __cplusplus
8334extern "C"
8335#endif
8336char inflate ();
8337int
8338main ()
8339{
8340return inflate ();
8341 ;
8342 return 0;
8343}
8344_ACEOF
8345if ac_fn_cxx_try_link "$LINENO"; then :
8346 ac_cv_lib_z_inflate=yes
8347else
8348 ac_cv_lib_z_inflate=no
8349fi
8350rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352LIBS=$ac_check_lib_save_LIBS
8353fi
8354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
8355$as_echo "$ac_cv_lib_z_inflate" >&6; }
8356if test "x$ac_cv_lib_z_inflate" = x""yes; then :
8357 LIBS="$LIBS -lz"
8358else
8359 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8360
8361fi
8362
8363
8364fi
8365
8366
8367if test "x$openssl_include" != x; then
8368 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8369fi 8289fi
8370 8290
8371# Check whether --enable-static-daemon was given. 8291# Check whether --enable-static-daemon was given.
8372if test "${enable_static_daemon+set}" = set; then : 8292if test "${enable_static_daemon+set}" = set; then :
8373 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 8293 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8375fi 8295fi
8376 8296
8377 8297
8378 8298
8379 8299
8300
8301
8380 if test x$rohc = xtrue; then 8302if test x$rohc = xtrue; then
8381 ROHC_TRUE= 8303 ROHC_TRUE=
8382 ROHC_FALSE='#' 8304 ROHC_FALSE='#'
8383else 8305else
8384 ROHC_TRUE='#' 8306 ROHC_TRUE='#'
8385 ROHC_FALSE= 8307 ROHC_FALSE=
8440 8362
8441# Check whether --enable-dns was given. 8363# Check whether --enable-dns was given.
8442if test "${enable_dns+set}" = set; then : 8364if test "${enable_dns+set}" = set; then :
8443 enableval=$enable_dns; 8365 enableval=$enable_dns;
8444 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 8366 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
8445if test "x$ac_cv_header_gmp_h" = x""yes; then : 8367if test "x$ac_cv_header_gmp_h" = xyes; then :
8446 8368
8447else 8369else
8448 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 8370 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5
8449fi 8371fi
8450 8372
8451 8373
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
8453$as_echo_n "checking for main in -lgmp... " >&6; } 8375$as_echo_n "checking for main in -lgmp... " >&6; }
8454if test "${ac_cv_lib_gmp_main+set}" = set; then : 8376if ${ac_cv_lib_gmp_main+:} false; then :
8455 $as_echo_n "(cached) " >&6 8377 $as_echo_n "(cached) " >&6
8456else 8378else
8457 ac_check_lib_save_LIBS=$LIBS 8379 ac_check_lib_save_LIBS=$LIBS
8458LIBS="-lgmp $LIBS" 8380LIBS="-lgmp $LIBS"
8459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 conftest$ac_exeext conftest.$ac_ext 8399 conftest$ac_exeext conftest.$ac_ext
8478LIBS=$ac_check_lib_save_LIBS 8400LIBS=$ac_check_lib_save_LIBS
8479fi 8401fi
8480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 8402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
8481$as_echo "$ac_cv_lib_gmp_main" >&6; } 8403$as_echo "$ac_cv_lib_gmp_main" >&6; }
8482if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8404if test "x$ac_cv_lib_gmp_main" = xyes; then :
8483 cat >>confdefs.h <<_ACEOF 8405 cat >>confdefs.h <<_ACEOF
8484#define HAVE_LIBGMP 1 8406#define HAVE_LIBGMP 1
8485_ACEOF 8407_ACEOF
8486 8408
8487 LIBS="-lgmp $LIBS" 8409 LIBS="-lgmp $LIBS"
8499 8421
8500 8422
8501fi 8423fi
8502 8424
8503 8425
8426RSA=3072
8427# Check whether --enable-rsa-length was given.
8428if test "${enable_rsa_length+set}" = set; then :
8429 enableval=$enable_rsa_length; RSA=$enableval
8430
8431fi
8432
8433
8434cat >>confdefs.h <<_ACEOF
8435#define RSABITS $RSA
8436_ACEOF
8437
8438
8504HMAC=12 8439HMACSIZE=12
8505# Check whether --enable-hmac-length was given. 8440# Check whether --enable-hmac-length was given.
8506if test "${enable_hmac_length+set}" = set; then : 8441if test "${enable_hmac_length+set}" = set; then :
8507 enableval=$enable_hmac_length; HMAC=$enableval 8442 enableval=$enable_hmac_length; HMACSIZE=$enableval
8508 8443
8509fi 8444fi
8510 8445
8511 8446
8512cat >>confdefs.h <<_ACEOF 8447cat >>confdefs.h <<_ACEOF
8513#define HMACLENGTH $HMAC 8448#define HMACLENGTH $HMACSIZE
8514_ACEOF
8515
8516
8517RAND=8
8518# Check whether --enable-rand-length was given.
8519if test "${enable_rand_length+set}" = set; then :
8520 enableval=$enable_rand_length; RAND=$enableval
8521
8522fi
8523
8524
8525cat >>confdefs.h <<_ACEOF
8526#define RAND_SIZE $RAND
8527_ACEOF 8449_ACEOF
8528 8450
8529 8451
8530MTU=1500 8452MTU=1500
8531# Check whether --enable-max-mtu was given. 8453# Check whether --enable-max-mtu was given.
8534 8456
8535fi 8457fi
8536 8458
8537 8459
8538cat >>confdefs.h <<_ACEOF 8460cat >>confdefs.h <<_ACEOF
8539#define MAX_MTU $MTU + 14 8461#define MAX_MTU ($MTU + 14)
8540_ACEOF 8462_ACEOF
8541 8463
8542 8464
8543COMPRESS=1 8465COMPRESS=1
8544# Check whether --enable-compression was given. 8466# Check whether --enable-compression was given.
8553cat >>confdefs.h <<_ACEOF 8475cat >>confdefs.h <<_ACEOF
8554#define ENABLE_COMPRESSION $COMPRESS 8476#define ENABLE_COMPRESSION $COMPRESS
8555_ACEOF 8477_ACEOF
8556 8478
8557 8479
8558CIPHER=aes_128_cbc 8480CIPHER=aes_128_ctr
8559# Check whether --enable-cipher was given. 8481# Check whether --enable-cipher was given.
8560if test "${enable_cipher+set}" = set; then : 8482if test "${enable_cipher+set}" = set; then :
8561 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 8483 enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi
8562 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 8484 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi
8563 if test "x$enableval" = xaes-192; then CIPHER=aes_192_cbc; fi 8485 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi
8564 if test "x$enableval" = xaes-256; then CIPHER=aes_256_cbc; fi 8486 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
8487 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8488 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8565 8489
8566fi 8490fi
8567 8491
8568 8492
8569cat >>confdefs.h <<_ACEOF 8493cat >>confdefs.h <<_ACEOF
8570#define ENABLE_CIPHER EVP_${CIPHER} 8494#define ENABLE_CIPHER EVP_${CIPHER}
8571_ACEOF 8495_ACEOF
8572 8496
8573 8497
8574DIGEST=ripemd160 8498HMAC=sha1
8575# Check whether --enable-digest was given. 8499# Check whether --enable-hmac-digest was given.
8576if test "${enable_digest+set}" = set; then : 8500if test "${enable_hmac_digest+set}" = set; then :
8501 enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi
8577 enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8502 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8578 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8503 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8579 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8504 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8580 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8505 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8581 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
8582 if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi
8583 8506
8584fi 8507fi
8585 8508
8586 8509
8587cat >>confdefs.h <<_ACEOF 8510cat >>confdefs.h <<_ACEOF
8511#define ENABLE_HMAC EVP_${HMAC}
8512_ACEOF
8513
8514
8515AUTH=sha512
8516# Check whether --enable-auth-digest was given.
8517if test "${enable_auth_digest+set}" = set; then :
8518 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8519 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8520 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8521
8522fi
8523
8524
8525cat >>confdefs.h <<_ACEOF
8588#define ENABLE_DIGEST EVP_${DIGEST} 8526#define ENABLE_AUTH EVP_${AUTH}
8589_ACEOF 8527_ACEOF
8590 8528
8591 8529
8592if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8530if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8593 CXXFLAGS="$CXXFLAGS -fno-rtti" 8531 CXXFLAGS="$CXXFLAGS -fno-rtti"
8666 t end 8604 t end
8667 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8668 :end' >>confcache 8606 :end' >>confcache
8669if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8607if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8670 if test -w "$cache_file"; then 8608 if test -w "$cache_file"; then
8671 test "x$cache_file" != "x/dev/null" && 8609 if test "x$cache_file" != "x/dev/null"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8673$as_echo "$as_me: updating cache $cache_file" >&6;} 8611$as_echo "$as_me: updating cache $cache_file" >&6;}
8612 if test ! -f "$cache_file" || test -h "$cache_file"; then
8674 cat confcache >$cache_file 8613 cat confcache >"$cache_file"
8614 else
8615 case $cache_file in #(
8616 */* | ?:*)
8617 mv -f confcache "$cache_file"$$ &&
8618 mv -f "$cache_file"$$ "$cache_file" ;; #(
8619 *)
8620 mv -f confcache "$cache_file" ;;
8621 esac
8622 fi
8623 fi
8675 else 8624 else
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8677$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8626$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8678 fi 8627 fi
8679fi 8628fi
8700LIBOBJS=$ac_libobjs 8649LIBOBJS=$ac_libobjs
8701 8650
8702LTLIBOBJS=$ac_ltlibobjs 8651LTLIBOBJS=$ac_ltlibobjs
8703 8652
8704 8653
8705 if test -n "$EXEEXT"; then
8706 am__EXEEXT_TRUE=
8707 am__EXEEXT_FALSE='#'
8708else
8709 am__EXEEXT_TRUE='#'
8710 am__EXEEXT_FALSE=
8711fi
8712
8713if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8654if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8714 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8655 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8715Usually this means the macro was only invoked conditionally." "$LINENO" 5 8656Usually this means the macro was only invoked conditionally." "$LINENO" 5
8716fi 8657fi
8717if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8658if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8729if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8670if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8730 as_fn_error $? "conditional \"ROHC\" was never defined. 8671 as_fn_error $? "conditional \"ROHC\" was never defined.
8731Usually this means the macro was only invoked conditionally." "$LINENO" 5 8672Usually this means the macro was only invoked conditionally." "$LINENO" 5
8732fi 8673fi
8733 8674
8734: ${CONFIG_STATUS=./config.status} 8675: "${CONFIG_STATUS=./config.status}"
8735ac_write_fail=0 8676ac_write_fail=0
8736ac_clean_files_save=$ac_clean_files 8677ac_clean_files_save=$ac_clean_files
8737ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8678ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8738{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8679{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8739$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8680$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8830# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8771# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8831# splitting by setting IFS to empty value.) 8772# splitting by setting IFS to empty value.)
8832IFS=" "" $as_nl" 8773IFS=" "" $as_nl"
8833 8774
8834# Find who we are. Look in the path if we contain no directory separator. 8775# Find who we are. Look in the path if we contain no directory separator.
8776as_myself=
8835case $0 in #(( 8777case $0 in #((
8836 *[\\/]* ) as_myself=$0 ;; 8778 *[\\/]* ) as_myself=$0 ;;
8837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8779 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838for as_dir in $PATH 8780for as_dir in $PATH
8839do 8781do
9025 if ln -s conf$$.file conf$$ 2>/dev/null; then 8967 if ln -s conf$$.file conf$$ 2>/dev/null; then
9026 as_ln_s='ln -s' 8968 as_ln_s='ln -s'
9027 # ... but there are two gotchas: 8969 # ... but there are two gotchas:
9028 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8970 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9029 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8971 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9030 # In both cases, we have to default to `cp -p'. 8972 # In both cases, we have to default to `cp -pR'.
9031 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8973 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9032 as_ln_s='cp -p' 8974 as_ln_s='cp -pR'
9033 elif ln conf$$.file conf$$ 2>/dev/null; then 8975 elif ln conf$$.file conf$$ 2>/dev/null; then
9034 as_ln_s=ln 8976 as_ln_s=ln
9035 else 8977 else
9036 as_ln_s='cp -p' 8978 as_ln_s='cp -pR'
9037 fi 8979 fi
9038else 8980else
9039 as_ln_s='cp -p' 8981 as_ln_s='cp -pR'
9040fi 8982fi
9041rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8983rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9042rmdir conf$$.dir 2>/dev/null 8984rmdir conf$$.dir 2>/dev/null
9043 8985
9044 8986
9094else 9036else
9095 test -d ./-p && rmdir ./-p 9037 test -d ./-p && rmdir ./-p
9096 as_mkdir_p=false 9038 as_mkdir_p=false
9097fi 9039fi
9098 9040
9099if test -x / >/dev/null 2>&1; then 9041
9042# as_fn_executable_p FILE
9043# -----------------------
9044# Test if FILE is an executable regular file.
9045as_fn_executable_p ()
9046{
9047 test -f "$1" && test -x "$1"
9048} # as_fn_executable_p
9100 as_test_x='test -x' 9049as_test_x='test -x'
9101else 9050as_executable_p=as_fn_executable_p
9102 if ls -dL / >/dev/null 2>&1; then
9103 as_ls_L_option=L
9104 else
9105 as_ls_L_option=
9106 fi
9107 as_test_x='
9108 eval sh -c '\''
9109 if test -d "$1"; then
9110 test -d "$1/.";
9111 else
9112 case $1 in #(
9113 -*)set "./$1";;
9114 esac;
9115 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9116 ???[sx]*):;;*)false;;esac;fi
9117 '\'' sh
9118 '
9119fi
9120as_executable_p=$as_test_x
9121 9051
9122# Sed expression to map a string onto a valid CPP name. 9052# Sed expression to map a string onto a valid CPP name.
9123as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9053as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9124 9054
9125# Sed expression to map a string onto a valid variable name. 9055# Sed expression to map a string onto a valid variable name.
9136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9137# Save the log message, to keep $0 and so on meaningful, and to 9067# Save the log message, to keep $0 and so on meaningful, and to
9138# report actual input values of CONFIG_FILES etc. instead of their 9068# report actual input values of CONFIG_FILES etc. instead of their
9139# values after options handling. 9069# values after options handling.
9140ac_log=" 9070ac_log="
9141This file was extended by $as_me, which was 9071This file was extended by gvpe $as_me 3.1, which was
9142generated by GNU Autoconf 2.67. Invocation command line was 9072generated by GNU Autoconf 2.69. Invocation command line was
9143 9073
9144 CONFIG_FILES = $CONFIG_FILES 9074 CONFIG_FILES = $CONFIG_FILES
9145 CONFIG_HEADERS = $CONFIG_HEADERS 9075 CONFIG_HEADERS = $CONFIG_HEADERS
9146 CONFIG_LINKS = $CONFIG_LINKS 9076 CONFIG_LINKS = $CONFIG_LINKS
9147 CONFIG_COMMANDS = $CONFIG_COMMANDS 9077 CONFIG_COMMANDS = $CONFIG_COMMANDS
9202 9132
9203_ACEOF 9133_ACEOF
9204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9205ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9135ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9206ac_cs_version="\\ 9136ac_cs_version="\\
9207config.status 9137gvpe config.status 3.1
9208configured by $0, generated by GNU Autoconf 2.67, 9138configured by $0, generated by GNU Autoconf 2.69,
9209 with options \\"\$ac_cs_config\\" 9139 with options \\"\$ac_cs_config\\"
9210 9140
9211Copyright (C) 2010 Free Software Foundation, Inc. 9141Copyright (C) 2012 Free Software Foundation, Inc.
9212This config.status script is free software; the Free Software Foundation 9142This config.status script is free software; the Free Software Foundation
9213gives unlimited permission to copy, distribute and modify it." 9143gives unlimited permission to copy, distribute and modify it."
9214 9144
9215ac_pwd='$ac_pwd' 9145ac_pwd='$ac_pwd'
9216srcdir='$srcdir' 9146srcdir='$srcdir'
9217INSTALL='$INSTALL' 9147INSTALL='$INSTALL'
9218MKDIR_P='$MKDIR_P'
9219AWK='$AWK' 9148AWK='$AWK'
9220test -n "\$AWK" || AWK=awk 9149test -n "\$AWK" || AWK=awk
9221_ACEOF 9150_ACEOF
9222 9151
9223cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9297fi 9226fi
9298 9227
9299_ACEOF 9228_ACEOF
9300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9229cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9301if \$ac_cs_recheck; then 9230if \$ac_cs_recheck; then
9302 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9231 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9303 shift 9232 shift
9304 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9233 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9305 CONFIG_SHELL='$SHELL' 9234 CONFIG_SHELL='$SHELL'
9306 export CONFIG_SHELL 9235 export CONFIG_SHELL
9307 exec "\$@" 9236 exec "\$@"
9348 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9277 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9349 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9278 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9350 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9279 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9351 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9280 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9352 9281
9353 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9282 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9354 esac 9283 esac
9355done 9284done
9356 9285
9357 9286
9358# If the user did not use the arguments to specify the items to instantiate, 9287# If the user did not use the arguments to specify the items to instantiate,
9371# Hook for its removal unless debugging. 9300# Hook for its removal unless debugging.
9372# Note that there is a small window in which the directory will not be cleaned: 9301# Note that there is a small window in which the directory will not be cleaned:
9373# after its creation but before its name has been assigned to `$tmp'. 9302# after its creation but before its name has been assigned to `$tmp'.
9374$debug || 9303$debug ||
9375{ 9304{
9376 tmp= 9305 tmp= ac_tmp=
9377 trap 'exit_status=$? 9306 trap 'exit_status=$?
9307 : "${ac_tmp:=$tmp}"
9378 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9379' 0 9309' 0
9380 trap 'as_fn_exit 1' 1 2 13 15 9310 trap 'as_fn_exit 1' 1 2 13 15
9381} 9311}
9382# Create a (secure) tmp directory for tmp files. 9312# Create a (secure) tmp directory for tmp files.
9383 9313
9384{ 9314{
9385 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9315 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9386 test -n "$tmp" && test -d "$tmp" 9316 test -d "$tmp"
9387} || 9317} ||
9388{ 9318{
9389 tmp=./conf$$-$RANDOM 9319 tmp=./conf$$-$RANDOM
9390 (umask 077 && mkdir "$tmp") 9320 (umask 077 && mkdir "$tmp")
9391} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9321} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9322ac_tmp=$tmp
9392 9323
9393# Set up the scripts for CONFIG_FILES section. 9324# Set up the scripts for CONFIG_FILES section.
9394# No need to generate them if there are no CONFIG_FILES. 9325# No need to generate them if there are no CONFIG_FILES.
9395# This happens for instance with `./config.status config.h'. 9326# This happens for instance with `./config.status config.h'.
9396if test -n "$CONFIG_FILES"; then 9327if test -n "$CONFIG_FILES"; then
9408 ac_cs_awk_cr='\\r' 9339 ac_cs_awk_cr='\\r'
9409else 9340else
9410 ac_cs_awk_cr=$ac_cr 9341 ac_cs_awk_cr=$ac_cr
9411fi 9342fi
9412 9343
9413echo 'BEGIN {' >"$tmp/subs1.awk" && 9344echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9414_ACEOF 9345_ACEOF
9415 9346
9416 9347
9417{ 9348{
9418 echo "cat >conf$$subs.awk <<_ACEOF" && 9349 echo "cat >conf$$subs.awk <<_ACEOF" &&
9436 fi 9367 fi
9437done 9368done
9438rm -f conf$$subs.sh 9369rm -f conf$$subs.sh
9439 9370
9440cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9441cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9372cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9442_ACEOF 9373_ACEOF
9443sed -n ' 9374sed -n '
9444h 9375h
9445s/^/S["/; s/!.*/"]=/ 9376s/^/S["/; s/!.*/"]=/
9446p 9377p
9484} 9415}
9485' >>$CONFIG_STATUS || ac_write_fail=1 9416' >>$CONFIG_STATUS || ac_write_fail=1
9486rm -f conf$$subs.awk 9417rm -f conf$$subs.awk
9487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9488_ACAWK 9419_ACAWK
9489cat >>"\$tmp/subs1.awk" <<_ACAWK && 9420cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9490 for (key in S) S_is_set[key] = 1 9421 for (key in S) S_is_set[key] = 1
9491 FS = "" 9422 FS = ""
9492 9423
9493} 9424}
9494{ 9425{
9516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9517if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9448if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9518 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9449 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9519else 9450else
9520 cat 9451 cat
9521fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9452fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9522 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9453 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9523_ACEOF 9454_ACEOF
9524 9455
9525# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9456# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9526# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9457# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9550 9481
9551# Set up the scripts for CONFIG_HEADERS section. 9482# Set up the scripts for CONFIG_HEADERS section.
9552# No need to generate them if there are no CONFIG_HEADERS. 9483# No need to generate them if there are no CONFIG_HEADERS.
9553# This happens for instance with `./config.status Makefile'. 9484# This happens for instance with `./config.status Makefile'.
9554if test -n "$CONFIG_HEADERS"; then 9485if test -n "$CONFIG_HEADERS"; then
9555cat >"$tmp/defines.awk" <<\_ACAWK || 9486cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9556BEGIN { 9487BEGIN {
9557_ACEOF 9488_ACEOF
9558 9489
9559# Transform confdefs.h into an awk script `defines.awk', embedded as 9490# Transform confdefs.h into an awk script `defines.awk', embedded as
9560# here-document in config.status, that substitutes the proper values into 9491# here-document in config.status, that substitutes the proper values into
9562 9493
9563# Create a delimiter string that does not exist in confdefs.h, to ease 9494# Create a delimiter string that does not exist in confdefs.h, to ease
9564# handling of long lines. 9495# handling of long lines.
9565ac_delim='%!_!# ' 9496ac_delim='%!_!# '
9566for ac_last_try in false false :; do 9497for ac_last_try in false false :; do
9567 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9498 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9568 if test -z "$ac_t"; then 9499 if test -z "$ac_tt"; then
9569 break 9500 break
9570 elif $ac_last_try; then 9501 elif $ac_last_try; then
9571 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9502 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9572 else 9503 else
9573 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9664 case $ac_tag in 9595 case $ac_tag in
9665 :[FHLC]) ac_mode=$ac_tag; continue;; 9596 :[FHLC]) ac_mode=$ac_tag; continue;;
9666 esac 9597 esac
9667 case $ac_mode$ac_tag in 9598 case $ac_mode$ac_tag in
9668 :[FHL]*:*);; 9599 :[FHL]*:*);;
9669 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9600 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9670 :[FH]-) ac_tag=-:-;; 9601 :[FH]-) ac_tag=-:-;;
9671 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9602 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9672 esac 9603 esac
9673 ac_save_IFS=$IFS 9604 ac_save_IFS=$IFS
9674 IFS=: 9605 IFS=:
9683 :[FH]) 9614 :[FH])
9684 ac_file_inputs= 9615 ac_file_inputs=
9685 for ac_f 9616 for ac_f
9686 do 9617 do
9687 case $ac_f in 9618 case $ac_f in
9688 -) ac_f="$tmp/stdin";; 9619 -) ac_f="$ac_tmp/stdin";;
9689 *) # Look for the file first in the build tree, then in the source tree 9620 *) # Look for the file first in the build tree, then in the source tree
9690 # (if the path is not absolute). The absolute path cannot be DOS-style, 9621 # (if the path is not absolute). The absolute path cannot be DOS-style,
9691 # because $ac_f cannot contain `:'. 9622 # because $ac_f cannot contain `:'.
9692 test -f "$ac_f" || 9623 test -f "$ac_f" ||
9693 case $ac_f in 9624 case $ac_f in
9694 [\\/$]*) false;; 9625 [\\/$]*) false;;
9695 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9626 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9696 esac || 9627 esac ||
9697 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 9628 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9698 esac 9629 esac
9699 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9630 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9700 as_fn_append ac_file_inputs " '$ac_f'" 9631 as_fn_append ac_file_inputs " '$ac_f'"
9701 done 9632 done
9702 9633
9718 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9719 *) ac_sed_conf_input=$configure_input;; 9650 *) ac_sed_conf_input=$configure_input;;
9720 esac 9651 esac
9721 9652
9722 case $ac_tag in 9653 case $ac_tag in
9723 *:-:* | *:-) cat >"$tmp/stdin" \ 9654 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9725 esac 9656 esac
9726 ;; 9657 ;;
9727 esac 9658 esac
9728 9659
9729 ac_dir=`$as_dirname -- "$ac_file" || 9660 ac_dir=`$as_dirname -- "$ac_file" ||
9793 9724
9794 case $INSTALL in 9725 case $INSTALL in
9795 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9796 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9727 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9797 esac 9728 esac
9798 ac_MKDIR_P=$MKDIR_P
9799 case $MKDIR_P in
9800 [\\/$]* | ?:[\\/]* ) ;;
9801 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9802 esac
9803_ACEOF 9729_ACEOF
9804 9730
9805cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9731cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9806# If the template does not know about datarootdir, expand it. 9732# If the template does not know about datarootdir, expand it.
9807# FIXME: This hack should be removed a few years after 2.60. 9733# FIXME: This hack should be removed a few years after 2.60.
9852s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9778s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9853s&@builddir@&$ac_builddir&;t t 9779s&@builddir@&$ac_builddir&;t t
9854s&@abs_builddir@&$ac_abs_builddir&;t t 9780s&@abs_builddir@&$ac_abs_builddir&;t t
9855s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9781s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9856s&@INSTALL@&$ac_INSTALL&;t t 9782s&@INSTALL@&$ac_INSTALL&;t t
9857s&@MKDIR_P@&$ac_MKDIR_P&;t t
9858$ac_datarootdir_hack 9783$ac_datarootdir_hack
9859" 9784"
9860eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9785eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9786 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9862 9787
9863test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9788test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9864 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9789 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9865 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9790 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9791 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9867which seems to be undefined. Please make sure it is defined" >&5 9793which seems to be undefined. Please make sure it is defined" >&5
9868$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9794$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9869which seems to be undefined. Please make sure it is defined" >&2;} 9795which seems to be undefined. Please make sure it is defined" >&2;}
9870 9796
9871 rm -f "$tmp/stdin" 9797 rm -f "$ac_tmp/stdin"
9872 case $ac_file in 9798 case $ac_file in
9873 -) cat "$tmp/out" && rm -f "$tmp/out";; 9799 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9874 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9800 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9875 esac \ 9801 esac \
9876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9877 ;; 9803 ;;
9878 :H) 9804 :H)
9879 # 9805 #
9880 # CONFIG_HEADER 9806 # CONFIG_HEADER
9881 # 9807 #
9882 if test x"$ac_file" != x-; then 9808 if test x"$ac_file" != x-; then
9883 { 9809 {
9884 $as_echo "/* $configure_input */" \ 9810 $as_echo "/* $configure_input */" \
9885 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9886 } >"$tmp/config.h" \ 9812 } >"$ac_tmp/config.h" \
9887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9888 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9814 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9815 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9890$as_echo "$as_me: $ac_file is unchanged" >&6;} 9816$as_echo "$as_me: $ac_file is unchanged" >&6;}
9891 else 9817 else
9892 rm -f "$ac_file" 9818 rm -f "$ac_file"
9893 mv "$tmp/config.h" "$ac_file" \ 9819 mv "$ac_tmp/config.h" "$ac_file" \
9894 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9895 fi 9821 fi
9896 else 9822 else
9897 $as_echo "/* $configure_input */" \ 9823 $as_echo "/* $configure_input */" \
9898 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9899 || as_fn_error $? "could not create -" "$LINENO" 5 9825 || as_fn_error $? "could not create -" "$LINENO" 5
9900 fi 9826 fi
9901# Compute "$ac_file"'s index in $config_headers. 9827# Compute "$ac_file"'s index in $config_headers.
9902_am_arg="$ac_file"
9903_am_stamp_count=1 9828_am_stamp_count=1
9904for _am_header in $config_headers :; do 9829for _am_header in $config_headers :; do
9905 case $_am_header in 9830 case $_am_header in
9906 $_am_arg | $_am_arg:* ) 9831 "$ac_file" | "$ac_file":* )
9907 break ;; 9832 break ;;
9908 * ) 9833 * )
9909 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9910 esac 9835 esac
9911done 9836done
9912echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9837echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
9913$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9838$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9914 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9839 X"$ac_file" : 'X\(//\)[^/]' \| \
9915 X"$_am_arg" : 'X\(//\)$' \| \ 9840 X"$ac_file" : 'X\(//\)$' \| \
9916 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9917$as_echo X"$_am_arg" | 9842$as_echo X"$ac_file" |
9918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9919 s//\1/ 9844 s//\1/
9920 q 9845 q
9921 } 9846 }
9922 /^X\(\/\/\)[^/].*/{ 9847 /^X\(\/\/\)[^/].*/{
10035 done 9960 done
10036 fi 9961 fi
10037 ;; 9962 ;;
10038 esac 9963 esac
10039 done ;; 9964 done ;;
10040 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9965 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10041 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10042 # are listed without --file. Let's play safe and only enable the eval
10043 # if we detect the quoting.
10044 case $CONFIG_FILES in
10045 *\'*) eval set x "$CONFIG_FILES" ;;
10046 *) set x $CONFIG_FILES ;;
10047 esac
10048 shift
10049 for mf
10050 do
10051 # Strip MF so we end up with the name of the file. 9966 # Strip MF so we end up with the name of the file.
10052 mf=`echo "$mf" | sed -e 's/:.*$//'` 9967 mf=`echo "$mf" | sed -e 's/:.*$//'`
10053 # Check whether this is an Automake generated Makefile or not. 9968 # Check whether this is an Automake generated Makefile or not.
10054 # We used to match only the files named `Makefile.in', but 9969 # We used to match only the files named `Makefile.in', but
10055 # some people rename them; so instead we look at the file content. 9970 # some people rename them; so instead we look at the file content.
10056 # Grep'ing the first line is not enough: some people post-process 9971 # Grep'ing the first line is not enough: some people post-process
10057 # each Makefile.in and add a new line on top of each file to say so. 9972 # each Makefile.in and add a new line on top of each file to say so.
10058 # Grep'ing the whole file is not good either: AIX grep has a line 9973 # So let's grep whole file.
10059 # limit of 2048, but all sed's we know have understand at least 4000.
10060 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9974 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10061 dirpart=`$as_dirname -- "$mf" || 9975 dirpart=`$as_dirname -- "$mf" ||
10062$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9976$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10063 X"$mf" : 'X\(//\)[^/]' \| \ 9977 X"$mf" : 'X\(//\)[^/]' \| \
10064 X"$mf" : 'X\(//\)$' \| \ 9978 X"$mf" : 'X\(//\)$' \| \
10065 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9979 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10066$as_echo X"$mf" | 9980$as_echo X"$mf" |
10079 /^X\(\/\).*/{ 9993 /^X\(\/\).*/{
10080 s//\1/ 9994 s//\1/
10081 q 9995 q
10082 } 9996 }
10083 s/.*/./; q'` 9997 s/.*/./; q'`
10084 else 9998 else
10085 continue 9999 continue
10086 fi 10000 fi
10087 # Extract the definition of DEPDIR, am__include, and am__quote 10001 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10088 # from the Makefile without running `make'. 10002 # Extract the definition of DEP_FILES from the Makefile without
10003 # running `make'.
10089 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10004 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10090 test -z "$DEPDIR" && continue 10005 test -z "$DEPDIR" && continue
10091 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10092 test -z "am__include" && continue
10093 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10094 # When using ansi2knr, U may be empty or an underscore; expand it 10006 # When using ansi2knr, U may be empty or an underscore; expand it
10095 U=`sed -n 's/^U = //p' < "$mf"` 10007 U=`sed -n -e '/^U = / s///p' < "$mf"`
10096 # Find all dependency output files, they are included files with 10008 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10097 # $(DEPDIR) in their names. We invoke sed twice because it is the 10009 # We invoke sed twice because it is the simplest approach to
10098 # simplest approach to changing $(DEPDIR) to its actual value in the 10010 # changing $(DEPDIR) to its actual value in the expansion.
10099 # expansion.
10100 for file in `sed -n " 10011 for file in `sed -n -e '
10101 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10012 /^DEP_FILES = .*\\\\$/ {
10013 s/^DEP_FILES = //
10014 :loop
10015 s/\\\\$//
10016 p
10017 n
10018 /\\\\$/ b loop
10019 p
10020 }
10021 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10102 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10103 # Make sure the directory exists. 10023 # Make sure the directory exists.
10104 test -f "$dirpart/$file" && continue 10024 test -f "$dirpart/$file" && continue
10105 fdir=`$as_dirname -- "$file" || 10025 fdir=`$as_dirname -- "$file" ||
10106$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10026$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10107 X"$file" : 'X\(//\)[^/]' \| \ 10027 X"$file" : 'X\(//\)[^/]' \| \
10108 X"$file" : 'X\(//\)$' \| \ 10028 X"$file" : 'X\(//\)$' \| \
10109 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10110$as_echo X"$file" | 10030$as_echo X"$file" |
10123 /^X\(\/\).*/{ 10043 /^X\(\/\).*/{
10124 s//\1/ 10044 s//\1/
10125 q 10045 q
10126 } 10046 }
10127 s/.*/./; q'` 10047 s/.*/./; q'`
10128 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10129 # echo "creating $dirpart/$file" 10049 # echo "creating $dirpart/$file"
10130 echo '# dummy' > "$dirpart/$file" 10050 echo '# dummy' > "$dirpart/$file"
10131 done
10132 done 10051 done
10133} 10052done
10134 ;; 10053 ;;
10135 10054
10136 esac 10055 esac
10137done # for ac_tag 10056done # for ac_tag
10138 10057
10174echo 10093echo
10175echo "***" 10094echo "***"
10176echo "*** Configuration Summary" 10095echo "*** Configuration Summary"
10177echo "***" 10096echo "***"
10178echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10097echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10098echo "*** RSA size: $RSA"
10179echo "*** Cipher used: $CIPHER" 10099echo "*** Cipher used: $CIPHER"
10180echo "*** Digest used: $DIGEST" 10100echo "*** Digest used: $DIGEST"
10101echo "*** Authdigest: $AUTH"
10181echo "*** HMAC length: $HMAC" 10102echo "*** HMAC length: $HMAC"
10182echo "*** RAND used: $RAND"
10183echo "*** Max. MTU: $MTU" 10103echo "*** Max. MTU: $MTU"
10184 10104
10185echo "***" 10105echo "***"
10186echo "*** Enable options:" 10106echo "*** Enable options:"
10187grep ENABLE_ config.h | sed -e 's/^/*** /' 10107grep ENABLE_ config.h | sed -e 's/^/*** /'
10188 10108
10189if test "x$DIGEST" = xmd4; then 10109if test "$HMACSIZE" -lt 12; then
10190echo "***" 10110echo "***"
10191echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
10192fi
10193
10194if test "$HMAC" -lt 12; then
10195echo "***"
10196echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10111echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10197fi
10198
10199if test "$RAND" -lt 8; then
10200echo "***"
10201echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
10202fi 10112fi
10203 10113
10204echo "***" 10114echo "***"
10205echo 10115echo
10206 10116
10117if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then
10118 cat <<EOF
10119
10120***
10121*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10122***
10123*** You seem to configure gvpe with OpenSSL 1.1 or newer.
10124*** While this probably compiles, please note that this is not only
10125*** unsupported, but also discouraged.
10126***
10127*** It is recommended to use either OpenSSL 1.0, as long as that is still
10128*** supported, or LibreSSL (https://www.libressl.org/).
10129***
10130*** This is not a political issue - while porting GVPE to the newer
10131*** OpenSSL 1.1 API, I encountered two incompatible API changes that were
10132*** not documented, were not caught while compiling but caused security
10133*** issues. When reported, the reaction of the OpenSSL developers was to
10134*** update the documentation.
10135***
10136*** As a result, I lost all confidence in the ability and desire of
10137*** OpenSSL developers to create a safe API, and would highly recommend
10138*** switching to LibreSSL which explicitly avoids such braking changes.
10139***
10140*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10141***
10142*** Again, do not use OpenSSL 1.1 and complain if stuff breaks.
10143*** You have been warned, but your choice is respected.
10144***
10145
10207 10146
10147EOF
10148fi
10149
10150

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines