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

Comparing gvpe/configure (file contents):
Revision 1.49 by root, Tue Oct 18 13:24:01 2011 UTC vs.
Revision 1.59 by root, Thu Oct 25 04:32:26 2018 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67. 3# Generated by GNU Autoconf 2.69.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9# 7#
10# 8#
11# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ## 11## -------------------- ##
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl" 87IFS=" "" $as_nl"
90 88
91# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
92case $0 in #(( 91case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 94for as_dir in $PATH
96do 95do
131export LANGUAGE 130export LANGUAGE
132 131
133# CDPATH. 132# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
136if test "x$CONFIG_SHELL" = x; then 160if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh 162 emulate sh
139 NULLCMD=: 163 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 189
166else 190else
167 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
168fi 192fi
169test x\$exitcode = x0 || exit 1" 193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1" 199test \$(( 1 + 1 )) = 2 || exit 1"
209fi; } 234fi; }
210IFS=$as_save_IFS 235IFS=$as_save_IFS
211 236
212 237
213 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
214 # We cannot yet assume a decent shell, so we have to provide a 240 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 244BASH_ENV=/dev/null
218 ENV=/dev/null 245ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
222fi 258fi
223 259
224 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 262 $as_echo "$0: the shells that I found on your system."
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 356
321 357
322} # as_fn_mkdir_p 358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
323# as_fn_append VAR VALUE 367# as_fn_append VAR VALUE
324# ---------------------- 368# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take 369# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over 370# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive 371# repeated appends, instead of the typical quadratic growth present in naive
439 s/-\n.*// 483 s/-\n.*//
440 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
444 # Don't try to exec as it changes $[0], causing all sort of problems 492 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the 493 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno" 495 . "./$as_me.lineno"
448 # Exit status is that of the last command. 496 # Exit status is that of the last command.
473 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s' 522 as_ln_s='ln -s'
475 # ... but there are two gotchas: 523 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
481 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln 530 as_ln_s=ln
483 else 531 else
484 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
485 fi 533 fi
486else 534else
487 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
488fi 536fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
491 539
492if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
494else 542else
495 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 544 as_mkdir_p=false
497fi 545fi
498 546
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x' 547as_test_x='test -x'
501else 548as_executable_p=as_fn_executable_p
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521 549
522# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 552
525# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
589#endif 617#endif
590#ifdef HAVE_UNISTD_H 618#ifdef HAVE_UNISTD_H
591# include <unistd.h> 619# include <unistd.h>
592#endif" 620#endif"
593 621
594ac_subst_vars='am__EXEEXT_FALSE 622ac_subst_vars='LTLIBOBJS
595am__EXEEXT_TRUE
596LTLIBOBJS
597LIBOBJS 623LIBOBJS
598INCLUDES 624INCLUDES
599ROHC_FALSE 625ROHC_FALSE
600ROHC_TRUE 626ROHC_TRUE
601LDFLAGS_DAEMON 627LDFLAGS_DAEMON
628LIBCRYPTO_LIBS
629LIBCRYPTO_CFLAGS
630PKG_CONFIG_LIBDIR
631PKG_CONFIG_PATH
632PKG_CONFIG
602HAVE_TUNTAP 633HAVE_TUNTAP
603LINUX_IF_TUN_H 634LINUX_IF_TUN_H
604ALLOCA 635ALLOCA
605CXXCPP 636CXXCPP
606IFSUBTYPE 637IFSUBTYPE
645MSGFMT 676MSGFMT
646MKINSTALLDIRS 677MKINSTALLDIRS
647MAINT 678MAINT
648MAINTAINER_MODE_FALSE 679MAINTAINER_MODE_FALSE
649MAINTAINER_MODE_TRUE 680MAINTAINER_MODE_TRUE
650am__untar
651am__tar
652AMTAR
653am__leading_dot 681am__leading_dot
654SET_MAKE 682SET_MAKE
655AWK 683AWK
656mkdir_p
657MKDIR_P
658INSTALL_STRIP_PROGRAM 684INSTALL_STRIP_PROGRAM
659STRIP 685STRIP
660install_sh 686install_sh
687AMTAR
661MAKEINFO 688MAKEINFO
662AUTOHEADER 689AUTOHEADER
663AUTOMAKE 690AUTOMAKE
664AUTOCONF 691AUTOCONF
665ACLOCAL 692ACLOCAL
666VERSION 693VERSION
667PACKAGE 694PACKAGE
668CYGPATH_W 695CYGPATH_W
669am__isrc
670INSTALL_DATA 696INSTALL_DATA
671INSTALL_SCRIPT 697INSTALL_SCRIPT
672INSTALL_PROGRAM 698INSTALL_PROGRAM
673target_os 699target_os
674target_vendor 700target_vendor
699htmldir 725htmldir
700infodir 726infodir
701docdir 727docdir
702oldincludedir 728oldincludedir
703includedir 729includedir
730runstatedir
704localstatedir 731localstatedir
705sharedstatedir 732sharedstatedir
706sysconfdir 733sysconfdir
707datadir 734datadir
708datarootdir 735datarootdir
730with_libiconv_prefix 757with_libiconv_prefix
731enable_nls 758enable_nls
732with_libintl_prefix 759with_libintl_prefix
733enable_iftype 760enable_iftype
734with_kernel 761with_kernel
735with_openssl_include
736with_openssl_lib
737enable_threads 762enable_threads
738enable_static_daemon 763enable_static_daemon
739enable_icmp 764enable_icmp
740enable_tcp 765enable_tcp
741enable_http_proxy 766enable_http_proxy
742enable_dns 767enable_dns
768enable_rsa_length
743enable_hmac_length 769enable_hmac_length
744enable_rand_length
745enable_max_mtu 770enable_max_mtu
746enable_compression 771enable_compression
747enable_cipher 772enable_cipher
748enable_digest 773enable_hmac_digest
774enable_auth_digest
749' 775'
750 ac_precious_vars='build_alias 776 ac_precious_vars='build_alias
751host_alias 777host_alias
752target_alias 778target_alias
753CC 779CC
757CPPFLAGS 783CPPFLAGS
758CPP 784CPP
759CXX 785CXX
760CXXFLAGS 786CXXFLAGS
761CCC 787CCC
762CXXCPP' 788CXXCPP
789PKG_CONFIG
790PKG_CONFIG_PATH
791PKG_CONFIG_LIBDIR
792LIBCRYPTO_CFLAGS
793LIBCRYPTO_LIBS'
763 794
764 795
765# Initialize some variables set by options. 796# Initialize some variables set by options.
766ac_init_help= 797ac_init_help=
767ac_init_version=false 798ac_init_version=false
796datarootdir='${prefix}/share' 827datarootdir='${prefix}/share'
797datadir='${datarootdir}' 828datadir='${datarootdir}'
798sysconfdir='${prefix}/etc' 829sysconfdir='${prefix}/etc'
799sharedstatedir='${prefix}/com' 830sharedstatedir='${prefix}/com'
800localstatedir='${prefix}/var' 831localstatedir='${prefix}/var'
832runstatedir='${localstatedir}/run'
801includedir='${prefix}/include' 833includedir='${prefix}/include'
802oldincludedir='/usr/include' 834oldincludedir='/usr/include'
803docdir='${datarootdir}/doc/${PACKAGE}' 835docdir='${datarootdir}/doc/${PACKAGE}'
804infodir='${datarootdir}/info' 836infodir='${datarootdir}/info'
805htmldir='${docdir}' 837htmldir='${docdir}'
1048 1080
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil) 1082 | -silent | --silent | --silen | --sile | --sil)
1051 silent=yes ;; 1083 silent=yes ;;
1052 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
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 ac_prev=sbindir ;; 1095 ac_prev=sbindir ;;
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 | --sbi=* | --sb=*) 1097 | --sbi=* | --sb=*)
1057 sbindir=$ac_optarg ;; 1098 sbindir=$ac_optarg ;;
1162 *) 1203 *)
1163 # FIXME: should be removed in autoconf 3.0. 1204 # FIXME: should be removed in autoconf 3.0.
1164 $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
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${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}"
1168 ;; 1209 ;;
1169 1210
1170 esac 1211 esac
1171done 1212done
1172 1213
1185 1226
1186# Check all directory arguments for consistency. 1227# Check all directory arguments for consistency.
1187for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1228for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \ 1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir 1231 libdir localedir mandir runstatedir
1191do 1232do
1192 eval ac_val=\$$ac_var 1233 eval ac_val=\$$ac_var
1193 # Remove trailing slashes. 1234 # Remove trailing slashes.
1194 case $ac_val in 1235 case $ac_val in
1195 */ ) 1236 */ )
1213 1254
1214# FIXME: To remove some day. 1255# FIXME: To remove some day.
1215if test "x$host_alias" != x; then 1256if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then 1257 if test "x$build_alias" = x; then
1217 cross_compiling=maybe 1258 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then 1259 elif test "x$build_alias" != "x$host_alias"; then
1221 cross_compiling=yes 1260 cross_compiling=yes
1222 fi 1261 fi
1223fi 1262fi
1224 1263
1340 --sbindir=DIR system admin executables [EPREFIX/sbin] 1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec] 1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --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]
1345 --libdir=DIR object code libraries [EPREFIX/lib] 1385 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include] 1386 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 1417
1378Optional Features: 1418Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options 1419 --disable-option-checking ignore unrecognized --enable/--with options
1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382 --enable-maintainer-mode enable make rules and dependencies not useful 1422 --enable-maintainer-mode enable make rules and dependencies not useful
1383 (and sometimes confusing) to the casual installer 1423 (and sometimes confusing) to the casual installer
1384 --disable-dependency-tracking speeds up one-time build 1424 --disable-dependency-tracking Speeds up one-time builds
1385 --enable-dependency-tracking do not reject slow dependency extractors 1425 --enable-dependency-tracking Do not reject slow dependency extractors
1386 --disable-rpath do not hardcode runtime library paths 1426 --disable-rpath do not hardcode runtime library paths
1387 --disable-nls do not use Native Language Support 1427 --disable-nls do not use Native Language Support
1388 --enable-iftype=TYPE/SUBTYPE 1428 --enable-iftype=TYPE/SUBTYPE
1389 Use kernel/net device interface TYPE/SUBTYPE. 1429 Use kernel/net device interface TYPE/SUBTYPE.
1390 Working combinations are (see doc/gvpe.osdep.5.pod): 1430 Working combinations are (see doc/gvpe.osdep.5.pod):
1401 --disable-icmp enable icmp protocol support (default enabled). 1441 --disable-icmp enable icmp protocol support (default enabled).
1402 --disable-tcp enable tcp protocol support (default enabled). 1442 --disable-tcp enable tcp protocol support (default enabled).
1403 --disable-http-proxy enable http proxy connect support (default enabled). 1443 --disable-http-proxy enable http proxy connect support (default enabled).
1404 --enable-dns enable dns tunnel protocol support (default 1444 --enable-dns enable dns tunnel protocol support (default
1405 disabled). 1445 disabled).
1446 --enable-rsa-length=BITS
1447 use BITS rsa keys (default 3072). Allowed values are
1448 2048-10240.
1406 --enable-hmac-length=BYTES 1449 --enable-hmac-length=BYTES
1407 use a hmac of length BYTES bytes (default 12). 1450 use a hmac of length BYTES bytes (default 12).
1408 Allowed values are 4, 8, 12, 16. 1451 Allowed values are 4, 8, 12, 16.
1409 --enable-rand-length=BYTES
1410 use BYTES bytes of extra randomness (default 8).
1411 Allowed values are 0, 4, 8.
1412 --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).
1413 Use 9100 for jumbogram support. 1453 Use 9100 for jumbogram support.
1414 --disable-compression Disable compression support. 1454 --disable-compression Disable compression support.
1415 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1455 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1416 Must be one of "bf" (blowfish), "aes-128" 1456 Must be one of "aes-128" (rijndael), "aes-192", or
1417 (rijndael), "aes-192" or "aes-256". 1457 "aes-256".
1418 --enable-digest=CIPHER Select the digest algorithm to use (default 1458 --enable-hmac-digest=HMAC
1459 Select the HMAC digest algorithm to use (default
1419 "ripemd160"). Must be one of "sha512", "sha256", 1460 "sha1"). Must be one of "sha512", "sha256", "sha1",
1420 "sha1" (somewhat insecure), "ripemd160", "md5" 1461 "ripemd160", "whirlpool".
1421 (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".
1422 1465
1423Optional Packages: 1466Optional Packages:
1424 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1425 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1426 --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
1428 --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
1429 --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
1430 --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
1431 --with-kernel=dir give the directory with kernel sources 1474 --with-kernel=dir give the directory with kernel sources
1432 (default: /usr/src/linux) 1475 (default: /usr/src/linux)
1433 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
1434 --with-openssl-lib=DIR OpenSSL library directory
1435 1476
1436Some influential environment variables: 1477Some influential environment variables:
1437 CC C compiler command 1478 CC C compiler command
1438 CFLAGS C compiler flags 1479 CFLAGS C compiler flags
1439 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
1443 you have headers in a nonstandard directory <include dir> 1484 you have headers in a nonstandard directory <include dir>
1444 CPP C preprocessor 1485 CPP C preprocessor
1445 CXX C++ compiler command 1486 CXX C++ compiler command
1446 CXXFLAGS C++ compiler flags 1487 CXXFLAGS C++ compiler flags
1447 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
1448 1498
1449Use 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
1450it to find libraries and programs with nonstandard names/locations. 1500it to find libraries and programs with nonstandard names/locations.
1451 1501
1452Report bugs to the package provider. 1502Report bugs to the package provider.
1511 1561
1512test -n "$ac_init_help" && exit $ac_status 1562test -n "$ac_init_help" && exit $ac_status
1513if $ac_init_version; then 1563if $ac_init_version; then
1514 cat <<\_ACEOF 1564 cat <<\_ACEOF
1515configure 1565configure
1516generated by GNU Autoconf 2.67 1566generated by GNU Autoconf 2.69
1517 1567
1518Copyright (C) 2010 Free Software Foundation, Inc. 1568Copyright (C) 2012 Free Software Foundation, Inc.
1519This configure script is free software; the Free Software Foundation 1569This configure script is free software; the Free Software Foundation
1520gives unlimited permission to copy, distribute and modify it. 1570gives unlimited permission to copy, distribute and modify it.
1521_ACEOF 1571_ACEOF
1522 exit 1572 exit
1523fi 1573fi
1557 $as_echo "$as_me: failed program was:" >&5 1607 $as_echo "$as_me: failed program was:" >&5
1558sed 's/^/| /' conftest.$ac_ext >&5 1608sed 's/^/| /' conftest.$ac_ext >&5
1559 1609
1560 ac_retval=1 1610 ac_retval=1
1561fi 1611fi
1562 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
1563 as_fn_set_status $ac_retval 1613 as_fn_set_status $ac_retval
1564 1614
1565} # ac_fn_c_try_compile 1615} # ac_fn_c_try_compile
1566 1616
1567# ac_fn_c_try_link LINENO 1617# ac_fn_c_try_link LINENO
1589 test $ac_status = 0; } && { 1639 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" || 1640 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err 1641 test ! -s conftest.err
1592 } && test -s conftest$ac_exeext && { 1642 } && test -s conftest$ac_exeext && {
1593 test "$cross_compiling" = yes || 1643 test "$cross_compiling" = yes ||
1594 $as_test_x conftest$ac_exeext 1644 test -x conftest$ac_exeext
1595 }; then : 1645 }; then :
1596 ac_retval=0 1646 ac_retval=0
1597else 1647else
1598 $as_echo "$as_me: failed program was:" >&5 1648 $as_echo "$as_me: failed program was:" >&5
1599sed 's/^/| /' conftest.$ac_ext >&5 1649sed 's/^/| /' conftest.$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1653 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # 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
1605 # 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
1606 # 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.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1657 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 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
1609 as_fn_set_status $ac_retval 1659 as_fn_set_status $ac_retval
1610 1660
1611} # ac_fn_c_try_link 1661} # ac_fn_c_try_link
1612 1662
1613# ac_fn_c_try_cpp LINENO 1663# ac_fn_c_try_cpp LINENO
1640 $as_echo "$as_me: failed program was:" >&5 1690 $as_echo "$as_me: failed program was:" >&5
1641sed 's/^/| /' conftest.$ac_ext >&5 1691sed 's/^/| /' conftest.$ac_ext >&5
1642 1692
1643 ac_retval=1 1693 ac_retval=1
1644fi 1694fi
1645 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
1646 as_fn_set_status $ac_retval 1696 as_fn_set_status $ac_retval
1647 1697
1648} # ac_fn_c_try_cpp 1698} # ac_fn_c_try_cpp
1649 1699
1650# ac_fn_cxx_try_compile LINENO 1700# ac_fn_cxx_try_compile LINENO
1678 $as_echo "$as_me: failed program was:" >&5 1728 $as_echo "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5 1729sed 's/^/| /' conftest.$ac_ext >&5
1680 1730
1681 ac_retval=1 1731 ac_retval=1
1682fi 1732fi
1683 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
1684 as_fn_set_status $ac_retval 1734 as_fn_set_status $ac_retval
1685 1735
1686} # ac_fn_cxx_try_compile 1736} # ac_fn_cxx_try_compile
1687 1737
1688# ac_fn_cxx_try_cpp LINENO 1738# ac_fn_cxx_try_cpp LINENO
1715 $as_echo "$as_me: failed program was:" >&5 1765 $as_echo "$as_me: failed program was:" >&5
1716sed 's/^/| /' conftest.$ac_ext >&5 1766sed 's/^/| /' conftest.$ac_ext >&5
1717 1767
1718 ac_retval=1 1768 ac_retval=1
1719fi 1769fi
1720 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
1721 as_fn_set_status $ac_retval 1771 as_fn_set_status $ac_retval
1722 1772
1723} # ac_fn_cxx_try_cpp 1773} # ac_fn_cxx_try_cpp
1724 1774
1725# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1775# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1728# the include files in INCLUDES and setting the cache variable VAR 1778# the include files in INCLUDES and setting the cache variable VAR
1729# accordingly. 1779# accordingly.
1730ac_fn_cxx_check_header_mongrel () 1780ac_fn_cxx_check_header_mongrel ()
1731{ 1781{
1732 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
1733 if eval "test \"\${$3+set}\"" = set; then : 1783 if eval \${$3+:} false; then :
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; } 1785$as_echo_n "checking for $2... " >&6; }
1736if eval "test \"\${$3+set}\"" = set; then : 1786if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6 1787 $as_echo_n "(cached) " >&6
1738fi 1788fi
1739eval ac_res=\$$3 1789eval ac_res=\$$3
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741$as_echo "$ac_res" >&6; } 1791$as_echo "$ac_res" >&6; }
1794$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;}
1795 ;; 1845 ;;
1796esac 1846esac
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798$as_echo_n "checking for $2... " >&6; } 1848$as_echo_n "checking for $2... " >&6; }
1799if eval "test \"\${$3+set}\"" = set; then : 1849if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6 1850 $as_echo_n "(cached) " >&6
1801else 1851else
1802 eval "$3=\$ac_header_compiler" 1852 eval "$3=\$ac_header_compiler"
1803fi 1853fi
1804eval ac_res=\$$3 1854eval ac_res=\$$3
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806$as_echo "$ac_res" >&6; } 1856$as_echo "$ac_res" >&6; }
1807fi 1857fi
1808 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
1809 1859
1810} # ac_fn_cxx_check_header_mongrel 1860} # ac_fn_cxx_check_header_mongrel
1811 1861
1812# ac_fn_cxx_try_run LINENO 1862# ac_fn_cxx_try_run LINENO
1813# ------------------------ 1863# ------------------------
1844sed 's/^/| /' conftest.$ac_ext >&5 1894sed 's/^/| /' conftest.$ac_ext >&5
1845 1895
1846 ac_retval=$ac_status 1896 ac_retval=$ac_status
1847fi 1897fi
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 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
1850 as_fn_set_status $ac_retval 1900 as_fn_set_status $ac_retval
1851 1901
1852} # ac_fn_cxx_try_run 1902} # ac_fn_cxx_try_run
1853 1903
1854# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1904# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1858ac_fn_cxx_check_header_compile () 1908ac_fn_cxx_check_header_compile ()
1859{ 1909{
1860 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
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862$as_echo_n "checking for $2... " >&6; } 1912$as_echo_n "checking for $2... " >&6; }
1863if eval "test \"\${$3+set}\"" = set; then : 1913if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6 1914 $as_echo_n "(cached) " >&6
1865else 1915else
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867/* end confdefs.h. */ 1917/* end confdefs.h. */
1868$4 1918$4
1876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877fi 1927fi
1878eval ac_res=\$$3 1928eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; } 1930$as_echo "$ac_res" >&6; }
1881 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
1882 1932
1883} # ac_fn_cxx_check_header_compile 1933} # ac_fn_cxx_check_header_compile
1884 1934
1885# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1935# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1886# --------------------------------------------- 1936# ---------------------------------------------
1889ac_fn_cxx_check_type () 1939ac_fn_cxx_check_type ()
1890{ 1940{
1891 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
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893$as_echo_n "checking for $2... " >&6; } 1943$as_echo_n "checking for $2... " >&6; }
1894if eval "test \"\${$3+set}\"" = set; then : 1944if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6 1945 $as_echo_n "(cached) " >&6
1896else 1946else
1897 eval "$3=no" 1947 eval "$3=no"
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h. */ 1949/* end confdefs.h. */
1930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931fi 1981fi
1932eval ac_res=\$$3 1982eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934$as_echo "$ac_res" >&6; } 1984$as_echo "$ac_res" >&6; }
1935 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
1936 1986
1937} # ac_fn_cxx_check_type 1987} # ac_fn_cxx_check_type
1938 1988
1939# ac_fn_c_try_run LINENO 1989# ac_fn_c_try_run LINENO
1940# ---------------------- 1990# ----------------------
1971sed 's/^/| /' conftest.$ac_ext >&5 2021sed 's/^/| /' conftest.$ac_ext >&5
1972 2022
1973 ac_retval=$ac_status 2023 ac_retval=$ac_status
1974fi 2024fi
1975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2025 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1976 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
1977 as_fn_set_status $ac_retval 2027 as_fn_set_status $ac_retval
1978 2028
1979} # ac_fn_c_try_run 2029} # ac_fn_c_try_run
1980 2030
1981# ac_fn_c_check_func LINENO FUNC VAR 2031# ac_fn_c_check_func LINENO FUNC VAR
1984ac_fn_c_check_func () 2034ac_fn_c_check_func ()
1985{ 2035{
1986 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
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988$as_echo_n "checking for $2... " >&6; } 2038$as_echo_n "checking for $2... " >&6; }
1989if eval "test \"\${$3+set}\"" = set; then : 2039if eval \${$3+:} false; then :
1990 $as_echo_n "(cached) " >&6 2040 $as_echo_n "(cached) " >&6
1991else 2041else
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993/* end confdefs.h. */ 2043/* end confdefs.h. */
1994/* 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.
2039 conftest$ac_exeext conftest.$ac_ext 2089 conftest$ac_exeext conftest.$ac_ext
2040fi 2090fi
2041eval ac_res=\$$3 2091eval ac_res=\$$3
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043$as_echo "$ac_res" >&6; } 2093$as_echo "$ac_res" >&6; }
2044 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
2045 2095
2046} # ac_fn_c_check_func 2096} # ac_fn_c_check_func
2047 2097
2048# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2098# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2049# ------------------------------------------------------- 2099# -------------------------------------------------------
2051# the include files in INCLUDES and setting the cache variable VAR 2101# the include files in INCLUDES and setting the cache variable VAR
2052# accordingly. 2102# accordingly.
2053ac_fn_c_check_header_mongrel () 2103ac_fn_c_check_header_mongrel ()
2054{ 2104{
2055 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
2056 if eval "test \"\${$3+set}\"" = set; then : 2106 if eval \${$3+:} false; then :
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058$as_echo_n "checking for $2... " >&6; } 2108$as_echo_n "checking for $2... " >&6; }
2059if eval "test \"\${$3+set}\"" = set; then : 2109if eval \${$3+:} false; then :
2060 $as_echo_n "(cached) " >&6 2110 $as_echo_n "(cached) " >&6
2061fi 2111fi
2062eval ac_res=\$$3 2112eval ac_res=\$$3
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064$as_echo "$ac_res" >&6; } 2114$as_echo "$ac_res" >&6; }
2117$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;}
2118 ;; 2168 ;;
2119esac 2169esac
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; } 2171$as_echo_n "checking for $2... " >&6; }
2122if eval "test \"\${$3+set}\"" = set; then : 2172if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6 2173 $as_echo_n "(cached) " >&6
2124else 2174else
2125 eval "$3=\$ac_header_compiler" 2175 eval "$3=\$ac_header_compiler"
2126fi 2176fi
2127eval ac_res=\$$3 2177eval ac_res=\$$3
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129$as_echo "$ac_res" >&6; } 2179$as_echo "$ac_res" >&6; }
2130fi 2180fi
2131 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
2132 2182
2133} # ac_fn_c_check_header_mongrel 2183} # ac_fn_c_check_header_mongrel
2134 2184
2135# ac_fn_cxx_try_link LINENO 2185# ac_fn_cxx_try_link LINENO
2136# ------------------------- 2186# -------------------------
2157 test $ac_status = 0; } && { 2207 test $ac_status = 0; } && {
2158 test -z "$ac_cxx_werror_flag" || 2208 test -z "$ac_cxx_werror_flag" ||
2159 test ! -s conftest.err 2209 test ! -s conftest.err
2160 } && test -s conftest$ac_exeext && { 2210 } && test -s conftest$ac_exeext && {
2161 test "$cross_compiling" = yes || 2211 test "$cross_compiling" = yes ||
2162 $as_test_x conftest$ac_exeext 2212 test -x conftest$ac_exeext
2163 }; then : 2213 }; then :
2164 ac_retval=0 2214 ac_retval=0
2165else 2215else
2166 $as_echo "$as_me: failed program was:" >&5 2216 $as_echo "$as_me: failed program was:" >&5
2167sed 's/^/| /' conftest.$ac_ext >&5 2217sed 's/^/| /' conftest.$ac_ext >&5
2171 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2221 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2172 # 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
2173 # 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
2174 # 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.
2175 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2225 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2176 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
2177 as_fn_set_status $ac_retval 2227 as_fn_set_status $ac_retval
2178 2228
2179} # ac_fn_cxx_try_link 2229} # ac_fn_cxx_try_link
2180
2181# ac_fn_cxx_check_func LINENO FUNC VAR
2182# ------------------------------------
2183# Tests whether FUNC exists, setting the cache variable VAR accordingly
2184ac_fn_cxx_check_func ()
2185{
2186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188$as_echo_n "checking for $2... " >&6; }
2189if eval "test \"\${$3+set}\"" = set; then :
2190 $as_echo_n "(cached) " >&6
2191else
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193/* end confdefs.h. */
2194/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2196#define $2 innocuous_$2
2197
2198/* System header to define __stub macros and hopefully few prototypes,
2199 which can conflict with char $2 (); below.
2200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2201 <limits.h> exists even on freestanding compilers. */
2202
2203#ifdef __STDC__
2204# include <limits.h>
2205#else
2206# include <assert.h>
2207#endif
2208
2209#undef $2
2210
2211/* Override any GCC internal prototype to avoid an error.
2212 Use char because int might match the return type of a GCC
2213 builtin and then its argument prototype would still apply. */
2214#ifdef __cplusplus
2215extern "C"
2216#endif
2217char $2 ();
2218/* The GNU C library defines this for functions which it implements
2219 to always fail with ENOSYS. Some functions are actually named
2220 something starting with __ and the normal name is an alias. */
2221#if defined __stub_$2 || defined __stub___$2
2222choke me
2223#endif
2224
2225int
2226main ()
2227{
2228return $2 ();
2229 ;
2230 return 0;
2231}
2232_ACEOF
2233if ac_fn_cxx_try_link "$LINENO"; then :
2234 eval "$3=yes"
2235else
2236 eval "$3=no"
2237fi
2238rm -f core conftest.err conftest.$ac_objext \
2239 conftest$ac_exeext conftest.$ac_ext
2240fi
2241eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243$as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2245
2246} # ac_fn_cxx_check_func
2247cat >config.log <<_ACEOF 2230cat >config.log <<_ACEOF
2248This file contains any messages produced by compilers while 2231This file contains any messages produced by compilers while
2249running configure, to aid debugging if configure makes a mistake. 2232running configure, to aid debugging if configure makes a mistake.
2250 2233
2251It was created by $as_me, which was 2234It was created by $as_me, which was
2252generated by GNU Autoconf 2.67. Invocation command line was 2235generated by GNU Autoconf 2.69. Invocation command line was
2253 2236
2254 $ $0 $@ 2237 $ $0 $@
2255 2238
2256_ACEOF 2239_ACEOF
2257exec 5>>config.log 2240exec 5>>config.log
2505 sed 's/^/| /' "$ac_site_file" >&5 2488 sed 's/^/| /' "$ac_site_file" >&5
2506 . "$ac_site_file" \ 2489 . "$ac_site_file" \
2507 || { { $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
2508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509as_fn_error $? "failed to load site script $ac_site_file 2492as_fn_error $? "failed to load site script $ac_site_file
2510See \`config.log' for more details" "$LINENO" 5 ; } 2493See \`config.log' for more details" "$LINENO" 5; }
2511 fi 2494 fi
2512done 2495done
2513 2496
2514if test -r "$cache_file"; then 2497if test -r "$cache_file"; then
2515 # 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
2630$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2613$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2631 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
2632 2615
2633{ $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
2634$as_echo_n "checking build system type... " >&6; } 2617$as_echo_n "checking build system type... " >&6; }
2635if test "${ac_cv_build+set}" = set; then : 2618if ${ac_cv_build+:} false; then :
2636 $as_echo_n "(cached) " >&6 2619 $as_echo_n "(cached) " >&6
2637else 2620else
2638 ac_build_alias=$build_alias 2621 ac_build_alias=$build_alias
2639test "x$ac_build_alias" = x && 2622test "x$ac_build_alias" = x &&
2640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2623 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2646fi 2629fi
2647{ $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
2648$as_echo "$ac_cv_build" >&6; } 2631$as_echo "$ac_cv_build" >&6; }
2649case $ac_cv_build in 2632case $ac_cv_build in
2650*-*-*) ;; 2633*-*-*) ;;
2651*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2634*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2652esac 2635esac
2653build=$ac_cv_build 2636build=$ac_cv_build
2654ac_save_IFS=$IFS; IFS='-' 2637ac_save_IFS=$IFS; IFS='-'
2655set x $ac_cv_build 2638set x $ac_cv_build
2656shift 2639shift
2664case $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
2665 2648
2666 2649
2667{ $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
2668$as_echo_n "checking host system type... " >&6; } 2651$as_echo_n "checking host system type... " >&6; }
2669if test "${ac_cv_host+set}" = set; then : 2652if ${ac_cv_host+:} false; then :
2670 $as_echo_n "(cached) " >&6 2653 $as_echo_n "(cached) " >&6
2671else 2654else
2672 if test "x$host_alias" = x; then 2655 if test "x$host_alias" = x; then
2673 ac_cv_host=$ac_cv_build 2656 ac_cv_host=$ac_cv_build
2674else 2657else
2679fi 2662fi
2680{ $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
2681$as_echo "$ac_cv_host" >&6; } 2664$as_echo "$ac_cv_host" >&6; }
2682case $ac_cv_host in 2665case $ac_cv_host in
2683*-*-*) ;; 2666*-*-*) ;;
2684*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2667*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2685esac 2668esac
2686host=$ac_cv_host 2669host=$ac_cv_host
2687ac_save_IFS=$IFS; IFS='-' 2670ac_save_IFS=$IFS; IFS='-'
2688set x $ac_cv_host 2671set x $ac_cv_host
2689shift 2672shift
2697case $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
2698 2681
2699 2682
2700{ $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
2701$as_echo_n "checking target system type... " >&6; } 2684$as_echo_n "checking target system type... " >&6; }
2702if test "${ac_cv_target+set}" = set; then : 2685if ${ac_cv_target+:} false; then :
2703 $as_echo_n "(cached) " >&6 2686 $as_echo_n "(cached) " >&6
2704else 2687else
2705 if test "x$target_alias" = x; then 2688 if test "x$target_alias" = x; then
2706 ac_cv_target=$ac_cv_host 2689 ac_cv_target=$ac_cv_host
2707else 2690else
2712fi 2695fi
2713{ $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
2714$as_echo "$ac_cv_target" >&6; } 2697$as_echo "$ac_cv_target" >&6; }
2715case $ac_cv_target in 2698case $ac_cv_target in
2716*-*-*) ;; 2699*-*-*) ;;
2717*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2700*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2718esac 2701esac
2719target=$ac_cv_target 2702target=$ac_cv_target
2720ac_save_IFS=$IFS; IFS='-' 2703ac_save_IFS=$IFS; IFS='-'
2721set x $ac_cv_target 2704set x $ac_cv_target
2722shift 2705shift
2734# will get canonicalized. 2717# will get canonicalized.
2735test -n "$target_alias" && 2718test -n "$target_alias" &&
2736 test "$program_prefix$program_suffix$program_transform_name" = \ 2719 test "$program_prefix$program_suffix$program_transform_name" = \
2737 NONENONEs,x,x, && 2720 NONENONEs,x,x, &&
2738 program_prefix=${target_alias}- 2721 program_prefix=${target_alias}-
2739am__api_version='1.11' 2722am__api_version="1.7"
2740
2741# Find a good install program. We prefer a C program (faster), 2723# Find a good install program. We prefer a C program (faster),
2742# so one script is as good as another. But avoid the broken or 2724# so one script is as good as another. But avoid the broken or
2743# incompatible versions: 2725# incompatible versions:
2744# SysV /etc/install, /usr/sbin/install 2726# SysV /etc/install, /usr/sbin/install
2745# SunOS /usr/etc/install 2727# SunOS /usr/etc/install
2753# ./install, which can be erroneously created by make from ./install.sh. 2735# ./install, which can be erroneously created by make from ./install.sh.
2754# Reject install programs that cannot install multiple files. 2736# Reject install programs that cannot install multiple files.
2755{ $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
2756$as_echo_n "checking for a BSD-compatible install... " >&6; } 2738$as_echo_n "checking for a BSD-compatible install... " >&6; }
2757if test -z "$INSTALL"; then 2739if test -z "$INSTALL"; then
2758if test "${ac_cv_path_install+set}" = set; then : 2740if ${ac_cv_path_install+:} false; then :
2759 $as_echo_n "(cached) " >&6 2741 $as_echo_n "(cached) " >&6
2760else 2742else
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762for as_dir in $PATH 2744for as_dir in $PATH
2763do 2745do
2773 # 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.
2774 # 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
2775 # by default. 2757 # by default.
2776 for ac_prog in ginstall scoinst install; do 2758 for ac_prog in ginstall scoinst install; do
2777 for ac_exec_ext in '' $ac_executable_extensions; do 2759 for ac_exec_ext in '' $ac_executable_extensions; do
2778 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
2779 if test $ac_prog = install && 2761 if test $ac_prog = install &&
2780 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
2781 # AIX install. It has an incompatible calling convention. 2763 # AIX install. It has an incompatible calling convention.
2782 : 2764 :
2783 elif test $ac_prog = install && 2765 elif test $ac_prog = install &&
2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2835$as_echo_n "checking whether build environment is sane... " >&6; } 2817$as_echo_n "checking whether build environment is sane... " >&6; }
2836# Just in case 2818# Just in case
2837sleep 1 2819sleep 1
2838echo timestamp > conftest.file 2820echo timestamp > conftest.file
2839# Reject unsafe characters in $srcdir or the absolute working directory
2840# name. Accept space and tab only in the latter.
2841am_lf='
2842'
2843case `pwd` in
2844 *[\\\"\#\$\&\'\`$am_lf]*)
2845 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2846esac
2847case $srcdir in
2848 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2849 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2850esac
2851
2852# Do `set' in a subshell so we don't clobber the current shell's 2821# Do `set' in a subshell so we don't clobber the current shell's
2853# arguments. Must try -L first in case configure is actually a 2822# arguments. Must try -L first in case configure is actually a
2854# symlink; some systems play weird games with the mod time of symlinks 2823# symlink; some systems play weird games with the mod time of symlinks
2855# (eg FreeBSD returns the mod time of the symlink's containing 2824# (eg FreeBSD returns the mod time of the symlink's containing
2856# directory). 2825# directory).
2857if ( 2826if (
2858 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2827 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2859 if test "$*" = "X"; then 2828 if test "$*" = "X"; then
2860 # -L didn't work. 2829 # -L didn't work.
2861 set X `ls -t "$srcdir/configure" conftest.file` 2830 set X `ls -t $srcdir/configure conftest.file`
2862 fi 2831 fi
2863 rm -f conftest.file 2832 rm -f conftest.file
2864 if test "$*" != "X $srcdir/configure conftest.file" \ 2833 if test "$*" != "X $srcdir/configure conftest.file" \
2865 && test "$*" != "X conftest.file $srcdir/configure"; then 2834 && test "$*" != "X conftest.file $srcdir/configure"; then
2866 2835
2891# Double any \ or $. 2860# Double any \ or $.
2892# By default was `s,x,x', remove it if useless. 2861# By default was `s,x,x', remove it if useless.
2893ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2862ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2894program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2863program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2895 2864
2865
2896# expand $ac_aux_dir to an absolute path 2866# expand $ac_aux_dir to an absolute path
2897am_aux_dir=`cd $ac_aux_dir && pwd` 2867am_aux_dir=`cd $ac_aux_dir && pwd`
2898 2868
2899if test x"${MISSING+set}" != xset; then 2869test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2900 case $am_aux_dir in
2901 *\ * | *\ *)
2902 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2903 *)
2904 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2905 esac
2906fi
2907# Use eval to expand $SHELL 2870# Use eval to expand $SHELL
2908if eval "$MISSING --run true"; then 2871if eval "$MISSING --run true"; then
2909 am_missing_run="$MISSING --run " 2872 am_missing_run="$MISSING --run "
2910else 2873else
2911 am_missing_run= 2874 am_missing_run=
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2913$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2876$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2914fi 2877fi
2915 2878
2916if test x"${install_sh}" != xset; then 2879for ac_prog in gawk mawk nawk awk
2917 case $am_aux_dir in 2880do
2918 *\ * | *\ *) 2881 # Extract the first word of "$ac_prog", so it can be a program name with args.
2919 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2882set dummy $ac_prog; ac_word=$2
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884$as_echo_n "checking for $ac_word... " >&6; }
2885if ${ac_cv_prog_AWK+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887else
2888 if test -n "$AWK"; then
2889 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2890else
2891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892for as_dir in $PATH
2893do
2894 IFS=$as_save_IFS
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_AWK="$ac_prog"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 break 2
2901 fi
2902done
2903 done
2904IFS=$as_save_IFS
2905
2906fi
2907fi
2908AWK=$ac_cv_prog_AWK
2909if test -n "$AWK"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2911$as_echo "$AWK" >&6; }
2912else
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914$as_echo "no" >&6; }
2915fi
2916
2917
2918 test -n "$AWK" && break
2919done
2920
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2922$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2923set x ${MAKE-make}
2924ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2925if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927else
2928 cat >conftest.make <<\_ACEOF
2929SHELL = /bin/sh
2930all:
2931 @echo '@@@%%%=$(MAKE)=@@@%%%'
2932_ACEOF
2933# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2934case `${MAKE-make} -f conftest.make 2>/dev/null` in
2935 *@@@%%%=?*=@@@%%%*)
2936 eval ac_cv_prog_make_${ac_make}_set=yes;;
2920 *) 2937 *)
2921 install_sh="\${SHELL} $am_aux_dir/install-sh" 2938 eval ac_cv_prog_make_${ac_make}_set=no;;
2922 esac 2939esac
2940rm -f conftest.make
2923fi 2941fi
2942if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2944$as_echo "yes" >&6; }
2945 SET_MAKE=
2946else
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948$as_echo "no" >&6; }
2949 SET_MAKE="MAKE=${MAKE-make}"
2950fi
2951
2952rm -rf .tst 2>/dev/null
2953mkdir .tst 2>/dev/null
2954if test -d .tst; then
2955 am__leading_dot=.
2956else
2957 am__leading_dot=_
2958fi
2959rmdir .tst 2>/dev/null
2960
2961 # test to see if srcdir already configured
2962if test "`cd $srcdir && pwd`" != "`pwd`" &&
2963 test -f $srcdir/config.status; then
2964 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2965fi
2966
2967# test whether we have cygpath
2968if test -z "$CYGPATH_W"; then
2969 if (cygpath --version) >/dev/null 2>/dev/null; then
2970 CYGPATH_W='cygpath -w'
2971 else
2972 CYGPATH_W=echo
2973 fi
2974fi
2975
2976
2977# Define the identity of the package.
2978 PACKAGE=gvpe
2979 VERSION=3.1
2980
2981
2982cat >>confdefs.h <<_ACEOF
2983#define PACKAGE "$PACKAGE"
2984_ACEOF
2985
2986
2987cat >>confdefs.h <<_ACEOF
2988#define VERSION "$VERSION"
2989_ACEOF
2990
2991# Some tools Automake needs.
2992
2993ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2994
2995
2996AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2997
2998
2999AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3000
3001
3002AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3003
3004
3005MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3006
3007
3008AMTAR=${AMTAR-"${am_missing_run}tar"}
3009
3010install_sh=${install_sh-"$am_aux_dir/install-sh"}
2924 3011
2925# Installed binaries are usually stripped using `strip' when the user 3012# Installed binaries are usually stripped using `strip' when the user
2926# run `make install-strip'. However `strip' might not be the right 3013# run `make install-strip'. However `strip' might not be the right
2927# tool to use in cross-compilation environments, therefore Automake 3014# tool to use in cross-compilation environments, therefore Automake
2928# will honor the `STRIP' environment variable to overrule this program. 3015# will honor the `STRIP' environment variable to overrule this program.
2930 if test -n "$ac_tool_prefix"; then 3017 if test -n "$ac_tool_prefix"; then
2931 # 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.
2932set dummy ${ac_tool_prefix}strip; ac_word=$2 3019set dummy ${ac_tool_prefix}strip; ac_word=$2
2933{ $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
2934$as_echo_n "checking for $ac_word... " >&6; } 3021$as_echo_n "checking for $ac_word... " >&6; }
2935if test "${ac_cv_prog_STRIP+set}" = set; then : 3022if ${ac_cv_prog_STRIP+:} false; then :
2936 $as_echo_n "(cached) " >&6 3023 $as_echo_n "(cached) " >&6
2937else 3024else
2938 if test -n "$STRIP"; then 3025 if test -n "$STRIP"; then
2939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3026 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2940else 3027else
2942for as_dir in $PATH 3029for as_dir in $PATH
2943do 3030do
2944 IFS=$as_save_IFS 3031 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=. 3032 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do 3033 for ac_exec_ext in '' $ac_executable_extensions; do
2947 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
2948 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3035 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2949 $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
2950 break 2 3037 break 2
2951 fi 3038 fi
2952done 3039done
2970 ac_ct_STRIP=$STRIP 3057 ac_ct_STRIP=$STRIP
2971 # 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.
2972set dummy strip; ac_word=$2 3059set dummy strip; ac_word=$2
2973{ $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
2974$as_echo_n "checking for $ac_word... " >&6; } 3061$as_echo_n "checking for $ac_word... " >&6; }
2975if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3062if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2976 $as_echo_n "(cached) " >&6 3063 $as_echo_n "(cached) " >&6
2977else 3064else
2978 if test -n "$ac_ct_STRIP"; then 3065 if test -n "$ac_ct_STRIP"; then
2979 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.
2980else 3067else
2982for as_dir in $PATH 3069for as_dir in $PATH
2983do 3070do
2984 IFS=$as_save_IFS 3071 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=. 3072 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do 3073 for ac_exec_ext in '' $ac_executable_extensions; do
2987 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
2988 ac_cv_prog_ac_ct_STRIP="strip" 3075 ac_cv_prog_ac_ct_STRIP="strip"
2989 $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
2990 break 2 3077 break 2
2991 fi 3078 fi
2992done 3079done
3018else 3105else
3019 STRIP="$ac_cv_prog_STRIP" 3106 STRIP="$ac_cv_prog_STRIP"
3020fi 3107fi
3021 3108
3022fi 3109fi
3023INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3110INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3024
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3026$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3027if test -z "$MKDIR_P"; then
3028 if test "${ac_cv_path_mkdir+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3030else
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3033do
3034 IFS=$as_save_IFS
3035 test -z "$as_dir" && as_dir=.
3036 for ac_prog in mkdir gmkdir; do
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3039 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3040 'mkdir (GNU coreutils) '* | \
3041 'mkdir (coreutils) '* | \
3042 'mkdir (fileutils) '4.1*)
3043 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3044 break 3;;
3045 esac
3046 done
3047 done
3048 done
3049IFS=$as_save_IFS
3050
3051fi
3052
3053 test -d ./--version && rmdir ./--version
3054 if test "${ac_cv_path_mkdir+set}" = set; then
3055 MKDIR_P="$ac_cv_path_mkdir -p"
3056 else
3057 # As a last resort, use the slow shell script. Don't cache a
3058 # value for MKDIR_P within a source directory, because that will
3059 # break other packages using the cache if that directory is
3060 # removed, or if the value is a relative name.
3061 MKDIR_P="$ac_install_sh -d"
3062 fi
3063fi
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3065$as_echo "$MKDIR_P" >&6; }
3066
3067mkdir_p="$MKDIR_P"
3068case $mkdir_p in
3069 [\\/$]* | ?:[\\/]*) ;;
3070 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3071esac
3072
3073for ac_prog in gawk mawk nawk awk
3074do
3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076set dummy $ac_prog; ac_word=$2
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078$as_echo_n "checking for $ac_word... " >&6; }
3079if test "${ac_cv_prog_AWK+set}" = set; then :
3080 $as_echo_n "(cached) " >&6
3081else
3082 if test -n "$AWK"; then
3083 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3084else
3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086for as_dir in $PATH
3087do
3088 IFS=$as_save_IFS
3089 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 ac_cv_prog_AWK="$ac_prog"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 break 2
3095 fi
3096done
3097 done
3098IFS=$as_save_IFS
3099
3100fi
3101fi
3102AWK=$ac_cv_prog_AWK
3103if test -n "$AWK"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3105$as_echo "$AWK" >&6; }
3106else
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108$as_echo "no" >&6; }
3109fi
3110
3111
3112 test -n "$AWK" && break
3113done
3114
3115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3116$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3117set x ${MAKE-make}
3118ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3119if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3120 $as_echo_n "(cached) " >&6
3121else
3122 cat >conftest.make <<\_ACEOF
3123SHELL = /bin/sh
3124all:
3125 @echo '@@@%%%=$(MAKE)=@@@%%%'
3126_ACEOF
3127# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3128case `${MAKE-make} -f conftest.make 2>/dev/null` in
3129 *@@@%%%=?*=@@@%%%*)
3130 eval ac_cv_prog_make_${ac_make}_set=yes;;
3131 *)
3132 eval ac_cv_prog_make_${ac_make}_set=no;;
3133esac
3134rm -f conftest.make
3135fi
3136if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3138$as_echo "yes" >&6; }
3139 SET_MAKE=
3140else
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142$as_echo "no" >&6; }
3143 SET_MAKE="MAKE=${MAKE-make}"
3144fi
3145
3146rm -rf .tst 2>/dev/null
3147mkdir .tst 2>/dev/null
3148if test -d .tst; then
3149 am__leading_dot=.
3150else
3151 am__leading_dot=_
3152fi
3153rmdir .tst 2>/dev/null
3154
3155if test "`cd $srcdir && pwd`" != "`pwd`"; then
3156 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3157 # is not polluted with repeated "-I."
3158 am__isrc=' -I$(srcdir)'
3159 # test to see if srcdir already configured
3160 if test -f $srcdir/config.status; then
3161 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3162 fi
3163fi
3164
3165# test whether we have cygpath
3166if test -z "$CYGPATH_W"; then
3167 if (cygpath --version) >/dev/null 2>/dev/null; then
3168 CYGPATH_W='cygpath -w'
3169 else
3170 CYGPATH_W=echo
3171 fi
3172fi
3173
3174
3175# Define the identity of the package.
3176 PACKAGE=gvpe
3177 VERSION=2.24
3178
3179
3180cat >>confdefs.h <<_ACEOF
3181#define PACKAGE "$PACKAGE"
3182_ACEOF
3183
3184
3185cat >>confdefs.h <<_ACEOF
3186#define VERSION "$VERSION"
3187_ACEOF
3188
3189# Some tools Automake needs.
3190
3191ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3192
3193
3194AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3195
3196
3197AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3198
3199
3200AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3201
3202
3203MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3204 3111
3205# We need awk for the "check" target. The system "awk" is bad on 3112# We need awk for the "check" target. The system "awk" is bad on
3206# some platforms. 3113# some platforms.
3207# Always define AMTAR for backward compatibility.
3208
3209AMTAR=${AMTAR-"${am_missing_run}tar"}
3210
3211am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3212
3213
3214 3114
3215 3115
3216 3116
3217ac_config_headers="$ac_config_headers config.h" 3117ac_config_headers="$ac_config_headers config.h"
3218
3219 3118
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3221$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3120$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3222 # Check whether --enable-maintainer-mode was given. 3121 # Check whether --enable-maintainer-mode was given.
3223if test "${enable_maintainer_mode+set}" = set; then : 3122if test "${enable_maintainer_mode+set}" = set; then :
3226 USE_MAINTAINER_MODE=no 3125 USE_MAINTAINER_MODE=no
3227fi 3126fi
3228 3127
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3230$as_echo "$USE_MAINTAINER_MODE" >&6; } 3129$as_echo "$USE_MAINTAINER_MODE" >&6; }
3130
3131
3231 if test $USE_MAINTAINER_MODE = yes; then 3132if test $USE_MAINTAINER_MODE = yes; then
3232 MAINTAINER_MODE_TRUE= 3133 MAINTAINER_MODE_TRUE=
3233 MAINTAINER_MODE_FALSE='#' 3134 MAINTAINER_MODE_FALSE='#'
3234else 3135else
3235 MAINTAINER_MODE_TRUE='#' 3136 MAINTAINER_MODE_TRUE='#'
3236 MAINTAINER_MODE_FALSE= 3137 MAINTAINER_MODE_FALSE=
3240 3141
3241 3142
3242 3143
3243 3144
3244 3145
3245
3246
3247
3248 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3249
3250 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3251 3146
3252 3147
3253 3148
3254 MKINSTALLDIRS= 3149 MKINSTALLDIRS=
3255 if test -n "$ac_aux_dir"; then 3150 if test -n "$ac_aux_dir"; then
3265 3160
3266 # 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.
3267set dummy msgfmt; ac_word=$2 3162set dummy msgfmt; ac_word=$2
3268{ $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
3269$as_echo_n "checking for $ac_word... " >&6; } 3164$as_echo_n "checking for $ac_word... " >&6; }
3270if test "${ac_cv_path_MSGFMT+set}" = set; then : 3165if ${ac_cv_path_MSGFMT+:} false; then :
3271 $as_echo_n "(cached) " >&6 3166 $as_echo_n "(cached) " >&6
3272else 3167else
3273 case "$MSGFMT" in 3168 case "$MSGFMT" in
3274 /*) 3169 /*)
3275 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.
3302 3197
3303 # 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.
3304set dummy gmsgfmt; ac_word=$2 3199set dummy gmsgfmt; ac_word=$2
3305{ $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
3306$as_echo_n "checking for $ac_word... " >&6; } 3201$as_echo_n "checking for $ac_word... " >&6; }
3307if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3202if ${ac_cv_path_GMSGFMT+:} false; then :
3308 $as_echo_n "(cached) " >&6 3203 $as_echo_n "(cached) " >&6
3309else 3204else
3310 case $GMSGFMT in 3205 case $GMSGFMT in
3311 [\\/]* | ?:[\\/]*) 3206 [\\/]* | ?:[\\/]*)
3312 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.
3316for as_dir in $PATH 3211for as_dir in $PATH
3317do 3212do
3318 IFS=$as_save_IFS 3213 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=. 3214 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do 3215 for ac_exec_ext in '' $ac_executable_extensions; do
3321 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
3322 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3217 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3323 $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
3324 break 2 3219 break 2
3325 fi 3220 fi
3326done 3221done
3344 3239
3345 # 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.
3346set dummy xgettext; ac_word=$2 3241set dummy xgettext; ac_word=$2
3347{ $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
3348$as_echo_n "checking for $ac_word... " >&6; } 3243$as_echo_n "checking for $ac_word... " >&6; }
3349if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3244if ${ac_cv_path_XGETTEXT+:} false; then :
3350 $as_echo_n "(cached) " >&6 3245 $as_echo_n "(cached) " >&6
3351else 3246else
3352 case "$XGETTEXT" in 3247 case "$XGETTEXT" in
3353 /*) 3248 /*)
3354 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.
3383 3278
3384 # 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.
3385set dummy msgmerge; ac_word=$2 3280set dummy msgmerge; ac_word=$2
3386{ $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
3387$as_echo_n "checking for $ac_word... " >&6; } 3282$as_echo_n "checking for $ac_word... " >&6; }
3388if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3283if ${ac_cv_path_MSGMERGE+:} false; then :
3389 $as_echo_n "(cached) " >&6 3284 $as_echo_n "(cached) " >&6
3390else 3285else
3391 case "$MSGMERGE" in 3286 case "$MSGMERGE" in
3392 /*) 3287 /*)
3393 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.
3467 3362
3468 3363
3469am_make=${MAKE-make} 3364am_make=${MAKE-make}
3470cat > confinc << 'END' 3365cat > confinc << 'END'
3471am__doit: 3366am__doit:
3472 @echo this is the am__doit target 3367 @echo done
3473.PHONY: am__doit 3368.PHONY: am__doit
3474END 3369END
3475# If we don't find an include directive, just comment out the code. 3370# If we don't find an include directive, just comment out the code.
3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3477$as_echo_n "checking for style of include used by $am_make... " >&6; } 3372$as_echo_n "checking for style of include used by $am_make... " >&6; }
3478am__include="#" 3373am__include="#"
3479am__quote= 3374am__quote=
3480_am_result=none 3375_am_result=none
3481# First try GNU make style include. 3376# First try GNU make style include.
3482echo "include confinc" > confmf 3377echo "include confinc" > confmf
3483# Ignore all kinds of additional output from `make'. 3378# We grep out `Entering directory' and `Leaving directory'
3484case `$am_make -s -f confmf 2> /dev/null` in #( 3379# messages which can occur if `w' ends up in MAKEFLAGS.
3485*the\ am__doit\ target*) 3380# In particular we don't look at `^make:' because GNU make might
3381# be invoked under some other name (usually "gmake"), in which
3382# case it prints its new name instead of `make'.
3383if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3486 am__include=include 3384 am__include=include
3487 am__quote= 3385 am__quote=
3488 _am_result=GNU 3386 _am_result=GNU
3489 ;; 3387fi
3490esac
3491# Now try BSD make style include. 3388# Now try BSD make style include.
3492if test "$am__include" = "#"; then 3389if test "$am__include" = "#"; then
3493 echo '.include "confinc"' > confmf 3390 echo '.include "confinc"' > confmf
3494 case `$am_make -s -f confmf 2> /dev/null` in #( 3391 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3495 *the\ am__doit\ target*)
3496 am__include=.include 3392 am__include=.include
3497 am__quote="\"" 3393 am__quote="\""
3498 _am_result=BSD 3394 _am_result=BSD
3499 ;; 3395 fi
3500 esac
3501fi 3396fi
3502 3397
3503 3398
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3505$as_echo "$_am_result" >&6; } 3400$as_echo "$_am_result" >&6; }
3512 3407
3513if test "x$enable_dependency_tracking" != xno; then 3408if test "x$enable_dependency_tracking" != xno; then
3514 am_depcomp="$ac_aux_dir/depcomp" 3409 am_depcomp="$ac_aux_dir/depcomp"
3515 AMDEPBACKSLASH='\' 3410 AMDEPBACKSLASH='\'
3516fi 3411fi
3412
3413
3517 if test "x$enable_dependency_tracking" != xno; then 3414if test "x$enable_dependency_tracking" != xno; then
3518 AMDEP_TRUE= 3415 AMDEP_TRUE=
3519 AMDEP_FALSE='#' 3416 AMDEP_FALSE='#'
3520else 3417else
3521 AMDEP_TRUE='#' 3418 AMDEP_TRUE='#'
3522 AMDEP_FALSE= 3419 AMDEP_FALSE=
3523fi 3420fi
3421
3524 3422
3525 3423
3526ac_ext=c 3424ac_ext=c
3527ac_cpp='$CPP $CPPFLAGS' 3425ac_cpp='$CPP $CPPFLAGS'
3528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531if test -n "$ac_tool_prefix"; then 3429if test -n "$ac_tool_prefix"; then
3532 # 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.
3533set dummy ${ac_tool_prefix}gcc; ac_word=$2 3431set dummy ${ac_tool_prefix}gcc; ac_word=$2
3534{ $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
3535$as_echo_n "checking for $ac_word... " >&6; } 3433$as_echo_n "checking for $ac_word... " >&6; }
3536if test "${ac_cv_prog_CC+set}" = set; then : 3434if ${ac_cv_prog_CC+:} false; then :
3537 $as_echo_n "(cached) " >&6 3435 $as_echo_n "(cached) " >&6
3538else 3436else
3539 if test -n "$CC"; then 3437 if test -n "$CC"; then
3540 ac_cv_prog_CC="$CC" # Let the user override the test. 3438 ac_cv_prog_CC="$CC" # Let the user override the test.
3541else 3439else
3543for as_dir in $PATH 3441for as_dir in $PATH
3544do 3442do
3545 IFS=$as_save_IFS 3443 IFS=$as_save_IFS
3546 test -z "$as_dir" && as_dir=. 3444 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do 3445 for ac_exec_ext in '' $ac_executable_extensions; do
3548 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
3549 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3550 $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
3551 break 2 3449 break 2
3552 fi 3450 fi
3553done 3451done
3571 ac_ct_CC=$CC 3469 ac_ct_CC=$CC
3572 # 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.
3573set dummy gcc; ac_word=$2 3471set dummy gcc; ac_word=$2
3574{ $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
3575$as_echo_n "checking for $ac_word... " >&6; } 3473$as_echo_n "checking for $ac_word... " >&6; }
3576if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3474if ${ac_cv_prog_ac_ct_CC+:} false; then :
3577 $as_echo_n "(cached) " >&6 3475 $as_echo_n "(cached) " >&6
3578else 3476else
3579 if test -n "$ac_ct_CC"; then 3477 if test -n "$ac_ct_CC"; then
3580 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.
3581else 3479else
3583for as_dir in $PATH 3481for as_dir in $PATH
3584do 3482do
3585 IFS=$as_save_IFS 3483 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=. 3484 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do 3485 for ac_exec_ext in '' $ac_executable_extensions; do
3588 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
3589 ac_cv_prog_ac_ct_CC="gcc" 3487 ac_cv_prog_ac_ct_CC="gcc"
3590 $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
3591 break 2 3489 break 2
3592 fi 3490 fi
3593done 3491done
3624 if test -n "$ac_tool_prefix"; then 3522 if test -n "$ac_tool_prefix"; then
3625 # 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.
3626set dummy ${ac_tool_prefix}cc; ac_word=$2 3524set dummy ${ac_tool_prefix}cc; ac_word=$2
3627{ $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
3628$as_echo_n "checking for $ac_word... " >&6; } 3526$as_echo_n "checking for $ac_word... " >&6; }
3629if test "${ac_cv_prog_CC+set}" = set; then : 3527if ${ac_cv_prog_CC+:} false; then :
3630 $as_echo_n "(cached) " >&6 3528 $as_echo_n "(cached) " >&6
3631else 3529else
3632 if test -n "$CC"; then 3530 if test -n "$CC"; then
3633 ac_cv_prog_CC="$CC" # Let the user override the test. 3531 ac_cv_prog_CC="$CC" # Let the user override the test.
3634else 3532else
3636for as_dir in $PATH 3534for as_dir in $PATH
3637do 3535do
3638 IFS=$as_save_IFS 3536 IFS=$as_save_IFS
3639 test -z "$as_dir" && as_dir=. 3537 test -z "$as_dir" && as_dir=.
3640 for ac_exec_ext in '' $ac_executable_extensions; do 3538 for ac_exec_ext in '' $ac_executable_extensions; do
3641 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
3642 ac_cv_prog_CC="${ac_tool_prefix}cc" 3540 ac_cv_prog_CC="${ac_tool_prefix}cc"
3643 $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
3644 break 2 3542 break 2
3645 fi 3543 fi
3646done 3544done
3664if test -z "$CC"; then 3562if test -z "$CC"; then
3665 # 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.
3666set dummy cc; ac_word=$2 3564set dummy cc; ac_word=$2
3667{ $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
3668$as_echo_n "checking for $ac_word... " >&6; } 3566$as_echo_n "checking for $ac_word... " >&6; }
3669if test "${ac_cv_prog_CC+set}" = set; then : 3567if ${ac_cv_prog_CC+:} false; then :
3670 $as_echo_n "(cached) " >&6 3568 $as_echo_n "(cached) " >&6
3671else 3569else
3672 if test -n "$CC"; then 3570 if test -n "$CC"; then
3673 ac_cv_prog_CC="$CC" # Let the user override the test. 3571 ac_cv_prog_CC="$CC" # Let the user override the test.
3674else 3572else
3677for as_dir in $PATH 3575for as_dir in $PATH
3678do 3576do
3679 IFS=$as_save_IFS 3577 IFS=$as_save_IFS
3680 test -z "$as_dir" && as_dir=. 3578 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do 3579 for ac_exec_ext in '' $ac_executable_extensions; do
3682 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
3683 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
3684 ac_prog_rejected=yes 3582 ac_prog_rejected=yes
3685 continue 3583 continue
3686 fi 3584 fi
3687 ac_cv_prog_CC="cc" 3585 ac_cv_prog_CC="cc"
3723 do 3621 do
3724 # 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.
3725set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3623set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3726{ $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
3727$as_echo_n "checking for $ac_word... " >&6; } 3625$as_echo_n "checking for $ac_word... " >&6; }
3728if test "${ac_cv_prog_CC+set}" = set; then : 3626if ${ac_cv_prog_CC+:} false; then :
3729 $as_echo_n "(cached) " >&6 3627 $as_echo_n "(cached) " >&6
3730else 3628else
3731 if test -n "$CC"; then 3629 if test -n "$CC"; then
3732 ac_cv_prog_CC="$CC" # Let the user override the test. 3630 ac_cv_prog_CC="$CC" # Let the user override the test.
3733else 3631else
3735for as_dir in $PATH 3633for as_dir in $PATH
3736do 3634do
3737 IFS=$as_save_IFS 3635 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=. 3636 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do 3637 for ac_exec_ext in '' $ac_executable_extensions; do
3740 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
3741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3639 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3742 $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
3743 break 2 3641 break 2
3744 fi 3642 fi
3745done 3643done
3767do 3665do
3768 # 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.
3769set dummy $ac_prog; ac_word=$2 3667set dummy $ac_prog; ac_word=$2
3770{ $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
3771$as_echo_n "checking for $ac_word... " >&6; } 3669$as_echo_n "checking for $ac_word... " >&6; }
3772if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3670if ${ac_cv_prog_ac_ct_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6 3671 $as_echo_n "(cached) " >&6
3774else 3672else
3775 if test -n "$ac_ct_CC"; then 3673 if test -n "$ac_ct_CC"; then
3776 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.
3777else 3675else
3779for as_dir in $PATH 3677for as_dir in $PATH
3780do 3678do
3781 IFS=$as_save_IFS 3679 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=. 3680 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do 3681 for ac_exec_ext in '' $ac_executable_extensions; do
3784 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
3785 ac_cv_prog_ac_ct_CC="$ac_prog" 3683 ac_cv_prog_ac_ct_CC="$ac_prog"
3786 $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
3787 break 2 3685 break 2
3788 fi 3686 fi
3789done 3687done
3822 3720
3823 3721
3824test -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
3825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3723$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3826as_fn_error $? "no acceptable C compiler found in \$PATH 3724as_fn_error $? "no acceptable C compiler found in \$PATH
3827See \`config.log' for more details" "$LINENO" 5 ; } 3725See \`config.log' for more details" "$LINENO" 5; }
3828 3726
3829# Provide some information about the compiler. 3727# Provide some information about the compiler.
3830$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
3831set X $ac_compile 3729set X $ac_compile
3832ac_compiler=$2 3730ac_compiler=$2
3937sed 's/^/| /' conftest.$ac_ext >&5 3835sed 's/^/| /' conftest.$ac_ext >&5
3938 3836
3939{ { $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
3940$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3941as_fn_error 77 "C compiler cannot create executables 3839as_fn_error 77 "C compiler cannot create executables
3942See \`config.log' for more details" "$LINENO" 5 ; } 3840See \`config.log' for more details" "$LINENO" 5; }
3943else 3841else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945$as_echo "yes" >&6; } 3843$as_echo "yes" >&6; }
3946fi 3844fi
3947{ $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
3980done 3878done
3981else 3879else
3982 { { $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
3983$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3881$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3882as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3985See \`config.log' for more details" "$LINENO" 5 ; } 3883See \`config.log' for more details" "$LINENO" 5; }
3986fi 3884fi
3987rm -f conftest conftest$ac_cv_exeext 3885rm -f conftest conftest$ac_cv_exeext
3988{ $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
3989$as_echo "$ac_cv_exeext" >&6; } 3887$as_echo "$ac_cv_exeext" >&6; }
3990 3888
4039 else 3937 else
4040 { { $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
4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042as_fn_error $? "cannot run C compiled programs. 3940as_fn_error $? "cannot run C compiled programs.
4043If you meant to cross compile, use \`--host'. 3941If you meant to cross compile, use \`--host'.
4044See \`config.log' for more details" "$LINENO" 5 ; } 3942See \`config.log' for more details" "$LINENO" 5; }
4045 fi 3943 fi
4046 fi 3944 fi
4047fi 3945fi
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4049$as_echo "$cross_compiling" >&6; } 3947$as_echo "$cross_compiling" >&6; }
4050 3948
4051rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3949rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4052ac_clean_files=$ac_clean_files_save 3950ac_clean_files=$ac_clean_files_save
4053{ $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
4054$as_echo_n "checking for suffix of object files... " >&6; } 3952$as_echo_n "checking for suffix of object files... " >&6; }
4055if test "${ac_cv_objext+set}" = set; then : 3953if ${ac_cv_objext+:} false; then :
4056 $as_echo_n "(cached) " >&6 3954 $as_echo_n "(cached) " >&6
4057else 3955else
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h. */ 3957/* end confdefs.h. */
4060 3958
4091sed 's/^/| /' conftest.$ac_ext >&5 3989sed 's/^/| /' conftest.$ac_ext >&5
4092 3990
4093{ { $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
4094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3992$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095as_fn_error $? "cannot compute suffix of object files: cannot compile 3993as_fn_error $? "cannot compute suffix of object files: cannot compile
4096See \`config.log' for more details" "$LINENO" 5 ; } 3994See \`config.log' for more details" "$LINENO" 5; }
4097fi 3995fi
4098rm -f conftest.$ac_cv_objext conftest.$ac_ext 3996rm -f conftest.$ac_cv_objext conftest.$ac_ext
4099fi 3997fi
4100{ $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
4101$as_echo "$ac_cv_objext" >&6; } 3999$as_echo "$ac_cv_objext" >&6; }
4102OBJEXT=$ac_cv_objext 4000OBJEXT=$ac_cv_objext
4103ac_objext=$OBJEXT 4001ac_objext=$OBJEXT
4104{ $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
4105$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; }
4106if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4004if ${ac_cv_c_compiler_gnu+:} false; then :
4107 $as_echo_n "(cached) " >&6 4005 $as_echo_n "(cached) " >&6
4108else 4006else
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110/* end confdefs.h. */ 4008/* end confdefs.h. */
4111 4009
4138fi 4036fi
4139ac_test_CFLAGS=${CFLAGS+set} 4037ac_test_CFLAGS=${CFLAGS+set}
4140ac_save_CFLAGS=$CFLAGS 4038ac_save_CFLAGS=$CFLAGS
4141{ $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
4142$as_echo_n "checking whether $CC accepts -g... " >&6; } 4040$as_echo_n "checking whether $CC accepts -g... " >&6; }
4143if test "${ac_cv_prog_cc_g+set}" = set; then : 4041if ${ac_cv_prog_cc_g+:} false; then :
4144 $as_echo_n "(cached) " >&6 4042 $as_echo_n "(cached) " >&6
4145else 4043else
4146 ac_save_c_werror_flag=$ac_c_werror_flag 4044 ac_save_c_werror_flag=$ac_c_werror_flag
4147 ac_c_werror_flag=yes 4045 ac_c_werror_flag=yes
4148 ac_cv_prog_cc_g=no 4046 ac_cv_prog_cc_g=no
4216 CFLAGS= 4114 CFLAGS=
4217 fi 4115 fi
4218fi 4116fi
4219{ $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
4220$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; }
4221if test "${ac_cv_prog_cc_c89+set}" = set; then : 4119if ${ac_cv_prog_cc_c89+:} false; then :
4222 $as_echo_n "(cached) " >&6 4120 $as_echo_n "(cached) " >&6
4223else 4121else
4224 ac_cv_prog_cc_c89=no 4122 ac_cv_prog_cc_c89=no
4225ac_save_CC=$CC 4123ac_save_CC=$CC
4226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227/* end confdefs.h. */ 4125/* end confdefs.h. */
4228#include <stdarg.h> 4126#include <stdarg.h>
4229#include <stdio.h> 4127#include <stdio.h>
4230#include <sys/types.h> 4128struct stat;
4231#include <sys/stat.h>
4232/* 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. */
4233struct buf { int x; }; 4130struct buf { int x; };
4234FILE * (*rcsopen) (struct buf *, struct stat *, int); 4131FILE * (*rcsopen) (struct buf *, struct stat *, int);
4235static char *e (p, i) 4132static char *e (p, i)
4236 char **p; 4133 char **p;
4315 4212
4316depcc="$CC" am_compiler_list= 4213depcc="$CC" am_compiler_list=
4317 4214
4318{ $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
4319$as_echo_n "checking dependency style of $depcc... " >&6; } 4216$as_echo_n "checking dependency style of $depcc... " >&6; }
4320if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4217if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4321 $as_echo_n "(cached) " >&6 4218 $as_echo_n "(cached) " >&6
4322else 4219else
4323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4220 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4324 # 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
4325 # 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
4341 4238
4342 am_cv_CC_dependencies_compiler_type=none 4239 am_cv_CC_dependencies_compiler_type=none
4343 if test "$am_compiler_list" = ""; then 4240 if test "$am_compiler_list" = ""; then
4344 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4241 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4345 fi 4242 fi
4346 am__universal=false
4347 case " $depcc " in #(
4348 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4349 esac
4350
4351 for depmode in $am_compiler_list; do 4243 for depmode in $am_compiler_list; do
4352 # Setup a source with many dependencies, because some compilers 4244 # Setup a source with many dependencies, because some compilers
4353 # like to wrap large dependency lists on column 80 (with \), and 4245 # like to wrap large dependency lists on column 80 (with \), and
4354 # we should not choose a depcomp mode which is confused by this. 4246 # we should not choose a depcomp mode which is confused by this.
4355 # 4247 #
4357 # overwrite some of them when testing with obscure command lines. 4249 # overwrite some of them when testing with obscure command lines.
4358 # This happens at least with the AIX C compiler. 4250 # This happens at least with the AIX C compiler.
4359 : > sub/conftest.c 4251 : > sub/conftest.c
4360 for i in 1 2 3 4 5 6; do 4252 for i in 1 2 3 4 5 6; do
4361 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4253 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4362 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4363 # Solaris 8's {/usr,}/bin/sh.
4364 touch sub/conftst$i.h 4254 : > sub/conftst$i.h
4365 done 4255 done
4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4256 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4367 4257
4368 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4369 # mode. It turns out that the SunPro C++ compiler does not properly
4370 # handle `-M -o', and we need to detect this. Also, some Intel
4371 # versions had trouble with output in subdirs
4372 am__obj=sub/conftest.${OBJEXT-o}
4373 am__minus_obj="-o $am__obj"
4374 case $depmode in 4258 case $depmode in
4375 gcc)
4376 # This depmode causes a compiler race in universal mode.
4377 test "$am__universal" = false || continue
4378 ;;
4379 nosideeffect) 4259 nosideeffect)
4380 # after this tag, mechanisms are not by side-effect, so they'll 4260 # after this tag, mechanisms are not by side-effect, so they'll
4381 # only be used when explicitly requested 4261 # only be used when explicitly requested
4382 if test "x$enable_dependency_tracking" = xyes; then 4262 if test "x$enable_dependency_tracking" = xyes; then
4383 continue 4263 continue
4384 else 4264 else
4385 break 4265 break
4386 fi 4266 fi
4387 ;; 4267 ;;
4388 msvisualcpp | msvcmsys)
4389 # This compiler won't grok `-c -o', but also, the minuso test has
4390 # not run yet. These depmodes are late enough in the game, and
4391 # so weak that their functioning should not be impacted.
4392 am__obj=conftest.${OBJEXT-o}
4393 am__minus_obj=
4394 ;;
4395 none) break ;; 4268 none) break ;;
4396 esac 4269 esac
4270 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4271 # mode. It turns out that the SunPro C++ compiler does not properly
4272 # handle `-M -o', and we need to detect this.
4397 if depmode=$depmode \ 4273 if depmode=$depmode \
4398 source=sub/conftest.c object=$am__obj \ 4274 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4399 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4275 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4400 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4276 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4401 >/dev/null 2>conftest.err && 4277 >/dev/null 2>conftest.err &&
4402 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4403 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4278 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4404 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4279 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4405 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4280 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4406 # icc doesn't choke on unknown options, it will just issue warnings 4281 # icc doesn't choke on unknown options, it will just issue warnings
4407 # or remarks (even with -Werror). So we grep stderr for any message 4282 # (even with -Werror). So we grep stderr for any message
4408 # that says an option was ignored or not supported. 4283 # that says an option was ignored.
4409 # When given -MP, icc 7.0 and 7.1 complain thusly:
4410 # icc: Command line warning: ignoring option '-M'; no argument required
4411 # The diagnosis changed in icc 8.0:
4412 # icc: Command line remark: option '-MP' not supported
4413 if (grep 'ignoring option' conftest.err ||
4414 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4284 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4415 am_cv_CC_dependencies_compiler_type=$depmode 4285 am_cv_CC_dependencies_compiler_type=$depmode
4416 break 4286 break
4417 fi 4287 fi
4418 fi 4288 fi
4419 done 4289 done
4427fi 4297fi
4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4429$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4299$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4430CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4300CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4431 4301
4302
4303
4432 if 4304if
4433 test "x$enable_dependency_tracking" != xno \ 4305 test "x$enable_dependency_tracking" != xno \
4434 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4306 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4435 am__fastdepCC_TRUE= 4307 am__fastdepCC_TRUE=
4436 am__fastdepCC_FALSE='#' 4308 am__fastdepCC_FALSE='#'
4437else 4309else
4485$as_echo_n "checking for GNU ld... " >&6; } 4357$as_echo_n "checking for GNU ld... " >&6; }
4486else 4358else
4487 { $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
4488$as_echo_n "checking for non-GNU ld... " >&6; } 4360$as_echo_n "checking for non-GNU ld... " >&6; }
4489fi 4361fi
4490if test "${acl_cv_path_LD+set}" = set; then : 4362if ${acl_cv_path_LD+:} false; then :
4491 $as_echo_n "(cached) " >&6 4363 $as_echo_n "(cached) " >&6
4492else 4364else
4493 if test -z "$LD"; then 4365 if test -z "$LD"; then
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4366 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4495 for ac_dir in $PATH; do 4367 for ac_dir in $PATH; do
4521$as_echo "no" >&6; } 4393$as_echo "no" >&6; }
4522fi 4394fi
4523test -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
4524{ $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
4525$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; }
4526if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4398if ${acl_cv_prog_gnu_ld+:} false; then :
4527 $as_echo_n "(cached) " >&6 4399 $as_echo_n "(cached) " >&6
4528else 4400else
4529 # 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.
4530if $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
4531 acl_cv_prog_gnu_ld=yes 4403 acl_cv_prog_gnu_ld=yes
4539 4411
4540 4412
4541 4413
4542 { $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
4543$as_echo_n "checking for shared library run path origin... " >&6; } 4415$as_echo_n "checking for shared library run path origin... " >&6; }
4544if test "${acl_cv_rpath+set}" = set; then : 4416if ${acl_cv_rpath+:} false; then :
4545 $as_echo_n "(cached) " >&6 4417 $as_echo_n "(cached) " >&6
4546else 4418else
4547 4419
4548 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" \
4549 ${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
4996 4868
4997 4869
4998 4870
4999 { $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
5000$as_echo_n "checking for GNU gettext in libc... " >&6; } 4872$as_echo_n "checking for GNU gettext in libc... " >&6; }
5001if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 4873if ${gt_cv_func_gnugettext1_libc+:} false; then :
5002 $as_echo_n "(cached) " >&6 4874 $as_echo_n "(cached) " >&6
5003else 4875else
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h. */ 4877/* end confdefs.h. */
5006#include <libintl.h> 4878#include <libintl.h>
5057 done 4929 done
5058 4930
5059 4931
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5061$as_echo_n "checking for iconv... " >&6; } 4933$as_echo_n "checking for iconv... " >&6; }
5062if test "${am_cv_func_iconv+set}" = set; then : 4934if ${am_cv_func_iconv+:} false; then :
5063 $as_echo_n "(cached) " >&6 4935 $as_echo_n "(cached) " >&6
5064else 4936else
5065 4937
5066 am_cv_func_iconv="no, consider installing GNU libiconv" 4938 am_cv_func_iconv="no, consider installing GNU libiconv"
5067 am_cv_lib_iconv=no 4939 am_cv_lib_iconv=no
5510 done 5382 done
5511 fi 5383 fi
5512 5384
5513 { $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
5514$as_echo_n "checking for GNU gettext in libintl... " >&6; } 5386$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5515if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5387if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5516 $as_echo_n "(cached) " >&6 5388 $as_echo_n "(cached) " >&6
5517else 5389else
5518 gt_save_CPPFLAGS="$CPPFLAGS" 5390 gt_save_CPPFLAGS="$CPPFLAGS"
5519 CPPFLAGS="$CPPFLAGS $INCINTL" 5391 CPPFLAGS="$CPPFLAGS $INCINTL"
5520 gt_save_LIBS="$LIBS" 5392 gt_save_LIBS="$LIBS"
5678# On Suns, sometimes $CPP names a directory. 5550# On Suns, sometimes $CPP names a directory.
5679if test -n "$CPP" && test -d "$CPP"; then 5551if test -n "$CPP" && test -d "$CPP"; then
5680 CPP= 5552 CPP=
5681fi 5553fi
5682if test -z "$CPP"; then 5554if test -z "$CPP"; then
5683 if test "${ac_cv_prog_CPP+set}" = set; then : 5555 if ${ac_cv_prog_CPP+:} false; then :
5684 $as_echo_n "(cached) " >&6 5556 $as_echo_n "(cached) " >&6
5685else 5557else
5686 # Double quotes because CPP needs to be expanded 5558 # Double quotes because CPP needs to be expanded
5687 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5559 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5688 do 5560 do
5794 5666
5795else 5667else
5796 { { $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
5797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5798as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5670as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5799See \`config.log' for more details" "$LINENO" 5 ; } 5671See \`config.log' for more details" "$LINENO" 5; }
5800fi 5672fi
5801 5673
5802ac_ext=c 5674ac_ext=c
5803ac_cpp='$CPP $CPPFLAGS' 5675ac_cpp='$CPP $CPPFLAGS'
5804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5819 do 5691 do
5820 # 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.
5821set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5693set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822{ $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
5823$as_echo_n "checking for $ac_word... " >&6; } 5695$as_echo_n "checking for $ac_word... " >&6; }
5824if test "${ac_cv_prog_CXX+set}" = set; then : 5696if ${ac_cv_prog_CXX+:} false; then :
5825 $as_echo_n "(cached) " >&6 5697 $as_echo_n "(cached) " >&6
5826else 5698else
5827 if test -n "$CXX"; then 5699 if test -n "$CXX"; then
5828 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5700 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5829else 5701else
5831for as_dir in $PATH 5703for as_dir in $PATH
5832do 5704do
5833 IFS=$as_save_IFS 5705 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=. 5706 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do 5707 for ac_exec_ext in '' $ac_executable_extensions; do
5836 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
5837 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5709 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5838 $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
5839 break 2 5711 break 2
5840 fi 5712 fi
5841done 5713done
5863do 5735do
5864 # 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.
5865set dummy $ac_prog; ac_word=$2 5737set dummy $ac_prog; ac_word=$2
5866{ $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
5867$as_echo_n "checking for $ac_word... " >&6; } 5739$as_echo_n "checking for $ac_word... " >&6; }
5868if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5740if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5869 $as_echo_n "(cached) " >&6 5741 $as_echo_n "(cached) " >&6
5870else 5742else
5871 if test -n "$ac_ct_CXX"; then 5743 if test -n "$ac_ct_CXX"; then
5872 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.
5873else 5745else
5875for as_dir in $PATH 5747for as_dir in $PATH
5876do 5748do
5877 IFS=$as_save_IFS 5749 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=. 5750 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do 5751 for ac_exec_ext in '' $ac_executable_extensions; do
5880 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
5881 ac_cv_prog_ac_ct_CXX="$ac_prog" 5753 ac_cv_prog_ac_ct_CXX="$ac_prog"
5882 $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
5883 break 2 5755 break 2
5884 fi 5756 fi
5885done 5757done
5941 test $ac_status = 0; } 5813 test $ac_status = 0; }
5942done 5814done
5943 5815
5944{ $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
5945$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; }
5946if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5818if ${ac_cv_cxx_compiler_gnu+:} false; then :
5947 $as_echo_n "(cached) " >&6 5819 $as_echo_n "(cached) " >&6
5948else 5820else
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950/* end confdefs.h. */ 5822/* end confdefs.h. */
5951 5823
5978fi 5850fi
5979ac_test_CXXFLAGS=${CXXFLAGS+set} 5851ac_test_CXXFLAGS=${CXXFLAGS+set}
5980ac_save_CXXFLAGS=$CXXFLAGS 5852ac_save_CXXFLAGS=$CXXFLAGS
5981{ $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
5982$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5854$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5983if test "${ac_cv_prog_cxx_g+set}" = set; then : 5855if ${ac_cv_prog_cxx_g+:} false; then :
5984 $as_echo_n "(cached) " >&6 5856 $as_echo_n "(cached) " >&6
5985else 5857else
5986 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5858 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5987 ac_cxx_werror_flag=yes 5859 ac_cxx_werror_flag=yes
5988 ac_cv_prog_cxx_g=no 5860 ac_cv_prog_cxx_g=no
6064 5936
6065depcc="$CXX" am_compiler_list= 5937depcc="$CXX" am_compiler_list=
6066 5938
6067{ $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
6068$as_echo_n "checking dependency style of $depcc... " >&6; } 5940$as_echo_n "checking dependency style of $depcc... " >&6; }
6069if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 5941if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6070 $as_echo_n "(cached) " >&6 5942 $as_echo_n "(cached) " >&6
6071else 5943else
6072 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5944 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6073 # 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
6074 # 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
6090 5962
6091 am_cv_CXX_dependencies_compiler_type=none 5963 am_cv_CXX_dependencies_compiler_type=none
6092 if test "$am_compiler_list" = ""; then 5964 if test "$am_compiler_list" = ""; then
6093 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5965 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6094 fi 5966 fi
6095 am__universal=false
6096 case " $depcc " in #(
6097 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6098 esac
6099
6100 for depmode in $am_compiler_list; do 5967 for depmode in $am_compiler_list; do
6101 # Setup a source with many dependencies, because some compilers 5968 # Setup a source with many dependencies, because some compilers
6102 # like to wrap large dependency lists on column 80 (with \), and 5969 # like to wrap large dependency lists on column 80 (with \), and
6103 # we should not choose a depcomp mode which is confused by this. 5970 # we should not choose a depcomp mode which is confused by this.
6104 # 5971 #
6106 # overwrite some of them when testing with obscure command lines. 5973 # overwrite some of them when testing with obscure command lines.
6107 # This happens at least with the AIX C compiler. 5974 # This happens at least with the AIX C compiler.
6108 : > sub/conftest.c 5975 : > sub/conftest.c
6109 for i in 1 2 3 4 5 6; do 5976 for i in 1 2 3 4 5 6; do
6110 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5977 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6111 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6112 # Solaris 8's {/usr,}/bin/sh.
6113 touch sub/conftst$i.h 5978 : > sub/conftst$i.h
6114 done 5979 done
6115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6116 5981
6117 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6118 # mode. It turns out that the SunPro C++ compiler does not properly
6119 # handle `-M -o', and we need to detect this. Also, some Intel
6120 # versions had trouble with output in subdirs
6121 am__obj=sub/conftest.${OBJEXT-o}
6122 am__minus_obj="-o $am__obj"
6123 case $depmode in 5982 case $depmode in
6124 gcc)
6125 # This depmode causes a compiler race in universal mode.
6126 test "$am__universal" = false || continue
6127 ;;
6128 nosideeffect) 5983 nosideeffect)
6129 # after this tag, mechanisms are not by side-effect, so they'll 5984 # after this tag, mechanisms are not by side-effect, so they'll
6130 # only be used when explicitly requested 5985 # only be used when explicitly requested
6131 if test "x$enable_dependency_tracking" = xyes; then 5986 if test "x$enable_dependency_tracking" = xyes; then
6132 continue 5987 continue
6133 else 5988 else
6134 break 5989 break
6135 fi 5990 fi
6136 ;; 5991 ;;
6137 msvisualcpp | msvcmsys)
6138 # This compiler won't grok `-c -o', but also, the minuso test has
6139 # not run yet. These depmodes are late enough in the game, and
6140 # so weak that their functioning should not be impacted.
6141 am__obj=conftest.${OBJEXT-o}
6142 am__minus_obj=
6143 ;;
6144 none) break ;; 5992 none) break ;;
6145 esac 5993 esac
5994 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5995 # mode. It turns out that the SunPro C++ compiler does not properly
5996 # handle `-M -o', and we need to detect this.
6146 if depmode=$depmode \ 5997 if depmode=$depmode \
6147 source=sub/conftest.c object=$am__obj \ 5998 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6148 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6149 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6000 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6150 >/dev/null 2>conftest.err && 6001 >/dev/null 2>conftest.err &&
6151 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6002 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6153 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6003 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6004 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6155 # icc doesn't choke on unknown options, it will just issue warnings 6005 # icc doesn't choke on unknown options, it will just issue warnings
6156 # or remarks (even with -Werror). So we grep stderr for any message 6006 # (even with -Werror). So we grep stderr for any message
6157 # that says an option was ignored or not supported. 6007 # that says an option was ignored.
6158 # When given -MP, icc 7.0 and 7.1 complain thusly:
6159 # icc: Command line warning: ignoring option '-M'; no argument required
6160 # The diagnosis changed in icc 8.0:
6161 # icc: Command line remark: option '-MP' not supported
6162 if (grep 'ignoring option' conftest.err ||
6163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6008 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6164 am_cv_CXX_dependencies_compiler_type=$depmode 6009 am_cv_CXX_dependencies_compiler_type=$depmode
6165 break 6010 break
6166 fi 6011 fi
6167 fi 6012 fi
6168 done 6013 done
6176fi 6021fi
6177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6178$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6023$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6179CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6024CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6180 6025
6026
6027
6181 if 6028if
6182 test "x$enable_dependency_tracking" != xno \ 6029 test "x$enable_dependency_tracking" != xno \
6183 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6184 am__fastdepCXX_TRUE= 6031 am__fastdepCXX_TRUE=
6185 am__fastdepCXX_FALSE='#' 6032 am__fastdepCXX_FALSE='#'
6186else 6033else
6190 6037
6191 6038
6192 6039
6193{ $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
6194$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; }
6195if test "${ac_cv_path_GREP+set}" = set; then : 6042if ${ac_cv_path_GREP+:} false; then :
6196 $as_echo_n "(cached) " >&6 6043 $as_echo_n "(cached) " >&6
6197else 6044else
6198 if test -z "$GREP"; then 6045 if test -z "$GREP"; then
6199 ac_path_GREP_found=false 6046 ac_path_GREP_found=false
6200 # 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
6204 IFS=$as_save_IFS 6051 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=. 6052 test -z "$as_dir" && as_dir=.
6206 for ac_prog in grep ggrep; do 6053 for ac_prog in grep ggrep; do
6207 for ac_exec_ext in '' $ac_executable_extensions; do 6054 for ac_exec_ext in '' $ac_executable_extensions; do
6208 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6055 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6209 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6056 as_fn_executable_p "$ac_path_GREP" || continue
6210# 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.
6211 # Check for GNU $ac_path_GREP 6058 # Check for GNU $ac_path_GREP
6212case `"$ac_path_GREP" --version 2>&1` in 6059case `"$ac_path_GREP" --version 2>&1` in
6213*GNU*) 6060*GNU*)
6214 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6061 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6253 GREP="$ac_cv_path_GREP" 6100 GREP="$ac_cv_path_GREP"
6254 6101
6255 6102
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6257$as_echo_n "checking for egrep... " >&6; } 6104$as_echo_n "checking for egrep... " >&6; }
6258if test "${ac_cv_path_EGREP+set}" = set; then : 6105if ${ac_cv_path_EGREP+:} false; then :
6259 $as_echo_n "(cached) " >&6 6106 $as_echo_n "(cached) " >&6
6260else 6107else
6261 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6108 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6262 then ac_cv_path_EGREP="$GREP -E" 6109 then ac_cv_path_EGREP="$GREP -E"
6263 else 6110 else
6270 IFS=$as_save_IFS 6117 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=. 6118 test -z "$as_dir" && as_dir=.
6272 for ac_prog in egrep; do 6119 for ac_prog in egrep; do
6273 for ac_exec_ext in '' $ac_executable_extensions; do 6120 for ac_exec_ext in '' $ac_executable_extensions; do
6274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6121 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6275 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6122 as_fn_executable_p "$ac_path_EGREP" || continue
6276# 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.
6277 # Check for GNU $ac_path_EGREP 6124 # Check for GNU $ac_path_EGREP
6278case `"$ac_path_EGREP" --version 2>&1` in 6125case `"$ac_path_EGREP" --version 2>&1` in
6279*GNU*) 6126*GNU*)
6280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6127 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6321 6168
6322 6169
6323if test $ac_cv_c_compiler_gnu = yes; then 6170if test $ac_cv_c_compiler_gnu = yes; then
6324 { $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
6325$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6172$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6326if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6173if ${ac_cv_prog_gcc_traditional+:} false; then :
6327 $as_echo_n "(cached) " >&6 6174 $as_echo_n "(cached) " >&6
6328else 6175else
6329 ac_pattern="Autoconf.*'x'" 6176 ac_pattern="Autoconf.*'x'"
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331/* end confdefs.h. */ 6178/* end confdefs.h. */
6366do 6213do
6367 # 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.
6368set dummy $ac_prog; ac_word=$2 6215set dummy $ac_prog; ac_word=$2
6369{ $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
6370$as_echo_n "checking for $ac_word... " >&6; } 6217$as_echo_n "checking for $ac_word... " >&6; }
6371if test "${ac_cv_prog_AWK+set}" = set; then : 6218if ${ac_cv_prog_AWK+:} false; then :
6372 $as_echo_n "(cached) " >&6 6219 $as_echo_n "(cached) " >&6
6373else 6220else
6374 if test -n "$AWK"; then 6221 if test -n "$AWK"; then
6375 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6222 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6376else 6223else
6378for as_dir in $PATH 6225for as_dir in $PATH
6379do 6226do
6380 IFS=$as_save_IFS 6227 IFS=$as_save_IFS
6381 test -z "$as_dir" && as_dir=. 6228 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do 6229 for ac_exec_ext in '' $ac_executable_extensions; do
6383 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
6384 ac_cv_prog_AWK="$ac_prog" 6231 ac_cv_prog_AWK="$ac_prog"
6385 $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
6386 break 2 6233 break 2
6387 fi 6234 fi
6388done 6235done
6418 6265
6419{ $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
6420$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6267$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6421set x ${MAKE-make} 6268set x ${MAKE-make}
6422ac_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'`
6423if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6270if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6424 $as_echo_n "(cached) " >&6 6271 $as_echo_n "(cached) " >&6
6425else 6272else
6426 cat >conftest.make <<\_ACEOF 6273 cat >conftest.make <<\_ACEOF
6427SHELL = /bin/sh 6274SHELL = /bin/sh
6428all: 6275all:
6450if test -n "$ac_tool_prefix"; then 6297if test -n "$ac_tool_prefix"; then
6451 # 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.
6452set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6299set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6453{ $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
6454$as_echo_n "checking for $ac_word... " >&6; } 6301$as_echo_n "checking for $ac_word... " >&6; }
6455if test "${ac_cv_prog_RANLIB+set}" = set; then : 6302if ${ac_cv_prog_RANLIB+:} false; then :
6456 $as_echo_n "(cached) " >&6 6303 $as_echo_n "(cached) " >&6
6457else 6304else
6458 if test -n "$RANLIB"; then 6305 if test -n "$RANLIB"; then
6459 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6306 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6460else 6307else
6462for as_dir in $PATH 6309for as_dir in $PATH
6463do 6310do
6464 IFS=$as_save_IFS 6311 IFS=$as_save_IFS
6465 test -z "$as_dir" && as_dir=. 6312 test -z "$as_dir" && as_dir=.
6466 for ac_exec_ext in '' $ac_executable_extensions; do 6313 for ac_exec_ext in '' $ac_executable_extensions; do
6467 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
6468 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6315 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6469 $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
6470 break 2 6317 break 2
6471 fi 6318 fi
6472done 6319done
6490 ac_ct_RANLIB=$RANLIB 6337 ac_ct_RANLIB=$RANLIB
6491 # 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.
6492set dummy ranlib; ac_word=$2 6339set dummy ranlib; ac_word=$2
6493{ $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
6494$as_echo_n "checking for $ac_word... " >&6; } 6341$as_echo_n "checking for $ac_word... " >&6; }
6495if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6342if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6496 $as_echo_n "(cached) " >&6 6343 $as_echo_n "(cached) " >&6
6497else 6344else
6498 if test -n "$ac_ct_RANLIB"; then 6345 if test -n "$ac_ct_RANLIB"; then
6499 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.
6500else 6347else
6502for as_dir in $PATH 6349for as_dir in $PATH
6503do 6350do
6504 IFS=$as_save_IFS 6351 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=. 6352 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do 6353 for ac_exec_ext in '' $ac_executable_extensions; do
6507 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
6508 ac_cv_prog_ac_ct_RANLIB="ranlib" 6355 ac_cv_prog_ac_ct_RANLIB="ranlib"
6509 $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
6510 break 2 6357 break 2
6511 fi 6358 fi
6512done 6359done
6688 t end 6535 t end
6689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6536 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6690 :end' >>confcache 6537 :end' >>confcache
6691if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6538if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6692 if test -w "$cache_file"; then 6539 if test -w "$cache_file"; then
6693 test "x$cache_file" != "x/dev/null" && 6540 if test "x$cache_file" != "x/dev/null"; then
6694 { $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
6695$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
6696 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
6697 else 6555 else
6698 { $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
6699$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6557$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6700 fi 6558 fi
6701fi 6559fi
6715ac_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'
6716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6574ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6717{ $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
6718$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6576$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6719if test -z "$CXXCPP"; then 6577if test -z "$CXXCPP"; then
6720 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6578 if ${ac_cv_prog_CXXCPP+:} false; then :
6721 $as_echo_n "(cached) " >&6 6579 $as_echo_n "(cached) " >&6
6722else 6580else
6723 # Double quotes because CXXCPP needs to be expanded 6581 # Double quotes because CXXCPP needs to be expanded
6724 for CXXCPP in "$CXX -E" "/lib/cpp" 6582 for CXXCPP in "$CXX -E" "/lib/cpp"
6725 do 6583 do
6831 6689
6832else 6690else
6833 { { $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
6834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6835as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6693as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6836See \`config.log' for more details" "$LINENO" 5 ; } 6694See \`config.log' for more details" "$LINENO" 5; }
6837fi 6695fi
6838 6696
6839ac_ext=cpp 6697ac_ext=cpp
6840ac_cpp='$CXXCPP $CPPFLAGS' 6698ac_cpp='$CXXCPP $CPPFLAGS'
6841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6699ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6701ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6844 6702
6845 6703
6846{ $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
6847$as_echo_n "checking for ANSI C header files... " >&6; } 6705$as_echo_n "checking for ANSI C header files... " >&6; }
6848if test "${ac_cv_header_stdc+set}" = set; then : 6706if ${ac_cv_header_stdc+:} false; then :
6849 $as_echo_n "(cached) " >&6 6707 $as_echo_n "(cached) " >&6
6850else 6708else
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852/* end confdefs.h. */ 6710/* end confdefs.h. */
6853#include <stdlib.h> 6711#include <stdlib.h>
7028done 6886done
7029 6887
7030 6888
7031{ $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
7032$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6890$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7033if test "${ac_cv_c_const+set}" = set; then : 6891if ${ac_cv_c_const+:} false; then :
7034 $as_echo_n "(cached) " >&6 6892 $as_echo_n "(cached) " >&6
7035else 6893else
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037/* end confdefs.h. */ 6895/* end confdefs.h. */
7038 6896
7039int 6897int
7040main () 6898main ()
7041{ 6899{
7042/* FIXME: Include the comments suggested by Paul. */ 6900
7043#ifndef __cplusplus 6901#ifndef __cplusplus
7044 /* Ultrix mips cc rejects this. */ 6902 /* Ultrix mips cc rejects this sort of thing. */
7045 typedef int charset[2]; 6903 typedef int charset[2];
7046 const charset cs; 6904 const charset cs = { 0, 0 };
7047 /* SunOS 4.1.1 cc rejects this. */ 6905 /* SunOS 4.1.1 cc rejects this. */
7048 char const *const *pcpcc; 6906 char const *const *pcpcc;
7049 char **ppc; 6907 char **ppc;
7050 /* NEC SVR4.0.2 mips cc rejects this. */ 6908 /* NEC SVR4.0.2 mips cc rejects this. */
7051 struct point {int x, y;}; 6909 struct point {int x, y;};
7058 pcpcc = &g + (g ? g-g : 0); 6916 pcpcc = &g + (g ? g-g : 0);
7059 /* HPUX 7.0 cc rejects these. */ 6917 /* HPUX 7.0 cc rejects these. */
7060 ++pcpcc; 6918 ++pcpcc;
7061 ppc = (char**) pcpcc; 6919 ppc = (char**) pcpcc;
7062 pcpcc = (char const *const *) ppc; 6920 pcpcc = (char const *const *) ppc;
7063 { /* SCO 3.2v4 cc rejects this. */ 6921 { /* SCO 3.2v4 cc rejects this sort of thing. */
7064 char *t; 6922 char tx;
6923 char *t = &tx;
7065 char const *s = 0 ? (char *) 0 : (char const *) 0; 6924 char const *s = 0 ? (char *) 0 : (char const *) 0;
7066 6925
7067 *t++ = 0; 6926 *t++ = 0;
7068 if (s) return 0; 6927 if (s) return 0;
7069 } 6928 }
7075 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6934 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7076 typedef const int *iptr; 6935 typedef const int *iptr;
7077 iptr p = 0; 6936 iptr p = 0;
7078 ++p; 6937 ++p;
7079 } 6938 }
7080 { /* AIX XL C 1.02.0.0 rejects this saying 6939 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7081 "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. */
7082 struct s { int j; const int *ap[3]; }; 6941 struct s { int j; const int *ap[3]; } bx;
7083 struct s *b; b->j = 5; 6942 struct s *b = &bx; b->j = 5;
7084 } 6943 }
7085 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6944 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7086 const int foo = 10; 6945 const int foo = 10;
7087 if (!foo) return 0; 6946 if (!foo) return 0;
7088 } 6947 }
7107$as_echo "#define const /**/" >>confdefs.h 6966$as_echo "#define const /**/" >>confdefs.h
7108 6967
7109fi 6968fi
7110 6969
7111ac_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"
7112if test "x$ac_cv_type_pid_t" = x""yes; then : 6971if test "x$ac_cv_type_pid_t" = xyes; then :
7113 6972
7114else 6973else
7115 6974
7116cat >>confdefs.h <<_ACEOF 6975cat >>confdefs.h <<_ACEOF
7117#define pid_t int 6976#define pid_t int
7118_ACEOF 6977_ACEOF
7119 6978
7120fi 6979fi
7121 6980
7122ac_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"
7123if test "x$ac_cv_type_size_t" = x""yes; then : 6982if test "x$ac_cv_type_size_t" = xyes; then :
7124 6983
7125else 6984else
7126 6985
7127cat >>confdefs.h <<_ACEOF 6986cat >>confdefs.h <<_ACEOF
7128#define size_t unsigned int 6987#define size_t unsigned int
7130 6989
7131fi 6990fi
7132 6991
7133{ $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
7134$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; }
7135if test "${ac_cv_header_time+set}" = set; then : 6994if ${ac_cv_header_time+:} false; then :
7136 $as_echo_n "(cached) " >&6 6995 $as_echo_n "(cached) " >&6
7137else 6996else
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139/* end confdefs.h. */ 6998/* end confdefs.h. */
7140#include <sys/types.h> 6999#include <sys/types.h>
7165 7024
7166fi 7025fi
7167 7026
7168{ $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
7169$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; }
7170if test "${ac_cv_struct_tm+set}" = set; then : 7029if ${ac_cv_struct_tm+:} false; then :
7171 $as_echo_n "(cached) " >&6 7030 $as_echo_n "(cached) " >&6
7172else 7031else
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174/* end confdefs.h. */ 7033/* end confdefs.h. */
7175#include <sys/types.h> 7034#include <sys/types.h>
7201fi 7060fi
7202 7061
7203 7062
7204{ $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
7205$as_echo_n "checking for socklen_t... " >&6; } 7064$as_echo_n "checking for socklen_t... " >&6; }
7206if test "${ac_cv_type_socklen_t+set}" = set; then : 7065if ${ac_cv_type_socklen_t+:} false; then :
7207 $as_echo_n "(cached) " >&6 7066 $as_echo_n "(cached) " >&6
7208else 7067else
7209 7068
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211/* end confdefs.h. */ 7070/* end confdefs.h. */
7235 7094
7236fi 7095fi
7237 7096
7238{ $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
7239$as_echo_n "checking for struct addrinfo... " >&6; } 7098$as_echo_n "checking for struct addrinfo... " >&6; }
7240if test "${ac_cv_struct_addrinfo+set}" = set; then : 7099if ${ac_cv_struct_addrinfo+:} false; then :
7241 $as_echo_n "(cached) " >&6 7100 $as_echo_n "(cached) " >&6
7242else 7101else
7243 7102
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245/* end confdefs.h. */ 7104/* end confdefs.h. */
7270 7129
7271fi 7130fi
7272 7131
7273{ $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
7274$as_echo_n "checking return type of signal handlers... " >&6; } 7133$as_echo_n "checking return type of signal handlers... " >&6; }
7275if test "${ac_cv_type_signal+set}" = set; then : 7134if ${ac_cv_type_signal+:} false; then :
7276 $as_echo_n "(cached) " >&6 7135 $as_echo_n "(cached) " >&6
7277else 7136else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279/* end confdefs.h. */ 7138/* end confdefs.h. */
7280#include <sys/types.h> 7139#include <sys/types.h>
7311ac_compiler_gnu=$ac_cv_c_compiler_gnu 7170ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312 7171
7313 7172
7314{ $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
7315$as_echo_n "checking for ANSI C header files... " >&6; } 7174$as_echo_n "checking for ANSI C header files... " >&6; }
7316if test "${ac_cv_header_stdc+set}" = set; then : 7175if ${ac_cv_header_stdc+:} false; then :
7317 $as_echo_n "(cached) " >&6 7176 $as_echo_n "(cached) " >&6
7318else 7177else
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320/* end confdefs.h. */ 7179/* end confdefs.h. */
7321#include <stdlib.h> 7180#include <stdlib.h>
7439 7298
7440# 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
7441# for constant arguments. Useless! 7300# for constant arguments. Useless!
7442{ $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
7443$as_echo_n "checking for working alloca.h... " >&6; } 7302$as_echo_n "checking for working alloca.h... " >&6; }
7444if test "${ac_cv_working_alloca_h+set}" = set; then : 7303if ${ac_cv_working_alloca_h+:} false; then :
7445 $as_echo_n "(cached) " >&6 7304 $as_echo_n "(cached) " >&6
7446else 7305else
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448/* end confdefs.h. */ 7307/* end confdefs.h. */
7449#include <alloca.h> 7308#include <alloca.h>
7472 7331
7473fi 7332fi
7474 7333
7475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7476$as_echo_n "checking for alloca... " >&6; } 7335$as_echo_n "checking for alloca... " >&6; }
7477if test "${ac_cv_func_alloca_works+set}" = set; then : 7336if ${ac_cv_func_alloca_works+:} false; then :
7478 $as_echo_n "(cached) " >&6 7337 $as_echo_n "(cached) " >&6
7479else 7338else
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481/* end confdefs.h. */ 7340/* end confdefs.h. */
7482#ifdef __GNUC__ 7341#ifdef __GNUC__
7491# else 7350# else
7492# ifdef _AIX 7351# ifdef _AIX
7493 #pragma alloca 7352 #pragma alloca
7494# else 7353# else
7495# ifndef alloca /* predefined by HP cc +Olibcalls */ 7354# ifndef alloca /* predefined by HP cc +Olibcalls */
7496char *alloca (); 7355void *alloca (size_t);
7497# endif 7356# endif
7498# endif 7357# endif
7499# endif 7358# endif
7500# endif 7359# endif
7501#endif 7360#endif
7535$as_echo "#define C_ALLOCA 1" >>confdefs.h 7394$as_echo "#define C_ALLOCA 1" >>confdefs.h
7536 7395
7537 7396
7538{ $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
7539$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7398$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7540if test "${ac_cv_os_cray+set}" = set; then : 7399if ${ac_cv_os_cray+:} false; then :
7541 $as_echo_n "(cached) " >&6 7400 $as_echo_n "(cached) " >&6
7542else 7401else
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544/* end confdefs.h. */ 7403/* end confdefs.h. */
7545#if defined CRAY && ! defined CRAY2 7404#if defined CRAY && ! defined CRAY2
7576 done 7435 done
7577fi 7436fi
7578 7437
7579{ $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
7580$as_echo_n "checking stack direction for C alloca... " >&6; } 7439$as_echo_n "checking stack direction for C alloca... " >&6; }
7581if test "${ac_cv_c_stack_direction+set}" = set; then : 7440if ${ac_cv_c_stack_direction+:} false; then :
7582 $as_echo_n "(cached) " >&6 7441 $as_echo_n "(cached) " >&6
7583else 7442else
7584 if test "$cross_compiling" = yes; then : 7443 if test "$cross_compiling" = yes; then :
7585 ac_cv_c_stack_direction=0 7444 ac_cv_c_stack_direction=0
7586else 7445else
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588/* end confdefs.h. */ 7447/* end confdefs.h. */
7589$ac_includes_default 7448$ac_includes_default
7590int 7449int
7591find_stack_direction () 7450find_stack_direction (int *addr, int depth)
7592{ 7451{
7593 static char *addr = 0; 7452 int dir, dummy = 0;
7594 auto char dummy;
7595 if (addr == 0) 7453 if (! addr)
7596 {
7597 addr = &dummy; 7454 addr = &dummy;
7598 return find_stack_direction (); 7455 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7599 } 7456 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7600 else 7457 return dir + dummy;
7601 return (&dummy > addr) ? 1 : -1;
7602} 7458}
7603 7459
7604int 7460int
7605main () 7461main (int argc, char **argv)
7606{ 7462{
7607 return find_stack_direction () < 0; 7463 return find_stack_direction (0, argc + !argv + 20) < 0;
7608} 7464}
7609_ACEOF 7465_ACEOF
7610if ac_fn_c_try_run "$LINENO"; then : 7466if ac_fn_c_try_run "$LINENO"; then :
7611 ac_cv_c_stack_direction=1 7467 ac_cv_c_stack_direction=1
7612else 7468else
7627fi 7483fi
7628 7484
7629 7485
7630 7486
7631ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7487ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7632if test "x$ac_cv_func_socket" = x""yes; then : 7488if test "x$ac_cv_func_socket" = xyes; then :
7633 7489
7634else 7490else
7635 7491
7636 { $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
7637$as_echo_n "checking for connect in -lsocket... " >&6; } 7493$as_echo_n "checking for connect in -lsocket... " >&6; }
7638if test "${ac_cv_lib_socket_connect+set}" = set; then : 7494if ${ac_cv_lib_socket_connect+:} false; then :
7639 $as_echo_n "(cached) " >&6 7495 $as_echo_n "(cached) " >&6
7640else 7496else
7641 ac_check_lib_save_LIBS=$LIBS 7497 ac_check_lib_save_LIBS=$LIBS
7642LIBS="-lsocket $LIBS" 7498LIBS="-lsocket $LIBS"
7643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 conftest$ac_exeext conftest.$ac_ext 7523 conftest$ac_exeext conftest.$ac_ext
7668LIBS=$ac_check_lib_save_LIBS 7524LIBS=$ac_check_lib_save_LIBS
7669fi 7525fi
7670{ $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
7671$as_echo "$ac_cv_lib_socket_connect" >&6; } 7527$as_echo "$ac_cv_lib_socket_connect" >&6; }
7672if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7528if test "x$ac_cv_lib_socket_connect" = xyes; then :
7673 cat >>confdefs.h <<_ACEOF 7529 cat >>confdefs.h <<_ACEOF
7674#define HAVE_LIBSOCKET 1 7530#define HAVE_LIBSOCKET 1
7675_ACEOF 7531_ACEOF
7676 7532
7677 LIBS="-lsocket $LIBS" 7533 LIBS="-lsocket $LIBS"
7680 7536
7681 7537
7682fi 7538fi
7683 7539
7684ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7540ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7685if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7541if test "x$ac_cv_func_gethostbyname" = xyes; then :
7686 7542
7687else 7543else
7688 7544
7689 { $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
7690$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7546$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7691if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7547if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7692 $as_echo_n "(cached) " >&6 7548 $as_echo_n "(cached) " >&6
7693else 7549else
7694 ac_check_lib_save_LIBS=$LIBS 7550 ac_check_lib_save_LIBS=$LIBS
7695LIBS="-lnsl $LIBS" 7551LIBS="-lnsl $LIBS"
7696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 conftest$ac_exeext conftest.$ac_ext 7576 conftest$ac_exeext conftest.$ac_ext
7721LIBS=$ac_check_lib_save_LIBS 7577LIBS=$ac_check_lib_save_LIBS
7722fi 7578fi
7723{ $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
7724$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7580$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7725if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7581if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF 7582 cat >>confdefs.h <<_ACEOF
7727#define HAVE_LIBNSL 1 7583#define HAVE_LIBNSL 1
7728_ACEOF 7584_ACEOF
7729 7585
7730 LIBS="-lnsl $LIBS" 7586 LIBS="-lnsl $LIBS"
7764 7620
7765 7621
7766for ac_func in clock_gettime 7622for ac_func in clock_gettime
7767do : 7623do :
7768 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"
7769if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7625if test "x$ac_cv_func_clock_gettime" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF 7626 cat >>confdefs.h <<_ACEOF
7771#define HAVE_CLOCK_GETTIME 1 7627#define HAVE_CLOCK_GETTIME 1
7772_ACEOF 7628_ACEOF
7773 7629
7774else 7630else
7804 conftest$ac_exeext conftest.$ac_ext 7660 conftest$ac_exeext conftest.$ac_ext
7805 fi 7661 fi
7806 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
7807 { $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
7808$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 7664$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7809if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7665if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7810 $as_echo_n "(cached) " >&6 7666 $as_echo_n "(cached) " >&6
7811else 7667else
7812 ac_check_lib_save_LIBS=$LIBS 7668 ac_check_lib_save_LIBS=$LIBS
7813LIBS="-lrt $LIBS" 7669LIBS="-lrt $LIBS"
7814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7670cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 conftest$ac_exeext conftest.$ac_ext 7694 conftest$ac_exeext conftest.$ac_ext
7839LIBS=$ac_check_lib_save_LIBS 7695LIBS=$ac_check_lib_save_LIBS
7840fi 7696fi
7841{ $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
7842$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 7698$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7843if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7699if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF 7700 cat >>confdefs.h <<_ACEOF
7845#define HAVE_LIBRT 1 7701#define HAVE_LIBRT 1
7846_ACEOF 7702_ACEOF
7847 7703
7848 LIBS="-lrt $LIBS" 7704 LIBS="-lrt $LIBS"
7851 7707
7852 unset ac_cv_func_clock_gettime 7708 unset ac_cv_func_clock_gettime
7853 for ac_func in clock_gettime 7709 for ac_func in clock_gettime
7854do : 7710do :
7855 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"
7856if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7712if test "x$ac_cv_func_clock_gettime" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF 7713 cat >>confdefs.h <<_ACEOF
7858#define HAVE_CLOCK_GETTIME 1 7714#define HAVE_CLOCK_GETTIME 1
7859_ACEOF 7715_ACEOF
7860 7716
7861fi 7717fi
7868 7724
7869 7725
7870for ac_func in nanosleep 7726for ac_func in nanosleep
7871do : 7727do :
7872 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7728 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7873if test "x$ac_cv_func_nanosleep" = x""yes; then : 7729if test "x$ac_cv_func_nanosleep" = xyes; then :
7874 cat >>confdefs.h <<_ACEOF 7730 cat >>confdefs.h <<_ACEOF
7875#define HAVE_NANOSLEEP 1 7731#define HAVE_NANOSLEEP 1
7876_ACEOF 7732_ACEOF
7877 7733
7878else 7734else
7879 7735
7880 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7736 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7881 { $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
7882$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7738$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7883if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7739if ${ac_cv_lib_rt_nanosleep+:} false; then :
7884 $as_echo_n "(cached) " >&6 7740 $as_echo_n "(cached) " >&6
7885else 7741else
7886 ac_check_lib_save_LIBS=$LIBS 7742 ac_check_lib_save_LIBS=$LIBS
7887LIBS="-lrt $LIBS" 7743LIBS="-lrt $LIBS"
7888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7744cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 conftest$ac_exeext conftest.$ac_ext 7768 conftest$ac_exeext conftest.$ac_ext
7913LIBS=$ac_check_lib_save_LIBS 7769LIBS=$ac_check_lib_save_LIBS
7914fi 7770fi
7915{ $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
7916$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7772$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7917if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7773if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7918 cat >>confdefs.h <<_ACEOF 7774 cat >>confdefs.h <<_ACEOF
7919#define HAVE_LIBRT 1 7775#define HAVE_LIBRT 1
7920_ACEOF 7776_ACEOF
7921 7777
7922 LIBS="-lrt $LIBS" 7778 LIBS="-lrt $LIBS"
7925 7781
7926 unset ac_cv_func_nanosleep 7782 unset ac_cv_func_nanosleep
7927 for ac_func in nanosleep 7783 for ac_func in nanosleep
7928do : 7784do :
7929 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7785 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7930if test "x$ac_cv_func_nanosleep" = x""yes; then : 7786if test "x$ac_cv_func_nanosleep" = xyes; then :
7931 cat >>confdefs.h <<_ACEOF 7787 cat >>confdefs.h <<_ACEOF
7932#define HAVE_NANOSLEEP 1 7788#define HAVE_NANOSLEEP 1
7933_ACEOF 7789_ACEOF
7934 7790
7935fi 7791fi
7944if test -z "$LIBEV_M4_AVOID_LIBM"; then 7800if test -z "$LIBEV_M4_AVOID_LIBM"; then
7945 LIBM=m 7801 LIBM=m
7946fi 7802fi
7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 7803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7948$as_echo_n "checking for library containing floor... " >&6; } 7804$as_echo_n "checking for library containing floor... " >&6; }
7949if test "${ac_cv_search_floor+set}" = set; then : 7805if ${ac_cv_search_floor+:} false; then :
7950 $as_echo_n "(cached) " >&6 7806 $as_echo_n "(cached) " >&6
7951else 7807else
7952 ac_func_search_save_LIBS=$LIBS 7808 ac_func_search_save_LIBS=$LIBS
7953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h. */ 7810/* end confdefs.h. */
7978 if ac_fn_c_try_link "$LINENO"; then : 7834 if ac_fn_c_try_link "$LINENO"; then :
7979 ac_cv_search_floor=$ac_res 7835 ac_cv_search_floor=$ac_res
7980fi 7836fi
7981rm -f core conftest.err conftest.$ac_objext \ 7837rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext 7838 conftest$ac_exeext
7983 if test "${ac_cv_search_floor+set}" = set; then : 7839 if ${ac_cv_search_floor+:} false; then :
7984 break 7840 break
7985fi 7841fi
7986done 7842done
7987if test "${ac_cv_search_floor+set}" = set; then : 7843if ${ac_cv_search_floor+:} false; then :
7988 7844
7989else 7845else
7990 ac_cv_search_floor=no 7846 ac_cv_search_floor=no
7991fi 7847fi
7992rm conftest.$ac_ext 7848rm conftest.$ac_ext
8075 t end 7931 t end
8076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7932 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8077 :end' >>confcache 7933 :end' >>confcache
8078if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7934if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8079 if test -w "$cache_file"; then 7935 if test -w "$cache_file"; then
8080 test "x$cache_file" != "x/dev/null" && 7936 if test "x$cache_file" != "x/dev/null"; then
8081 { $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
8082$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
8083 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
8084 else 7951 else
8085 { $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
8086$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7953$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8087 fi 7954 fi
8088fi 7955fi
8099fi 7966fi
8100 7967
8101 7968
8102{ $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
8103$as_echo_n "checking for linux/if_tun.h... " >&6; } 7970$as_echo_n "checking for linux/if_tun.h... " >&6; }
8104if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 7971if ${tinc_cv_linux_if_tun_h+:} false; then :
8105 $as_echo_n "(cached) " >&6 7972 $as_echo_n "(cached) " >&6
8106else 7973else
8107 7974
8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109/* end confdefs.h. */ 7976/* end confdefs.h. */
8166 8033
8167 8034
8168 8035
8169 8036
8170 8037
8171 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
8172 8038
8173 8039
8174# Check whether --with-openssl-include was given.
8175if test "${with_openssl_include+set}" = set; then :
8176 withval=$with_openssl_include; openssl_include="$withval"
8177 CFLAGS="$CFLAGS -I$withval"
8178 CPPFLAGS="$CPPFLAGS -I$withval"
8179 8040
8180fi
8181 8041
8182 8042
8183 8043
8184# Check whether --with-openssl-lib was given. 8044if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8185if test "${with_openssl_lib+set}" = set; then : 8045 if test -n "$ac_tool_prefix"; then
8186 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.
8187 LIBS="$LIBS -L$withval" 8047set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8188 8048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189fi 8049$as_echo_n "checking for $ac_word... " >&6; }
8190 8050if ${ac_cv_path_PKG_CONFIG+:} false; then :
8191 8051 $as_echo_n "(cached) " >&6
8192 for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h
8193do :
8194 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8195ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8196if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8197 cat >>confdefs.h <<_ACEOF
8198#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8199_ACEOF
8200
8201else 8052else
8202 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8053 case $PKG_CONFIG in
8203 8054 [\\/]* | ?:[\\/]*)
8204fi 8055 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8205 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
8206done 8069done
8070 done
8071IFS=$as_save_IFS
8207 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
8208 8084
8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8210 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
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8092$as_echo_n "checking for $ac_word... " >&6; }
8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then : 8093if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8214 $as_echo_n "(cached) " >&6 8094 $as_echo_n "(cached) " >&6
8215else 8095else
8216 ac_check_lib_save_LIBS=$LIBS 8096 case $ac_pt_PKG_CONFIG in
8217LIBS="-lcrypto $LIBS" 8097 [\\/]* | ?:[\\/]*)
8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8098 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8219/* end confdefs.h. */
8220
8221/* Override any GCC internal prototype to avoid an error.
8222 Use char because int might match the return type of a GCC
8223 builtin and then its argument prototype would still apply. */
8224#ifdef __cplusplus
8225extern "C"
8226#endif
8227char SHA1_Init ();
8228int
8229main ()
8230{
8231return SHA1_Init ();
8232 ; 8099 ;;
8233 return 0; 8100 *)
8234} 8101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235_ACEOF 8102for as_dir in $PATH
8236if ac_fn_cxx_try_link "$LINENO"; then : 8103do
8237 ac_cv_lib_crypto_SHA1_Init=yes 8104 IFS=$as_save_IFS
8238else 8105 test -z "$as_dir" && as_dir=.
8239 ac_cv_lib_crypto_SHA1_Init=no 8106 for ac_exec_ext in '' $ac_executable_extensions; do
8240fi 8107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241rm -f core conftest.err conftest.$ac_objext \ 8108 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8242 conftest$ac_exeext conftest.$ac_ext 8109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243LIBS=$ac_check_lib_save_LIBS 8110 break 2
8244fi 8111 fi
8245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8246$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then :
8248 LIBS="$LIBS -lcrypto"
8249else
8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8251
8252fi
8253
8254
8255 for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms
8256do :
8257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8258ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
8259if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8260 cat >>confdefs.h <<_ACEOF
8261#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8262_ACEOF
8263
8264fi
8265done 8112done
8113 done
8114IFS=$as_save_IFS
8266 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
8267 8127
8268 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8128 if test "x$ac_pt_PKG_CONFIG" = x; then
8269if test "x$ac_cv_func_dlopen" = x""yes; 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
8270 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; }
8271else 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
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
8273$as_echo_n "checking for dlopen in -ldl... " >&6; } 8160$as_echo_n "checking for LIBCRYPTO... " >&6; }
8274if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 8161
8275 $as_echo_n "(cached) " >&6 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
8276else 8176 else
8277 ac_check_lib_save_LIBS=$LIBS 8177 pkg_failed=untried
8278LIBS="-ldl $LIBS" 8178fi
8279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8179if test -n "$LIBCRYPTO_LIBS"; then
8280/* end confdefs.h. */ 8180 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
8281 8181 elif test -n "$PKG_CONFIG"; then
8282/* Override any GCC internal prototype to avoid an error. 8182 if test -n "$PKG_CONFIG" && \
8283 Use char because int might match the return type of a GCC 8183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5
8284 builtin and then its argument prototype would still apply. */ 8184 ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5
8285#ifdef __cplusplus 8185 ac_status=$?
8286extern "C" 8186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8287#endif 8187 test $ac_status = 0; }; then
8288char dlopen (); 8188 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null`
8289int 8189 test "x$?" != "x0" && pkg_failed=yes
8290main () 8190else
8291{ 8191 pkg_failed=yes
8292return dlopen (); 8192fi
8293 ;
8294 return 0;
8295}
8296_ACEOF
8297if ac_fn_cxx_try_link "$LINENO"; then :
8298 ac_cv_lib_dl_dlopen=yes
8299else 8193 else
8300 ac_cv_lib_dl_dlopen=no 8194 pkg_failed=untried
8301fi 8195fi
8302rm -f core conftest.err conftest.$ac_objext \ 8196
8303 conftest$ac_exeext conftest.$ac_ext 8197
8304LIBS=$ac_check_lib_save_LIBS 8198
8305fi 8199if test $pkg_failed = yes; then
8306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8201$as_echo "no" >&6; }
8308if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
8309 LIBS="$LIBS -ldl"
8310else
8311 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8312 8202
8313fi 8203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8314 8204 _pkg_short_errors_supported=yes
8315
8316fi
8317
8318
8319 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8320if test "x$ac_cv_func_inflate" = x""yes; then :
8321
8322else 8205else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8206 _pkg_short_errors_supported=no
8324$as_echo_n "checking for inflate in -lz... " >&6; }
8325if test "${ac_cv_lib_z_inflate+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8327else
8328 ac_check_lib_save_LIBS=$LIBS
8329LIBS="-lz $LIBS"
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331/* end confdefs.h. */
8332
8333/* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8336#ifdef __cplusplus
8337extern "C"
8338#endif
8339char inflate ();
8340int
8341main ()
8342{
8343return inflate ();
8344 ;
8345 return 0;
8346}
8347_ACEOF
8348if ac_fn_cxx_try_link "$LINENO"; then :
8349 ac_cv_lib_z_inflate=yes
8350else
8351 ac_cv_lib_z_inflate=no
8352fi 8207fi
8353rm -f core conftest.err conftest.$ac_objext \ 8208 if test $_pkg_short_errors_supported = yes; then
8354 conftest$ac_exeext conftest.$ac_ext 8209 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1`
8355LIBS=$ac_check_lib_save_LIBS 8210 else
8356fi 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
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358$as_echo "$ac_cv_lib_z_inflate" >&6; } 8228$as_echo "no" >&6; }
8359if test "x$ac_cv_lib_z_inflate" = x""yes; then : 8229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8360 LIBS="$LIBS -lz" 8230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8361else 8231as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8362 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 8232is in your PATH or set the PKG_CONFIG environment variable to the full
8233path to pkg-config.
8363 8234
8364fi 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.
8365 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; }
8366 8246
8367fi
8368
8369
8370if test "x$openssl_include" != x; then
8371 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8372fi 8247fi
8373 8248
8374# Check whether --enable-threads was given. 8249# Check whether --enable-threads was given.
8375if test "${enable_threads+set}" = set; then : 8250if test "${enable_threads+set}" = set; then :
8376 enableval=$enable_threads; try_threads=$enableval 8251 enableval=$enable_threads; try_threads=$enableval
8380fi 8255fi
8381 8256
8382 8257
8383if test "x$try_threads" = xyes; then 8258if test "x$try_threads" = xyes; then
8384 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 8259 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8385if test "x$ac_cv_header_pthread_h" = x""yes; then : 8260if test "x$ac_cv_header_pthread_h" = xyes; then :
8386 8261
8387 LIBS="$LIBS -lpthread" 8262 LIBS="$LIBS -lpthread"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389/* end confdefs.h. */ 8264/* end confdefs.h. */
8390#include <pthread.h> 8265#include <pthread.h>
8418fi 8293fi
8419 8294
8420 8295
8421 8296
8422 8297
8298
8299
8423 if test x$rohc = xtrue; then 8300if test x$rohc = xtrue; then
8424 ROHC_TRUE= 8301 ROHC_TRUE=
8425 ROHC_FALSE='#' 8302 ROHC_FALSE='#'
8426else 8303else
8427 ROHC_TRUE='#' 8304 ROHC_TRUE='#'
8428 ROHC_FALSE= 8305 ROHC_FALSE=
8483 8360
8484# Check whether --enable-dns was given. 8361# Check whether --enable-dns was given.
8485if test "${enable_dns+set}" = set; then : 8362if test "${enable_dns+set}" = set; then :
8486 enableval=$enable_dns; 8363 enableval=$enable_dns;
8487 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"
8488if test "x$ac_cv_header_gmp_h" = x""yes; then : 8365if test "x$ac_cv_header_gmp_h" = xyes; then :
8489 8366
8490else 8367else
8491 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
8492fi 8369fi
8493 8370
8494 8371
8495 { $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
8496$as_echo_n "checking for main in -lgmp... " >&6; } 8373$as_echo_n "checking for main in -lgmp... " >&6; }
8497if test "${ac_cv_lib_gmp_main+set}" = set; then : 8374if ${ac_cv_lib_gmp_main+:} false; then :
8498 $as_echo_n "(cached) " >&6 8375 $as_echo_n "(cached) " >&6
8499else 8376else
8500 ac_check_lib_save_LIBS=$LIBS 8377 ac_check_lib_save_LIBS=$LIBS
8501LIBS="-lgmp $LIBS" 8378LIBS="-lgmp $LIBS"
8502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 conftest$ac_exeext conftest.$ac_ext 8397 conftest$ac_exeext conftest.$ac_ext
8521LIBS=$ac_check_lib_save_LIBS 8398LIBS=$ac_check_lib_save_LIBS
8522fi 8399fi
8523{ $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
8524$as_echo "$ac_cv_lib_gmp_main" >&6; } 8401$as_echo "$ac_cv_lib_gmp_main" >&6; }
8525if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8402if test "x$ac_cv_lib_gmp_main" = xyes; then :
8526 cat >>confdefs.h <<_ACEOF 8403 cat >>confdefs.h <<_ACEOF
8527#define HAVE_LIBGMP 1 8404#define HAVE_LIBGMP 1
8528_ACEOF 8405_ACEOF
8529 8406
8530 LIBS="-lgmp $LIBS" 8407 LIBS="-lgmp $LIBS"
8542 8419
8543 8420
8544fi 8421fi
8545 8422
8546 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
8547HMAC=12 8437HMACSIZE=12
8548# Check whether --enable-hmac-length was given. 8438# Check whether --enable-hmac-length was given.
8549if test "${enable_hmac_length+set}" = set; then : 8439if test "${enable_hmac_length+set}" = set; then :
8550 enableval=$enable_hmac_length; HMAC=$enableval 8440 enableval=$enable_hmac_length; HMACSIZE=$enableval
8551 8441
8552fi 8442fi
8553 8443
8554 8444
8555cat >>confdefs.h <<_ACEOF 8445cat >>confdefs.h <<_ACEOF
8556#define HMACLENGTH $HMAC 8446#define HMACLENGTH $HMACSIZE
8557_ACEOF
8558
8559
8560RAND=8
8561# Check whether --enable-rand-length was given.
8562if test "${enable_rand_length+set}" = set; then :
8563 enableval=$enable_rand_length; RAND=$enableval
8564
8565fi
8566
8567
8568cat >>confdefs.h <<_ACEOF
8569#define RAND_SIZE $RAND
8570_ACEOF 8447_ACEOF
8571 8448
8572 8449
8573MTU=1500 8450MTU=1500
8574# Check whether --enable-max-mtu was given. 8451# Check whether --enable-max-mtu was given.
8596cat >>confdefs.h <<_ACEOF 8473cat >>confdefs.h <<_ACEOF
8597#define ENABLE_COMPRESSION $COMPRESS 8474#define ENABLE_COMPRESSION $COMPRESS
8598_ACEOF 8475_ACEOF
8599 8476
8600 8477
8601CIPHER=aes_128_cbc 8478CIPHER=aes_128_ctr
8602# Check whether --enable-cipher was given. 8479# Check whether --enable-cipher was given.
8603if test "${enable_cipher+set}" = set; then : 8480if test "${enable_cipher+set}" = set; then :
8604 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
8605 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
8606 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
8607 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
8608 8487
8609fi 8488fi
8610 8489
8611 8490
8612cat >>confdefs.h <<_ACEOF 8491cat >>confdefs.h <<_ACEOF
8613#define ENABLE_CIPHER EVP_${CIPHER} 8492#define ENABLE_CIPHER EVP_${CIPHER}
8614_ACEOF 8493_ACEOF
8615 8494
8616 8495
8617DIGEST=ripemd160 8496HMAC=sha1
8618# Check whether --enable-digest was given. 8497# Check whether --enable-hmac-digest was given.
8619if 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
8620 enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8500 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8621 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8501 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8622 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8502 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8623 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8503 if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi
8624 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
8625 if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi
8626 8504
8627fi 8505fi
8628 8506
8629 8507
8630cat >>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
8631#define ENABLE_DIGEST EVP_${DIGEST} 8524#define ENABLE_AUTH EVP_${AUTH}
8632_ACEOF 8525_ACEOF
8633 8526
8634 8527
8635if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8528if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8636 CXXFLAGS="$CXXFLAGS -fno-rtti" 8529 CXXFLAGS="$CXXFLAGS -fno-rtti"
8709 t end 8602 t end
8710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8711 :end' >>confcache 8604 :end' >>confcache
8712if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8605if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8713 if test -w "$cache_file"; then 8606 if test -w "$cache_file"; then
8714 test "x$cache_file" != "x/dev/null" && 8607 if test "x$cache_file" != "x/dev/null"; then
8715 { $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
8716$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
8717 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
8718 else 8622 else
8719 { $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
8720$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8624$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8721 fi 8625 fi
8722fi 8626fi
8743LIBOBJS=$ac_libobjs 8647LIBOBJS=$ac_libobjs
8744 8648
8745LTLIBOBJS=$ac_ltlibobjs 8649LTLIBOBJS=$ac_ltlibobjs
8746 8650
8747 8651
8748 if test -n "$EXEEXT"; then
8749 am__EXEEXT_TRUE=
8750 am__EXEEXT_FALSE='#'
8751else
8752 am__EXEEXT_TRUE='#'
8753 am__EXEEXT_FALSE=
8754fi
8755
8756if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8652if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8757 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8653 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8758Usually this means the macro was only invoked conditionally." "$LINENO" 5 8654Usually this means the macro was only invoked conditionally." "$LINENO" 5
8759fi 8655fi
8760if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8656if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8772if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8668if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8773 as_fn_error $? "conditional \"ROHC\" was never defined. 8669 as_fn_error $? "conditional \"ROHC\" was never defined.
8774Usually this means the macro was only invoked conditionally." "$LINENO" 5 8670Usually this means the macro was only invoked conditionally." "$LINENO" 5
8775fi 8671fi
8776 8672
8777: ${CONFIG_STATUS=./config.status} 8673: "${CONFIG_STATUS=./config.status}"
8778ac_write_fail=0 8674ac_write_fail=0
8779ac_clean_files_save=$ac_clean_files 8675ac_clean_files_save=$ac_clean_files
8780ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8676ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8781{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8677{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8782$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8678$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8873# (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
8874# splitting by setting IFS to empty value.) 8770# splitting by setting IFS to empty value.)
8875IFS=" "" $as_nl" 8771IFS=" "" $as_nl"
8876 8772
8877# 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=
8878case $0 in #(( 8775case $0 in #((
8879 *[\\/]* ) as_myself=$0 ;; 8776 *[\\/]* ) as_myself=$0 ;;
8880 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8777 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881for as_dir in $PATH 8778for as_dir in $PATH
8882do 8779do
9068 if ln -s conf$$.file conf$$ 2>/dev/null; then 8965 if ln -s conf$$.file conf$$ 2>/dev/null; then
9069 as_ln_s='ln -s' 8966 as_ln_s='ln -s'
9070 # ... but there are two gotchas: 8967 # ... but there are two gotchas:
9071 # 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.
9072 # 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.
9073 # In both cases, we have to default to `cp -p'. 8970 # In both cases, we have to default to `cp -pR'.
9074 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 ||
9075 as_ln_s='cp -p' 8972 as_ln_s='cp -pR'
9076 elif ln conf$$.file conf$$ 2>/dev/null; then 8973 elif ln conf$$.file conf$$ 2>/dev/null; then
9077 as_ln_s=ln 8974 as_ln_s=ln
9078 else 8975 else
9079 as_ln_s='cp -p' 8976 as_ln_s='cp -pR'
9080 fi 8977 fi
9081else 8978else
9082 as_ln_s='cp -p' 8979 as_ln_s='cp -pR'
9083fi 8980fi
9084rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8981rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9085rmdir conf$$.dir 2>/dev/null 8982rmdir conf$$.dir 2>/dev/null
9086 8983
9087 8984
9137else 9034else
9138 test -d ./-p && rmdir ./-p 9035 test -d ./-p && rmdir ./-p
9139 as_mkdir_p=false 9036 as_mkdir_p=false
9140fi 9037fi
9141 9038
9142if 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
9143 as_test_x='test -x' 9047as_test_x='test -x'
9144else 9048as_executable_p=as_fn_executable_p
9145 if ls -dL / >/dev/null 2>&1; then
9146 as_ls_L_option=L
9147 else
9148 as_ls_L_option=
9149 fi
9150 as_test_x='
9151 eval sh -c '\''
9152 if test -d "$1"; then
9153 test -d "$1/.";
9154 else
9155 case $1 in #(
9156 -*)set "./$1";;
9157 esac;
9158 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9159 ???[sx]*):;;*)false;;esac;fi
9160 '\'' sh
9161 '
9162fi
9163as_executable_p=$as_test_x
9164 9049
9165# Sed expression to map a string onto a valid CPP name. 9050# Sed expression to map a string onto a valid CPP name.
9166as_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'"
9167 9052
9168# Sed expression to map a string onto a valid variable name. 9053# Sed expression to map a string onto a valid variable name.
9180# 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
9181# report actual input values of CONFIG_FILES etc. instead of their 9066# report actual input values of CONFIG_FILES etc. instead of their
9182# values after options handling. 9067# values after options handling.
9183ac_log=" 9068ac_log="
9184This file was extended by $as_me, which was 9069This file was extended by $as_me, which was
9185generated by GNU Autoconf 2.67. Invocation command line was 9070generated by GNU Autoconf 2.69. Invocation command line was
9186 9071
9187 CONFIG_FILES = $CONFIG_FILES 9072 CONFIG_FILES = $CONFIG_FILES
9188 CONFIG_HEADERS = $CONFIG_HEADERS 9073 CONFIG_HEADERS = $CONFIG_HEADERS
9189 CONFIG_LINKS = $CONFIG_LINKS 9074 CONFIG_LINKS = $CONFIG_LINKS
9190 CONFIG_COMMANDS = $CONFIG_COMMANDS 9075 CONFIG_COMMANDS = $CONFIG_COMMANDS
9246_ACEOF 9131_ACEOF
9247cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9132cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9248ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9133ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9249ac_cs_version="\\ 9134ac_cs_version="\\
9250config.status 9135config.status
9251configured by $0, generated by GNU Autoconf 2.67, 9136configured by $0, generated by GNU Autoconf 2.69,
9252 with options \\"\$ac_cs_config\\" 9137 with options \\"\$ac_cs_config\\"
9253 9138
9254Copyright (C) 2010 Free Software Foundation, Inc. 9139Copyright (C) 2012 Free Software Foundation, Inc.
9255This config.status script is free software; the Free Software Foundation 9140This config.status script is free software; the Free Software Foundation
9256gives unlimited permission to copy, distribute and modify it." 9141gives unlimited permission to copy, distribute and modify it."
9257 9142
9258ac_pwd='$ac_pwd' 9143ac_pwd='$ac_pwd'
9259srcdir='$srcdir' 9144srcdir='$srcdir'
9260INSTALL='$INSTALL' 9145INSTALL='$INSTALL'
9261MKDIR_P='$MKDIR_P'
9262AWK='$AWK' 9146AWK='$AWK'
9263test -n "\$AWK" || AWK=awk 9147test -n "\$AWK" || AWK=awk
9264_ACEOF 9148_ACEOF
9265 9149
9266cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9340fi 9224fi
9341 9225
9342_ACEOF 9226_ACEOF
9343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9227cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9344if \$ac_cs_recheck; then 9228if \$ac_cs_recheck; then
9345 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
9346 shift 9230 shift
9347 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9231 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9348 CONFIG_SHELL='$SHELL' 9232 CONFIG_SHELL='$SHELL'
9349 export CONFIG_SHELL 9233 export CONFIG_SHELL
9350 exec "\$@" 9234 exec "\$@"
9391 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9275 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9392 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9276 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9393 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9277 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9394 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9278 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9395 9279
9396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9280 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9397 esac 9281 esac
9398done 9282done
9399 9283
9400 9284
9401# 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,
9414# Hook for its removal unless debugging. 9298# Hook for its removal unless debugging.
9415# 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:
9416# 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'.
9417$debug || 9301$debug ||
9418{ 9302{
9419 tmp= 9303 tmp= ac_tmp=
9420 trap 'exit_status=$? 9304 trap 'exit_status=$?
9305 : "${ac_tmp:=$tmp}"
9421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9306 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9422' 0 9307' 0
9423 trap 'as_fn_exit 1' 1 2 13 15 9308 trap 'as_fn_exit 1' 1 2 13 15
9424} 9309}
9425# Create a (secure) tmp directory for tmp files. 9310# Create a (secure) tmp directory for tmp files.
9426 9311
9427{ 9312{
9428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9313 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9429 test -n "$tmp" && test -d "$tmp" 9314 test -d "$tmp"
9430} || 9315} ||
9431{ 9316{
9432 tmp=./conf$$-$RANDOM 9317 tmp=./conf$$-$RANDOM
9433 (umask 077 && mkdir "$tmp") 9318 (umask 077 && mkdir "$tmp")
9434} || 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
9435 9321
9436# Set up the scripts for CONFIG_FILES section. 9322# Set up the scripts for CONFIG_FILES section.
9437# No need to generate them if there are no CONFIG_FILES. 9323# No need to generate them if there are no CONFIG_FILES.
9438# This happens for instance with `./config.status config.h'. 9324# This happens for instance with `./config.status config.h'.
9439if test -n "$CONFIG_FILES"; then 9325if test -n "$CONFIG_FILES"; then
9451 ac_cs_awk_cr='\\r' 9337 ac_cs_awk_cr='\\r'
9452else 9338else
9453 ac_cs_awk_cr=$ac_cr 9339 ac_cs_awk_cr=$ac_cr
9454fi 9340fi
9455 9341
9456echo 'BEGIN {' >"$tmp/subs1.awk" && 9342echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9457_ACEOF 9343_ACEOF
9458 9344
9459 9345
9460{ 9346{
9461 echo "cat >conf$$subs.awk <<_ACEOF" && 9347 echo "cat >conf$$subs.awk <<_ACEOF" &&
9479 fi 9365 fi
9480done 9366done
9481rm -f conf$$subs.sh 9367rm -f conf$$subs.sh
9482 9368
9483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9484cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9370cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9485_ACEOF 9371_ACEOF
9486sed -n ' 9372sed -n '
9487h 9373h
9488s/^/S["/; s/!.*/"]=/ 9374s/^/S["/; s/!.*/"]=/
9489p 9375p
9527} 9413}
9528' >>$CONFIG_STATUS || ac_write_fail=1 9414' >>$CONFIG_STATUS || ac_write_fail=1
9529rm -f conf$$subs.awk 9415rm -f conf$$subs.awk
9530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9416cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9531_ACAWK 9417_ACAWK
9532cat >>"\$tmp/subs1.awk" <<_ACAWK && 9418cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9533 for (key in S) S_is_set[key] = 1 9419 for (key in S) S_is_set[key] = 1
9534 FS = "" 9420 FS = ""
9535 9421
9536} 9422}
9537{ 9423{
9559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9445cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9560if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9446if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9561 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"
9562else 9448else
9563 cat 9449 cat
9564fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9450fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9451 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9566_ACEOF 9452_ACEOF
9567 9453
9568# 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),
9569# ${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
9593 9479
9594# Set up the scripts for CONFIG_HEADERS section. 9480# Set up the scripts for CONFIG_HEADERS section.
9595# No need to generate them if there are no CONFIG_HEADERS. 9481# No need to generate them if there are no CONFIG_HEADERS.
9596# This happens for instance with `./config.status Makefile'. 9482# This happens for instance with `./config.status Makefile'.
9597if test -n "$CONFIG_HEADERS"; then 9483if test -n "$CONFIG_HEADERS"; then
9598cat >"$tmp/defines.awk" <<\_ACAWK || 9484cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9599BEGIN { 9485BEGIN {
9600_ACEOF 9486_ACEOF
9601 9487
9602# Transform confdefs.h into an awk script `defines.awk', embedded as 9488# Transform confdefs.h into an awk script `defines.awk', embedded as
9603# here-document in config.status, that substitutes the proper values into 9489# here-document in config.status, that substitutes the proper values into
9605 9491
9606# 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
9607# handling of long lines. 9493# handling of long lines.
9608ac_delim='%!_!# ' 9494ac_delim='%!_!# '
9609for ac_last_try in false false :; do 9495for ac_last_try in false false :; do
9610 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9496 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9611 if test -z "$ac_t"; then 9497 if test -z "$ac_tt"; then
9612 break 9498 break
9613 elif $ac_last_try; then 9499 elif $ac_last_try; then
9614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9500 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9615 else 9501 else
9616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9502 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9707 case $ac_tag in 9593 case $ac_tag in
9708 :[FHLC]) ac_mode=$ac_tag; continue;; 9594 :[FHLC]) ac_mode=$ac_tag; continue;;
9709 esac 9595 esac
9710 case $ac_mode$ac_tag in 9596 case $ac_mode$ac_tag in
9711 :[FHL]*:*);; 9597 :[FHL]*:*);;
9712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9598 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9713 :[FH]-) ac_tag=-:-;; 9599 :[FH]-) ac_tag=-:-;;
9714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9600 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9715 esac 9601 esac
9716 ac_save_IFS=$IFS 9602 ac_save_IFS=$IFS
9717 IFS=: 9603 IFS=:
9726 :[FH]) 9612 :[FH])
9727 ac_file_inputs= 9613 ac_file_inputs=
9728 for ac_f 9614 for ac_f
9729 do 9615 do
9730 case $ac_f in 9616 case $ac_f in
9731 -) ac_f="$tmp/stdin";; 9617 -) ac_f="$ac_tmp/stdin";;
9732 *) # 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
9733 # (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,
9734 # because $ac_f cannot contain `:'. 9620 # because $ac_f cannot contain `:'.
9735 test -f "$ac_f" || 9621 test -f "$ac_f" ||
9736 case $ac_f in 9622 case $ac_f in
9737 [\\/$]*) false;; 9623 [\\/$]*) false;;
9738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9624 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9739 esac || 9625 esac ||
9740 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;;
9741 esac 9627 esac
9742 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
9743 as_fn_append ac_file_inputs " '$ac_f'" 9629 as_fn_append ac_file_inputs " '$ac_f'"
9744 done 9630 done
9745 9631
9761 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9647 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9762 *) ac_sed_conf_input=$configure_input;; 9648 *) ac_sed_conf_input=$configure_input;;
9763 esac 9649 esac
9764 9650
9765 case $ac_tag in 9651 case $ac_tag in
9766 *:-:* | *:-) cat >"$tmp/stdin" \ 9652 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9768 esac 9654 esac
9769 ;; 9655 ;;
9770 esac 9656 esac
9771 9657
9772 ac_dir=`$as_dirname -- "$ac_file" || 9658 ac_dir=`$as_dirname -- "$ac_file" ||
9836 9722
9837 case $INSTALL in 9723 case $INSTALL in
9838 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9724 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9839 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9725 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9840 esac 9726 esac
9841 ac_MKDIR_P=$MKDIR_P
9842 case $MKDIR_P in
9843 [\\/$]* | ?:[\\/]* ) ;;
9844 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9845 esac
9846_ACEOF 9727_ACEOF
9847 9728
9848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9849# If the template does not know about datarootdir, expand it. 9730# If the template does not know about datarootdir, expand it.
9850# FIXME: This hack should be removed a few years after 2.60. 9731# FIXME: This hack should be removed a few years after 2.60.
9895s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9776s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9896s&@builddir@&$ac_builddir&;t t 9777s&@builddir@&$ac_builddir&;t t
9897s&@abs_builddir@&$ac_abs_builddir&;t t 9778s&@abs_builddir@&$ac_abs_builddir&;t t
9898s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9779s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9899s&@INSTALL@&$ac_INSTALL&;t t 9780s&@INSTALL@&$ac_INSTALL&;t t
9900s&@MKDIR_P@&$ac_MKDIR_P&;t t
9901$ac_datarootdir_hack 9781$ac_datarootdir_hack
9902" 9782"
9903eval 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" \
9904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9905 9785
9906test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9786test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9907 { 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"; } &&
9908 { 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"; } &&
9909 { $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'
9910which seems to be undefined. Please make sure it is defined" >&5 9791which seems to be undefined. Please make sure it is defined" >&5
9911$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'
9912which seems to be undefined. Please make sure it is defined" >&2;} 9793which seems to be undefined. Please make sure it is defined" >&2;}
9913 9794
9914 rm -f "$tmp/stdin" 9795 rm -f "$ac_tmp/stdin"
9915 case $ac_file in 9796 case $ac_file in
9916 -) cat "$tmp/out" && rm -f "$tmp/out";; 9797 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9917 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9798 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9918 esac \ 9799 esac \
9919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9920 ;; 9801 ;;
9921 :H) 9802 :H)
9922 # 9803 #
9923 # CONFIG_HEADER 9804 # CONFIG_HEADER
9924 # 9805 #
9925 if test x"$ac_file" != x-; then 9806 if test x"$ac_file" != x-; then
9926 { 9807 {
9927 $as_echo "/* $configure_input */" \ 9808 $as_echo "/* $configure_input */" \
9928 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9809 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9929 } >"$tmp/config.h" \ 9810 } >"$ac_tmp/config.h" \
9930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9931 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
9932 { $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
9933$as_echo "$as_me: $ac_file is unchanged" >&6;} 9814$as_echo "$as_me: $ac_file is unchanged" >&6;}
9934 else 9815 else
9935 rm -f "$ac_file" 9816 rm -f "$ac_file"
9936 mv "$tmp/config.h" "$ac_file" \ 9817 mv "$ac_tmp/config.h" "$ac_file" \
9937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9938 fi 9819 fi
9939 else 9820 else
9940 $as_echo "/* $configure_input */" \ 9821 $as_echo "/* $configure_input */" \
9941 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9942 || as_fn_error $? "could not create -" "$LINENO" 5 9823 || as_fn_error $? "could not create -" "$LINENO" 5
9943 fi 9824 fi
9944# Compute "$ac_file"'s index in $config_headers. 9825# Compute "$ac_file"'s index in $config_headers.
9945_am_arg="$ac_file"
9946_am_stamp_count=1 9826_am_stamp_count=1
9947for _am_header in $config_headers :; do 9827for _am_header in $config_headers :; do
9948 case $_am_header in 9828 case $_am_header in
9949 $_am_arg | $_am_arg:* ) 9829 "$ac_file" | "$ac_file":* )
9950 break ;; 9830 break ;;
9951 * ) 9831 * )
9952 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9832 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9953 esac 9833 esac
9954done 9834done
9955echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9835echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
9956$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9836$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9957 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9837 X"$ac_file" : 'X\(//\)[^/]' \| \
9958 X"$_am_arg" : 'X\(//\)$' \| \ 9838 X"$ac_file" : 'X\(//\)$' \| \
9959 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9960$as_echo X"$_am_arg" | 9840$as_echo X"$ac_file" |
9961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9962 s//\1/ 9842 s//\1/
9963 q 9843 q
9964 } 9844 }
9965 /^X\(\/\/\)[^/].*/{ 9845 /^X\(\/\/\)[^/].*/{
10078 done 9958 done
10079 fi 9959 fi
10080 ;; 9960 ;;
10081 esac 9961 esac
10082 done ;; 9962 done ;;
10083 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9963 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10084 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10085 # are listed without --file. Let's play safe and only enable the eval
10086 # if we detect the quoting.
10087 case $CONFIG_FILES in
10088 *\'*) eval set x "$CONFIG_FILES" ;;
10089 *) set x $CONFIG_FILES ;;
10090 esac
10091 shift
10092 for mf
10093 do
10094 # Strip MF so we end up with the name of the file. 9964 # Strip MF so we end up with the name of the file.
10095 mf=`echo "$mf" | sed -e 's/:.*$//'` 9965 mf=`echo "$mf" | sed -e 's/:.*$//'`
10096 # Check whether this is an Automake generated Makefile or not. 9966 # Check whether this is an Automake generated Makefile or not.
10097 # We used to match only the files named `Makefile.in', but 9967 # We used to match only the files named `Makefile.in', but
10098 # some people rename them; so instead we look at the file content. 9968 # some people rename them; so instead we look at the file content.
10099 # Grep'ing the first line is not enough: some people post-process 9969 # Grep'ing the first line is not enough: some people post-process
10100 # each Makefile.in and add a new line on top of each file to say so. 9970 # each Makefile.in and add a new line on top of each file to say so.
10101 # Grep'ing the whole file is not good either: AIX grep has a line 9971 # So let's grep whole file.
10102 # limit of 2048, but all sed's we know have understand at least 4000.
10103 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9972 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10104 dirpart=`$as_dirname -- "$mf" || 9973 dirpart=`$as_dirname -- "$mf" ||
10105$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9974$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10106 X"$mf" : 'X\(//\)[^/]' \| \ 9975 X"$mf" : 'X\(//\)[^/]' \| \
10107 X"$mf" : 'X\(//\)$' \| \ 9976 X"$mf" : 'X\(//\)$' \| \
10108 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10109$as_echo X"$mf" | 9978$as_echo X"$mf" |
10122 /^X\(\/\).*/{ 9991 /^X\(\/\).*/{
10123 s//\1/ 9992 s//\1/
10124 q 9993 q
10125 } 9994 }
10126 s/.*/./; q'` 9995 s/.*/./; q'`
10127 else 9996 else
10128 continue 9997 continue
10129 fi 9998 fi
10130 # Extract the definition of DEPDIR, am__include, and am__quote 9999 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10131 # from the Makefile without running `make'. 10000 # Extract the definition of DEP_FILES from the Makefile without
10001 # running `make'.
10132 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10002 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10133 test -z "$DEPDIR" && continue 10003 test -z "$DEPDIR" && continue
10134 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10135 test -z "am__include" && continue
10136 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10137 # When using ansi2knr, U may be empty or an underscore; expand it 10004 # When using ansi2knr, U may be empty or an underscore; expand it
10138 U=`sed -n 's/^U = //p' < "$mf"` 10005 U=`sed -n -e '/^U = / s///p' < "$mf"`
10139 # Find all dependency output files, they are included files with 10006 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10140 # $(DEPDIR) in their names. We invoke sed twice because it is the 10007 # We invoke sed twice because it is the simplest approach to
10141 # simplest approach to changing $(DEPDIR) to its actual value in the 10008 # changing $(DEPDIR) to its actual value in the expansion.
10142 # expansion.
10143 for file in `sed -n " 10009 for file in `sed -n -e '
10144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10010 /^DEP_FILES = .*\\\\$/ {
10011 s/^DEP_FILES = //
10012 :loop
10013 s/\\\\$//
10014 p
10015 n
10016 /\\\\$/ b loop
10017 p
10018 }
10019 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10020 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10146 # Make sure the directory exists. 10021 # Make sure the directory exists.
10147 test -f "$dirpart/$file" && continue 10022 test -f "$dirpart/$file" && continue
10148 fdir=`$as_dirname -- "$file" || 10023 fdir=`$as_dirname -- "$file" ||
10149$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10024$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10150 X"$file" : 'X\(//\)[^/]' \| \ 10025 X"$file" : 'X\(//\)[^/]' \| \
10151 X"$file" : 'X\(//\)$' \| \ 10026 X"$file" : 'X\(//\)$' \| \
10152 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10027 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10153$as_echo X"$file" | 10028$as_echo X"$file" |
10166 /^X\(\/\).*/{ 10041 /^X\(\/\).*/{
10167 s//\1/ 10042 s//\1/
10168 q 10043 q
10169 } 10044 }
10170 s/.*/./; q'` 10045 s/.*/./; q'`
10171 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10046 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10172 # echo "creating $dirpart/$file" 10047 # echo "creating $dirpart/$file"
10173 echo '# dummy' > "$dirpart/$file" 10048 echo '# dummy' > "$dirpart/$file"
10174 done
10175 done 10049 done
10176} 10050done
10177 ;; 10051 ;;
10178 10052
10179 esac 10053 esac
10180done # for ac_tag 10054done # for ac_tag
10181 10055
10217echo 10091echo
10218echo "***" 10092echo "***"
10219echo "*** Configuration Summary" 10093echo "*** Configuration Summary"
10220echo "***" 10094echo "***"
10221echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10095echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10096echo "*** RSA size: $RSA"
10222echo "*** Cipher used: $CIPHER" 10097echo "*** Cipher used: $CIPHER"
10223echo "*** Digest used: $DIGEST" 10098echo "*** Digest used: $DIGEST"
10099echo "*** Authdigest: $AUTH"
10224echo "*** HMAC length: $HMAC" 10100echo "*** HMAC length: $HMAC"
10225echo "*** RAND used: $RAND"
10226echo "*** Max. MTU: $MTU" 10101echo "*** Max. MTU: $MTU"
10227 10102
10228echo "***" 10103echo "***"
10229echo "*** Enable options:" 10104echo "*** Enable options:"
10230grep ENABLE_ config.h | sed -e 's/^/*** /' 10105grep ENABLE_ config.h | sed -e 's/^/*** /'
10231 10106
10232if test "x$DIGEST" = xmd4; then 10107if test "$HMACSIZE" -lt 12; then
10233echo "***" 10108echo "***"
10234echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
10235fi
10236
10237if test "x$DIGEST" = xmd5; then
10238echo "***"
10239echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure"
10240fi
10241
10242if test "$HMAC" -lt 12; then
10243echo "***"
10244echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10109echo "*** WARNING: The hmac length you have chosen ($HMACSIZE) is quite insecure"
10245fi
10246
10247if test "$RAND" -lt 8; then
10248echo "***"
10249echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
10250fi 10110fi
10251 10111
10252echo "***" 10112echo "***"
10253echo 10113echo
10254 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
10255 10144
10145EOF
10146fi
10147
10148

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines