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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines