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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines