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

Comparing gvpe/configure (file contents):
Revision 1.45 by root, Tue Feb 15 13:31:21 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>
591# include <unistd.h> 619# include <unistd.h>
592#endif" 620#endif"
593 621
594ac_subst_vars='LTLIBOBJS 622ac_subst_vars='LTLIBOBJS
595LIBOBJS 623LIBOBJS
596INCLUDES 624AM_CPPFLAGS
597ROHC_FALSE 625ROHC_FALSE
598ROHC_TRUE 626ROHC_TRUE
599LDFLAGS_DAEMON 627LDFLAGS_DAEMON
628LIBCRYPTO_LIBS
629LIBCRYPTO_CFLAGS
630PKG_CONFIG_LIBDIR
631PKG_CONFIG_PATH
632PKG_CONFIG
600HAVE_TUNTAP 633HAVE_TUNTAP
601LINUX_IF_TUN_H 634LINUX_IF_TUN_H
602ALLOCA 635ALLOCA
603CXXCPP 636CXXCPP
604IFSUBTYPE 637IFSUBTYPE
692htmldir 725htmldir
693infodir 726infodir
694docdir 727docdir
695oldincludedir 728oldincludedir
696includedir 729includedir
730runstatedir
697localstatedir 731localstatedir
698sharedstatedir 732sharedstatedir
699sysconfdir 733sysconfdir
700datadir 734datadir
701datarootdir 735datarootdir
723with_libiconv_prefix 757with_libiconv_prefix
724enable_nls 758enable_nls
725with_libintl_prefix 759with_libintl_prefix
726enable_iftype 760enable_iftype
727with_kernel 761with_kernel
728with_openssl_include 762enable_threads
729with_openssl_lib
730enable_static_daemon 763enable_static_daemon
731enable_icmp 764enable_icmp
732enable_tcp 765enable_tcp
733enable_http_proxy 766enable_http_proxy
734enable_dns 767enable_dns
768enable_rsa_length
735enable_hmac_length 769enable_hmac_length
736enable_rand_length
737enable_max_mtu 770enable_max_mtu
738enable_compression 771enable_compression
739enable_cipher 772enable_cipher
740enable_digest 773enable_hmac_digest
774enable_auth_digest
741' 775'
742 ac_precious_vars='build_alias 776 ac_precious_vars='build_alias
743host_alias 777host_alias
744target_alias 778target_alias
745CC 779CC
749CPPFLAGS 783CPPFLAGS
750CPP 784CPP
751CXX 785CXX
752CXXFLAGS 786CXXFLAGS
753CCC 787CCC
754CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
755 794
756 795
757# Initialize some variables set by options. 796# Initialize some variables set by options.
758ac_init_help= 797ac_init_help=
759ac_init_version=false 798ac_init_version=false
788datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
789datadir='${datarootdir}' 828datadir='${datarootdir}'
790sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
791sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
792localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
793includedir='${prefix}/include' 833includedir='${prefix}/include'
794oldincludedir='/usr/include' 834oldincludedir='/usr/include'
795docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
797htmldir='${docdir}' 837htmldir='${docdir}'
798dvidir='${docdir}' 838dvidir='${docdir}'
799pdfdir='${docdir}' 839pdfdir='${docdir}'
800psdir='${docdir}' 840psdir='${docdir}'
1040 1080
1041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1043 silent=yes ;; 1083 silent=yes ;;
1044 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
1045 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1047 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1049 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1154 *) 1203 *)
1155 # FIXME: should be removed in autoconf 3.0. 1204 # FIXME: should be removed in autoconf 3.0.
1156 $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
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : ${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}"
1160 ;; 1209 ;;
1161 1210
1162 esac 1211 esac
1163done 1212done
1164 1213
1177 1226
1178# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1179for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1183do 1232do
1184 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1185 # Remove trailing slashes. 1234 # Remove trailing slashes.
1186 case $ac_val in 1235 case $ac_val in
1187 */ ) 1236 */ )
1205 1254
1206# FIXME: To remove some day. 1255# FIXME: To remove some day.
1207if test "x$host_alias" != x; then 1256if test "x$host_alias" != x; then
1208 if test "x$build_alias" = x; then 1257 if test "x$build_alias" = x; then
1209 cross_compiling=maybe 1258 cross_compiling=maybe
1210 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used" >&2
1212 elif test "x$build_alias" != "x$host_alias"; then 1259 elif test "x$build_alias" != "x$host_alias"; then
1213 cross_compiling=yes 1260 cross_compiling=yes
1214 fi 1261 fi
1215fi 1262fi
1216 1263
1292# 1339#
1293if test "$ac_init_help" = "long"; then 1340if test "$ac_init_help" = "long"; then
1294 # 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.
1295 # 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.
1296 cat <<_ACEOF 1343 cat <<_ACEOF
1297\`configure' configures this package to adapt to many kinds of systems. 1344\`configure' configures gvpe 3.1 to adapt to many kinds of systems.
1298 1345
1299Usage: $0 [OPTION]... [VAR=VALUE]... 1346Usage: $0 [OPTION]... [VAR=VALUE]...
1300 1347
1301To assign environment variables (e.g., CC, CFLAGS...), specify them as 1348To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302VAR=VALUE. See below for descriptions of some of the useful variables. 1349VAR=VALUE. See below for descriptions of some of the useful variables.
1332 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --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]
1337 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info] 1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man] 1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1393 --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe]
1346 --htmldir=DIR html documentation [DOCDIR] 1394 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR] 1395 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR] 1396 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR] 1397 --psdir=DIR ps documentation [DOCDIR]
1350_ACEOF 1398_ACEOF
1362 --target=TARGET configure for building compilers for TARGET [HOST] 1410 --target=TARGET configure for building compilers for TARGET [HOST]
1363_ACEOF 1411_ACEOF
1364fi 1412fi
1365 1413
1366if test -n "$ac_init_help"; then 1414if test -n "$ac_init_help"; then
1367 1415 case $ac_init_help in
1416 short | recursive ) echo "Configuration of gvpe 3.1:";;
1417 esac
1368 cat <<\_ACEOF 1418 cat <<\_ACEOF
1369 1419
1370Optional Features: 1420Optional Features:
1371 --disable-option-checking ignore unrecognized --enable/--with options 1421 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1385 "tincd/darwin" "native/cygwin"; Untested 1435 "tincd/darwin" "native/cygwin"; Untested
1386 combinations are: "tincd/bsd" "tincd/solaris" 1436 combinations are: "tincd/bsd" "tincd/solaris"
1387 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1437 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1388 Broken combinations are: "tincd/cygwin"; The default 1438 Broken combinations are: "tincd/cygwin"; The default
1389 is to autodetect. 1439 is to autodetect.
1440 --enable-threads try to use threads for long-running asynchronous
1441 operations (default enabled).
1390 --enable-static-daemon enable statically linked daemon. 1442 --enable-static-daemon enable statically linked daemon.
1391 --disable-icmp enable icmp protocol support (default enabled). 1443 --disable-icmp enable icmp protocol support (default enabled).
1392 --disable-tcp enable tcp protocol support (default enabled). 1444 --disable-tcp enable tcp protocol support (default enabled).
1393 --disable-http-proxy enable http proxy connect support (default enabled). 1445 --disable-http-proxy enable http proxy connect support (default enabled).
1394 --enable-dns enable dns tunnel protocol support (default 1446 --enable-dns enable dns tunnel protocol support (default
1395 disabled). 1447 disabled).
1448 --enable-rsa-length=BITS
1449 use BITS rsa keys (default 3072). Allowed values are
1450 2048-10240.
1396 --enable-hmac-length=BYTES 1451 --enable-hmac-length=BYTES
1397 use a hmac of length BYTES bytes (default 12). 1452 use a hmac of length BYTES bytes (default 12).
1398 Allowed values are 4, 8, 12, 16. 1453 Allowed values are 4, 8, 12, 16.
1399 --enable-rand-length=BYTES
1400 use BYTES bytes of extra randomness (default 8).
1401 Allowed values are 0, 4, 8.
1402 --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).
1403 Use 9100 for jumbogram support. 1455 Use 9100 for jumbogram support.
1404 --disable-compression Disable compression support. 1456 --disable-compression Disable compression support.
1405 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1457 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1406 Must be one of "bf" (blowfish), "aes-128" 1458 Must be one of "aes-128" (rijndael), "aes-192", or
1407 (rijndael), "aes-192" or "aes-256". 1459 "aes-256".
1408 --enable-digest=CIPHER Select the digest algorithm to use (default 1460 --enable-hmac-digest=HMAC
1461 Select the HMAC digest algorithm to use (default
1409 "ripemd160"). Must be one of "sha512", "sha256", 1462 "sha1"). Must be one of "sha512", "sha256", "sha1",
1410 "sha1" (somewhat insecure), "ripemd160", "md5" 1463 "ripemd160", "whirlpool".
1411 (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".
1412 1467
1413Optional Packages: 1468Optional Packages:
1414 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1415 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1416 --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
1418 --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
1419 --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
1420 --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
1421 --with-kernel=dir give the directory with kernel sources 1476 --with-kernel=dir give the directory with kernel sources
1422 (default: /usr/src/linux) 1477 (default: /usr/src/linux)
1423 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1424 --with-openssl-lib=DIR OpenSSL library directory
1425 1478
1426Some influential environment variables: 1479Some influential environment variables:
1427 CC C compiler command 1480 CC C compiler command
1428 CFLAGS C compiler flags 1481 CFLAGS C compiler flags
1429 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
1433 you have headers in a nonstandard directory <include dir> 1486 you have headers in a nonstandard directory <include dir>
1434 CPP C preprocessor 1487 CPP C preprocessor
1435 CXX C++ compiler command 1488 CXX C++ compiler command
1436 CXXFLAGS C++ compiler flags 1489 CXXFLAGS C++ compiler flags
1437 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
1438 1500
1439Use 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
1440it to find libraries and programs with nonstandard names/locations. 1502it to find libraries and programs with nonstandard names/locations.
1441 1503
1442Report bugs to the package provider. 1504Report bugs to the package provider.
1500fi 1562fi
1501 1563
1502test -n "$ac_init_help" && exit $ac_status 1564test -n "$ac_init_help" && exit $ac_status
1503if $ac_init_version; then 1565if $ac_init_version; then
1504 cat <<\_ACEOF 1566 cat <<\_ACEOF
1505configure 1567gvpe configure 3.1
1506generated by GNU Autoconf 2.67 1568generated by GNU Autoconf 2.69
1507 1569
1508Copyright (C) 2010 Free Software Foundation, Inc. 1570Copyright (C) 2012 Free Software Foundation, Inc.
1509This configure script is free software; the Free Software Foundation 1571This configure script is free software; the Free Software Foundation
1510gives unlimited permission to copy, distribute and modify it. 1572gives unlimited permission to copy, distribute and modify it.
1511_ACEOF 1573_ACEOF
1512 exit 1574 exit
1513fi 1575fi
1547 $as_echo "$as_me: failed program was:" >&5 1609 $as_echo "$as_me: failed program was:" >&5
1548sed 's/^/| /' conftest.$ac_ext >&5 1610sed 's/^/| /' conftest.$ac_ext >&5
1549 1611
1550 ac_retval=1 1612 ac_retval=1
1551fi 1613fi
1552 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
1553 as_fn_set_status $ac_retval 1615 as_fn_set_status $ac_retval
1554 1616
1555} # ac_fn_c_try_compile 1617} # ac_fn_c_try_compile
1556 1618
1557# ac_fn_c_try_link LINENO 1619# ac_fn_c_try_link LINENO
1579 test $ac_status = 0; } && { 1641 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" || 1642 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err 1643 test ! -s conftest.err
1582 } && test -s conftest$ac_exeext && { 1644 } && test -s conftest$ac_exeext && {
1583 test "$cross_compiling" = yes || 1645 test "$cross_compiling" = yes ||
1584 $as_test_x conftest$ac_exeext 1646 test -x conftest$ac_exeext
1585 }; then : 1647 }; then :
1586 ac_retval=0 1648 ac_retval=0
1587else 1649else
1588 $as_echo "$as_me: failed program was:" >&5 1650 $as_echo "$as_me: failed program was:" >&5
1589sed 's/^/| /' conftest.$ac_ext >&5 1651sed 's/^/| /' conftest.$ac_ext >&5
1593 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1594 # 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
1595 # 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
1596 # 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.
1597 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1598 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
1599 as_fn_set_status $ac_retval 1661 as_fn_set_status $ac_retval
1600 1662
1601} # ac_fn_c_try_link 1663} # ac_fn_c_try_link
1602 1664
1603# ac_fn_c_try_cpp LINENO 1665# ac_fn_c_try_cpp LINENO
1630 $as_echo "$as_me: failed program was:" >&5 1692 $as_echo "$as_me: failed program was:" >&5
1631sed 's/^/| /' conftest.$ac_ext >&5 1693sed 's/^/| /' conftest.$ac_ext >&5
1632 1694
1633 ac_retval=1 1695 ac_retval=1
1634fi 1696fi
1635 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
1636 as_fn_set_status $ac_retval 1698 as_fn_set_status $ac_retval
1637 1699
1638} # ac_fn_c_try_cpp 1700} # ac_fn_c_try_cpp
1639 1701
1640# ac_fn_cxx_try_compile LINENO 1702# ac_fn_cxx_try_compile LINENO
1668 $as_echo "$as_me: failed program was:" >&5 1730 $as_echo "$as_me: failed program was:" >&5
1669sed 's/^/| /' conftest.$ac_ext >&5 1731sed 's/^/| /' conftest.$ac_ext >&5
1670 1732
1671 ac_retval=1 1733 ac_retval=1
1672fi 1734fi
1673 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
1674 as_fn_set_status $ac_retval 1736 as_fn_set_status $ac_retval
1675 1737
1676} # ac_fn_cxx_try_compile 1738} # ac_fn_cxx_try_compile
1677 1739
1678# ac_fn_cxx_try_cpp LINENO 1740# ac_fn_cxx_try_cpp LINENO
1705 $as_echo "$as_me: failed program was:" >&5 1767 $as_echo "$as_me: failed program was:" >&5
1706sed 's/^/| /' conftest.$ac_ext >&5 1768sed 's/^/| /' conftest.$ac_ext >&5
1707 1769
1708 ac_retval=1 1770 ac_retval=1
1709fi 1771fi
1710 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
1711 as_fn_set_status $ac_retval 1773 as_fn_set_status $ac_retval
1712 1774
1713} # ac_fn_cxx_try_cpp 1775} # ac_fn_cxx_try_cpp
1714 1776
1715# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1777# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1718# the include files in INCLUDES and setting the cache variable VAR 1780# the include files in INCLUDES and setting the cache variable VAR
1719# accordingly. 1781# accordingly.
1720ac_fn_cxx_check_header_mongrel () 1782ac_fn_cxx_check_header_mongrel ()
1721{ 1783{
1722 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
1723 if eval "test \"\${$3+set}\"" = set; then : 1785 if eval \${$3+:} false; then :
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725$as_echo_n "checking for $2... " >&6; } 1787$as_echo_n "checking for $2... " >&6; }
1726if eval "test \"\${$3+set}\"" = set; then : 1788if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6 1789 $as_echo_n "(cached) " >&6
1728fi 1790fi
1729eval ac_res=\$$3 1791eval ac_res=\$$3
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731$as_echo "$ac_res" >&6; } 1793$as_echo "$ac_res" >&6; }
1784$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;}
1785 ;; 1847 ;;
1786esac 1848esac
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788$as_echo_n "checking for $2... " >&6; } 1850$as_echo_n "checking for $2... " >&6; }
1789if eval "test \"\${$3+set}\"" = set; then : 1851if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6 1852 $as_echo_n "(cached) " >&6
1791else 1853else
1792 eval "$3=\$ac_header_compiler" 1854 eval "$3=\$ac_header_compiler"
1793fi 1855fi
1794eval ac_res=\$$3 1856eval ac_res=\$$3
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796$as_echo "$ac_res" >&6; } 1858$as_echo "$ac_res" >&6; }
1797fi 1859fi
1798 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
1799 1861
1800} # ac_fn_cxx_check_header_mongrel 1862} # ac_fn_cxx_check_header_mongrel
1801 1863
1802# ac_fn_cxx_try_run LINENO 1864# ac_fn_cxx_try_run LINENO
1803# ------------------------ 1865# ------------------------
1834sed 's/^/| /' conftest.$ac_ext >&5 1896sed 's/^/| /' conftest.$ac_ext >&5
1835 1897
1836 ac_retval=$ac_status 1898 ac_retval=$ac_status
1837fi 1899fi
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 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
1840 as_fn_set_status $ac_retval 1902 as_fn_set_status $ac_retval
1841 1903
1842} # ac_fn_cxx_try_run 1904} # ac_fn_cxx_try_run
1843 1905
1844# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1906# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1848ac_fn_cxx_check_header_compile () 1910ac_fn_cxx_check_header_compile ()
1849{ 1911{
1850 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
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852$as_echo_n "checking for $2... " >&6; } 1914$as_echo_n "checking for $2... " >&6; }
1853if eval "test \"\${$3+set}\"" = set; then : 1915if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6 1916 $as_echo_n "(cached) " >&6
1855else 1917else
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857/* end confdefs.h. */ 1919/* end confdefs.h. */
1858$4 1920$4
1866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867fi 1929fi
1868eval ac_res=\$$3 1930eval ac_res=\$$3
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870$as_echo "$ac_res" >&6; } 1932$as_echo "$ac_res" >&6; }
1871 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
1872 1934
1873} # ac_fn_cxx_check_header_compile 1935} # ac_fn_cxx_check_header_compile
1874 1936
1875# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1937# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1876# --------------------------------------------- 1938# ---------------------------------------------
1879ac_fn_cxx_check_type () 1941ac_fn_cxx_check_type ()
1880{ 1942{
1881 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
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883$as_echo_n "checking for $2... " >&6; } 1945$as_echo_n "checking for $2... " >&6; }
1884if eval "test \"\${$3+set}\"" = set; then : 1946if eval \${$3+:} false; then :
1885 $as_echo_n "(cached) " >&6 1947 $as_echo_n "(cached) " >&6
1886else 1948else
1887 eval "$3=no" 1949 eval "$3=no"
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889/* end confdefs.h. */ 1951/* end confdefs.h. */
1920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921fi 1983fi
1922eval ac_res=\$$3 1984eval ac_res=\$$3
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924$as_echo "$ac_res" >&6; } 1986$as_echo "$ac_res" >&6; }
1925 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
1926 1988
1927} # ac_fn_cxx_check_type 1989} # ac_fn_cxx_check_type
1928 1990
1929# ac_fn_c_try_run LINENO 1991# ac_fn_c_try_run LINENO
1930# ---------------------- 1992# ----------------------
1961sed 's/^/| /' conftest.$ac_ext >&5 2023sed 's/^/| /' conftest.$ac_ext >&5
1962 2024
1963 ac_retval=$ac_status 2025 ac_retval=$ac_status
1964fi 2026fi
1965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1966 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
1967 as_fn_set_status $ac_retval 2029 as_fn_set_status $ac_retval
1968 2030
1969} # ac_fn_c_try_run 2031} # ac_fn_c_try_run
1970 2032
1971# ac_fn_c_check_func LINENO FUNC VAR 2033# ac_fn_c_check_func LINENO FUNC VAR
1974ac_fn_c_check_func () 2036ac_fn_c_check_func ()
1975{ 2037{
1976 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
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978$as_echo_n "checking for $2... " >&6; } 2040$as_echo_n "checking for $2... " >&6; }
1979if eval "test \"\${$3+set}\"" = set; then : 2041if eval \${$3+:} false; then :
1980 $as_echo_n "(cached) " >&6 2042 $as_echo_n "(cached) " >&6
1981else 2043else
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983/* end confdefs.h. */ 2045/* end confdefs.h. */
1984/* 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.
2029 conftest$ac_exeext conftest.$ac_ext 2091 conftest$ac_exeext conftest.$ac_ext
2030fi 2092fi
2031eval ac_res=\$$3 2093eval ac_res=\$$3
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033$as_echo "$ac_res" >&6; } 2095$as_echo "$ac_res" >&6; }
2034 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
2035 2097
2036} # ac_fn_c_check_func 2098} # ac_fn_c_check_func
2037 2099
2038# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2100# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2039# ------------------------------------------------------- 2101# -------------------------------------------------------
2041# the include files in INCLUDES and setting the cache variable VAR 2103# the include files in INCLUDES and setting the cache variable VAR
2042# accordingly. 2104# accordingly.
2043ac_fn_c_check_header_mongrel () 2105ac_fn_c_check_header_mongrel ()
2044{ 2106{
2045 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
2046 if eval "test \"\${$3+set}\"" = set; then : 2108 if eval \${$3+:} false; then :
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048$as_echo_n "checking for $2... " >&6; } 2110$as_echo_n "checking for $2... " >&6; }
2049if eval "test \"\${$3+set}\"" = set; then : 2111if eval \${$3+:} false; then :
2050 $as_echo_n "(cached) " >&6 2112 $as_echo_n "(cached) " >&6
2051fi 2113fi
2052eval ac_res=\$$3 2114eval ac_res=\$$3
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054$as_echo "$ac_res" >&6; } 2116$as_echo "$ac_res" >&6; }
2107$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;}
2108 ;; 2170 ;;
2109esac 2171esac
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111$as_echo_n "checking for $2... " >&6; } 2173$as_echo_n "checking for $2... " >&6; }
2112if eval "test \"\${$3+set}\"" = set; then : 2174if eval \${$3+:} false; then :
2113 $as_echo_n "(cached) " >&6 2175 $as_echo_n "(cached) " >&6
2114else 2176else
2115 eval "$3=\$ac_header_compiler" 2177 eval "$3=\$ac_header_compiler"
2116fi 2178fi
2117eval ac_res=\$$3 2179eval ac_res=\$$3
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119$as_echo "$ac_res" >&6; } 2181$as_echo "$ac_res" >&6; }
2120fi 2182fi
2121 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
2122 2184
2123} # ac_fn_c_check_header_mongrel 2185} # ac_fn_c_check_header_mongrel
2124 2186
2125# ac_fn_cxx_try_link LINENO 2187# ac_fn_cxx_try_link LINENO
2126# ------------------------- 2188# -------------------------
2147 test $ac_status = 0; } && { 2209 test $ac_status = 0; } && {
2148 test -z "$ac_cxx_werror_flag" || 2210 test -z "$ac_cxx_werror_flag" ||
2149 test ! -s conftest.err 2211 test ! -s conftest.err
2150 } && test -s conftest$ac_exeext && { 2212 } && test -s conftest$ac_exeext && {
2151 test "$cross_compiling" = yes || 2213 test "$cross_compiling" = yes ||
2152 $as_test_x conftest$ac_exeext 2214 test -x conftest$ac_exeext
2153 }; then : 2215 }; then :
2154 ac_retval=0 2216 ac_retval=0
2155else 2217else
2156 $as_echo "$as_me: failed program was:" >&5 2218 $as_echo "$as_me: failed program was:" >&5
2157sed 's/^/| /' conftest.$ac_ext >&5 2219sed 's/^/| /' conftest.$ac_ext >&5
2161 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2223 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2162 # 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
2163 # 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
2164 # 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.
2165 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2227 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2166 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
2167 as_fn_set_status $ac_retval 2229 as_fn_set_status $ac_retval
2168 2230
2169} # ac_fn_cxx_try_link 2231} # ac_fn_cxx_try_link
2170
2171# ac_fn_cxx_check_func LINENO FUNC VAR
2172# ------------------------------------
2173# Tests whether FUNC exists, setting the cache variable VAR accordingly
2174ac_fn_cxx_check_func ()
2175{
2176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178$as_echo_n "checking for $2... " >&6; }
2179if eval "test \"\${$3+set}\"" = set; then :
2180 $as_echo_n "(cached) " >&6
2181else
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183/* end confdefs.h. */
2184/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2186#define $2 innocuous_$2
2187
2188/* System header to define __stub macros and hopefully few prototypes,
2189 which can conflict with char $2 (); below.
2190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2191 <limits.h> exists even on freestanding compilers. */
2192
2193#ifdef __STDC__
2194# include <limits.h>
2195#else
2196# include <assert.h>
2197#endif
2198
2199#undef $2
2200
2201/* Override any GCC internal prototype to avoid an error.
2202 Use char because int might match the return type of a GCC
2203 builtin and then its argument prototype would still apply. */
2204#ifdef __cplusplus
2205extern "C"
2206#endif
2207char $2 ();
2208/* The GNU C library defines this for functions which it implements
2209 to always fail with ENOSYS. Some functions are actually named
2210 something starting with __ and the normal name is an alias. */
2211#if defined __stub_$2 || defined __stub___$2
2212choke me
2213#endif
2214
2215int
2216main ()
2217{
2218return $2 ();
2219 ;
2220 return 0;
2221}
2222_ACEOF
2223if ac_fn_cxx_try_link "$LINENO"; then :
2224 eval "$3=yes"
2225else
2226 eval "$3=no"
2227fi
2228rm -f core conftest.err conftest.$ac_objext \
2229 conftest$ac_exeext conftest.$ac_ext
2230fi
2231eval ac_res=\$$3
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2233$as_echo "$ac_res" >&6; }
2234 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2235
2236} # ac_fn_cxx_check_func
2237cat >config.log <<_ACEOF 2232cat >config.log <<_ACEOF
2238This file contains any messages produced by compilers while 2233This file contains any messages produced by compilers while
2239running configure, to aid debugging if configure makes a mistake. 2234running configure, to aid debugging if configure makes a mistake.
2240 2235
2241It was created by $as_me, which was 2236It was created by gvpe $as_me 3.1, which was
2242generated by GNU Autoconf 2.67. Invocation command line was 2237generated by GNU Autoconf 2.69. Invocation command line was
2243 2238
2244 $ $0 $@ 2239 $ $0 $@
2245 2240
2246_ACEOF 2241_ACEOF
2247exec 5>>config.log 2242exec 5>>config.log
2495 sed 's/^/| /' "$ac_site_file" >&5 2490 sed 's/^/| /' "$ac_site_file" >&5
2496 . "$ac_site_file" \ 2491 . "$ac_site_file" \
2497 || { { $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
2498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2493$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2499as_fn_error $? "failed to load site script $ac_site_file 2494as_fn_error $? "failed to load site script $ac_site_file
2500See \`config.log' for more details" "$LINENO" 5 ; } 2495See \`config.log' for more details" "$LINENO" 5; }
2501 fi 2496 fi
2502done 2497done
2503 2498
2504if test -r "$cache_file"; then 2499if test -r "$cache_file"; then
2505 # 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
2620$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2615$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2621 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
2622 2617
2623{ $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
2624$as_echo_n "checking build system type... " >&6; } 2619$as_echo_n "checking build system type... " >&6; }
2625if test "${ac_cv_build+set}" = set; then : 2620if ${ac_cv_build+:} false; then :
2626 $as_echo_n "(cached) " >&6 2621 $as_echo_n "(cached) " >&6
2627else 2622else
2628 ac_build_alias=$build_alias 2623 ac_build_alias=$build_alias
2629test "x$ac_build_alias" = x && 2624test "x$ac_build_alias" = x &&
2630 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2625 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2636fi 2631fi
2637{ $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
2638$as_echo "$ac_cv_build" >&6; } 2633$as_echo "$ac_cv_build" >&6; }
2639case $ac_cv_build in 2634case $ac_cv_build in
2640*-*-*) ;; 2635*-*-*) ;;
2641*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2636*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2642esac 2637esac
2643build=$ac_cv_build 2638build=$ac_cv_build
2644ac_save_IFS=$IFS; IFS='-' 2639ac_save_IFS=$IFS; IFS='-'
2645set x $ac_cv_build 2640set x $ac_cv_build
2646shift 2641shift
2654case $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
2655 2650
2656 2651
2657{ $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
2658$as_echo_n "checking host system type... " >&6; } 2653$as_echo_n "checking host system type... " >&6; }
2659if test "${ac_cv_host+set}" = set; then : 2654if ${ac_cv_host+:} false; then :
2660 $as_echo_n "(cached) " >&6 2655 $as_echo_n "(cached) " >&6
2661else 2656else
2662 if test "x$host_alias" = x; then 2657 if test "x$host_alias" = x; then
2663 ac_cv_host=$ac_cv_build 2658 ac_cv_host=$ac_cv_build
2664else 2659else
2669fi 2664fi
2670{ $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
2671$as_echo "$ac_cv_host" >&6; } 2666$as_echo "$ac_cv_host" >&6; }
2672case $ac_cv_host in 2667case $ac_cv_host in
2673*-*-*) ;; 2668*-*-*) ;;
2674*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2669*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2675esac 2670esac
2676host=$ac_cv_host 2671host=$ac_cv_host
2677ac_save_IFS=$IFS; IFS='-' 2672ac_save_IFS=$IFS; IFS='-'
2678set x $ac_cv_host 2673set x $ac_cv_host
2679shift 2674shift
2687case $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
2688 2683
2689 2684
2690{ $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
2691$as_echo_n "checking target system type... " >&6; } 2686$as_echo_n "checking target system type... " >&6; }
2692if test "${ac_cv_target+set}" = set; then : 2687if ${ac_cv_target+:} false; then :
2693 $as_echo_n "(cached) " >&6 2688 $as_echo_n "(cached) " >&6
2694else 2689else
2695 if test "x$target_alias" = x; then 2690 if test "x$target_alias" = x; then
2696 ac_cv_target=$ac_cv_host 2691 ac_cv_target=$ac_cv_host
2697else 2692else
2702fi 2697fi
2703{ $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
2704$as_echo "$ac_cv_target" >&6; } 2699$as_echo "$ac_cv_target" >&6; }
2705case $ac_cv_target in 2700case $ac_cv_target in
2706*-*-*) ;; 2701*-*-*) ;;
2707*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2702*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2708esac 2703esac
2709target=$ac_cv_target 2704target=$ac_cv_target
2710ac_save_IFS=$IFS; IFS='-' 2705ac_save_IFS=$IFS; IFS='-'
2711set x $ac_cv_target 2706set x $ac_cv_target
2712shift 2707shift
2742# ./install, which can be erroneously created by make from ./install.sh. 2737# ./install, which can be erroneously created by make from ./install.sh.
2743# Reject install programs that cannot install multiple files. 2738# Reject install programs that cannot install multiple files.
2744{ $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
2745$as_echo_n "checking for a BSD-compatible install... " >&6; } 2740$as_echo_n "checking for a BSD-compatible install... " >&6; }
2746if test -z "$INSTALL"; then 2741if test -z "$INSTALL"; then
2747if test "${ac_cv_path_install+set}" = set; then : 2742if ${ac_cv_path_install+:} false; then :
2748 $as_echo_n "(cached) " >&6 2743 $as_echo_n "(cached) " >&6
2749else 2744else
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751for as_dir in $PATH 2746for as_dir in $PATH
2752do 2747do
2762 # 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.
2763 # 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
2764 # by default. 2759 # by default.
2765 for ac_prog in ginstall scoinst install; do 2760 for ac_prog in ginstall scoinst install; do
2766 for ac_exec_ext in '' $ac_executable_extensions; do 2761 for ac_exec_ext in '' $ac_executable_extensions; do
2767 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
2768 if test $ac_prog = install && 2763 if test $ac_prog = install &&
2769 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
2770 # AIX install. It has an incompatible calling convention. 2765 # AIX install. It has an incompatible calling convention.
2771 : 2766 :
2772 elif test $ac_prog = install && 2767 elif test $ac_prog = install &&
2887do 2882do
2888 # Extract the first word of "$ac_prog", so it can be a program name with args. 2883 # Extract the first word of "$ac_prog", so it can be a program name with args.
2889set dummy $ac_prog; ac_word=$2 2884set dummy $ac_prog; ac_word=$2
2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891$as_echo_n "checking for $ac_word... " >&6; } 2886$as_echo_n "checking for $ac_word... " >&6; }
2892if test "${ac_cv_prog_AWK+set}" = set; then : 2887if ${ac_cv_prog_AWK+:} false; then :
2893 $as_echo_n "(cached) " >&6 2888 $as_echo_n "(cached) " >&6
2894else 2889else
2895 if test -n "$AWK"; then 2890 if test -n "$AWK"; then
2896 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2891 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2897else 2892else
2899for as_dir in $PATH 2894for as_dir in $PATH
2900do 2895do
2901 IFS=$as_save_IFS 2896 IFS=$as_save_IFS
2902 test -z "$as_dir" && as_dir=. 2897 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do 2898 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_AWK="$ac_prog" 2900 ac_cv_prog_AWK="$ac_prog"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 break 2 2902 break 2
2908 fi 2903 fi
2909done 2904done
2927 2922
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2929$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2924$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2930set x ${MAKE-make} 2925set x ${MAKE-make}
2931ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2926ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2932if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2927if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2933 $as_echo_n "(cached) " >&6 2928 $as_echo_n "(cached) " >&6
2934else 2929else
2935 cat >conftest.make <<\_ACEOF 2930 cat >conftest.make <<\_ACEOF
2936SHELL = /bin/sh 2931SHELL = /bin/sh
2937all: 2932all:
2980 fi 2975 fi
2981fi 2976fi
2982 2977
2983 2978
2984# Define the identity of the package. 2979# Define the identity of the package.
2985 PACKAGE=gvpe 2980 PACKAGE='gvpe'
2986 VERSION=2.24 2981 VERSION='3.1'
2987 2982
2988 2983
2989cat >>confdefs.h <<_ACEOF 2984cat >>confdefs.h <<_ACEOF
2990#define PACKAGE "$PACKAGE" 2985#define PACKAGE "$PACKAGE"
2991_ACEOF 2986_ACEOF
3024 if test -n "$ac_tool_prefix"; then 3019 if test -n "$ac_tool_prefix"; then
3025 # 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.
3026set dummy ${ac_tool_prefix}strip; ac_word=$2 3021set dummy ${ac_tool_prefix}strip; ac_word=$2
3027{ $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
3028$as_echo_n "checking for $ac_word... " >&6; } 3023$as_echo_n "checking for $ac_word... " >&6; }
3029if test "${ac_cv_prog_STRIP+set}" = set; then : 3024if ${ac_cv_prog_STRIP+:} false; then :
3030 $as_echo_n "(cached) " >&6 3025 $as_echo_n "(cached) " >&6
3031else 3026else
3032 if test -n "$STRIP"; then 3027 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3034else 3029else
3036for as_dir in $PATH 3031for as_dir in $PATH
3037do 3032do
3038 IFS=$as_save_IFS 3033 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=. 3034 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do 3035 for ac_exec_ext in '' $ac_executable_extensions; do
3041 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
3042 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3037 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3043 $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
3044 break 2 3039 break 2
3045 fi 3040 fi
3046done 3041done
3064 ac_ct_STRIP=$STRIP 3059 ac_ct_STRIP=$STRIP
3065 # 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.
3066set dummy strip; ac_word=$2 3061set dummy strip; ac_word=$2
3067{ $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
3068$as_echo_n "checking for $ac_word... " >&6; } 3063$as_echo_n "checking for $ac_word... " >&6; }
3069if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3064if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3070 $as_echo_n "(cached) " >&6 3065 $as_echo_n "(cached) " >&6
3071else 3066else
3072 if test -n "$ac_ct_STRIP"; then 3067 if test -n "$ac_ct_STRIP"; then
3073 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.
3074else 3069else
3076for as_dir in $PATH 3071for as_dir in $PATH
3077do 3072do
3078 IFS=$as_save_IFS 3073 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=. 3074 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do 3075 for ac_exec_ext in '' $ac_executable_extensions; do
3081 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
3082 ac_cv_prog_ac_ct_STRIP="strip" 3077 ac_cv_prog_ac_ct_STRIP="strip"
3083 $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
3084 break 2 3079 break 2
3085 fi 3080 fi
3086done 3081done
3151 3146
3152 3147
3153 3148
3154 3149
3155 3150
3156 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3157
3158 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3159
3160
3161
3162 MKINSTALLDIRS= 3151 MKINSTALLDIRS=
3163 if test -n "$ac_aux_dir"; then 3152 if test -n "$ac_aux_dir"; then
3164 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 3153 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
3165 fi 3154 fi
3166 if test -z "$MKINSTALLDIRS"; then 3155 if test -z "$MKINSTALLDIRS"; then
3173 3162
3174 # 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.
3175set dummy msgfmt; ac_word=$2 3164set dummy msgfmt; ac_word=$2
3176{ $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
3177$as_echo_n "checking for $ac_word... " >&6; } 3166$as_echo_n "checking for $ac_word... " >&6; }
3178if test "${ac_cv_path_MSGFMT+set}" = set; then : 3167if ${ac_cv_path_MSGFMT+:} false; then :
3179 $as_echo_n "(cached) " >&6 3168 $as_echo_n "(cached) " >&6
3180else 3169else
3181 case "$MSGFMT" in 3170 case "$MSGFMT" in
3182 /*) 3171 /*)
3183 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.
3210 3199
3211 # 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.
3212set dummy gmsgfmt; ac_word=$2 3201set dummy gmsgfmt; ac_word=$2
3213{ $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
3214$as_echo_n "checking for $ac_word... " >&6; } 3203$as_echo_n "checking for $ac_word... " >&6; }
3215if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3204if ${ac_cv_path_GMSGFMT+:} false; then :
3216 $as_echo_n "(cached) " >&6 3205 $as_echo_n "(cached) " >&6
3217else 3206else
3218 case $GMSGFMT in 3207 case $GMSGFMT in
3219 [\\/]* | ?:[\\/]*) 3208 [\\/]* | ?:[\\/]*)
3220 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.
3224for as_dir in $PATH 3213for as_dir in $PATH
3225do 3214do
3226 IFS=$as_save_IFS 3215 IFS=$as_save_IFS
3227 test -z "$as_dir" && as_dir=. 3216 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do 3217 for ac_exec_ext in '' $ac_executable_extensions; do
3229 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
3230 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3219 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3231 $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
3232 break 2 3221 break 2
3233 fi 3222 fi
3234done 3223done
3252 3241
3253 # 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.
3254set dummy xgettext; ac_word=$2 3243set dummy xgettext; ac_word=$2
3255{ $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
3256$as_echo_n "checking for $ac_word... " >&6; } 3245$as_echo_n "checking for $ac_word... " >&6; }
3257if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3246if ${ac_cv_path_XGETTEXT+:} false; then :
3258 $as_echo_n "(cached) " >&6 3247 $as_echo_n "(cached) " >&6
3259else 3248else
3260 case "$XGETTEXT" in 3249 case "$XGETTEXT" in
3261 /*) 3250 /*)
3262 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.
3291 3280
3292 # 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.
3293set dummy msgmerge; ac_word=$2 3282set dummy msgmerge; ac_word=$2
3294{ $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
3295$as_echo_n "checking for $ac_word... " >&6; } 3284$as_echo_n "checking for $ac_word... " >&6; }
3296if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3285if ${ac_cv_path_MSGMERGE+:} false; then :
3297 $as_echo_n "(cached) " >&6 3286 $as_echo_n "(cached) " >&6
3298else 3287else
3299 case "$MSGMERGE" in 3288 case "$MSGMERGE" in
3300 /*) 3289 /*)
3301 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.
3442if test -n "$ac_tool_prefix"; then 3431if test -n "$ac_tool_prefix"; then
3443 # 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.
3444set dummy ${ac_tool_prefix}gcc; ac_word=$2 3433set dummy ${ac_tool_prefix}gcc; ac_word=$2
3445{ $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
3446$as_echo_n "checking for $ac_word... " >&6; } 3435$as_echo_n "checking for $ac_word... " >&6; }
3447if test "${ac_cv_prog_CC+set}" = set; then : 3436if ${ac_cv_prog_CC+:} false; then :
3448 $as_echo_n "(cached) " >&6 3437 $as_echo_n "(cached) " >&6
3449else 3438else
3450 if test -n "$CC"; then 3439 if test -n "$CC"; then
3451 ac_cv_prog_CC="$CC" # Let the user override the test. 3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3452else 3441else
3454for as_dir in $PATH 3443for as_dir in $PATH
3455do 3444do
3456 IFS=$as_save_IFS 3445 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=. 3446 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do 3447 for ac_exec_ext in '' $ac_executable_extensions; do
3459 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
3460 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3449 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3461 $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
3462 break 2 3451 break 2
3463 fi 3452 fi
3464done 3453done
3482 ac_ct_CC=$CC 3471 ac_ct_CC=$CC
3483 # 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.
3484set dummy gcc; ac_word=$2 3473set dummy gcc; ac_word=$2
3485{ $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
3486$as_echo_n "checking for $ac_word... " >&6; } 3475$as_echo_n "checking for $ac_word... " >&6; }
3487if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3476if ${ac_cv_prog_ac_ct_CC+:} false; then :
3488 $as_echo_n "(cached) " >&6 3477 $as_echo_n "(cached) " >&6
3489else 3478else
3490 if test -n "$ac_ct_CC"; then 3479 if test -n "$ac_ct_CC"; then
3491 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.
3492else 3481else
3494for as_dir in $PATH 3483for as_dir in $PATH
3495do 3484do
3496 IFS=$as_save_IFS 3485 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=. 3486 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do 3487 for ac_exec_ext in '' $ac_executable_extensions; do
3499 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
3500 ac_cv_prog_ac_ct_CC="gcc" 3489 ac_cv_prog_ac_ct_CC="gcc"
3501 $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
3502 break 2 3491 break 2
3503 fi 3492 fi
3504done 3493done
3535 if test -n "$ac_tool_prefix"; then 3524 if test -n "$ac_tool_prefix"; then
3536 # 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.
3537set dummy ${ac_tool_prefix}cc; ac_word=$2 3526set dummy ${ac_tool_prefix}cc; ac_word=$2
3538{ $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
3539$as_echo_n "checking for $ac_word... " >&6; } 3528$as_echo_n "checking for $ac_word... " >&6; }
3540if test "${ac_cv_prog_CC+set}" = set; then : 3529if ${ac_cv_prog_CC+:} false; then :
3541 $as_echo_n "(cached) " >&6 3530 $as_echo_n "(cached) " >&6
3542else 3531else
3543 if test -n "$CC"; then 3532 if test -n "$CC"; then
3544 ac_cv_prog_CC="$CC" # Let the user override the test. 3533 ac_cv_prog_CC="$CC" # Let the user override the test.
3545else 3534else
3547for as_dir in $PATH 3536for as_dir in $PATH
3548do 3537do
3549 IFS=$as_save_IFS 3538 IFS=$as_save_IFS
3550 test -z "$as_dir" && as_dir=. 3539 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do 3540 for ac_exec_ext in '' $ac_executable_extensions; do
3552 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
3553 ac_cv_prog_CC="${ac_tool_prefix}cc" 3542 ac_cv_prog_CC="${ac_tool_prefix}cc"
3554 $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
3555 break 2 3544 break 2
3556 fi 3545 fi
3557done 3546done
3575if test -z "$CC"; then 3564if test -z "$CC"; then
3576 # 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.
3577set dummy cc; ac_word=$2 3566set dummy cc; ac_word=$2
3578{ $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
3579$as_echo_n "checking for $ac_word... " >&6; } 3568$as_echo_n "checking for $ac_word... " >&6; }
3580if test "${ac_cv_prog_CC+set}" = set; then : 3569if ${ac_cv_prog_CC+:} false; then :
3581 $as_echo_n "(cached) " >&6 3570 $as_echo_n "(cached) " >&6
3582else 3571else
3583 if test -n "$CC"; then 3572 if test -n "$CC"; then
3584 ac_cv_prog_CC="$CC" # Let the user override the test. 3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3585else 3574else
3588for as_dir in $PATH 3577for as_dir in $PATH
3589do 3578do
3590 IFS=$as_save_IFS 3579 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=. 3580 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do 3581 for ac_exec_ext in '' $ac_executable_extensions; do
3593 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
3594 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
3595 ac_prog_rejected=yes 3584 ac_prog_rejected=yes
3596 continue 3585 continue
3597 fi 3586 fi
3598 ac_cv_prog_CC="cc" 3587 ac_cv_prog_CC="cc"
3634 do 3623 do
3635 # 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.
3636set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3625set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3637{ $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
3638$as_echo_n "checking for $ac_word... " >&6; } 3627$as_echo_n "checking for $ac_word... " >&6; }
3639if test "${ac_cv_prog_CC+set}" = set; then : 3628if ${ac_cv_prog_CC+:} false; then :
3640 $as_echo_n "(cached) " >&6 3629 $as_echo_n "(cached) " >&6
3641else 3630else
3642 if test -n "$CC"; then 3631 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test. 3632 ac_cv_prog_CC="$CC" # Let the user override the test.
3644else 3633else
3646for as_dir in $PATH 3635for as_dir in $PATH
3647do 3636do
3648 IFS=$as_save_IFS 3637 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=. 3638 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do 3639 for ac_exec_ext in '' $ac_executable_extensions; do
3651 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
3652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3641 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3653 $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
3654 break 2 3643 break 2
3655 fi 3644 fi
3656done 3645done
3678do 3667do
3679 # 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.
3680set dummy $ac_prog; ac_word=$2 3669set dummy $ac_prog; ac_word=$2
3681{ $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
3682$as_echo_n "checking for $ac_word... " >&6; } 3671$as_echo_n "checking for $ac_word... " >&6; }
3683if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3672if ${ac_cv_prog_ac_ct_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6 3673 $as_echo_n "(cached) " >&6
3685else 3674else
3686 if test -n "$ac_ct_CC"; then 3675 if test -n "$ac_ct_CC"; then
3687 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.
3688else 3677else
3690for as_dir in $PATH 3679for as_dir in $PATH
3691do 3680do
3692 IFS=$as_save_IFS 3681 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=. 3682 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do 3683 for ac_exec_ext in '' $ac_executable_extensions; do
3695 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
3696 ac_cv_prog_ac_ct_CC="$ac_prog" 3685 ac_cv_prog_ac_ct_CC="$ac_prog"
3697 $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
3698 break 2 3687 break 2
3699 fi 3688 fi
3700done 3689done
3733 3722
3734 3723
3735test -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
3736$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3725$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737as_fn_error $? "no acceptable C compiler found in \$PATH 3726as_fn_error $? "no acceptable C compiler found in \$PATH
3738See \`config.log' for more details" "$LINENO" 5 ; } 3727See \`config.log' for more details" "$LINENO" 5; }
3739 3728
3740# Provide some information about the compiler. 3729# Provide some information about the compiler.
3741$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
3742set X $ac_compile 3731set X $ac_compile
3743ac_compiler=$2 3732ac_compiler=$2
3848sed 's/^/| /' conftest.$ac_ext >&5 3837sed 's/^/| /' conftest.$ac_ext >&5
3849 3838
3850{ { $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
3851$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852as_fn_error 77 "C compiler cannot create executables 3841as_fn_error 77 "C compiler cannot create executables
3853See \`config.log' for more details" "$LINENO" 5 ; } 3842See \`config.log' for more details" "$LINENO" 5; }
3854else 3843else
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3856$as_echo "yes" >&6; } 3845$as_echo "yes" >&6; }
3857fi 3846fi
3858{ $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
3891done 3880done
3892else 3881else
3893 { { $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
3894$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3884as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3896See \`config.log' for more details" "$LINENO" 5 ; } 3885See \`config.log' for more details" "$LINENO" 5; }
3897fi 3886fi
3898rm -f conftest conftest$ac_cv_exeext 3887rm -f conftest conftest$ac_cv_exeext
3899{ $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
3900$as_echo "$ac_cv_exeext" >&6; } 3889$as_echo "$ac_cv_exeext" >&6; }
3901 3890
3950 else 3939 else
3951 { { $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
3952$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3941$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953as_fn_error $? "cannot run C compiled programs. 3942as_fn_error $? "cannot run C compiled programs.
3954If you meant to cross compile, use \`--host'. 3943If you meant to cross compile, use \`--host'.
3955See \`config.log' for more details" "$LINENO" 5 ; } 3944See \`config.log' for more details" "$LINENO" 5; }
3956 fi 3945 fi
3957 fi 3946 fi
3958fi 3947fi
3959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3960$as_echo "$cross_compiling" >&6; } 3949$as_echo "$cross_compiling" >&6; }
3961 3950
3962rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3951rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3963ac_clean_files=$ac_clean_files_save 3952ac_clean_files=$ac_clean_files_save
3964{ $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
3965$as_echo_n "checking for suffix of object files... " >&6; } 3954$as_echo_n "checking for suffix of object files... " >&6; }
3966if test "${ac_cv_objext+set}" = set; then : 3955if ${ac_cv_objext+:} false; then :
3967 $as_echo_n "(cached) " >&6 3956 $as_echo_n "(cached) " >&6
3968else 3957else
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970/* end confdefs.h. */ 3959/* end confdefs.h. */
3971 3960
4002sed 's/^/| /' conftest.$ac_ext >&5 3991sed 's/^/| /' conftest.$ac_ext >&5
4003 3992
4004{ { $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
4005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006as_fn_error $? "cannot compute suffix of object files: cannot compile 3995as_fn_error $? "cannot compute suffix of object files: cannot compile
4007See \`config.log' for more details" "$LINENO" 5 ; } 3996See \`config.log' for more details" "$LINENO" 5; }
4008fi 3997fi
4009rm -f conftest.$ac_cv_objext conftest.$ac_ext 3998rm -f conftest.$ac_cv_objext conftest.$ac_ext
4010fi 3999fi
4011{ $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
4012$as_echo "$ac_cv_objext" >&6; } 4001$as_echo "$ac_cv_objext" >&6; }
4013OBJEXT=$ac_cv_objext 4002OBJEXT=$ac_cv_objext
4014ac_objext=$OBJEXT 4003ac_objext=$OBJEXT
4015{ $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
4016$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; }
4017if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4006if ${ac_cv_c_compiler_gnu+:} false; then :
4018 $as_echo_n "(cached) " >&6 4007 $as_echo_n "(cached) " >&6
4019else 4008else
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021/* end confdefs.h. */ 4010/* end confdefs.h. */
4022 4011
4049fi 4038fi
4050ac_test_CFLAGS=${CFLAGS+set} 4039ac_test_CFLAGS=${CFLAGS+set}
4051ac_save_CFLAGS=$CFLAGS 4040ac_save_CFLAGS=$CFLAGS
4052{ $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
4053$as_echo_n "checking whether $CC accepts -g... " >&6; } 4042$as_echo_n "checking whether $CC accepts -g... " >&6; }
4054if test "${ac_cv_prog_cc_g+set}" = set; then : 4043if ${ac_cv_prog_cc_g+:} false; then :
4055 $as_echo_n "(cached) " >&6 4044 $as_echo_n "(cached) " >&6
4056else 4045else
4057 ac_save_c_werror_flag=$ac_c_werror_flag 4046 ac_save_c_werror_flag=$ac_c_werror_flag
4058 ac_c_werror_flag=yes 4047 ac_c_werror_flag=yes
4059 ac_cv_prog_cc_g=no 4048 ac_cv_prog_cc_g=no
4127 CFLAGS= 4116 CFLAGS=
4128 fi 4117 fi
4129fi 4118fi
4130{ $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
4131$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; }
4132if test "${ac_cv_prog_cc_c89+set}" = set; then : 4121if ${ac_cv_prog_cc_c89+:} false; then :
4133 $as_echo_n "(cached) " >&6 4122 $as_echo_n "(cached) " >&6
4134else 4123else
4135 ac_cv_prog_cc_c89=no 4124 ac_cv_prog_cc_c89=no
4136ac_save_CC=$CC 4125ac_save_CC=$CC
4137cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138/* end confdefs.h. */ 4127/* end confdefs.h. */
4139#include <stdarg.h> 4128#include <stdarg.h>
4140#include <stdio.h> 4129#include <stdio.h>
4141#include <sys/types.h> 4130struct stat;
4142#include <sys/stat.h>
4143/* 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. */
4144struct buf { int x; }; 4132struct buf { int x; };
4145FILE * (*rcsopen) (struct buf *, struct stat *, int); 4133FILE * (*rcsopen) (struct buf *, struct stat *, int);
4146static char *e (p, i) 4134static char *e (p, i)
4147 char **p; 4135 char **p;
4226 4214
4227depcc="$CC" am_compiler_list= 4215depcc="$CC" am_compiler_list=
4228 4216
4229{ $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
4230$as_echo_n "checking dependency style of $depcc... " >&6; } 4218$as_echo_n "checking dependency style of $depcc... " >&6; }
4231if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4219if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4232 $as_echo_n "(cached) " >&6 4220 $as_echo_n "(cached) " >&6
4233else 4221else
4234 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4235 # 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
4236 # 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
4371$as_echo_n "checking for GNU ld... " >&6; } 4359$as_echo_n "checking for GNU ld... " >&6; }
4372else 4360else
4373 { $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
4374$as_echo_n "checking for non-GNU ld... " >&6; } 4362$as_echo_n "checking for non-GNU ld... " >&6; }
4375fi 4363fi
4376if test "${acl_cv_path_LD+set}" = set; then : 4364if ${acl_cv_path_LD+:} false; then :
4377 $as_echo_n "(cached) " >&6 4365 $as_echo_n "(cached) " >&6
4378else 4366else
4379 if test -z "$LD"; then 4367 if test -z "$LD"; then
4380 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4368 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4381 for ac_dir in $PATH; do 4369 for ac_dir in $PATH; do
4407$as_echo "no" >&6; } 4395$as_echo "no" >&6; }
4408fi 4396fi
4409test -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
4410{ $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
4411$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; }
4412if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4400if ${acl_cv_prog_gnu_ld+:} false; then :
4413 $as_echo_n "(cached) " >&6 4401 $as_echo_n "(cached) " >&6
4414else 4402else
4415 # 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.
4416if $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
4417 acl_cv_prog_gnu_ld=yes 4405 acl_cv_prog_gnu_ld=yes
4425 4413
4426 4414
4427 4415
4428 { $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
4429$as_echo_n "checking for shared library run path origin... " >&6; } 4417$as_echo_n "checking for shared library run path origin... " >&6; }
4430if test "${acl_cv_rpath+set}" = set; then : 4418if ${acl_cv_rpath+:} false; then :
4431 $as_echo_n "(cached) " >&6 4419 $as_echo_n "(cached) " >&6
4432else 4420else
4433 4421
4434 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" \
4435 ${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
4882 4870
4883 4871
4884 4872
4885 { $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
4886$as_echo_n "checking for GNU gettext in libc... " >&6; } 4874$as_echo_n "checking for GNU gettext in libc... " >&6; }
4887if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 4875if ${gt_cv_func_gnugettext1_libc+:} false; then :
4888 $as_echo_n "(cached) " >&6 4876 $as_echo_n "(cached) " >&6
4889else 4877else
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891/* end confdefs.h. */ 4879/* end confdefs.h. */
4892#include <libintl.h> 4880#include <libintl.h>
4943 done 4931 done
4944 4932
4945 4933
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4947$as_echo_n "checking for iconv... " >&6; } 4935$as_echo_n "checking for iconv... " >&6; }
4948if test "${am_cv_func_iconv+set}" = set; then : 4936if ${am_cv_func_iconv+:} false; then :
4949 $as_echo_n "(cached) " >&6 4937 $as_echo_n "(cached) " >&6
4950else 4938else
4951 4939
4952 am_cv_func_iconv="no, consider installing GNU libiconv" 4940 am_cv_func_iconv="no, consider installing GNU libiconv"
4953 am_cv_lib_iconv=no 4941 am_cv_lib_iconv=no
5396 done 5384 done
5397 fi 5385 fi
5398 5386
5399 { $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
5400$as_echo_n "checking for GNU gettext in libintl... " >&6; } 5388$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5401if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5389if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5402 $as_echo_n "(cached) " >&6 5390 $as_echo_n "(cached) " >&6
5403else 5391else
5404 gt_save_CPPFLAGS="$CPPFLAGS" 5392 gt_save_CPPFLAGS="$CPPFLAGS"
5405 CPPFLAGS="$CPPFLAGS $INCINTL" 5393 CPPFLAGS="$CPPFLAGS $INCINTL"
5406 gt_save_LIBS="$LIBS" 5394 gt_save_LIBS="$LIBS"
5564# On Suns, sometimes $CPP names a directory. 5552# On Suns, sometimes $CPP names a directory.
5565if test -n "$CPP" && test -d "$CPP"; then 5553if test -n "$CPP" && test -d "$CPP"; then
5566 CPP= 5554 CPP=
5567fi 5555fi
5568if test -z "$CPP"; then 5556if test -z "$CPP"; then
5569 if test "${ac_cv_prog_CPP+set}" = set; then : 5557 if ${ac_cv_prog_CPP+:} false; then :
5570 $as_echo_n "(cached) " >&6 5558 $as_echo_n "(cached) " >&6
5571else 5559else
5572 # Double quotes because CPP needs to be expanded 5560 # Double quotes because CPP needs to be expanded
5573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5561 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5574 do 5562 do
5680 5668
5681else 5669else
5682 { { $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
5683$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5671$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5684as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5672as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5685See \`config.log' for more details" "$LINENO" 5 ; } 5673See \`config.log' for more details" "$LINENO" 5; }
5686fi 5674fi
5687 5675
5688ac_ext=c 5676ac_ext=c
5689ac_cpp='$CPP $CPPFLAGS' 5677ac_cpp='$CPP $CPPFLAGS'
5690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 do 5693 do
5706 # 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.
5707set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5695set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5708{ $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
5709$as_echo_n "checking for $ac_word... " >&6; } 5697$as_echo_n "checking for $ac_word... " >&6; }
5710if test "${ac_cv_prog_CXX+set}" = set; then : 5698if ${ac_cv_prog_CXX+:} false; then :
5711 $as_echo_n "(cached) " >&6 5699 $as_echo_n "(cached) " >&6
5712else 5700else
5713 if test -n "$CXX"; then 5701 if test -n "$CXX"; then
5714 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5702 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5715else 5703else
5717for as_dir in $PATH 5705for as_dir in $PATH
5718do 5706do
5719 IFS=$as_save_IFS 5707 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=. 5708 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do 5709 for ac_exec_ext in '' $ac_executable_extensions; do
5722 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
5723 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5711 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5724 $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
5725 break 2 5713 break 2
5726 fi 5714 fi
5727done 5715done
5749do 5737do
5750 # 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.
5751set dummy $ac_prog; ac_word=$2 5739set dummy $ac_prog; ac_word=$2
5752{ $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
5753$as_echo_n "checking for $ac_word... " >&6; } 5741$as_echo_n "checking for $ac_word... " >&6; }
5754if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5742if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5755 $as_echo_n "(cached) " >&6 5743 $as_echo_n "(cached) " >&6
5756else 5744else
5757 if test -n "$ac_ct_CXX"; then 5745 if test -n "$ac_ct_CXX"; then
5758 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.
5759else 5747else
5761for as_dir in $PATH 5749for as_dir in $PATH
5762do 5750do
5763 IFS=$as_save_IFS 5751 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=. 5752 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do 5753 for ac_exec_ext in '' $ac_executable_extensions; do
5766 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
5767 ac_cv_prog_ac_ct_CXX="$ac_prog" 5755 ac_cv_prog_ac_ct_CXX="$ac_prog"
5768 $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
5769 break 2 5757 break 2
5770 fi 5758 fi
5771done 5759done
5827 test $ac_status = 0; } 5815 test $ac_status = 0; }
5828done 5816done
5829 5817
5830{ $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
5831$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; }
5832if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5820if ${ac_cv_cxx_compiler_gnu+:} false; then :
5833 $as_echo_n "(cached) " >&6 5821 $as_echo_n "(cached) " >&6
5834else 5822else
5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836/* end confdefs.h. */ 5824/* end confdefs.h. */
5837 5825
5864fi 5852fi
5865ac_test_CXXFLAGS=${CXXFLAGS+set} 5853ac_test_CXXFLAGS=${CXXFLAGS+set}
5866ac_save_CXXFLAGS=$CXXFLAGS 5854ac_save_CXXFLAGS=$CXXFLAGS
5867{ $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
5868$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5856$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5869if test "${ac_cv_prog_cxx_g+set}" = set; then : 5857if ${ac_cv_prog_cxx_g+:} false; then :
5870 $as_echo_n "(cached) " >&6 5858 $as_echo_n "(cached) " >&6
5871else 5859else
5872 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5860 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5873 ac_cxx_werror_flag=yes 5861 ac_cxx_werror_flag=yes
5874 ac_cv_prog_cxx_g=no 5862 ac_cv_prog_cxx_g=no
5950 5938
5951depcc="$CXX" am_compiler_list= 5939depcc="$CXX" am_compiler_list=
5952 5940
5953{ $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
5954$as_echo_n "checking dependency style of $depcc... " >&6; } 5942$as_echo_n "checking dependency style of $depcc... " >&6; }
5955if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 5943if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5956 $as_echo_n "(cached) " >&6 5944 $as_echo_n "(cached) " >&6
5957else 5945else
5958 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5959 # 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
5960 # 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
6051 6039
6052 6040
6053 6041
6054{ $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
6055$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; }
6056if test "${ac_cv_path_GREP+set}" = set; then : 6044if ${ac_cv_path_GREP+:} false; then :
6057 $as_echo_n "(cached) " >&6 6045 $as_echo_n "(cached) " >&6
6058else 6046else
6059 if test -z "$GREP"; then 6047 if test -z "$GREP"; then
6060 ac_path_GREP_found=false 6048 ac_path_GREP_found=false
6061 # 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
6065 IFS=$as_save_IFS 6053 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=. 6054 test -z "$as_dir" && as_dir=.
6067 for ac_prog in grep ggrep; do 6055 for ac_prog in grep ggrep; do
6068 for ac_exec_ext in '' $ac_executable_extensions; do 6056 for ac_exec_ext in '' $ac_executable_extensions; do
6069 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6057 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6070 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6058 as_fn_executable_p "$ac_path_GREP" || continue
6071# 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.
6072 # Check for GNU $ac_path_GREP 6060 # Check for GNU $ac_path_GREP
6073case `"$ac_path_GREP" --version 2>&1` in 6061case `"$ac_path_GREP" --version 2>&1` in
6074*GNU*) 6062*GNU*)
6075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6063 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6114 GREP="$ac_cv_path_GREP" 6102 GREP="$ac_cv_path_GREP"
6115 6103
6116 6104
6117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6118$as_echo_n "checking for egrep... " >&6; } 6106$as_echo_n "checking for egrep... " >&6; }
6119if test "${ac_cv_path_EGREP+set}" = set; then : 6107if ${ac_cv_path_EGREP+:} false; then :
6120 $as_echo_n "(cached) " >&6 6108 $as_echo_n "(cached) " >&6
6121else 6109else
6122 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6110 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6123 then ac_cv_path_EGREP="$GREP -E" 6111 then ac_cv_path_EGREP="$GREP -E"
6124 else 6112 else
6131 IFS=$as_save_IFS 6119 IFS=$as_save_IFS
6132 test -z "$as_dir" && as_dir=. 6120 test -z "$as_dir" && as_dir=.
6133 for ac_prog in egrep; do 6121 for ac_prog in egrep; do
6134 for ac_exec_ext in '' $ac_executable_extensions; do 6122 for ac_exec_ext in '' $ac_executable_extensions; do
6135 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6136 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6124 as_fn_executable_p "$ac_path_EGREP" || continue
6137# 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.
6138 # Check for GNU $ac_path_EGREP 6126 # Check for GNU $ac_path_EGREP
6139case `"$ac_path_EGREP" --version 2>&1` in 6127case `"$ac_path_EGREP" --version 2>&1` in
6140*GNU*) 6128*GNU*)
6141 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6129 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6182 6170
6183 6171
6184if test $ac_cv_c_compiler_gnu = yes; then 6172if test $ac_cv_c_compiler_gnu = yes; then
6185 { $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
6186$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6174$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6187if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6175if ${ac_cv_prog_gcc_traditional+:} false; then :
6188 $as_echo_n "(cached) " >&6 6176 $as_echo_n "(cached) " >&6
6189else 6177else
6190 ac_pattern="Autoconf.*'x'" 6178 ac_pattern="Autoconf.*'x'"
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192/* end confdefs.h. */ 6180/* end confdefs.h. */
6227do 6215do
6228 # 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.
6229set dummy $ac_prog; ac_word=$2 6217set dummy $ac_prog; ac_word=$2
6230{ $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
6231$as_echo_n "checking for $ac_word... " >&6; } 6219$as_echo_n "checking for $ac_word... " >&6; }
6232if test "${ac_cv_prog_AWK+set}" = set; then : 6220if ${ac_cv_prog_AWK+:} false; then :
6233 $as_echo_n "(cached) " >&6 6221 $as_echo_n "(cached) " >&6
6234else 6222else
6235 if test -n "$AWK"; then 6223 if test -n "$AWK"; then
6236 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6224 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6237else 6225else
6239for as_dir in $PATH 6227for as_dir in $PATH
6240do 6228do
6241 IFS=$as_save_IFS 6229 IFS=$as_save_IFS
6242 test -z "$as_dir" && as_dir=. 6230 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do 6231 for ac_exec_ext in '' $ac_executable_extensions; do
6244 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
6245 ac_cv_prog_AWK="$ac_prog" 6233 ac_cv_prog_AWK="$ac_prog"
6246 $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
6247 break 2 6235 break 2
6248 fi 6236 fi
6249done 6237done
6279 6267
6280{ $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
6281$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6269$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6282set x ${MAKE-make} 6270set x ${MAKE-make}
6283ac_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'`
6284if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6272if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6285 $as_echo_n "(cached) " >&6 6273 $as_echo_n "(cached) " >&6
6286else 6274else
6287 cat >conftest.make <<\_ACEOF 6275 cat >conftest.make <<\_ACEOF
6288SHELL = /bin/sh 6276SHELL = /bin/sh
6289all: 6277all:
6311if test -n "$ac_tool_prefix"; then 6299if test -n "$ac_tool_prefix"; then
6312 # 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.
6313set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6301set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6314{ $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
6315$as_echo_n "checking for $ac_word... " >&6; } 6303$as_echo_n "checking for $ac_word... " >&6; }
6316if test "${ac_cv_prog_RANLIB+set}" = set; then : 6304if ${ac_cv_prog_RANLIB+:} false; then :
6317 $as_echo_n "(cached) " >&6 6305 $as_echo_n "(cached) " >&6
6318else 6306else
6319 if test -n "$RANLIB"; then 6307 if test -n "$RANLIB"; then
6320 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6321else 6309else
6323for as_dir in $PATH 6311for as_dir in $PATH
6324do 6312do
6325 IFS=$as_save_IFS 6313 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=. 6314 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do 6315 for ac_exec_ext in '' $ac_executable_extensions; do
6328 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
6329 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6330 $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
6331 break 2 6319 break 2
6332 fi 6320 fi
6333done 6321done
6351 ac_ct_RANLIB=$RANLIB 6339 ac_ct_RANLIB=$RANLIB
6352 # 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.
6353set dummy ranlib; ac_word=$2 6341set dummy ranlib; ac_word=$2
6354{ $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
6355$as_echo_n "checking for $ac_word... " >&6; } 6343$as_echo_n "checking for $ac_word... " >&6; }
6356if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6344if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6357 $as_echo_n "(cached) " >&6 6345 $as_echo_n "(cached) " >&6
6358else 6346else
6359 if test -n "$ac_ct_RANLIB"; then 6347 if test -n "$ac_ct_RANLIB"; then
6360 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.
6361else 6349else
6363for as_dir in $PATH 6351for as_dir in $PATH
6364do 6352do
6365 IFS=$as_save_IFS 6353 IFS=$as_save_IFS
6366 test -z "$as_dir" && as_dir=. 6354 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do 6355 for ac_exec_ext in '' $ac_executable_extensions; do
6368 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
6369 ac_cv_prog_ac_ct_RANLIB="ranlib" 6357 ac_cv_prog_ac_ct_RANLIB="ranlib"
6370 $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
6371 break 2 6359 break 2
6372 fi 6360 fi
6373done 6361done
6549 t end 6537 t end
6550 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6551 :end' >>confcache 6539 :end' >>confcache
6552if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6540if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6553 if test -w "$cache_file"; then 6541 if test -w "$cache_file"; then
6554 test "x$cache_file" != "x/dev/null" && 6542 if test "x$cache_file" != "x/dev/null"; then
6555 { $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
6556$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
6557 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
6558 else 6557 else
6559 { $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
6560$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6559$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6561 fi 6560 fi
6562fi 6561fi
6576ac_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'
6577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6576ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6578{ $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
6579$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6578$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6580if test -z "$CXXCPP"; then 6579if test -z "$CXXCPP"; then
6581 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6580 if ${ac_cv_prog_CXXCPP+:} false; then :
6582 $as_echo_n "(cached) " >&6 6581 $as_echo_n "(cached) " >&6
6583else 6582else
6584 # Double quotes because CXXCPP needs to be expanded 6583 # Double quotes because CXXCPP needs to be expanded
6585 for CXXCPP in "$CXX -E" "/lib/cpp" 6584 for CXXCPP in "$CXX -E" "/lib/cpp"
6586 do 6585 do
6692 6691
6693else 6692else
6694 { { $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
6695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6696as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6695as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6697See \`config.log' for more details" "$LINENO" 5 ; } 6696See \`config.log' for more details" "$LINENO" 5; }
6698fi 6697fi
6699 6698
6700ac_ext=cpp 6699ac_ext=cpp
6701ac_cpp='$CXXCPP $CPPFLAGS' 6700ac_cpp='$CXXCPP $CPPFLAGS'
6702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6705 6704
6706 6705
6707{ $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
6708$as_echo_n "checking for ANSI C header files... " >&6; } 6707$as_echo_n "checking for ANSI C header files... " >&6; }
6709if test "${ac_cv_header_stdc+set}" = set; then : 6708if ${ac_cv_header_stdc+:} false; then :
6710 $as_echo_n "(cached) " >&6 6709 $as_echo_n "(cached) " >&6
6711else 6710else
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713/* end confdefs.h. */ 6712/* end confdefs.h. */
6714#include <stdlib.h> 6713#include <stdlib.h>
6889done 6888done
6890 6889
6891 6890
6892{ $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
6893$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6892$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6894if test "${ac_cv_c_const+set}" = set; then : 6893if ${ac_cv_c_const+:} false; then :
6895 $as_echo_n "(cached) " >&6 6894 $as_echo_n "(cached) " >&6
6896else 6895else
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898/* end confdefs.h. */ 6897/* end confdefs.h. */
6899 6898
6900int 6899int
6901main () 6900main ()
6902{ 6901{
6903/* FIXME: Include the comments suggested by Paul. */ 6902
6904#ifndef __cplusplus 6903#ifndef __cplusplus
6905 /* Ultrix mips cc rejects this. */ 6904 /* Ultrix mips cc rejects this sort of thing. */
6906 typedef int charset[2]; 6905 typedef int charset[2];
6907 const charset cs; 6906 const charset cs = { 0, 0 };
6908 /* SunOS 4.1.1 cc rejects this. */ 6907 /* SunOS 4.1.1 cc rejects this. */
6909 char const *const *pcpcc; 6908 char const *const *pcpcc;
6910 char **ppc; 6909 char **ppc;
6911 /* NEC SVR4.0.2 mips cc rejects this. */ 6910 /* NEC SVR4.0.2 mips cc rejects this. */
6912 struct point {int x, y;}; 6911 struct point {int x, y;};
6919 pcpcc = &g + (g ? g-g : 0); 6918 pcpcc = &g + (g ? g-g : 0);
6920 /* HPUX 7.0 cc rejects these. */ 6919 /* HPUX 7.0 cc rejects these. */
6921 ++pcpcc; 6920 ++pcpcc;
6922 ppc = (char**) pcpcc; 6921 ppc = (char**) pcpcc;
6923 pcpcc = (char const *const *) ppc; 6922 pcpcc = (char const *const *) ppc;
6924 { /* SCO 3.2v4 cc rejects this. */ 6923 { /* SCO 3.2v4 cc rejects this sort of thing. */
6925 char *t; 6924 char tx;
6925 char *t = &tx;
6926 char const *s = 0 ? (char *) 0 : (char const *) 0; 6926 char const *s = 0 ? (char *) 0 : (char const *) 0;
6927 6927
6928 *t++ = 0; 6928 *t++ = 0;
6929 if (s) return 0; 6929 if (s) return 0;
6930 } 6930 }
6936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6937 typedef const int *iptr; 6937 typedef const int *iptr;
6938 iptr p = 0; 6938 iptr p = 0;
6939 ++p; 6939 ++p;
6940 } 6940 }
6941 { /* AIX XL C 1.02.0.0 rejects this saying 6941 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6942 "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. */
6943 struct s { int j; const int *ap[3]; }; 6943 struct s { int j; const int *ap[3]; } bx;
6944 struct s *b; b->j = 5; 6944 struct s *b = &bx; b->j = 5;
6945 } 6945 }
6946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6947 const int foo = 10; 6947 const int foo = 10;
6948 if (!foo) return 0; 6948 if (!foo) return 0;
6949 } 6949 }
6968$as_echo "#define const /**/" >>confdefs.h 6968$as_echo "#define const /**/" >>confdefs.h
6969 6969
6970fi 6970fi
6971 6971
6972ac_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"
6973if test "x$ac_cv_type_pid_t" = x""yes; then : 6973if test "x$ac_cv_type_pid_t" = xyes; then :
6974 6974
6975else 6975else
6976 6976
6977cat >>confdefs.h <<_ACEOF 6977cat >>confdefs.h <<_ACEOF
6978#define pid_t int 6978#define pid_t int
6979_ACEOF 6979_ACEOF
6980 6980
6981fi 6981fi
6982 6982
6983ac_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"
6984if test "x$ac_cv_type_size_t" = x""yes; then : 6984if test "x$ac_cv_type_size_t" = xyes; then :
6985 6985
6986else 6986else
6987 6987
6988cat >>confdefs.h <<_ACEOF 6988cat >>confdefs.h <<_ACEOF
6989#define size_t unsigned int 6989#define size_t unsigned int
6991 6991
6992fi 6992fi
6993 6993
6994{ $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
6995$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; }
6996if test "${ac_cv_header_time+set}" = set; then : 6996if ${ac_cv_header_time+:} false; then :
6997 $as_echo_n "(cached) " >&6 6997 $as_echo_n "(cached) " >&6
6998else 6998else
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000/* end confdefs.h. */ 7000/* end confdefs.h. */
7001#include <sys/types.h> 7001#include <sys/types.h>
7026 7026
7027fi 7027fi
7028 7028
7029{ $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
7030$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; }
7031if test "${ac_cv_struct_tm+set}" = set; then : 7031if ${ac_cv_struct_tm+:} false; then :
7032 $as_echo_n "(cached) " >&6 7032 $as_echo_n "(cached) " >&6
7033else 7033else
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035/* end confdefs.h. */ 7035/* end confdefs.h. */
7036#include <sys/types.h> 7036#include <sys/types.h>
7062fi 7062fi
7063 7063
7064 7064
7065{ $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
7066$as_echo_n "checking for socklen_t... " >&6; } 7066$as_echo_n "checking for socklen_t... " >&6; }
7067if test "${ac_cv_type_socklen_t+set}" = set; then : 7067if ${ac_cv_type_socklen_t+:} false; then :
7068 $as_echo_n "(cached) " >&6 7068 $as_echo_n "(cached) " >&6
7069else 7069else
7070 7070
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072/* end confdefs.h. */ 7072/* end confdefs.h. */
7096 7096
7097fi 7097fi
7098 7098
7099{ $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
7100$as_echo_n "checking for struct addrinfo... " >&6; } 7100$as_echo_n "checking for struct addrinfo... " >&6; }
7101if test "${ac_cv_struct_addrinfo+set}" = set; then : 7101if ${ac_cv_struct_addrinfo+:} false; then :
7102 $as_echo_n "(cached) " >&6 7102 $as_echo_n "(cached) " >&6
7103else 7103else
7104 7104
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106/* end confdefs.h. */ 7106/* end confdefs.h. */
7131 7131
7132fi 7132fi
7133 7133
7134{ $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
7135$as_echo_n "checking return type of signal handlers... " >&6; } 7135$as_echo_n "checking return type of signal handlers... " >&6; }
7136if test "${ac_cv_type_signal+set}" = set; then : 7136if ${ac_cv_type_signal+:} false; then :
7137 $as_echo_n "(cached) " >&6 7137 $as_echo_n "(cached) " >&6
7138else 7138else
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140/* end confdefs.h. */ 7140/* end confdefs.h. */
7141#include <sys/types.h> 7141#include <sys/types.h>
7172ac_compiler_gnu=$ac_cv_c_compiler_gnu 7172ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173 7173
7174 7174
7175{ $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
7176$as_echo_n "checking for ANSI C header files... " >&6; } 7176$as_echo_n "checking for ANSI C header files... " >&6; }
7177if test "${ac_cv_header_stdc+set}" = set; then : 7177if ${ac_cv_header_stdc+:} false; then :
7178 $as_echo_n "(cached) " >&6 7178 $as_echo_n "(cached) " >&6
7179else 7179else
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181/* end confdefs.h. */ 7181/* end confdefs.h. */
7182#include <stdlib.h> 7182#include <stdlib.h>
7300 7300
7301# 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
7302# for constant arguments. Useless! 7302# for constant arguments. Useless!
7303{ $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
7304$as_echo_n "checking for working alloca.h... " >&6; } 7304$as_echo_n "checking for working alloca.h... " >&6; }
7305if test "${ac_cv_working_alloca_h+set}" = set; then : 7305if ${ac_cv_working_alloca_h+:} false; then :
7306 $as_echo_n "(cached) " >&6 7306 $as_echo_n "(cached) " >&6
7307else 7307else
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309/* end confdefs.h. */ 7309/* end confdefs.h. */
7310#include <alloca.h> 7310#include <alloca.h>
7333 7333
7334fi 7334fi
7335 7335
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7337$as_echo_n "checking for alloca... " >&6; } 7337$as_echo_n "checking for alloca... " >&6; }
7338if test "${ac_cv_func_alloca_works+set}" = set; then : 7338if ${ac_cv_func_alloca_works+:} false; then :
7339 $as_echo_n "(cached) " >&6 7339 $as_echo_n "(cached) " >&6
7340else 7340else
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342/* end confdefs.h. */ 7342/* end confdefs.h. */
7343#ifdef __GNUC__ 7343#ifdef __GNUC__
7352# else 7352# else
7353# ifdef _AIX 7353# ifdef _AIX
7354 #pragma alloca 7354 #pragma alloca
7355# else 7355# else
7356# ifndef alloca /* predefined by HP cc +Olibcalls */ 7356# ifndef alloca /* predefined by HP cc +Olibcalls */
7357char *alloca (); 7357void *alloca (size_t);
7358# endif 7358# endif
7359# endif 7359# endif
7360# endif 7360# endif
7361# endif 7361# endif
7362#endif 7362#endif
7396$as_echo "#define C_ALLOCA 1" >>confdefs.h 7396$as_echo "#define C_ALLOCA 1" >>confdefs.h
7397 7397
7398 7398
7399{ $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
7400$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7400$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7401if test "${ac_cv_os_cray+set}" = set; then : 7401if ${ac_cv_os_cray+:} false; then :
7402 $as_echo_n "(cached) " >&6 7402 $as_echo_n "(cached) " >&6
7403else 7403else
7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405/* end confdefs.h. */ 7405/* end confdefs.h. */
7406#if defined CRAY && ! defined CRAY2 7406#if defined CRAY && ! defined CRAY2
7437 done 7437 done
7438fi 7438fi
7439 7439
7440{ $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
7441$as_echo_n "checking stack direction for C alloca... " >&6; } 7441$as_echo_n "checking stack direction for C alloca... " >&6; }
7442if test "${ac_cv_c_stack_direction+set}" = set; then : 7442if ${ac_cv_c_stack_direction+:} false; then :
7443 $as_echo_n "(cached) " >&6 7443 $as_echo_n "(cached) " >&6
7444else 7444else
7445 if test "$cross_compiling" = yes; then : 7445 if test "$cross_compiling" = yes; then :
7446 ac_cv_c_stack_direction=0 7446 ac_cv_c_stack_direction=0
7447else 7447else
7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449/* end confdefs.h. */ 7449/* end confdefs.h. */
7450$ac_includes_default 7450$ac_includes_default
7451int 7451int
7452find_stack_direction () 7452find_stack_direction (int *addr, int depth)
7453{ 7453{
7454 static char *addr = 0; 7454 int dir, dummy = 0;
7455 auto char dummy;
7456 if (addr == 0) 7455 if (! addr)
7457 {
7458 addr = &dummy; 7456 addr = &dummy;
7459 return find_stack_direction (); 7457 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7460 } 7458 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7461 else 7459 return dir + dummy;
7462 return (&dummy > addr) ? 1 : -1;
7463} 7460}
7464 7461
7465int 7462int
7466main () 7463main (int argc, char **argv)
7467{ 7464{
7468 return find_stack_direction () < 0; 7465 return find_stack_direction (0, argc + !argv + 20) < 0;
7469} 7466}
7470_ACEOF 7467_ACEOF
7471if ac_fn_c_try_run "$LINENO"; then : 7468if ac_fn_c_try_run "$LINENO"; then :
7472 ac_cv_c_stack_direction=1 7469 ac_cv_c_stack_direction=1
7473else 7470else
7488fi 7485fi
7489 7486
7490 7487
7491 7488
7492ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7489ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7493if test "x$ac_cv_func_socket" = x""yes; then : 7490if test "x$ac_cv_func_socket" = xyes; then :
7494 7491
7495else 7492else
7496 7493
7497 { $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
7498$as_echo_n "checking for connect in -lsocket... " >&6; } 7495$as_echo_n "checking for connect in -lsocket... " >&6; }
7499if test "${ac_cv_lib_socket_connect+set}" = set; then : 7496if ${ac_cv_lib_socket_connect+:} false; then :
7500 $as_echo_n "(cached) " >&6 7497 $as_echo_n "(cached) " >&6
7501else 7498else
7502 ac_check_lib_save_LIBS=$LIBS 7499 ac_check_lib_save_LIBS=$LIBS
7503LIBS="-lsocket $LIBS" 7500LIBS="-lsocket $LIBS"
7504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528 conftest$ac_exeext conftest.$ac_ext 7525 conftest$ac_exeext conftest.$ac_ext
7529LIBS=$ac_check_lib_save_LIBS 7526LIBS=$ac_check_lib_save_LIBS
7530fi 7527fi
7531{ $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
7532$as_echo "$ac_cv_lib_socket_connect" >&6; } 7529$as_echo "$ac_cv_lib_socket_connect" >&6; }
7533if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7530if test "x$ac_cv_lib_socket_connect" = xyes; then :
7534 cat >>confdefs.h <<_ACEOF 7531 cat >>confdefs.h <<_ACEOF
7535#define HAVE_LIBSOCKET 1 7532#define HAVE_LIBSOCKET 1
7536_ACEOF 7533_ACEOF
7537 7534
7538 LIBS="-lsocket $LIBS" 7535 LIBS="-lsocket $LIBS"
7541 7538
7542 7539
7543fi 7540fi
7544 7541
7545ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7542ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7546if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7543if test "x$ac_cv_func_gethostbyname" = xyes; then :
7547 7544
7548else 7545else
7549 7546
7550 { $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
7551$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7548$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7552if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7549if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7553 $as_echo_n "(cached) " >&6 7550 $as_echo_n "(cached) " >&6
7554else 7551else
7555 ac_check_lib_save_LIBS=$LIBS 7552 ac_check_lib_save_LIBS=$LIBS
7556LIBS="-lnsl $LIBS" 7553LIBS="-lnsl $LIBS"
7557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 conftest$ac_exeext conftest.$ac_ext 7578 conftest$ac_exeext conftest.$ac_ext
7582LIBS=$ac_check_lib_save_LIBS 7579LIBS=$ac_check_lib_save_LIBS
7583fi 7580fi
7584{ $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
7585$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7582$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7586if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7583if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7587 cat >>confdefs.h <<_ACEOF 7584 cat >>confdefs.h <<_ACEOF
7588#define HAVE_LIBNSL 1 7585#define HAVE_LIBNSL 1
7589_ACEOF 7586_ACEOF
7590 7587
7591 LIBS="-lnsl $LIBS" 7588 LIBS="-lnsl $LIBS"
7625 7622
7626 7623
7627for ac_func in clock_gettime 7624for ac_func in clock_gettime
7628do : 7625do :
7629 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"
7630if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7627if test "x$ac_cv_func_clock_gettime" = xyes; then :
7631 cat >>confdefs.h <<_ACEOF 7628 cat >>confdefs.h <<_ACEOF
7632#define HAVE_CLOCK_GETTIME 1 7629#define HAVE_CLOCK_GETTIME 1
7633_ACEOF 7630_ACEOF
7634 7631
7635else 7632else
7665 conftest$ac_exeext conftest.$ac_ext 7662 conftest$ac_exeext conftest.$ac_ext
7666 fi 7663 fi
7667 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
7668 { $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
7669$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 7666$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7670if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7667if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7671 $as_echo_n "(cached) " >&6 7668 $as_echo_n "(cached) " >&6
7672else 7669else
7673 ac_check_lib_save_LIBS=$LIBS 7670 ac_check_lib_save_LIBS=$LIBS
7674LIBS="-lrt $LIBS" 7671LIBS="-lrt $LIBS"
7675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 conftest$ac_exeext conftest.$ac_ext 7696 conftest$ac_exeext conftest.$ac_ext
7700LIBS=$ac_check_lib_save_LIBS 7697LIBS=$ac_check_lib_save_LIBS
7701fi 7698fi
7702{ $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
7703$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 7700$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7704if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7701if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7705 cat >>confdefs.h <<_ACEOF 7702 cat >>confdefs.h <<_ACEOF
7706#define HAVE_LIBRT 1 7703#define HAVE_LIBRT 1
7707_ACEOF 7704_ACEOF
7708 7705
7709 LIBS="-lrt $LIBS" 7706 LIBS="-lrt $LIBS"
7712 7709
7713 unset ac_cv_func_clock_gettime 7710 unset ac_cv_func_clock_gettime
7714 for ac_func in clock_gettime 7711 for ac_func in clock_gettime
7715do : 7712do :
7716 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"
7717if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7714if test "x$ac_cv_func_clock_gettime" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF 7715 cat >>confdefs.h <<_ACEOF
7719#define HAVE_CLOCK_GETTIME 1 7716#define HAVE_CLOCK_GETTIME 1
7720_ACEOF 7717_ACEOF
7721 7718
7722fi 7719fi
7729 7726
7730 7727
7731for ac_func in nanosleep 7728for ac_func in nanosleep
7732do : 7729do :
7733 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7730 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7734if test "x$ac_cv_func_nanosleep" = x""yes; then : 7731if test "x$ac_cv_func_nanosleep" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF 7732 cat >>confdefs.h <<_ACEOF
7736#define HAVE_NANOSLEEP 1 7733#define HAVE_NANOSLEEP 1
7737_ACEOF 7734_ACEOF
7738 7735
7739else 7736else
7740 7737
7741 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7738 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7742 { $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
7743$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7740$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7744if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7741if ${ac_cv_lib_rt_nanosleep+:} false; then :
7745 $as_echo_n "(cached) " >&6 7742 $as_echo_n "(cached) " >&6
7746else 7743else
7747 ac_check_lib_save_LIBS=$LIBS 7744 ac_check_lib_save_LIBS=$LIBS
7748LIBS="-lrt $LIBS" 7745LIBS="-lrt $LIBS"
7749cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 conftest$ac_exeext conftest.$ac_ext 7770 conftest$ac_exeext conftest.$ac_ext
7774LIBS=$ac_check_lib_save_LIBS 7771LIBS=$ac_check_lib_save_LIBS
7775fi 7772fi
7776{ $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
7777$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7774$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7778if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7775if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF 7776 cat >>confdefs.h <<_ACEOF
7780#define HAVE_LIBRT 1 7777#define HAVE_LIBRT 1
7781_ACEOF 7778_ACEOF
7782 7779
7783 LIBS="-lrt $LIBS" 7780 LIBS="-lrt $LIBS"
7786 7783
7787 unset ac_cv_func_nanosleep 7784 unset ac_cv_func_nanosleep
7788 for ac_func in nanosleep 7785 for ac_func in nanosleep
7789do : 7786do :
7790 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7787 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7791if test "x$ac_cv_func_nanosleep" = x""yes; then : 7788if test "x$ac_cv_func_nanosleep" = xyes; then :
7792 cat >>confdefs.h <<_ACEOF 7789 cat >>confdefs.h <<_ACEOF
7793#define HAVE_NANOSLEEP 1 7790#define HAVE_NANOSLEEP 1
7794_ACEOF 7791_ACEOF
7795 7792
7796fi 7793fi
7800 7797
7801fi 7798fi
7802done 7799done
7803 7800
7804 7801
7802if test -z "$LIBEV_M4_AVOID_LIBM"; then
7803 LIBM=m
7804fi
7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7806$as_echo_n "checking for ceil in -lm... " >&6; } 7806$as_echo_n "checking for library containing floor... " >&6; }
7807if test "${ac_cv_lib_m_ceil+set}" = set; then : 7807if ${ac_cv_search_floor+:} false; then :
7808 $as_echo_n "(cached) " >&6 7808 $as_echo_n "(cached) " >&6
7809else 7809else
7810 ac_check_lib_save_LIBS=$LIBS 7810 ac_func_search_save_LIBS=$LIBS
7811LIBS="-lm $LIBS"
7812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813/* end confdefs.h. */ 7812/* end confdefs.h. */
7814 7813
7815/* Override any GCC internal prototype to avoid an error. 7814/* Override any GCC internal prototype to avoid an error.
7816 Use char because int might match the return type of a GCC 7815 Use char because int might match the return type of a GCC
7817 builtin and then its argument prototype would still apply. */ 7816 builtin and then its argument prototype would still apply. */
7818#ifdef __cplusplus 7817#ifdef __cplusplus
7819extern "C" 7818extern "C"
7820#endif 7819#endif
7821char ceil (); 7820char floor ();
7822int 7821int
7823main () 7822main ()
7824{ 7823{
7825return ceil (); 7824return floor ();
7826 ; 7825 ;
7827 return 0; 7826 return 0;
7828} 7827}
7829_ACEOF 7828_ACEOF
7829for ac_lib in '' $LIBM; do
7830 if test -z "$ac_lib"; then
7831 ac_res="none required"
7832 else
7833 ac_res=-l$ac_lib
7834 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7835 fi
7830if ac_fn_c_try_link "$LINENO"; then : 7836 if ac_fn_c_try_link "$LINENO"; then :
7831 ac_cv_lib_m_ceil=yes 7837 ac_cv_search_floor=$ac_res
7832else
7833 ac_cv_lib_m_ceil=no
7834fi 7838fi
7835rm -f core conftest.err conftest.$ac_objext \ 7839rm -f core conftest.err conftest.$ac_objext \
7836 conftest$ac_exeext conftest.$ac_ext 7840 conftest$ac_exeext
7837LIBS=$ac_check_lib_save_LIBS 7841 if ${ac_cv_search_floor+:} false; then :
7842 break
7838fi 7843fi
7844done
7845if ${ac_cv_search_floor+:} false; then :
7846
7847else
7848 ac_cv_search_floor=no
7849fi
7850rm conftest.$ac_ext
7851LIBS=$ac_func_search_save_LIBS
7852fi
7839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5 7853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
7840$as_echo "$ac_cv_lib_m_ceil" >&6; } 7854$as_echo "$ac_cv_search_floor" >&6; }
7841if test "x$ac_cv_lib_m_ceil" = x""yes; then : 7855ac_res=$ac_cv_search_floor
7842 cat >>confdefs.h <<_ACEOF 7856if test "$ac_res" != no; then :
7843#define HAVE_LIBM 1 7857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7844_ACEOF
7845 7858
7846 LIBS="-lm $LIBS" 7859$as_echo "#define HAVE_FLOOR 1" >>confdefs.h
7847 7860
7848fi 7861fi
7849 7862
7850 7863
7851 7864
7920 t end 7933 t end
7921 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7922 :end' >>confcache 7935 :end' >>confcache
7923if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7936if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7924 if test -w "$cache_file"; then 7937 if test -w "$cache_file"; then
7925 test "x$cache_file" != "x/dev/null" && 7938 if test "x$cache_file" != "x/dev/null"; then
7926 { $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
7927$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
7928 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
7929 else 7953 else
7930 { $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
7931$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7955$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7932 fi 7956 fi
7933fi 7957fi
7944fi 7968fi
7945 7969
7946 7970
7947{ $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
7948$as_echo_n "checking for linux/if_tun.h... " >&6; } 7972$as_echo_n "checking for linux/if_tun.h... " >&6; }
7949if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 7973if ${tinc_cv_linux_if_tun_h+:} false; then :
7950 $as_echo_n "(cached) " >&6 7974 $as_echo_n "(cached) " >&6
7951else 7975else
7952 7976
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h. */ 7978/* end confdefs.h. */
8011 8035
8012 8036
8013 8037
8014 8038
8015 8039
8016 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8017 8040
8018 8041
8019# Check whether --with-openssl-include was given.
8020if test "${with_openssl_include+set}" = set; then :
8021 withval=$with_openssl_include; openssl_include="$withval"
8022 CFLAGS="$CFLAGS -I$withval"
8023 CPPFLAGS="$CPPFLAGS -I$withval"
8024 8042
8025fi
8026 8043
8027 8044
8028 8045
8029# Check whether --with-openssl-lib was given. 8046if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8030if test "${with_openssl_lib+set}" = set; then : 8047 if test -n "$ac_tool_prefix"; then
8031 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.
8032 LIBS="$LIBS -L$withval" 8049set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8033 8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034fi 8051$as_echo_n "checking for $ac_word... " >&6; }
8035 8052if ${ac_cv_path_PKG_CONFIG+:} false; then :
8036 8053 $as_echo_n "(cached) " >&6
8037 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8038do :
8039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8040ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8041if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8042 cat >>confdefs.h <<_ACEOF
8043#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8044_ACEOF
8045
8046else 8054else
8047 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8055 case $PKG_CONFIG in
8048 8056 [\\/]* | ?:[\\/]*)
8049fi 8057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8050 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
8051done 8071done
8072 done
8073IFS=$as_save_IFS
8052 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
8053 8086
8054 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8055 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
8056 { $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
8057$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8094$as_echo_n "checking for $ac_word... " >&6; }
8058if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8095if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8059 $as_echo_n "(cached) " >&6 8096 $as_echo_n "(cached) " >&6
8060else 8097else
8061 ac_check_lib_save_LIBS=$LIBS 8098 case $ac_pt_PKG_CONFIG in
8062LIBS="-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"
8063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064/* end confdefs.h. */ 8266/* end confdefs.h. */
8065 8267#include <pthread.h>
8066/* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8069#ifdef __cplusplus
8070extern "C"
8071#endif
8072char SHA1_version ();
8073int 8268int
8074main () 8269main ()
8075{ 8270{
8076return SHA1_version (); 8271pthread_t id; pthread_create (&id, 0, 0, 0);
8077 ; 8272 ;
8078 return 0; 8273 return 0;
8079} 8274}
8080_ACEOF 8275_ACEOF
8081if ac_fn_cxx_try_link "$LINENO"; then : 8276if ac_fn_cxx_try_compile "$LINENO"; then :
8082 ac_cv_lib_crypto_SHA1_version=yes
8083else
8084 ac_cv_lib_crypto_SHA1_version=no
8085fi
8086rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088LIBS=$ac_check_lib_save_LIBS
8089fi
8090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5
8091$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; }
8092if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then :
8093 LIBS="$LIBS -lcrypto"
8094else
8095 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8096 8277
8097fi
8098
8099
8100 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8101do :
8102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8103ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8104if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8105 cat >>confdefs.h <<_ACEOF 8278cat >>confdefs.h <<_ACEOF
8106#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8279#define ENABLE_PTHREADS 1
8107_ACEOF 8280_ACEOF
8108 8281
8109fi
8110done
8111 8282
8112
8113 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8114if test "x$ac_cv_func_dlopen" = x""yes; then :
8115
8116else
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8118$as_echo_n "checking for dlopen in -ldl... " >&6; }
8119if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8121else
8122 ac_check_lib_save_LIBS=$LIBS
8123LIBS="-ldl $LIBS"
8124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8125/* end confdefs.h. */
8126
8127/* Override any GCC internal prototype to avoid an error.
8128 Use char because int might match the return type of a GCC
8129 builtin and then its argument prototype would still apply. */
8130#ifdef __cplusplus
8131extern "C"
8132#endif
8133char dlopen ();
8134int
8135main ()
8136{
8137return dlopen ();
8138 ;
8139 return 0;
8140}
8141_ACEOF
8142if ac_fn_cxx_try_link "$LINENO"; then :
8143 ac_cv_lib_dl_dlopen=yes
8144else
8145 ac_cv_lib_dl_dlopen=no
8146fi 8283fi
8147rm -f core conftest.err conftest.$ac_objext \ 8284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8148 conftest$ac_exeext conftest.$ac_ext
8149LIBS=$ac_check_lib_save_LIBS
8150fi
8151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8152$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8153if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
8154 LIBS="$LIBS -ldl"
8155else
8156 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8157 8285
8158fi 8286fi
8159 8287
8160 8288
8161fi
8162
8163
8164if test "x$openssl_include" != x; then
8165 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8166fi 8289fi
8167 8290
8168# Check whether --enable-static-daemon was given. 8291# Check whether --enable-static-daemon was given.
8169if test "${enable_static_daemon+set}" = set; then : 8292if test "${enable_static_daemon+set}" = set; then :
8170 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 8293 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8239 8362
8240# Check whether --enable-dns was given. 8363# Check whether --enable-dns was given.
8241if test "${enable_dns+set}" = set; then : 8364if test "${enable_dns+set}" = set; then :
8242 enableval=$enable_dns; 8365 enableval=$enable_dns;
8243 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"
8244if test "x$ac_cv_header_gmp_h" = x""yes; then : 8367if test "x$ac_cv_header_gmp_h" = xyes; then :
8245 8368
8246else 8369else
8247 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
8248fi 8371fi
8249 8372
8250 8373
8251 { $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
8252$as_echo_n "checking for main in -lgmp... " >&6; } 8375$as_echo_n "checking for main in -lgmp... " >&6; }
8253if test "${ac_cv_lib_gmp_main+set}" = set; then : 8376if ${ac_cv_lib_gmp_main+:} false; then :
8254 $as_echo_n "(cached) " >&6 8377 $as_echo_n "(cached) " >&6
8255else 8378else
8256 ac_check_lib_save_LIBS=$LIBS 8379 ac_check_lib_save_LIBS=$LIBS
8257LIBS="-lgmp $LIBS" 8380LIBS="-lgmp $LIBS"
8258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 conftest$ac_exeext conftest.$ac_ext 8399 conftest$ac_exeext conftest.$ac_ext
8277LIBS=$ac_check_lib_save_LIBS 8400LIBS=$ac_check_lib_save_LIBS
8278fi 8401fi
8279{ $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
8280$as_echo "$ac_cv_lib_gmp_main" >&6; } 8403$as_echo "$ac_cv_lib_gmp_main" >&6; }
8281if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8404if test "x$ac_cv_lib_gmp_main" = xyes; then :
8282 cat >>confdefs.h <<_ACEOF 8405 cat >>confdefs.h <<_ACEOF
8283#define HAVE_LIBGMP 1 8406#define HAVE_LIBGMP 1
8284_ACEOF 8407_ACEOF
8285 8408
8286 LIBS="-lgmp $LIBS" 8409 LIBS="-lgmp $LIBS"
8298 8421
8299 8422
8300fi 8423fi
8301 8424
8302 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
8303HMAC=12 8439HMACSIZE=12
8304# Check whether --enable-hmac-length was given. 8440# Check whether --enable-hmac-length was given.
8305if test "${enable_hmac_length+set}" = set; then : 8441if test "${enable_hmac_length+set}" = set; then :
8306 enableval=$enable_hmac_length; HMAC=$enableval 8442 enableval=$enable_hmac_length; HMACSIZE=$enableval
8307 8443
8308fi 8444fi
8309 8445
8310 8446
8311cat >>confdefs.h <<_ACEOF 8447cat >>confdefs.h <<_ACEOF
8312#define HMACLENGTH $HMAC 8448#define HMACLENGTH $HMACSIZE
8313_ACEOF
8314
8315
8316RAND=8
8317# Check whether --enable-rand-length was given.
8318if test "${enable_rand_length+set}" = set; then :
8319 enableval=$enable_rand_length; RAND=$enableval
8320
8321fi
8322
8323
8324cat >>confdefs.h <<_ACEOF
8325#define RAND_SIZE $RAND
8326_ACEOF 8449_ACEOF
8327 8450
8328 8451
8329MTU=1500 8452MTU=1500
8330# Check whether --enable-max-mtu was given. 8453# Check whether --enable-max-mtu was given.
8333 8456
8334fi 8457fi
8335 8458
8336 8459
8337cat >>confdefs.h <<_ACEOF 8460cat >>confdefs.h <<_ACEOF
8338#define MAX_MTU $MTU + 14 8461#define MAX_MTU ($MTU + 14)
8339_ACEOF 8462_ACEOF
8340 8463
8341 8464
8342COMPRESS=1 8465COMPRESS=1
8343# Check whether --enable-compression was given. 8466# Check whether --enable-compression was given.
8352cat >>confdefs.h <<_ACEOF 8475cat >>confdefs.h <<_ACEOF
8353#define ENABLE_COMPRESSION $COMPRESS 8476#define ENABLE_COMPRESSION $COMPRESS
8354_ACEOF 8477_ACEOF
8355 8478
8356 8479
8357CIPHER=aes_128_cbc 8480CIPHER=aes_128_ctr
8358# Check whether --enable-cipher was given. 8481# Check whether --enable-cipher was given.
8359if test "${enable_cipher+set}" = set; then : 8482if test "${enable_cipher+set}" = set; then :
8360 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
8361 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
8362 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
8363 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
8364 8489
8365fi 8490fi
8366 8491
8367 8492
8368cat >>confdefs.h <<_ACEOF 8493cat >>confdefs.h <<_ACEOF
8369#define ENABLE_CIPHER EVP_${CIPHER} 8494#define ENABLE_CIPHER EVP_${CIPHER}
8370_ACEOF 8495_ACEOF
8371 8496
8372 8497
8373DIGEST=ripemd160 8498HMAC=sha1
8374# Check whether --enable-digest was given. 8499# Check whether --enable-hmac-digest was given.
8375if 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
8376 enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8502 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8377 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8503 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8378 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8504 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8379 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8505 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8380 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
8381 if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi
8382 8506
8383fi 8507fi
8384 8508
8385 8509
8386cat >>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
8387#define ENABLE_DIGEST EVP_${DIGEST} 8526#define ENABLE_AUTH EVP_${AUTH}
8388_ACEOF 8527_ACEOF
8389 8528
8390 8529
8391if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8530if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8392 CXXFLAGS="$CXXFLAGS -fno-rtti" 8531 CXXFLAGS="$CXXFLAGS -fno-rtti"
8465 t end 8604 t end
8466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8467 :end' >>confcache 8606 :end' >>confcache
8468if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8607if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8469 if test -w "$cache_file"; then 8608 if test -w "$cache_file"; then
8470 test "x$cache_file" != "x/dev/null" && 8609 if test "x$cache_file" != "x/dev/null"; then
8471 { $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
8472$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
8473 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
8474 else 8624 else
8475 { $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
8476$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8626$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8477 fi 8627 fi
8478fi 8628fi
8520if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8670if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8521 as_fn_error $? "conditional \"ROHC\" was never defined. 8671 as_fn_error $? "conditional \"ROHC\" was never defined.
8522Usually this means the macro was only invoked conditionally." "$LINENO" 5 8672Usually this means the macro was only invoked conditionally." "$LINENO" 5
8523fi 8673fi
8524 8674
8525: ${CONFIG_STATUS=./config.status} 8675: "${CONFIG_STATUS=./config.status}"
8526ac_write_fail=0 8676ac_write_fail=0
8527ac_clean_files_save=$ac_clean_files 8677ac_clean_files_save=$ac_clean_files
8528ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8678ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8529{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8679{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8530$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8680$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8621# (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
8622# splitting by setting IFS to empty value.) 8772# splitting by setting IFS to empty value.)
8623IFS=" "" $as_nl" 8773IFS=" "" $as_nl"
8624 8774
8625# 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=
8626case $0 in #(( 8777case $0 in #((
8627 *[\\/]* ) as_myself=$0 ;; 8778 *[\\/]* ) as_myself=$0 ;;
8628 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8779 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629for as_dir in $PATH 8780for as_dir in $PATH
8630do 8781do
8816 if ln -s conf$$.file conf$$ 2>/dev/null; then 8967 if ln -s conf$$.file conf$$ 2>/dev/null; then
8817 as_ln_s='ln -s' 8968 as_ln_s='ln -s'
8818 # ... but there are two gotchas: 8969 # ... but there are two gotchas:
8819 # 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.
8820 # 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.
8821 # In both cases, we have to default to `cp -p'. 8972 # In both cases, we have to default to `cp -pR'.
8822 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 ||
8823 as_ln_s='cp -p' 8974 as_ln_s='cp -pR'
8824 elif ln conf$$.file conf$$ 2>/dev/null; then 8975 elif ln conf$$.file conf$$ 2>/dev/null; then
8825 as_ln_s=ln 8976 as_ln_s=ln
8826 else 8977 else
8827 as_ln_s='cp -p' 8978 as_ln_s='cp -pR'
8828 fi 8979 fi
8829else 8980else
8830 as_ln_s='cp -p' 8981 as_ln_s='cp -pR'
8831fi 8982fi
8832rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8983rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8833rmdir conf$$.dir 2>/dev/null 8984rmdir conf$$.dir 2>/dev/null
8834 8985
8835 8986
8885else 9036else
8886 test -d ./-p && rmdir ./-p 9037 test -d ./-p && rmdir ./-p
8887 as_mkdir_p=false 9038 as_mkdir_p=false
8888fi 9039fi
8889 9040
8890if 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
8891 as_test_x='test -x' 9049as_test_x='test -x'
8892else 9050as_executable_p=as_fn_executable_p
8893 if ls -dL / >/dev/null 2>&1; then
8894 as_ls_L_option=L
8895 else
8896 as_ls_L_option=
8897 fi
8898 as_test_x='
8899 eval sh -c '\''
8900 if test -d "$1"; then
8901 test -d "$1/.";
8902 else
8903 case $1 in #(
8904 -*)set "./$1";;
8905 esac;
8906 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8907 ???[sx]*):;;*)false;;esac;fi
8908 '\'' sh
8909 '
8910fi
8911as_executable_p=$as_test_x
8912 9051
8913# Sed expression to map a string onto a valid CPP name. 9052# Sed expression to map a string onto a valid CPP name.
8914as_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'"
8915 9054
8916# Sed expression to map a string onto a valid variable name. 9055# Sed expression to map a string onto a valid variable name.
8927cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8928# 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
8929# report actual input values of CONFIG_FILES etc. instead of their 9068# report actual input values of CONFIG_FILES etc. instead of their
8930# values after options handling. 9069# values after options handling.
8931ac_log=" 9070ac_log="
8932This file was extended by $as_me, which was 9071This file was extended by gvpe $as_me 3.1, which was
8933generated by GNU Autoconf 2.67. Invocation command line was 9072generated by GNU Autoconf 2.69. Invocation command line was
8934 9073
8935 CONFIG_FILES = $CONFIG_FILES 9074 CONFIG_FILES = $CONFIG_FILES
8936 CONFIG_HEADERS = $CONFIG_HEADERS 9075 CONFIG_HEADERS = $CONFIG_HEADERS
8937 CONFIG_LINKS = $CONFIG_LINKS 9076 CONFIG_LINKS = $CONFIG_LINKS
8938 CONFIG_COMMANDS = $CONFIG_COMMANDS 9077 CONFIG_COMMANDS = $CONFIG_COMMANDS
8993 9132
8994_ACEOF 9133_ACEOF
8995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8996ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9135ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8997ac_cs_version="\\ 9136ac_cs_version="\\
8998config.status 9137gvpe config.status 3.1
8999configured by $0, generated by GNU Autoconf 2.67, 9138configured by $0, generated by GNU Autoconf 2.69,
9000 with options \\"\$ac_cs_config\\" 9139 with options \\"\$ac_cs_config\\"
9001 9140
9002Copyright (C) 2010 Free Software Foundation, Inc. 9141Copyright (C) 2012 Free Software Foundation, Inc.
9003This config.status script is free software; the Free Software Foundation 9142This config.status script is free software; the Free Software Foundation
9004gives unlimited permission to copy, distribute and modify it." 9143gives unlimited permission to copy, distribute and modify it."
9005 9144
9006ac_pwd='$ac_pwd' 9145ac_pwd='$ac_pwd'
9007srcdir='$srcdir' 9146srcdir='$srcdir'
9087fi 9226fi
9088 9227
9089_ACEOF 9228_ACEOF
9090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9229cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9091if \$ac_cs_recheck; then 9230if \$ac_cs_recheck; then
9092 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
9093 shift 9232 shift
9094 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9233 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9095 CONFIG_SHELL='$SHELL' 9234 CONFIG_SHELL='$SHELL'
9096 export CONFIG_SHELL 9235 export CONFIG_SHELL
9097 exec "\$@" 9236 exec "\$@"
9138 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9277 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9139 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9278 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9140 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9279 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9141 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9280 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9142 9281
9143 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9282 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9144 esac 9283 esac
9145done 9284done
9146 9285
9147 9286
9148# 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,
9161# Hook for its removal unless debugging. 9300# Hook for its removal unless debugging.
9162# 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:
9163# 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'.
9164$debug || 9303$debug ||
9165{ 9304{
9166 tmp= 9305 tmp= ac_tmp=
9167 trap 'exit_status=$? 9306 trap 'exit_status=$?
9307 : "${ac_tmp:=$tmp}"
9168 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9169' 0 9309' 0
9170 trap 'as_fn_exit 1' 1 2 13 15 9310 trap 'as_fn_exit 1' 1 2 13 15
9171} 9311}
9172# Create a (secure) tmp directory for tmp files. 9312# Create a (secure) tmp directory for tmp files.
9173 9313
9174{ 9314{
9175 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9315 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9176 test -n "$tmp" && test -d "$tmp" 9316 test -d "$tmp"
9177} || 9317} ||
9178{ 9318{
9179 tmp=./conf$$-$RANDOM 9319 tmp=./conf$$-$RANDOM
9180 (umask 077 && mkdir "$tmp") 9320 (umask 077 && mkdir "$tmp")
9181} || 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
9182 9323
9183# Set up the scripts for CONFIG_FILES section. 9324# Set up the scripts for CONFIG_FILES section.
9184# No need to generate them if there are no CONFIG_FILES. 9325# No need to generate them if there are no CONFIG_FILES.
9185# This happens for instance with `./config.status config.h'. 9326# This happens for instance with `./config.status config.h'.
9186if test -n "$CONFIG_FILES"; then 9327if test -n "$CONFIG_FILES"; then
9198 ac_cs_awk_cr='\\r' 9339 ac_cs_awk_cr='\\r'
9199else 9340else
9200 ac_cs_awk_cr=$ac_cr 9341 ac_cs_awk_cr=$ac_cr
9201fi 9342fi
9202 9343
9203echo 'BEGIN {' >"$tmp/subs1.awk" && 9344echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9204_ACEOF 9345_ACEOF
9205 9346
9206 9347
9207{ 9348{
9208 echo "cat >conf$$subs.awk <<_ACEOF" && 9349 echo "cat >conf$$subs.awk <<_ACEOF" &&
9226 fi 9367 fi
9227done 9368done
9228rm -f conf$$subs.sh 9369rm -f conf$$subs.sh
9229 9370
9230cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9231cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9372cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9232_ACEOF 9373_ACEOF
9233sed -n ' 9374sed -n '
9234h 9375h
9235s/^/S["/; s/!.*/"]=/ 9376s/^/S["/; s/!.*/"]=/
9236p 9377p
9274} 9415}
9275' >>$CONFIG_STATUS || ac_write_fail=1 9416' >>$CONFIG_STATUS || ac_write_fail=1
9276rm -f conf$$subs.awk 9417rm -f conf$$subs.awk
9277cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9278_ACAWK 9419_ACAWK
9279cat >>"\$tmp/subs1.awk" <<_ACAWK && 9420cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9280 for (key in S) S_is_set[key] = 1 9421 for (key in S) S_is_set[key] = 1
9281 FS = "" 9422 FS = ""
9282 9423
9283} 9424}
9284{ 9425{
9306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9307if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9448if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9308 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"
9309else 9450else
9310 cat 9451 cat
9311fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9452fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9312 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9453 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9313_ACEOF 9454_ACEOF
9314 9455
9315# 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),
9316# ${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
9340 9481
9341# Set up the scripts for CONFIG_HEADERS section. 9482# Set up the scripts for CONFIG_HEADERS section.
9342# No need to generate them if there are no CONFIG_HEADERS. 9483# No need to generate them if there are no CONFIG_HEADERS.
9343# This happens for instance with `./config.status Makefile'. 9484# This happens for instance with `./config.status Makefile'.
9344if test -n "$CONFIG_HEADERS"; then 9485if test -n "$CONFIG_HEADERS"; then
9345cat >"$tmp/defines.awk" <<\_ACAWK || 9486cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9346BEGIN { 9487BEGIN {
9347_ACEOF 9488_ACEOF
9348 9489
9349# Transform confdefs.h into an awk script `defines.awk', embedded as 9490# Transform confdefs.h into an awk script `defines.awk', embedded as
9350# here-document in config.status, that substitutes the proper values into 9491# here-document in config.status, that substitutes the proper values into
9352 9493
9353# 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
9354# handling of long lines. 9495# handling of long lines.
9355ac_delim='%!_!# ' 9496ac_delim='%!_!# '
9356for ac_last_try in false false :; do 9497for ac_last_try in false false :; do
9357 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9498 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9358 if test -z "$ac_t"; then 9499 if test -z "$ac_tt"; then
9359 break 9500 break
9360 elif $ac_last_try; then 9501 elif $ac_last_try; then
9361 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9502 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9362 else 9503 else
9363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9454 case $ac_tag in 9595 case $ac_tag in
9455 :[FHLC]) ac_mode=$ac_tag; continue;; 9596 :[FHLC]) ac_mode=$ac_tag; continue;;
9456 esac 9597 esac
9457 case $ac_mode$ac_tag in 9598 case $ac_mode$ac_tag in
9458 :[FHL]*:*);; 9599 :[FHL]*:*);;
9459 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9600 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9460 :[FH]-) ac_tag=-:-;; 9601 :[FH]-) ac_tag=-:-;;
9461 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9602 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9462 esac 9603 esac
9463 ac_save_IFS=$IFS 9604 ac_save_IFS=$IFS
9464 IFS=: 9605 IFS=:
9473 :[FH]) 9614 :[FH])
9474 ac_file_inputs= 9615 ac_file_inputs=
9475 for ac_f 9616 for ac_f
9476 do 9617 do
9477 case $ac_f in 9618 case $ac_f in
9478 -) ac_f="$tmp/stdin";; 9619 -) ac_f="$ac_tmp/stdin";;
9479 *) # 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
9480 # (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,
9481 # because $ac_f cannot contain `:'. 9622 # because $ac_f cannot contain `:'.
9482 test -f "$ac_f" || 9623 test -f "$ac_f" ||
9483 case $ac_f in 9624 case $ac_f in
9484 [\\/$]*) false;; 9625 [\\/$]*) false;;
9485 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9626 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9486 esac || 9627 esac ||
9487 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;;
9488 esac 9629 esac
9489 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
9490 as_fn_append ac_file_inputs " '$ac_f'" 9631 as_fn_append ac_file_inputs " '$ac_f'"
9491 done 9632 done
9492 9633
9508 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9509 *) ac_sed_conf_input=$configure_input;; 9650 *) ac_sed_conf_input=$configure_input;;
9510 esac 9651 esac
9511 9652
9512 case $ac_tag in 9653 case $ac_tag in
9513 *:-:* | *:-) cat >"$tmp/stdin" \ 9654 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9515 esac 9656 esac
9516 ;; 9657 ;;
9517 esac 9658 esac
9518 9659
9519 ac_dir=`$as_dirname -- "$ac_file" || 9660 ac_dir=`$as_dirname -- "$ac_file" ||
9639s&@abs_builddir@&$ac_abs_builddir&;t t 9780s&@abs_builddir@&$ac_abs_builddir&;t t
9640s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9781s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9641s&@INSTALL@&$ac_INSTALL&;t t 9782s&@INSTALL@&$ac_INSTALL&;t t
9642$ac_datarootdir_hack 9783$ac_datarootdir_hack
9643" 9784"
9644eval 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" \
9645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9786 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9646 9787
9647test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9788test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9648 { 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"; } &&
9649 { 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"; } &&
9650 { $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'
9651which seems to be undefined. Please make sure it is defined" >&5 9793which seems to be undefined. Please make sure it is defined" >&5
9652$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'
9653which seems to be undefined. Please make sure it is defined" >&2;} 9795which seems to be undefined. Please make sure it is defined" >&2;}
9654 9796
9655 rm -f "$tmp/stdin" 9797 rm -f "$ac_tmp/stdin"
9656 case $ac_file in 9798 case $ac_file in
9657 -) cat "$tmp/out" && rm -f "$tmp/out";; 9799 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9658 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9800 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9659 esac \ 9801 esac \
9660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9661 ;; 9803 ;;
9662 :H) 9804 :H)
9663 # 9805 #
9664 # CONFIG_HEADER 9806 # CONFIG_HEADER
9665 # 9807 #
9666 if test x"$ac_file" != x-; then 9808 if test x"$ac_file" != x-; then
9667 { 9809 {
9668 $as_echo "/* $configure_input */" \ 9810 $as_echo "/* $configure_input */" \
9669 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9670 } >"$tmp/config.h" \ 9812 } >"$ac_tmp/config.h" \
9671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9672 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
9673 { $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
9674$as_echo "$as_me: $ac_file is unchanged" >&6;} 9816$as_echo "$as_me: $ac_file is unchanged" >&6;}
9675 else 9817 else
9676 rm -f "$ac_file" 9818 rm -f "$ac_file"
9677 mv "$tmp/config.h" "$ac_file" \ 9819 mv "$ac_tmp/config.h" "$ac_file" \
9678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9679 fi 9821 fi
9680 else 9822 else
9681 $as_echo "/* $configure_input */" \ 9823 $as_echo "/* $configure_input */" \
9682 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9683 || as_fn_error $? "could not create -" "$LINENO" 5 9825 || as_fn_error $? "could not create -" "$LINENO" 5
9684 fi 9826 fi
9685# Compute "$ac_file"'s index in $config_headers. 9827# Compute "$ac_file"'s index in $config_headers.
9686_am_stamp_count=1 9828_am_stamp_count=1
9687for _am_header in $config_headers :; do 9829for _am_header in $config_headers :; do
9951echo 10093echo
9952echo "***" 10094echo "***"
9953echo "*** Configuration Summary" 10095echo "*** Configuration Summary"
9954echo "***" 10096echo "***"
9955echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10097echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10098echo "*** RSA size: $RSA"
9956echo "*** Cipher used: $CIPHER" 10099echo "*** Cipher used: $CIPHER"
9957echo "*** Digest used: $DIGEST" 10100echo "*** Digest used: $DIGEST"
10101echo "*** Authdigest: $AUTH"
9958echo "*** HMAC length: $HMAC" 10102echo "*** HMAC length: $HMAC"
9959echo "*** RAND used: $RAND"
9960echo "*** Max. MTU: $MTU" 10103echo "*** Max. MTU: $MTU"
9961 10104
9962echo "***" 10105echo "***"
9963echo "*** Enable options:" 10106echo "*** Enable options:"
9964grep ENABLE_ config.h | sed -e 's/^/*** /' 10107grep ENABLE_ config.h | sed -e 's/^/*** /'
9965 10108
9966if test "x$DIGEST" = xmd4; then 10109if test "$HMACSIZE" -lt 12; then
9967echo "***" 10110echo "***"
9968echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
9969fi
9970
9971if test "$HMAC" -lt 12; then
9972echo "***"
9973echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10111echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
9974fi
9975
9976if test "$RAND" -lt 8; then
9977echo "***"
9978echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
9979fi 10112fi
9980 10113
9981echo "***" 10114echo "***"
9982echo 10115echo
9983 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
9984 10146
10147EOF
10148fi
10149
10150

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines