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

Comparing gvpe/configure (file contents):
Revision 1.48 by root, Tue Jun 21 16:27:32 2011 UTC vs.
Revision 1.56 by root, Thu Jan 29 00:21:38 2015 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
645MSGFMT 671MSGFMT
646MKINSTALLDIRS 672MKINSTALLDIRS
647MAINT 673MAINT
648MAINTAINER_MODE_FALSE 674MAINTAINER_MODE_FALSE
649MAINTAINER_MODE_TRUE 675MAINTAINER_MODE_TRUE
650am__untar
651am__tar
652AMTAR
653am__leading_dot 676am__leading_dot
654SET_MAKE 677SET_MAKE
655AWK 678AWK
656mkdir_p
657MKDIR_P
658INSTALL_STRIP_PROGRAM 679INSTALL_STRIP_PROGRAM
659STRIP 680STRIP
660install_sh 681install_sh
682AMTAR
661MAKEINFO 683MAKEINFO
662AUTOHEADER 684AUTOHEADER
663AUTOMAKE 685AUTOMAKE
664AUTOCONF 686AUTOCONF
665ACLOCAL 687ACLOCAL
666VERSION 688VERSION
667PACKAGE 689PACKAGE
668CYGPATH_W 690CYGPATH_W
669am__isrc
670INSTALL_DATA 691INSTALL_DATA
671INSTALL_SCRIPT 692INSTALL_SCRIPT
672INSTALL_PROGRAM 693INSTALL_PROGRAM
673target_os 694target_os
674target_vendor 695target_vendor
738enable_static_daemon 759enable_static_daemon
739enable_icmp 760enable_icmp
740enable_tcp 761enable_tcp
741enable_http_proxy 762enable_http_proxy
742enable_dns 763enable_dns
764enable_rsa_length
743enable_hmac_length 765enable_hmac_length
744enable_rand_length
745enable_max_mtu 766enable_max_mtu
746enable_compression 767enable_compression
747enable_cipher 768enable_cipher
748enable_digest 769enable_hmac_digest
770enable_auth_digest
749' 771'
750 ac_precious_vars='build_alias 772 ac_precious_vars='build_alias
751host_alias 773host_alias
752target_alias 774target_alias
753CC 775CC
1162 *) 1184 *)
1163 # FIXME: should be removed in autoconf 3.0. 1185 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1189 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 ;; 1190 ;;
1169 1191
1170 esac 1192 esac
1171done 1193done
1172 1194
1213 1235
1214# FIXME: To remove some day. 1236# FIXME: To remove some day.
1215if test "x$host_alias" != x; then 1237if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then 1238 if test "x$build_alias" = x; then
1217 cross_compiling=maybe 1239 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 1240 elif test "x$build_alias" != "x$host_alias"; then
1221 cross_compiling=yes 1241 cross_compiling=yes
1222 fi 1242 fi
1223fi 1243fi
1224 1244
1377 1397
1378Optional Features: 1398Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options 1399 --disable-option-checking ignore unrecognized --enable/--with options
1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382 --enable-maintainer-mode enable make rules and dependencies not useful 1402 --enable-maintainer-mode enable make rules and dependencies not useful
1383 (and sometimes confusing) to the casual installer 1403 (and sometimes confusing) to the casual installer
1384 --disable-dependency-tracking speeds up one-time build 1404 --disable-dependency-tracking Speeds up one-time builds
1385 --enable-dependency-tracking do not reject slow dependency extractors 1405 --enable-dependency-tracking Do not reject slow dependency extractors
1386 --disable-rpath do not hardcode runtime library paths 1406 --disable-rpath do not hardcode runtime library paths
1387 --disable-nls do not use Native Language Support 1407 --disable-nls do not use Native Language Support
1388 --enable-iftype=TYPE/SUBTYPE 1408 --enable-iftype=TYPE/SUBTYPE
1389 Use kernel/net device interface TYPE/SUBTYPE. 1409 Use kernel/net device interface TYPE/SUBTYPE.
1390 Working combinations are (see doc/gvpe.osdep.5.pod): 1410 Working combinations are (see doc/gvpe.osdep.5.pod):
1401 --disable-icmp enable icmp protocol support (default enabled). 1421 --disable-icmp enable icmp protocol support (default enabled).
1402 --disable-tcp enable tcp protocol support (default enabled). 1422 --disable-tcp enable tcp protocol support (default enabled).
1403 --disable-http-proxy enable http proxy connect support (default enabled). 1423 --disable-http-proxy enable http proxy connect support (default enabled).
1404 --enable-dns enable dns tunnel protocol support (default 1424 --enable-dns enable dns tunnel protocol support (default
1405 disabled). 1425 disabled).
1426 --enable-rsa-length=BITS
1427 use BITS rsa keys (default 3072). Allowed values are
1428 2048-10240.
1406 --enable-hmac-length=BYTES 1429 --enable-hmac-length=BYTES
1407 use a hmac of length BYTES bytes (default 12). 1430 use a hmac of length BYTES bytes (default 12).
1408 Allowed values are 4, 8, 12, 16. 1431 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). 1432 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1413 Use 9100 for jumbogram support. 1433 Use 9100 for jumbogram support.
1414 --disable-compression Disable compression support. 1434 --disable-compression Disable compression support.
1415 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1435 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1416 Must be one of "bf" (blowfish), "aes-128" 1436 Must be one of "aes-128" (rijndael), "aes-192", or
1417 (rijndael), "aes-192" or "aes-256". 1437 "aes-256".
1418 --enable-digest=CIPHER Select the digest algorithm to use (default 1438 --enable-hmac-digest=HMAC
1439 Select the HMAC digest algorithm to use (default
1419 "ripemd160"). Must be one of "sha512", "sha256", 1440 "sha1"). Must be one of "sha512", "sha256", "sha1",
1420 "sha1" (somewhat insecure), "ripemd160", "md5" 1441 "ripemd160", "whirlpool".
1421 (insecure) or "md4" (insecure). 1442 --enable-auth-digest=DIGEST
1443 Select the hmac algorithm to use (default "sha512").
1444 Must be one of "sha512", "sha256", "whirlpool".
1422 1445
1423Optional Packages: 1446Optional Packages:
1424 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1447 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1425 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1448 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1426 --with-gnu-ld assume the C compiler uses GNU ld default=no 1449 --with-gnu-ld assume the C compiler uses GNU ld default=no
1511 1534
1512test -n "$ac_init_help" && exit $ac_status 1535test -n "$ac_init_help" && exit $ac_status
1513if $ac_init_version; then 1536if $ac_init_version; then
1514 cat <<\_ACEOF 1537 cat <<\_ACEOF
1515configure 1538configure
1516generated by GNU Autoconf 2.67 1539generated by GNU Autoconf 2.69
1517 1540
1518Copyright (C) 2010 Free Software Foundation, Inc. 1541Copyright (C) 2012 Free Software Foundation, Inc.
1519This configure script is free software; the Free Software Foundation 1542This configure script is free software; the Free Software Foundation
1520gives unlimited permission to copy, distribute and modify it. 1543gives unlimited permission to copy, distribute and modify it.
1521_ACEOF 1544_ACEOF
1522 exit 1545 exit
1523fi 1546fi
1557 $as_echo "$as_me: failed program was:" >&5 1580 $as_echo "$as_me: failed program was:" >&5
1558sed 's/^/| /' conftest.$ac_ext >&5 1581sed 's/^/| /' conftest.$ac_ext >&5
1559 1582
1560 ac_retval=1 1583 ac_retval=1
1561fi 1584fi
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval 1586 as_fn_set_status $ac_retval
1564 1587
1565} # ac_fn_c_try_compile 1588} # ac_fn_c_try_compile
1566 1589
1567# ac_fn_c_try_link LINENO 1590# ac_fn_c_try_link LINENO
1589 test $ac_status = 0; } && { 1612 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" || 1613 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err 1614 test ! -s conftest.err
1592 } && test -s conftest$ac_exeext && { 1615 } && test -s conftest$ac_exeext && {
1593 test "$cross_compiling" = yes || 1616 test "$cross_compiling" = yes ||
1594 $as_test_x conftest$ac_exeext 1617 test -x conftest$ac_exeext
1595 }; then : 1618 }; then :
1596 ac_retval=0 1619 ac_retval=0
1597else 1620else
1598 $as_echo "$as_me: failed program was:" >&5 1621 $as_echo "$as_me: failed program was:" >&5
1599sed 's/^/| /' conftest.$ac_ext >&5 1622sed 's/^/| /' conftest.$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1627 # 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 1628 # 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. 1629 # left behind by Apple's compiler. We do this before executing the actions.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval 1632 as_fn_set_status $ac_retval
1610 1633
1611} # ac_fn_c_try_link 1634} # ac_fn_c_try_link
1612 1635
1613# ac_fn_c_try_cpp LINENO 1636# ac_fn_c_try_cpp LINENO
1640 $as_echo "$as_me: failed program was:" >&5 1663 $as_echo "$as_me: failed program was:" >&5
1641sed 's/^/| /' conftest.$ac_ext >&5 1664sed 's/^/| /' conftest.$ac_ext >&5
1642 1665
1643 ac_retval=1 1666 ac_retval=1
1644fi 1667fi
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval 1669 as_fn_set_status $ac_retval
1647 1670
1648} # ac_fn_c_try_cpp 1671} # ac_fn_c_try_cpp
1649 1672
1650# ac_fn_cxx_try_compile LINENO 1673# ac_fn_cxx_try_compile LINENO
1678 $as_echo "$as_me: failed program was:" >&5 1701 $as_echo "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5 1702sed 's/^/| /' conftest.$ac_ext >&5
1680 1703
1681 ac_retval=1 1704 ac_retval=1
1682fi 1705fi
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval 1707 as_fn_set_status $ac_retval
1685 1708
1686} # ac_fn_cxx_try_compile 1709} # ac_fn_cxx_try_compile
1687 1710
1688# ac_fn_cxx_try_cpp LINENO 1711# ac_fn_cxx_try_cpp LINENO
1715 $as_echo "$as_me: failed program was:" >&5 1738 $as_echo "$as_me: failed program was:" >&5
1716sed 's/^/| /' conftest.$ac_ext >&5 1739sed 's/^/| /' conftest.$ac_ext >&5
1717 1740
1718 ac_retval=1 1741 ac_retval=1
1719fi 1742fi
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval 1744 as_fn_set_status $ac_retval
1722 1745
1723} # ac_fn_cxx_try_cpp 1746} # ac_fn_cxx_try_cpp
1724 1747
1725# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1748# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1728# the include files in INCLUDES and setting the cache variable VAR 1751# the include files in INCLUDES and setting the cache variable VAR
1729# accordingly. 1752# accordingly.
1730ac_fn_cxx_check_header_mongrel () 1753ac_fn_cxx_check_header_mongrel ()
1731{ 1754{
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if eval "test \"\${$3+set}\"" = set; then : 1756 if eval \${$3+:} false; then :
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; } 1758$as_echo_n "checking for $2... " >&6; }
1736if eval "test \"\${$3+set}\"" = set; then : 1759if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6 1760 $as_echo_n "(cached) " >&6
1738fi 1761fi
1739eval ac_res=\$$3 1762eval ac_res=\$$3
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741$as_echo "$ac_res" >&6; } 1764$as_echo "$ac_res" >&6; }
1794$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1817$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1795 ;; 1818 ;;
1796esac 1819esac
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798$as_echo_n "checking for $2... " >&6; } 1821$as_echo_n "checking for $2... " >&6; }
1799if eval "test \"\${$3+set}\"" = set; then : 1822if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6 1823 $as_echo_n "(cached) " >&6
1801else 1824else
1802 eval "$3=\$ac_header_compiler" 1825 eval "$3=\$ac_header_compiler"
1803fi 1826fi
1804eval ac_res=\$$3 1827eval ac_res=\$$3
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806$as_echo "$ac_res" >&6; } 1829$as_echo "$ac_res" >&6; }
1807fi 1830fi
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 1832
1810} # ac_fn_cxx_check_header_mongrel 1833} # ac_fn_cxx_check_header_mongrel
1811 1834
1812# ac_fn_cxx_try_run LINENO 1835# ac_fn_cxx_try_run LINENO
1813# ------------------------ 1836# ------------------------
1844sed 's/^/| /' conftest.$ac_ext >&5 1867sed 's/^/| /' conftest.$ac_ext >&5
1845 1868
1846 ac_retval=$ac_status 1869 ac_retval=$ac_status
1847fi 1870fi
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status $ac_retval 1873 as_fn_set_status $ac_retval
1851 1874
1852} # ac_fn_cxx_try_run 1875} # ac_fn_cxx_try_run
1853 1876
1854# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1877# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1858ac_fn_cxx_check_header_compile () 1881ac_fn_cxx_check_header_compile ()
1859{ 1882{
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1883 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 1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862$as_echo_n "checking for $2... " >&6; } 1885$as_echo_n "checking for $2... " >&6; }
1863if eval "test \"\${$3+set}\"" = set; then : 1886if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6 1887 $as_echo_n "(cached) " >&6
1865else 1888else
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867/* end confdefs.h. */ 1890/* end confdefs.h. */
1868$4 1891$4
1876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877fi 1900fi
1878eval ac_res=\$$3 1901eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; } 1903$as_echo "$ac_res" >&6; }
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 1905
1883} # ac_fn_cxx_check_header_compile 1906} # ac_fn_cxx_check_header_compile
1884 1907
1885# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1908# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1886# --------------------------------------------- 1909# ---------------------------------------------
1889ac_fn_cxx_check_type () 1912ac_fn_cxx_check_type ()
1890{ 1913{
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1914 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 1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893$as_echo_n "checking for $2... " >&6; } 1916$as_echo_n "checking for $2... " >&6; }
1894if eval "test \"\${$3+set}\"" = set; then : 1917if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6 1918 $as_echo_n "(cached) " >&6
1896else 1919else
1897 eval "$3=no" 1920 eval "$3=no"
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h. */ 1922/* end confdefs.h. */
1930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931fi 1954fi
1932eval ac_res=\$$3 1955eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934$as_echo "$ac_res" >&6; } 1957$as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 1959
1937} # ac_fn_cxx_check_type 1960} # ac_fn_cxx_check_type
1938 1961
1939# ac_fn_c_try_run LINENO 1962# ac_fn_c_try_run LINENO
1940# ---------------------- 1963# ----------------------
1971sed 's/^/| /' conftest.$ac_ext >&5 1994sed 's/^/| /' conftest.$ac_ext >&5
1972 1995
1973 ac_retval=$ac_status 1996 ac_retval=$ac_status
1974fi 1997fi
1975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1998 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1976 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status $ac_retval 2000 as_fn_set_status $ac_retval
1978 2001
1979} # ac_fn_c_try_run 2002} # ac_fn_c_try_run
1980 2003
1981# ac_fn_c_check_func LINENO FUNC VAR 2004# ac_fn_c_check_func LINENO FUNC VAR
1984ac_fn_c_check_func () 2007ac_fn_c_check_func ()
1985{ 2008{
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2009 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 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988$as_echo_n "checking for $2... " >&6; } 2011$as_echo_n "checking for $2... " >&6; }
1989if eval "test \"\${$3+set}\"" = set; then : 2012if eval \${$3+:} false; then :
1990 $as_echo_n "(cached) " >&6 2013 $as_echo_n "(cached) " >&6
1991else 2014else
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993/* end confdefs.h. */ 2016/* end confdefs.h. */
1994/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2017/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2039 conftest$ac_exeext conftest.$ac_ext 2062 conftest$ac_exeext conftest.$ac_ext
2040fi 2063fi
2041eval ac_res=\$$3 2064eval ac_res=\$$3
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043$as_echo "$ac_res" >&6; } 2066$as_echo "$ac_res" >&6; }
2044 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 2068
2046} # ac_fn_c_check_func 2069} # ac_fn_c_check_func
2047 2070
2048# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2071# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2049# ------------------------------------------------------- 2072# -------------------------------------------------------
2051# the include files in INCLUDES and setting the cache variable VAR 2074# the include files in INCLUDES and setting the cache variable VAR
2052# accordingly. 2075# accordingly.
2053ac_fn_c_check_header_mongrel () 2076ac_fn_c_check_header_mongrel ()
2054{ 2077{
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 if eval "test \"\${$3+set}\"" = set; then : 2079 if eval \${$3+:} false; then :
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058$as_echo_n "checking for $2... " >&6; } 2081$as_echo_n "checking for $2... " >&6; }
2059if eval "test \"\${$3+set}\"" = set; then : 2082if eval \${$3+:} false; then :
2060 $as_echo_n "(cached) " >&6 2083 $as_echo_n "(cached) " >&6
2061fi 2084fi
2062eval ac_res=\$$3 2085eval ac_res=\$$3
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064$as_echo "$ac_res" >&6; } 2087$as_echo "$ac_res" >&6; }
2117$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2140$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 ;; 2141 ;;
2119esac 2142esac
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; } 2144$as_echo_n "checking for $2... " >&6; }
2122if eval "test \"\${$3+set}\"" = set; then : 2145if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6 2146 $as_echo_n "(cached) " >&6
2124else 2147else
2125 eval "$3=\$ac_header_compiler" 2148 eval "$3=\$ac_header_compiler"
2126fi 2149fi
2127eval ac_res=\$$3 2150eval ac_res=\$$3
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129$as_echo "$ac_res" >&6; } 2152$as_echo "$ac_res" >&6; }
2130fi 2153fi
2131 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 2155
2133} # ac_fn_c_check_header_mongrel 2156} # ac_fn_c_check_header_mongrel
2134 2157
2135# ac_fn_cxx_try_link LINENO 2158# ac_fn_cxx_try_link LINENO
2136# ------------------------- 2159# -------------------------
2157 test $ac_status = 0; } && { 2180 test $ac_status = 0; } && {
2158 test -z "$ac_cxx_werror_flag" || 2181 test -z "$ac_cxx_werror_flag" ||
2159 test ! -s conftest.err 2182 test ! -s conftest.err
2160 } && test -s conftest$ac_exeext && { 2183 } && test -s conftest$ac_exeext && {
2161 test "$cross_compiling" = yes || 2184 test "$cross_compiling" = yes ||
2162 $as_test_x conftest$ac_exeext 2185 test -x conftest$ac_exeext
2163 }; then : 2186 }; then :
2164 ac_retval=0 2187 ac_retval=0
2165else 2188else
2166 $as_echo "$as_me: failed program was:" >&5 2189 $as_echo "$as_me: failed program was:" >&5
2167sed 's/^/| /' conftest.$ac_ext >&5 2190sed 's/^/| /' conftest.$ac_ext >&5
2171 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2194 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2172 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2195 # 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 2196 # 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. 2197 # left behind by Apple's compiler. We do this before executing the actions.
2175 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2198 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2176 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2177 as_fn_set_status $ac_retval 2200 as_fn_set_status $ac_retval
2178 2201
2179} # ac_fn_cxx_try_link 2202} # ac_fn_cxx_try_link
2180 2203
2181# ac_fn_cxx_check_func LINENO FUNC VAR 2204# ac_fn_cxx_check_func LINENO FUNC VAR
2184ac_fn_cxx_check_func () 2207ac_fn_cxx_check_func ()
2185{ 2208{
2186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2209 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 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188$as_echo_n "checking for $2... " >&6; } 2211$as_echo_n "checking for $2... " >&6; }
2189if eval "test \"\${$3+set}\"" = set; then : 2212if eval \${$3+:} false; then :
2190 $as_echo_n "(cached) " >&6 2213 $as_echo_n "(cached) " >&6
2191else 2214else
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193/* end confdefs.h. */ 2216/* end confdefs.h. */
2194/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2217/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2239 conftest$ac_exeext conftest.$ac_ext 2262 conftest$ac_exeext conftest.$ac_ext
2240fi 2263fi
2241eval ac_res=\$$3 2264eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243$as_echo "$ac_res" >&6; } 2266$as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2267 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245 2268
2246} # ac_fn_cxx_check_func 2269} # ac_fn_cxx_check_func
2247cat >config.log <<_ACEOF 2270cat >config.log <<_ACEOF
2248This file contains any messages produced by compilers while 2271This file contains any messages produced by compilers while
2249running configure, to aid debugging if configure makes a mistake. 2272running configure, to aid debugging if configure makes a mistake.
2250 2273
2251It was created by $as_me, which was 2274It was created by $as_me, which was
2252generated by GNU Autoconf 2.67. Invocation command line was 2275generated by GNU Autoconf 2.69. Invocation command line was
2253 2276
2254 $ $0 $@ 2277 $ $0 $@
2255 2278
2256_ACEOF 2279_ACEOF
2257exec 5>>config.log 2280exec 5>>config.log
2505 sed 's/^/| /' "$ac_site_file" >&5 2528 sed 's/^/| /' "$ac_site_file" >&5
2506 . "$ac_site_file" \ 2529 . "$ac_site_file" \
2507 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2530 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2531$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509as_fn_error $? "failed to load site script $ac_site_file 2532as_fn_error $? "failed to load site script $ac_site_file
2510See \`config.log' for more details" "$LINENO" 5 ; } 2533See \`config.log' for more details" "$LINENO" 5; }
2511 fi 2534 fi
2512done 2535done
2513 2536
2514if test -r "$cache_file"; then 2537if test -r "$cache_file"; then
2515 # Some versions of bash will fail to source /dev/null (special files 2538 # Some versions of bash will fail to source /dev/null (special files
2630$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2653$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 2654 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2632 2655
2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2634$as_echo_n "checking build system type... " >&6; } 2657$as_echo_n "checking build system type... " >&6; }
2635if test "${ac_cv_build+set}" = set; then : 2658if ${ac_cv_build+:} false; then :
2636 $as_echo_n "(cached) " >&6 2659 $as_echo_n "(cached) " >&6
2637else 2660else
2638 ac_build_alias=$build_alias 2661 ac_build_alias=$build_alias
2639test "x$ac_build_alias" = x && 2662test "x$ac_build_alias" = x &&
2640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2663 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2646fi 2669fi
2647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2648$as_echo "$ac_cv_build" >&6; } 2671$as_echo "$ac_cv_build" >&6; }
2649case $ac_cv_build in 2672case $ac_cv_build in
2650*-*-*) ;; 2673*-*-*) ;;
2651*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2674*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2652esac 2675esac
2653build=$ac_cv_build 2676build=$ac_cv_build
2654ac_save_IFS=$IFS; IFS='-' 2677ac_save_IFS=$IFS; IFS='-'
2655set x $ac_cv_build 2678set x $ac_cv_build
2656shift 2679shift
2664case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2687case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2665 2688
2666 2689
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2668$as_echo_n "checking host system type... " >&6; } 2691$as_echo_n "checking host system type... " >&6; }
2669if test "${ac_cv_host+set}" = set; then : 2692if ${ac_cv_host+:} false; then :
2670 $as_echo_n "(cached) " >&6 2693 $as_echo_n "(cached) " >&6
2671else 2694else
2672 if test "x$host_alias" = x; then 2695 if test "x$host_alias" = x; then
2673 ac_cv_host=$ac_cv_build 2696 ac_cv_host=$ac_cv_build
2674else 2697else
2679fi 2702fi
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2681$as_echo "$ac_cv_host" >&6; } 2704$as_echo "$ac_cv_host" >&6; }
2682case $ac_cv_host in 2705case $ac_cv_host in
2683*-*-*) ;; 2706*-*-*) ;;
2684*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2707*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2685esac 2708esac
2686host=$ac_cv_host 2709host=$ac_cv_host
2687ac_save_IFS=$IFS; IFS='-' 2710ac_save_IFS=$IFS; IFS='-'
2688set x $ac_cv_host 2711set x $ac_cv_host
2689shift 2712shift
2697case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2720case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2698 2721
2699 2722
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2701$as_echo_n "checking target system type... " >&6; } 2724$as_echo_n "checking target system type... " >&6; }
2702if test "${ac_cv_target+set}" = set; then : 2725if ${ac_cv_target+:} false; then :
2703 $as_echo_n "(cached) " >&6 2726 $as_echo_n "(cached) " >&6
2704else 2727else
2705 if test "x$target_alias" = x; then 2728 if test "x$target_alias" = x; then
2706 ac_cv_target=$ac_cv_host 2729 ac_cv_target=$ac_cv_host
2707else 2730else
2712fi 2735fi
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2714$as_echo "$ac_cv_target" >&6; } 2737$as_echo "$ac_cv_target" >&6; }
2715case $ac_cv_target in 2738case $ac_cv_target in
2716*-*-*) ;; 2739*-*-*) ;;
2717*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2740*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2718esac 2741esac
2719target=$ac_cv_target 2742target=$ac_cv_target
2720ac_save_IFS=$IFS; IFS='-' 2743ac_save_IFS=$IFS; IFS='-'
2721set x $ac_cv_target 2744set x $ac_cv_target
2722shift 2745shift
2734# will get canonicalized. 2757# will get canonicalized.
2735test -n "$target_alias" && 2758test -n "$target_alias" &&
2736 test "$program_prefix$program_suffix$program_transform_name" = \ 2759 test "$program_prefix$program_suffix$program_transform_name" = \
2737 NONENONEs,x,x, && 2760 NONENONEs,x,x, &&
2738 program_prefix=${target_alias}- 2761 program_prefix=${target_alias}-
2739am__api_version='1.11' 2762am__api_version="1.7"
2740
2741# Find a good install program. We prefer a C program (faster), 2763# 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 2764# so one script is as good as another. But avoid the broken or
2743# incompatible versions: 2765# incompatible versions:
2744# SysV /etc/install, /usr/sbin/install 2766# SysV /etc/install, /usr/sbin/install
2745# SunOS /usr/etc/install 2767# SunOS /usr/etc/install
2753# ./install, which can be erroneously created by make from ./install.sh. 2775# ./install, which can be erroneously created by make from ./install.sh.
2754# Reject install programs that cannot install multiple files. 2776# Reject install programs that cannot install multiple files.
2755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2777{ $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; } 2778$as_echo_n "checking for a BSD-compatible install... " >&6; }
2757if test -z "$INSTALL"; then 2779if test -z "$INSTALL"; then
2758if test "${ac_cv_path_install+set}" = set; then : 2780if ${ac_cv_path_install+:} false; then :
2759 $as_echo_n "(cached) " >&6 2781 $as_echo_n "(cached) " >&6
2760else 2782else
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762for as_dir in $PATH 2784for as_dir in $PATH
2763do 2785do
2773 # OSF1 and SCO ODT 3.0 have their own names for install. 2795 # 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 2796 # Don't use installbsd from OSF since it installs stuff as root
2775 # by default. 2797 # by default.
2776 for ac_prog in ginstall scoinst install; do 2798 for ac_prog in ginstall scoinst install; do
2777 for ac_exec_ext in '' $ac_executable_extensions; do 2799 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 2800 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2779 if test $ac_prog = install && 2801 if test $ac_prog = install &&
2780 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2802 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2781 # AIX install. It has an incompatible calling convention. 2803 # AIX install. It has an incompatible calling convention.
2782 : 2804 :
2783 elif test $ac_prog = install && 2805 elif test $ac_prog = install &&
2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2856{ $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; } 2857$as_echo_n "checking whether build environment is sane... " >&6; }
2836# Just in case 2858# Just in case
2837sleep 1 2859sleep 1
2838echo timestamp > conftest.file 2860echo 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 2861# 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 2862# arguments. Must try -L first in case configure is actually a
2854# symlink; some systems play weird games with the mod time of symlinks 2863# symlink; some systems play weird games with the mod time of symlinks
2855# (eg FreeBSD returns the mod time of the symlink's containing 2864# (eg FreeBSD returns the mod time of the symlink's containing
2856# directory). 2865# directory).
2857if ( 2866if (
2858 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2867 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2859 if test "$*" = "X"; then 2868 if test "$*" = "X"; then
2860 # -L didn't work. 2869 # -L didn't work.
2861 set X `ls -t "$srcdir/configure" conftest.file` 2870 set X `ls -t $srcdir/configure conftest.file`
2862 fi 2871 fi
2863 rm -f conftest.file 2872 rm -f conftest.file
2864 if test "$*" != "X $srcdir/configure conftest.file" \ 2873 if test "$*" != "X $srcdir/configure conftest.file" \
2865 && test "$*" != "X conftest.file $srcdir/configure"; then 2874 && test "$*" != "X conftest.file $srcdir/configure"; then
2866 2875
2891# Double any \ or $. 2900# Double any \ or $.
2892# By default was `s,x,x', remove it if useless. 2901# By default was `s,x,x', remove it if useless.
2893ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2902ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2894program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2903program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2895 2904
2905
2896# expand $ac_aux_dir to an absolute path 2906# expand $ac_aux_dir to an absolute path
2897am_aux_dir=`cd $ac_aux_dir && pwd` 2907am_aux_dir=`cd $ac_aux_dir && pwd`
2898 2908
2899if test x"${MISSING+set}" != xset; then 2909test 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 2910# Use eval to expand $SHELL
2908if eval "$MISSING --run true"; then 2911if eval "$MISSING --run true"; then
2909 am_missing_run="$MISSING --run " 2912 am_missing_run="$MISSING --run "
2910else 2913else
2911 am_missing_run= 2914 am_missing_run=
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2915 { $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;} 2916$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2914fi 2917fi
2915 2918
2916if test x"${install_sh}" != xset; then 2919for ac_prog in gawk mawk nawk awk
2917 case $am_aux_dir in 2920do
2918 *\ * | *\ *) 2921 # 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'" ;; 2922set dummy $ac_prog; ac_word=$2
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924$as_echo_n "checking for $ac_word... " >&6; }
2925if ${ac_cv_prog_AWK+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927else
2928 if test -n "$AWK"; then
2929 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2930else
2931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932for as_dir in $PATH
2933do
2934 IFS=$as_save_IFS
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938 ac_cv_prog_AWK="$ac_prog"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 break 2
2941 fi
2942done
2943 done
2944IFS=$as_save_IFS
2945
2946fi
2947fi
2948AWK=$ac_cv_prog_AWK
2949if test -n "$AWK"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2951$as_echo "$AWK" >&6; }
2952else
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954$as_echo "no" >&6; }
2955fi
2956
2957
2958 test -n "$AWK" && break
2959done
2960
2961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2962$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2963set x ${MAKE-make}
2964ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2965if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2966 $as_echo_n "(cached) " >&6
2967else
2968 cat >conftest.make <<\_ACEOF
2969SHELL = /bin/sh
2970all:
2971 @echo '@@@%%%=$(MAKE)=@@@%%%'
2972_ACEOF
2973# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2974case `${MAKE-make} -f conftest.make 2>/dev/null` in
2975 *@@@%%%=?*=@@@%%%*)
2976 eval ac_cv_prog_make_${ac_make}_set=yes;;
2920 *) 2977 *)
2921 install_sh="\${SHELL} $am_aux_dir/install-sh" 2978 eval ac_cv_prog_make_${ac_make}_set=no;;
2922 esac 2979esac
2980rm -f conftest.make
2923fi 2981fi
2982if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2984$as_echo "yes" >&6; }
2985 SET_MAKE=
2986else
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988$as_echo "no" >&6; }
2989 SET_MAKE="MAKE=${MAKE-make}"
2990fi
2991
2992rm -rf .tst 2>/dev/null
2993mkdir .tst 2>/dev/null
2994if test -d .tst; then
2995 am__leading_dot=.
2996else
2997 am__leading_dot=_
2998fi
2999rmdir .tst 2>/dev/null
3000
3001 # test to see if srcdir already configured
3002if test "`cd $srcdir && pwd`" != "`pwd`" &&
3003 test -f $srcdir/config.status; then
3004 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3005fi
3006
3007# test whether we have cygpath
3008if test -z "$CYGPATH_W"; then
3009 if (cygpath --version) >/dev/null 2>/dev/null; then
3010 CYGPATH_W='cygpath -w'
3011 else
3012 CYGPATH_W=echo
3013 fi
3014fi
3015
3016
3017# Define the identity of the package.
3018 PACKAGE=gvpe
3019 VERSION=2.25
3020
3021
3022cat >>confdefs.h <<_ACEOF
3023#define PACKAGE "$PACKAGE"
3024_ACEOF
3025
3026
3027cat >>confdefs.h <<_ACEOF
3028#define VERSION "$VERSION"
3029_ACEOF
3030
3031# Some tools Automake needs.
3032
3033ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3034
3035
3036AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3037
3038
3039AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3040
3041
3042AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3043
3044
3045MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3046
3047
3048AMTAR=${AMTAR-"${am_missing_run}tar"}
3049
3050install_sh=${install_sh-"$am_aux_dir/install-sh"}
2924 3051
2925# Installed binaries are usually stripped using `strip' when the user 3052# Installed binaries are usually stripped using `strip' when the user
2926# run `make install-strip'. However `strip' might not be the right 3053# run `make install-strip'. However `strip' might not be the right
2927# tool to use in cross-compilation environments, therefore Automake 3054# tool to use in cross-compilation environments, therefore Automake
2928# will honor the `STRIP' environment variable to overrule this program. 3055# will honor the `STRIP' environment variable to overrule this program.
2930 if test -n "$ac_tool_prefix"; then 3057 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. 3058 # 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 3059set dummy ${ac_tool_prefix}strip; ac_word=$2
2933{ $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
2934$as_echo_n "checking for $ac_word... " >&6; } 3061$as_echo_n "checking for $ac_word... " >&6; }
2935if test "${ac_cv_prog_STRIP+set}" = set; then : 3062if ${ac_cv_prog_STRIP+:} false; then :
2936 $as_echo_n "(cached) " >&6 3063 $as_echo_n "(cached) " >&6
2937else 3064else
2938 if test -n "$STRIP"; then 3065 if test -n "$STRIP"; then
2939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2940else 3067else
2942for as_dir in $PATH 3069for as_dir in $PATH
2943do 3070do
2944 IFS=$as_save_IFS 3071 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=. 3072 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do 3073 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 3074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3075 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 3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 break 2 3077 break 2
2951 fi 3078 fi
2952done 3079done
2970 ac_ct_STRIP=$STRIP 3097 ac_ct_STRIP=$STRIP
2971 # Extract the first word of "strip", so it can be a program name with args. 3098 # Extract the first word of "strip", so it can be a program name with args.
2972set dummy strip; ac_word=$2 3099set dummy strip; ac_word=$2
2973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974$as_echo_n "checking for $ac_word... " >&6; } 3101$as_echo_n "checking for $ac_word... " >&6; }
2975if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3102if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2976 $as_echo_n "(cached) " >&6 3103 $as_echo_n "(cached) " >&6
2977else 3104else
2978 if test -n "$ac_ct_STRIP"; then 3105 if test -n "$ac_ct_STRIP"; then
2979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2980else 3107else
2982for as_dir in $PATH 3109for as_dir in $PATH
2983do 3110do
2984 IFS=$as_save_IFS 3111 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=. 3112 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do 3113 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 3114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_ac_ct_STRIP="strip" 3115 ac_cv_prog_ac_ct_STRIP="strip"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2 3117 break 2
2991 fi 3118 fi
2992done 3119done
3018else 3145else
3019 STRIP="$ac_cv_prog_STRIP" 3146 STRIP="$ac_cv_prog_STRIP"
3020fi 3147fi
3021 3148
3022fi 3149fi
3023INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3150INSTALL_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 3151
3205# We need awk for the "check" target. The system "awk" is bad on 3152# We need awk for the "check" target. The system "awk" is bad on
3206# some platforms. 3153# 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 3154
3215 3155
3216 3156
3217ac_config_headers="$ac_config_headers config.h" 3157ac_config_headers="$ac_config_headers config.h"
3218
3219 3158
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3159{ $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; } 3160$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3222 # Check whether --enable-maintainer-mode was given. 3161 # Check whether --enable-maintainer-mode was given.
3223if test "${enable_maintainer_mode+set}" = set; then : 3162if test "${enable_maintainer_mode+set}" = set; then :
3226 USE_MAINTAINER_MODE=no 3165 USE_MAINTAINER_MODE=no
3227fi 3166fi
3228 3167
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3230$as_echo "$USE_MAINTAINER_MODE" >&6; } 3169$as_echo "$USE_MAINTAINER_MODE" >&6; }
3170
3171
3231 if test $USE_MAINTAINER_MODE = yes; then 3172if test $USE_MAINTAINER_MODE = yes; then
3232 MAINTAINER_MODE_TRUE= 3173 MAINTAINER_MODE_TRUE=
3233 MAINTAINER_MODE_FALSE='#' 3174 MAINTAINER_MODE_FALSE='#'
3234else 3175else
3235 MAINTAINER_MODE_TRUE='#' 3176 MAINTAINER_MODE_TRUE='#'
3236 MAINTAINER_MODE_FALSE= 3177 MAINTAINER_MODE_FALSE=
3240 3181
3241 3182
3242 3183
3243 3184
3244 3185
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 3186
3252 3187
3253 3188
3254 MKINSTALLDIRS= 3189 MKINSTALLDIRS=
3255 if test -n "$ac_aux_dir"; then 3190 if test -n "$ac_aux_dir"; then
3265 3200
3266 # Extract the first word of "msgfmt", so it can be a program name with args. 3201 # Extract the first word of "msgfmt", so it can be a program name with args.
3267set dummy msgfmt; ac_word=$2 3202set dummy msgfmt; ac_word=$2
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269$as_echo_n "checking for $ac_word... " >&6; } 3204$as_echo_n "checking for $ac_word... " >&6; }
3270if test "${ac_cv_path_MSGFMT+set}" = set; then : 3205if ${ac_cv_path_MSGFMT+:} false; then :
3271 $as_echo_n "(cached) " >&6 3206 $as_echo_n "(cached) " >&6
3272else 3207else
3273 case "$MSGFMT" in 3208 case "$MSGFMT" in
3274 /*) 3209 /*)
3275 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3210 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3302 3237
3303 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3238 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3304set dummy gmsgfmt; ac_word=$2 3239set dummy gmsgfmt; ac_word=$2
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306$as_echo_n "checking for $ac_word... " >&6; } 3241$as_echo_n "checking for $ac_word... " >&6; }
3307if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3242if ${ac_cv_path_GMSGFMT+:} false; then :
3308 $as_echo_n "(cached) " >&6 3243 $as_echo_n "(cached) " >&6
3309else 3244else
3310 case $GMSGFMT in 3245 case $GMSGFMT in
3311 [\\/]* | ?:[\\/]*) 3246 [\\/]* | ?:[\\/]*)
3312 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3247 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3316for as_dir in $PATH 3251for as_dir in $PATH
3317do 3252do
3318 IFS=$as_save_IFS 3253 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=. 3254 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do 3255 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 3256 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" 3257 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 3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 break 2 3259 break 2
3325 fi 3260 fi
3326done 3261done
3344 3279
3345 # Extract the first word of "xgettext", so it can be a program name with args. 3280 # Extract the first word of "xgettext", so it can be a program name with args.
3346set dummy xgettext; ac_word=$2 3281set dummy xgettext; ac_word=$2
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348$as_echo_n "checking for $ac_word... " >&6; } 3283$as_echo_n "checking for $ac_word... " >&6; }
3349if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3284if ${ac_cv_path_XGETTEXT+:} false; then :
3350 $as_echo_n "(cached) " >&6 3285 $as_echo_n "(cached) " >&6
3351else 3286else
3352 case "$XGETTEXT" in 3287 case "$XGETTEXT" in
3353 /*) 3288 /*)
3354 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3289 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3383 3318
3384 # Extract the first word of "msgmerge", so it can be a program name with args. 3319 # Extract the first word of "msgmerge", so it can be a program name with args.
3385set dummy msgmerge; ac_word=$2 3320set dummy msgmerge; ac_word=$2
3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387$as_echo_n "checking for $ac_word... " >&6; } 3322$as_echo_n "checking for $ac_word... " >&6; }
3388if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3323if ${ac_cv_path_MSGMERGE+:} false; then :
3389 $as_echo_n "(cached) " >&6 3324 $as_echo_n "(cached) " >&6
3390else 3325else
3391 case "$MSGMERGE" in 3326 case "$MSGMERGE" in
3392 /*) 3327 /*)
3393 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3328 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3467 3402
3468 3403
3469am_make=${MAKE-make} 3404am_make=${MAKE-make}
3470cat > confinc << 'END' 3405cat > confinc << 'END'
3471am__doit: 3406am__doit:
3472 @echo this is the am__doit target 3407 @echo done
3473.PHONY: am__doit 3408.PHONY: am__doit
3474END 3409END
3475# If we don't find an include directive, just comment out the code. 3410# 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 3411{ $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; } 3412$as_echo_n "checking for style of include used by $am_make... " >&6; }
3478am__include="#" 3413am__include="#"
3479am__quote= 3414am__quote=
3480_am_result=none 3415_am_result=none
3481# First try GNU make style include. 3416# First try GNU make style include.
3482echo "include confinc" > confmf 3417echo "include confinc" > confmf
3483# Ignore all kinds of additional output from `make'. 3418# We grep out `Entering directory' and `Leaving directory'
3484case `$am_make -s -f confmf 2> /dev/null` in #( 3419# messages which can occur if `w' ends up in MAKEFLAGS.
3485*the\ am__doit\ target*) 3420# In particular we don't look at `^make:' because GNU make might
3421# be invoked under some other name (usually "gmake"), in which
3422# case it prints its new name instead of `make'.
3423if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3486 am__include=include 3424 am__include=include
3487 am__quote= 3425 am__quote=
3488 _am_result=GNU 3426 _am_result=GNU
3489 ;; 3427fi
3490esac
3491# Now try BSD make style include. 3428# Now try BSD make style include.
3492if test "$am__include" = "#"; then 3429if test "$am__include" = "#"; then
3493 echo '.include "confinc"' > confmf 3430 echo '.include "confinc"' > confmf
3494 case `$am_make -s -f confmf 2> /dev/null` in #( 3431 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3495 *the\ am__doit\ target*)
3496 am__include=.include 3432 am__include=.include
3497 am__quote="\"" 3433 am__quote="\""
3498 _am_result=BSD 3434 _am_result=BSD
3499 ;; 3435 fi
3500 esac
3501fi 3436fi
3502 3437
3503 3438
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3505$as_echo "$_am_result" >&6; } 3440$as_echo "$_am_result" >&6; }
3512 3447
3513if test "x$enable_dependency_tracking" != xno; then 3448if test "x$enable_dependency_tracking" != xno; then
3514 am_depcomp="$ac_aux_dir/depcomp" 3449 am_depcomp="$ac_aux_dir/depcomp"
3515 AMDEPBACKSLASH='\' 3450 AMDEPBACKSLASH='\'
3516fi 3451fi
3452
3453
3517 if test "x$enable_dependency_tracking" != xno; then 3454if test "x$enable_dependency_tracking" != xno; then
3518 AMDEP_TRUE= 3455 AMDEP_TRUE=
3519 AMDEP_FALSE='#' 3456 AMDEP_FALSE='#'
3520else 3457else
3521 AMDEP_TRUE='#' 3458 AMDEP_TRUE='#'
3522 AMDEP_FALSE= 3459 AMDEP_FALSE=
3523fi 3460fi
3461
3524 3462
3525 3463
3526ac_ext=c 3464ac_ext=c
3527ac_cpp='$CPP $CPPFLAGS' 3465ac_cpp='$CPP $CPPFLAGS'
3528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531if test -n "$ac_tool_prefix"; then 3469if 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. 3470 # 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 3471set dummy ${ac_tool_prefix}gcc; ac_word=$2
3534{ $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
3535$as_echo_n "checking for $ac_word... " >&6; } 3473$as_echo_n "checking for $ac_word... " >&6; }
3536if test "${ac_cv_prog_CC+set}" = set; then : 3474if ${ac_cv_prog_CC+:} false; then :
3537 $as_echo_n "(cached) " >&6 3475 $as_echo_n "(cached) " >&6
3538else 3476else
3539 if test -n "$CC"; then 3477 if test -n "$CC"; then
3540 ac_cv_prog_CC="$CC" # Let the user override the test. 3478 ac_cv_prog_CC="$CC" # Let the user override the test.
3541else 3479else
3543for as_dir in $PATH 3481for as_dir in $PATH
3544do 3482do
3545 IFS=$as_save_IFS 3483 IFS=$as_save_IFS
3546 test -z "$as_dir" && as_dir=. 3484 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do 3485 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 3486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3549 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3487 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 3488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 break 2 3489 break 2
3552 fi 3490 fi
3553done 3491done
3571 ac_ct_CC=$CC 3509 ac_ct_CC=$CC
3572 # Extract the first word of "gcc", so it can be a program name with args. 3510 # Extract the first word of "gcc", so it can be a program name with args.
3573set dummy gcc; ac_word=$2 3511set dummy gcc; ac_word=$2
3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575$as_echo_n "checking for $ac_word... " >&6; } 3513$as_echo_n "checking for $ac_word... " >&6; }
3576if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3514if ${ac_cv_prog_ac_ct_CC+:} false; then :
3577 $as_echo_n "(cached) " >&6 3515 $as_echo_n "(cached) " >&6
3578else 3516else
3579 if test -n "$ac_ct_CC"; then 3517 if test -n "$ac_ct_CC"; then
3580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3518 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3581else 3519else
3583for as_dir in $PATH 3521for as_dir in $PATH
3584do 3522do
3585 IFS=$as_save_IFS 3523 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=. 3524 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do 3525 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 3526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_ac_ct_CC="gcc" 3527 ac_cv_prog_ac_ct_CC="gcc"
3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 break 2 3529 break 2
3592 fi 3530 fi
3593done 3531done
3624 if test -n "$ac_tool_prefix"; then 3562 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. 3563 # 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 3564set dummy ${ac_tool_prefix}cc; ac_word=$2
3627{ $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
3628$as_echo_n "checking for $ac_word... " >&6; } 3566$as_echo_n "checking for $ac_word... " >&6; }
3629if test "${ac_cv_prog_CC+set}" = set; then : 3567if ${ac_cv_prog_CC+:} false; then :
3630 $as_echo_n "(cached) " >&6 3568 $as_echo_n "(cached) " >&6
3631else 3569else
3632 if test -n "$CC"; then 3570 if test -n "$CC"; then
3633 ac_cv_prog_CC="$CC" # Let the user override the test. 3571 ac_cv_prog_CC="$CC" # Let the user override the test.
3634else 3572else
3636for as_dir in $PATH 3574for as_dir in $PATH
3637do 3575do
3638 IFS=$as_save_IFS 3576 IFS=$as_save_IFS
3639 test -z "$as_dir" && as_dir=. 3577 test -z "$as_dir" && as_dir=.
3640 for ac_exec_ext in '' $ac_executable_extensions; do 3578 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 3579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3642 ac_cv_prog_CC="${ac_tool_prefix}cc" 3580 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 3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 break 2 3582 break 2
3645 fi 3583 fi
3646done 3584done
3664if test -z "$CC"; then 3602if test -z "$CC"; then
3665 # Extract the first word of "cc", so it can be a program name with args. 3603 # Extract the first word of "cc", so it can be a program name with args.
3666set dummy cc; ac_word=$2 3604set dummy cc; ac_word=$2
3667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668$as_echo_n "checking for $ac_word... " >&6; } 3606$as_echo_n "checking for $ac_word... " >&6; }
3669if test "${ac_cv_prog_CC+set}" = set; then : 3607if ${ac_cv_prog_CC+:} false; then :
3670 $as_echo_n "(cached) " >&6 3608 $as_echo_n "(cached) " >&6
3671else 3609else
3672 if test -n "$CC"; then 3610 if test -n "$CC"; then
3673 ac_cv_prog_CC="$CC" # Let the user override the test. 3611 ac_cv_prog_CC="$CC" # Let the user override the test.
3674else 3612else
3677for as_dir in $PATH 3615for as_dir in $PATH
3678do 3616do
3679 IFS=$as_save_IFS 3617 IFS=$as_save_IFS
3680 test -z "$as_dir" && as_dir=. 3618 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do 3619 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 3620 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 3621 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3684 ac_prog_rejected=yes 3622 ac_prog_rejected=yes
3685 continue 3623 continue
3686 fi 3624 fi
3687 ac_cv_prog_CC="cc" 3625 ac_cv_prog_CC="cc"
3723 do 3661 do
3724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3662 # 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 3663set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727$as_echo_n "checking for $ac_word... " >&6; } 3665$as_echo_n "checking for $ac_word... " >&6; }
3728if test "${ac_cv_prog_CC+set}" = set; then : 3666if ${ac_cv_prog_CC+:} false; then :
3729 $as_echo_n "(cached) " >&6 3667 $as_echo_n "(cached) " >&6
3730else 3668else
3731 if test -n "$CC"; then 3669 if test -n "$CC"; then
3732 ac_cv_prog_CC="$CC" # Let the user override the test. 3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3733else 3671else
3735for as_dir in $PATH 3673for as_dir in $PATH
3736do 3674do
3737 IFS=$as_save_IFS 3675 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=. 3676 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do 3677 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 3678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3679 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 3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 break 2 3681 break 2
3744 fi 3682 fi
3745done 3683done
3767do 3705do
3768 # Extract the first word of "$ac_prog", so it can be a program name with args. 3706 # Extract the first word of "$ac_prog", so it can be a program name with args.
3769set dummy $ac_prog; ac_word=$2 3707set dummy $ac_prog; ac_word=$2
3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771$as_echo_n "checking for $ac_word... " >&6; } 3709$as_echo_n "checking for $ac_word... " >&6; }
3772if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3710if ${ac_cv_prog_ac_ct_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6 3711 $as_echo_n "(cached) " >&6
3774else 3712else
3775 if test -n "$ac_ct_CC"; then 3713 if test -n "$ac_ct_CC"; then
3776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3777else 3715else
3779for as_dir in $PATH 3717for as_dir in $PATH
3780do 3718do
3781 IFS=$as_save_IFS 3719 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=. 3720 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do 3721 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 3722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CC="$ac_prog" 3723 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 3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2 3725 break 2
3788 fi 3726 fi
3789done 3727done
3822 3760
3823 3761
3824test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3762test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3826as_fn_error $? "no acceptable C compiler found in \$PATH 3764as_fn_error $? "no acceptable C compiler found in \$PATH
3827See \`config.log' for more details" "$LINENO" 5 ; } 3765See \`config.log' for more details" "$LINENO" 5; }
3828 3766
3829# Provide some information about the compiler. 3767# Provide some information about the compiler.
3830$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3768$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3831set X $ac_compile 3769set X $ac_compile
3832ac_compiler=$2 3770ac_compiler=$2
3937sed 's/^/| /' conftest.$ac_ext >&5 3875sed 's/^/| /' conftest.$ac_ext >&5
3938 3876
3939{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3877{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3940$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3941as_fn_error 77 "C compiler cannot create executables 3879as_fn_error 77 "C compiler cannot create executables
3942See \`config.log' for more details" "$LINENO" 5 ; } 3880See \`config.log' for more details" "$LINENO" 5; }
3943else 3881else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945$as_echo "yes" >&6; } 3883$as_echo "yes" >&6; }
3946fi 3884fi
3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3980done 3918done
3981else 3919else
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3922as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3985See \`config.log' for more details" "$LINENO" 5 ; } 3923See \`config.log' for more details" "$LINENO" 5; }
3986fi 3924fi
3987rm -f conftest conftest$ac_cv_exeext 3925rm -f conftest conftest$ac_cv_exeext
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3989$as_echo "$ac_cv_exeext" >&6; } 3927$as_echo "$ac_cv_exeext" >&6; }
3990 3928
4039 else 3977 else
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3979$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042as_fn_error $? "cannot run C compiled programs. 3980as_fn_error $? "cannot run C compiled programs.
4043If you meant to cross compile, use \`--host'. 3981If you meant to cross compile, use \`--host'.
4044See \`config.log' for more details" "$LINENO" 5 ; } 3982See \`config.log' for more details" "$LINENO" 5; }
4045 fi 3983 fi
4046 fi 3984 fi
4047fi 3985fi
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4049$as_echo "$cross_compiling" >&6; } 3987$as_echo "$cross_compiling" >&6; }
4050 3988
4051rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3989rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4052ac_clean_files=$ac_clean_files_save 3990ac_clean_files=$ac_clean_files_save
4053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3991{ $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; } 3992$as_echo_n "checking for suffix of object files... " >&6; }
4055if test "${ac_cv_objext+set}" = set; then : 3993if ${ac_cv_objext+:} false; then :
4056 $as_echo_n "(cached) " >&6 3994 $as_echo_n "(cached) " >&6
4057else 3995else
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h. */ 3997/* end confdefs.h. */
4060 3998
4091sed 's/^/| /' conftest.$ac_ext >&5 4029sed 's/^/| /' conftest.$ac_ext >&5
4092 4030
4093{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4031{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4032$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095as_fn_error $? "cannot compute suffix of object files: cannot compile 4033as_fn_error $? "cannot compute suffix of object files: cannot compile
4096See \`config.log' for more details" "$LINENO" 5 ; } 4034See \`config.log' for more details" "$LINENO" 5; }
4097fi 4035fi
4098rm -f conftest.$ac_cv_objext conftest.$ac_ext 4036rm -f conftest.$ac_cv_objext conftest.$ac_ext
4099fi 4037fi
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4101$as_echo "$ac_cv_objext" >&6; } 4039$as_echo "$ac_cv_objext" >&6; }
4102OBJEXT=$ac_cv_objext 4040OBJEXT=$ac_cv_objext
4103ac_objext=$OBJEXT 4041ac_objext=$OBJEXT
4104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4042{ $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; } 4043$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4106if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4044if ${ac_cv_c_compiler_gnu+:} false; then :
4107 $as_echo_n "(cached) " >&6 4045 $as_echo_n "(cached) " >&6
4108else 4046else
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110/* end confdefs.h. */ 4048/* end confdefs.h. */
4111 4049
4138fi 4076fi
4139ac_test_CFLAGS=${CFLAGS+set} 4077ac_test_CFLAGS=${CFLAGS+set}
4140ac_save_CFLAGS=$CFLAGS 4078ac_save_CFLAGS=$CFLAGS
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4142$as_echo_n "checking whether $CC accepts -g... " >&6; } 4080$as_echo_n "checking whether $CC accepts -g... " >&6; }
4143if test "${ac_cv_prog_cc_g+set}" = set; then : 4081if ${ac_cv_prog_cc_g+:} false; then :
4144 $as_echo_n "(cached) " >&6 4082 $as_echo_n "(cached) " >&6
4145else 4083else
4146 ac_save_c_werror_flag=$ac_c_werror_flag 4084 ac_save_c_werror_flag=$ac_c_werror_flag
4147 ac_c_werror_flag=yes 4085 ac_c_werror_flag=yes
4148 ac_cv_prog_cc_g=no 4086 ac_cv_prog_cc_g=no
4216 CFLAGS= 4154 CFLAGS=
4217 fi 4155 fi
4218fi 4156fi
4219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4157{ $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; } 4158$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4221if test "${ac_cv_prog_cc_c89+set}" = set; then : 4159if ${ac_cv_prog_cc_c89+:} false; then :
4222 $as_echo_n "(cached) " >&6 4160 $as_echo_n "(cached) " >&6
4223else 4161else
4224 ac_cv_prog_cc_c89=no 4162 ac_cv_prog_cc_c89=no
4225ac_save_CC=$CC 4163ac_save_CC=$CC
4226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227/* end confdefs.h. */ 4165/* end confdefs.h. */
4228#include <stdarg.h> 4166#include <stdarg.h>
4229#include <stdio.h> 4167#include <stdio.h>
4230#include <sys/types.h> 4168struct stat;
4231#include <sys/stat.h>
4232/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4169/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4233struct buf { int x; }; 4170struct buf { int x; };
4234FILE * (*rcsopen) (struct buf *, struct stat *, int); 4171FILE * (*rcsopen) (struct buf *, struct stat *, int);
4235static char *e (p, i) 4172static char *e (p, i)
4236 char **p; 4173 char **p;
4315 4252
4316depcc="$CC" am_compiler_list= 4253depcc="$CC" am_compiler_list=
4317 4254
4318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4319$as_echo_n "checking dependency style of $depcc... " >&6; } 4256$as_echo_n "checking dependency style of $depcc... " >&6; }
4320if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4257if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4321 $as_echo_n "(cached) " >&6 4258 $as_echo_n "(cached) " >&6
4322else 4259else
4323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4260 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 4261 # 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 4262 # making bogus files that we don't know about and never remove. For
4341 4278
4342 am_cv_CC_dependencies_compiler_type=none 4279 am_cv_CC_dependencies_compiler_type=none
4343 if test "$am_compiler_list" = ""; then 4280 if test "$am_compiler_list" = ""; then
4344 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4345 fi 4282 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 4283 for depmode in $am_compiler_list; do
4352 # Setup a source with many dependencies, because some compilers 4284 # Setup a source with many dependencies, because some compilers
4353 # like to wrap large dependency lists on column 80 (with \), and 4285 # like to wrap large dependency lists on column 80 (with \), and
4354 # we should not choose a depcomp mode which is confused by this. 4286 # we should not choose a depcomp mode which is confused by this.
4355 # 4287 #
4357 # overwrite some of them when testing with obscure command lines. 4289 # overwrite some of them when testing with obscure command lines.
4358 # This happens at least with the AIX C compiler. 4290 # This happens at least with the AIX C compiler.
4359 : > sub/conftest.c 4291 : > sub/conftest.c
4360 for i in 1 2 3 4 5 6; do 4292 for i in 1 2 3 4 5 6; do
4361 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4293 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 4294 : > sub/conftst$i.h
4365 done 4295 done
4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4296 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4367 4297
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 4298 case $depmode in
4375 gcc)
4376 # This depmode causes a compiler race in universal mode.
4377 test "$am__universal" = false || continue
4378 ;;
4379 nosideeffect) 4299 nosideeffect)
4380 # after this tag, mechanisms are not by side-effect, so they'll 4300 # after this tag, mechanisms are not by side-effect, so they'll
4381 # only be used when explicitly requested 4301 # only be used when explicitly requested
4382 if test "x$enable_dependency_tracking" = xyes; then 4302 if test "x$enable_dependency_tracking" = xyes; then
4383 continue 4303 continue
4384 else 4304 else
4385 break 4305 break
4386 fi 4306 fi
4387 ;; 4307 ;;
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 ;; 4308 none) break ;;
4396 esac 4309 esac
4310 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4311 # mode. It turns out that the SunPro C++ compiler does not properly
4312 # handle `-M -o', and we need to detect this.
4397 if depmode=$depmode \ 4313 if depmode=$depmode \
4398 source=sub/conftest.c object=$am__obj \ 4314 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4399 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4315 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4400 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4316 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4401 >/dev/null 2>conftest.err && 4317 >/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 && 4318 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4404 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4319 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4405 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4320 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4406 # icc doesn't choke on unknown options, it will just issue warnings 4321 # 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 4322 # (even with -Werror). So we grep stderr for any message
4408 # that says an option was ignored or not supported. 4323 # 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 4324 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4415 am_cv_CC_dependencies_compiler_type=$depmode 4325 am_cv_CC_dependencies_compiler_type=$depmode
4416 break 4326 break
4417 fi 4327 fi
4418 fi 4328 fi
4419 done 4329 done
4427fi 4337fi
4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4338{ $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; } 4339$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4430CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4340CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4431 4341
4342
4343
4432 if 4344if
4433 test "x$enable_dependency_tracking" != xno \ 4345 test "x$enable_dependency_tracking" != xno \
4434 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4346 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4435 am__fastdepCC_TRUE= 4347 am__fastdepCC_TRUE=
4436 am__fastdepCC_FALSE='#' 4348 am__fastdepCC_FALSE='#'
4437else 4349else
4485$as_echo_n "checking for GNU ld... " >&6; } 4397$as_echo_n "checking for GNU ld... " >&6; }
4486else 4398else
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4488$as_echo_n "checking for non-GNU ld... " >&6; } 4400$as_echo_n "checking for non-GNU ld... " >&6; }
4489fi 4401fi
4490if test "${acl_cv_path_LD+set}" = set; then : 4402if ${acl_cv_path_LD+:} false; then :
4491 $as_echo_n "(cached) " >&6 4403 $as_echo_n "(cached) " >&6
4492else 4404else
4493 if test -z "$LD"; then 4405 if test -z "$LD"; then
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4406 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4495 for ac_dir in $PATH; do 4407 for ac_dir in $PATH; do
4521$as_echo "no" >&6; } 4433$as_echo "no" >&6; }
4522fi 4434fi
4523test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4435test -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 4436{ $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; } 4437$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4526if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4438if ${acl_cv_prog_gnu_ld+:} false; then :
4527 $as_echo_n "(cached) " >&6 4439 $as_echo_n "(cached) " >&6
4528else 4440else
4529 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4441 # 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 4442if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4531 acl_cv_prog_gnu_ld=yes 4443 acl_cv_prog_gnu_ld=yes
4539 4451
4540 4452
4541 4453
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4454 { $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; } 4455$as_echo_n "checking for shared library run path origin... " >&6; }
4544if test "${acl_cv_rpath+set}" = set; then : 4456if ${acl_cv_rpath+:} false; then :
4545 $as_echo_n "(cached) " >&6 4457 $as_echo_n "(cached) " >&6
4546else 4458else
4547 4459
4548 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4460 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 4461 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4996 4908
4997 4909
4998 4910
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 4911 { $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; } 4912$as_echo_n "checking for GNU gettext in libc... " >&6; }
5001if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 4913if ${gt_cv_func_gnugettext1_libc+:} false; then :
5002 $as_echo_n "(cached) " >&6 4914 $as_echo_n "(cached) " >&6
5003else 4915else
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h. */ 4917/* end confdefs.h. */
5006#include <libintl.h> 4918#include <libintl.h>
5057 done 4969 done
5058 4970
5059 4971
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5061$as_echo_n "checking for iconv... " >&6; } 4973$as_echo_n "checking for iconv... " >&6; }
5062if test "${am_cv_func_iconv+set}" = set; then : 4974if ${am_cv_func_iconv+:} false; then :
5063 $as_echo_n "(cached) " >&6 4975 $as_echo_n "(cached) " >&6
5064else 4976else
5065 4977
5066 am_cv_func_iconv="no, consider installing GNU libiconv" 4978 am_cv_func_iconv="no, consider installing GNU libiconv"
5067 am_cv_lib_iconv=no 4979 am_cv_lib_iconv=no
5510 done 5422 done
5511 fi 5423 fi
5512 5424
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 5425 { $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; } 5426$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5515if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5427if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5516 $as_echo_n "(cached) " >&6 5428 $as_echo_n "(cached) " >&6
5517else 5429else
5518 gt_save_CPPFLAGS="$CPPFLAGS" 5430 gt_save_CPPFLAGS="$CPPFLAGS"
5519 CPPFLAGS="$CPPFLAGS $INCINTL" 5431 CPPFLAGS="$CPPFLAGS $INCINTL"
5520 gt_save_LIBS="$LIBS" 5432 gt_save_LIBS="$LIBS"
5678# On Suns, sometimes $CPP names a directory. 5590# On Suns, sometimes $CPP names a directory.
5679if test -n "$CPP" && test -d "$CPP"; then 5591if test -n "$CPP" && test -d "$CPP"; then
5680 CPP= 5592 CPP=
5681fi 5593fi
5682if test -z "$CPP"; then 5594if test -z "$CPP"; then
5683 if test "${ac_cv_prog_CPP+set}" = set; then : 5595 if ${ac_cv_prog_CPP+:} false; then :
5684 $as_echo_n "(cached) " >&6 5596 $as_echo_n "(cached) " >&6
5685else 5597else
5686 # Double quotes because CPP needs to be expanded 5598 # Double quotes because CPP needs to be expanded
5687 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5599 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5688 do 5600 do
5794 5706
5795else 5707else
5796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5709$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5798as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5710as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5799See \`config.log' for more details" "$LINENO" 5 ; } 5711See \`config.log' for more details" "$LINENO" 5; }
5800fi 5712fi
5801 5713
5802ac_ext=c 5714ac_ext=c
5803ac_cpp='$CPP $CPPFLAGS' 5715ac_cpp='$CPP $CPPFLAGS'
5804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5819 do 5731 do
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5732 # 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 5733set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823$as_echo_n "checking for $ac_word... " >&6; } 5735$as_echo_n "checking for $ac_word... " >&6; }
5824if test "${ac_cv_prog_CXX+set}" = set; then : 5736if ${ac_cv_prog_CXX+:} false; then :
5825 $as_echo_n "(cached) " >&6 5737 $as_echo_n "(cached) " >&6
5826else 5738else
5827 if test -n "$CXX"; then 5739 if test -n "$CXX"; then
5828 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5740 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5829else 5741else
5831for as_dir in $PATH 5743for as_dir in $PATH
5832do 5744do
5833 IFS=$as_save_IFS 5745 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=. 5746 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do 5747 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 5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5749 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 5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2 5751 break 2
5840 fi 5752 fi
5841done 5753done
5863do 5775do
5864 # Extract the first word of "$ac_prog", so it can be a program name with args. 5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865set dummy $ac_prog; ac_word=$2 5777set dummy $ac_prog; ac_word=$2
5866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867$as_echo_n "checking for $ac_word... " >&6; } 5779$as_echo_n "checking for $ac_word... " >&6; }
5868if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5780if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5869 $as_echo_n "(cached) " >&6 5781 $as_echo_n "(cached) " >&6
5870else 5782else
5871 if test -n "$ac_ct_CXX"; then 5783 if test -n "$ac_ct_CXX"; then
5872 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5784 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5873else 5785else
5875for as_dir in $PATH 5787for as_dir in $PATH
5876do 5788do
5877 IFS=$as_save_IFS 5789 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=. 5790 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do 5791 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 5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_ac_ct_CXX="$ac_prog" 5793 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 5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2 5795 break 2
5884 fi 5796 fi
5885done 5797done
5941 test $ac_status = 0; } 5853 test $ac_status = 0; }
5942done 5854done
5943 5855
5944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5856{ $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; } 5857$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5946if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5858if ${ac_cv_cxx_compiler_gnu+:} false; then :
5947 $as_echo_n "(cached) " >&6 5859 $as_echo_n "(cached) " >&6
5948else 5860else
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950/* end confdefs.h. */ 5862/* end confdefs.h. */
5951 5863
5978fi 5890fi
5979ac_test_CXXFLAGS=${CXXFLAGS+set} 5891ac_test_CXXFLAGS=${CXXFLAGS+set}
5980ac_save_CXXFLAGS=$CXXFLAGS 5892ac_save_CXXFLAGS=$CXXFLAGS
5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5982$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5894$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5983if test "${ac_cv_prog_cxx_g+set}" = set; then : 5895if ${ac_cv_prog_cxx_g+:} false; then :
5984 $as_echo_n "(cached) " >&6 5896 $as_echo_n "(cached) " >&6
5985else 5897else
5986 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5898 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5987 ac_cxx_werror_flag=yes 5899 ac_cxx_werror_flag=yes
5988 ac_cv_prog_cxx_g=no 5900 ac_cv_prog_cxx_g=no
6064 5976
6065depcc="$CXX" am_compiler_list= 5977depcc="$CXX" am_compiler_list=
6066 5978
6067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6068$as_echo_n "checking dependency style of $depcc... " >&6; } 5980$as_echo_n "checking dependency style of $depcc... " >&6; }
6069if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 5981if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6070 $as_echo_n "(cached) " >&6 5982 $as_echo_n "(cached) " >&6
6071else 5983else
6072 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5984 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 5985 # 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 5986 # making bogus files that we don't know about and never remove. For
6090 6002
6091 am_cv_CXX_dependencies_compiler_type=none 6003 am_cv_CXX_dependencies_compiler_type=none
6092 if test "$am_compiler_list" = ""; then 6004 if test "$am_compiler_list" = ""; then
6093 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6005 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6094 fi 6006 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 6007 for depmode in $am_compiler_list; do
6101 # Setup a source with many dependencies, because some compilers 6008 # Setup a source with many dependencies, because some compilers
6102 # like to wrap large dependency lists on column 80 (with \), and 6009 # like to wrap large dependency lists on column 80 (with \), and
6103 # we should not choose a depcomp mode which is confused by this. 6010 # we should not choose a depcomp mode which is confused by this.
6104 # 6011 #
6106 # overwrite some of them when testing with obscure command lines. 6013 # overwrite some of them when testing with obscure command lines.
6107 # This happens at least with the AIX C compiler. 6014 # This happens at least with the AIX C compiler.
6108 : > sub/conftest.c 6015 : > sub/conftest.c
6109 for i in 1 2 3 4 5 6; do 6016 for i in 1 2 3 4 5 6; do
6110 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6017 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 6018 : > sub/conftst$i.h
6114 done 6019 done
6115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6020 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6116 6021
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 6022 case $depmode in
6124 gcc)
6125 # This depmode causes a compiler race in universal mode.
6126 test "$am__universal" = false || continue
6127 ;;
6128 nosideeffect) 6023 nosideeffect)
6129 # after this tag, mechanisms are not by side-effect, so they'll 6024 # after this tag, mechanisms are not by side-effect, so they'll
6130 # only be used when explicitly requested 6025 # only be used when explicitly requested
6131 if test "x$enable_dependency_tracking" = xyes; then 6026 if test "x$enable_dependency_tracking" = xyes; then
6132 continue 6027 continue
6133 else 6028 else
6134 break 6029 break
6135 fi 6030 fi
6136 ;; 6031 ;;
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 ;; 6032 none) break ;;
6145 esac 6033 esac
6034 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6035 # mode. It turns out that the SunPro C++ compiler does not properly
6036 # handle `-M -o', and we need to detect this.
6146 if depmode=$depmode \ 6037 if depmode=$depmode \
6147 source=sub/conftest.c object=$am__obj \ 6038 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6148 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6039 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6149 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6040 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6150 >/dev/null 2>conftest.err && 6041 >/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 && 6042 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6153 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6043 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6044 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6155 # icc doesn't choke on unknown options, it will just issue warnings 6045 # 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 6046 # (even with -Werror). So we grep stderr for any message
6157 # that says an option was ignored or not supported. 6047 # 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 6048 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6164 am_cv_CXX_dependencies_compiler_type=$depmode 6049 am_cv_CXX_dependencies_compiler_type=$depmode
6165 break 6050 break
6166 fi 6051 fi
6167 fi 6052 fi
6168 done 6053 done
6176fi 6061fi
6177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6062{ $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; } 6063$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6179CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6064CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6180 6065
6066
6067
6181 if 6068if
6182 test "x$enable_dependency_tracking" != xno \ 6069 test "x$enable_dependency_tracking" != xno \
6183 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6070 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6184 am__fastdepCXX_TRUE= 6071 am__fastdepCXX_TRUE=
6185 am__fastdepCXX_FALSE='#' 6072 am__fastdepCXX_FALSE='#'
6186else 6073else
6190 6077
6191 6078
6192 6079
6193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6080{ $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; } 6081$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6195if test "${ac_cv_path_GREP+set}" = set; then : 6082if ${ac_cv_path_GREP+:} false; then :
6196 $as_echo_n "(cached) " >&6 6083 $as_echo_n "(cached) " >&6
6197else 6084else
6198 if test -z "$GREP"; then 6085 if test -z "$GREP"; then
6199 ac_path_GREP_found=false 6086 ac_path_GREP_found=false
6200 # Loop through the user's path and test for each of PROGNAME-LIST 6087 # Loop through the user's path and test for each of PROGNAME-LIST
6204 IFS=$as_save_IFS 6091 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=. 6092 test -z "$as_dir" && as_dir=.
6206 for ac_prog in grep ggrep; do 6093 for ac_prog in grep ggrep; do
6207 for ac_exec_ext in '' $ac_executable_extensions; do 6094 for ac_exec_ext in '' $ac_executable_extensions; do
6208 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6095 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6209 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6096 as_fn_executable_p "$ac_path_GREP" || continue
6210# Check for GNU ac_path_GREP and select it if it is found. 6097# Check for GNU ac_path_GREP and select it if it is found.
6211 # Check for GNU $ac_path_GREP 6098 # Check for GNU $ac_path_GREP
6212case `"$ac_path_GREP" --version 2>&1` in 6099case `"$ac_path_GREP" --version 2>&1` in
6213*GNU*) 6100*GNU*)
6214 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6101 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6253 GREP="$ac_cv_path_GREP" 6140 GREP="$ac_cv_path_GREP"
6254 6141
6255 6142
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6257$as_echo_n "checking for egrep... " >&6; } 6144$as_echo_n "checking for egrep... " >&6; }
6258if test "${ac_cv_path_EGREP+set}" = set; then : 6145if ${ac_cv_path_EGREP+:} false; then :
6259 $as_echo_n "(cached) " >&6 6146 $as_echo_n "(cached) " >&6
6260else 6147else
6261 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6262 then ac_cv_path_EGREP="$GREP -E" 6149 then ac_cv_path_EGREP="$GREP -E"
6263 else 6150 else
6270 IFS=$as_save_IFS 6157 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=. 6158 test -z "$as_dir" && as_dir=.
6272 for ac_prog in egrep; do 6159 for ac_prog in egrep; do
6273 for ac_exec_ext in '' $ac_executable_extensions; do 6160 for ac_exec_ext in '' $ac_executable_extensions; do
6274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6161 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6275 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6162 as_fn_executable_p "$ac_path_EGREP" || continue
6276# Check for GNU ac_path_EGREP and select it if it is found. 6163# Check for GNU ac_path_EGREP and select it if it is found.
6277 # Check for GNU $ac_path_EGREP 6164 # Check for GNU $ac_path_EGREP
6278case `"$ac_path_EGREP" --version 2>&1` in 6165case `"$ac_path_EGREP" --version 2>&1` in
6279*GNU*) 6166*GNU*)
6280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6167 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6321 6208
6322 6209
6323if test $ac_cv_c_compiler_gnu = yes; then 6210if test $ac_cv_c_compiler_gnu = yes; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6325$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6212$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6326if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6213if ${ac_cv_prog_gcc_traditional+:} false; then :
6327 $as_echo_n "(cached) " >&6 6214 $as_echo_n "(cached) " >&6
6328else 6215else
6329 ac_pattern="Autoconf.*'x'" 6216 ac_pattern="Autoconf.*'x'"
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331/* end confdefs.h. */ 6218/* end confdefs.h. */
6366do 6253do
6367 # Extract the first word of "$ac_prog", so it can be a program name with args. 6254 # Extract the first word of "$ac_prog", so it can be a program name with args.
6368set dummy $ac_prog; ac_word=$2 6255set dummy $ac_prog; ac_word=$2
6369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370$as_echo_n "checking for $ac_word... " >&6; } 6257$as_echo_n "checking for $ac_word... " >&6; }
6371if test "${ac_cv_prog_AWK+set}" = set; then : 6258if ${ac_cv_prog_AWK+:} false; then :
6372 $as_echo_n "(cached) " >&6 6259 $as_echo_n "(cached) " >&6
6373else 6260else
6374 if test -n "$AWK"; then 6261 if test -n "$AWK"; then
6375 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6262 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6376else 6263else
6378for as_dir in $PATH 6265for as_dir in $PATH
6379do 6266do
6380 IFS=$as_save_IFS 6267 IFS=$as_save_IFS
6381 test -z "$as_dir" && as_dir=. 6268 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do 6269 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 6270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_AWK="$ac_prog" 6271 ac_cv_prog_AWK="$ac_prog"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 break 2 6273 break 2
6387 fi 6274 fi
6388done 6275done
6418 6305
6419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6306{ $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; } 6307$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6421set x ${MAKE-make} 6308set x ${MAKE-make}
6422ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6309ac_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 : 6310if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6424 $as_echo_n "(cached) " >&6 6311 $as_echo_n "(cached) " >&6
6425else 6312else
6426 cat >conftest.make <<\_ACEOF 6313 cat >conftest.make <<\_ACEOF
6427SHELL = /bin/sh 6314SHELL = /bin/sh
6428all: 6315all:
6450if test -n "$ac_tool_prefix"; then 6337if 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. 6338 # 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 6339set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6453{ $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
6454$as_echo_n "checking for $ac_word... " >&6; } 6341$as_echo_n "checking for $ac_word... " >&6; }
6455if test "${ac_cv_prog_RANLIB+set}" = set; then : 6342if ${ac_cv_prog_RANLIB+:} false; then :
6456 $as_echo_n "(cached) " >&6 6343 $as_echo_n "(cached) " >&6
6457else 6344else
6458 if test -n "$RANLIB"; then 6345 if test -n "$RANLIB"; then
6459 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6346 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6460else 6347else
6462for as_dir in $PATH 6349for as_dir in $PATH
6463do 6350do
6464 IFS=$as_save_IFS 6351 IFS=$as_save_IFS
6465 test -z "$as_dir" && as_dir=. 6352 test -z "$as_dir" && as_dir=.
6466 for ac_exec_ext in '' $ac_executable_extensions; do 6353 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 6354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6355 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 6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470 break 2 6357 break 2
6471 fi 6358 fi
6472done 6359done
6490 ac_ct_RANLIB=$RANLIB 6377 ac_ct_RANLIB=$RANLIB
6491 # Extract the first word of "ranlib", so it can be a program name with args. 6378 # Extract the first word of "ranlib", so it can be a program name with args.
6492set dummy ranlib; ac_word=$2 6379set dummy ranlib; ac_word=$2
6493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494$as_echo_n "checking for $ac_word... " >&6; } 6381$as_echo_n "checking for $ac_word... " >&6; }
6495if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6382if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6496 $as_echo_n "(cached) " >&6 6383 $as_echo_n "(cached) " >&6
6497else 6384else
6498 if test -n "$ac_ct_RANLIB"; then 6385 if test -n "$ac_ct_RANLIB"; then
6499 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6386 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6500else 6387else
6502for as_dir in $PATH 6389for as_dir in $PATH
6503do 6390do
6504 IFS=$as_save_IFS 6391 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=. 6392 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do 6393 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 6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_ac_ct_RANLIB="ranlib" 6395 ac_cv_prog_ac_ct_RANLIB="ranlib"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 break 2 6397 break 2
6511 fi 6398 fi
6512done 6399done
6688 t end 6575 t end
6689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6576 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6690 :end' >>confcache 6577 :end' >>confcache
6691if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6578if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6692 if test -w "$cache_file"; then 6579 if test -w "$cache_file"; then
6693 test "x$cache_file" != "x/dev/null" && 6580 if test "x$cache_file" != "x/dev/null"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6581 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6695$as_echo "$as_me: updating cache $cache_file" >&6;} 6582$as_echo "$as_me: updating cache $cache_file" >&6;}
6583 if test ! -f "$cache_file" || test -h "$cache_file"; then
6696 cat confcache >$cache_file 6584 cat confcache >"$cache_file"
6585 else
6586 case $cache_file in #(
6587 */* | ?:*)
6588 mv -f confcache "$cache_file"$$ &&
6589 mv -f "$cache_file"$$ "$cache_file" ;; #(
6590 *)
6591 mv -f confcache "$cache_file" ;;
6592 esac
6593 fi
6594 fi
6697 else 6595 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6596 { $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;} 6597$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6700 fi 6598 fi
6701fi 6599fi
6715ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 6615{ $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; } 6616$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6719if test -z "$CXXCPP"; then 6617if test -z "$CXXCPP"; then
6720 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6618 if ${ac_cv_prog_CXXCPP+:} false; then :
6721 $as_echo_n "(cached) " >&6 6619 $as_echo_n "(cached) " >&6
6722else 6620else
6723 # Double quotes because CXXCPP needs to be expanded 6621 # Double quotes because CXXCPP needs to be expanded
6724 for CXXCPP in "$CXX -E" "/lib/cpp" 6622 for CXXCPP in "$CXX -E" "/lib/cpp"
6725 do 6623 do
6831 6729
6832else 6730else
6833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6835as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6733as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6836See \`config.log' for more details" "$LINENO" 5 ; } 6734See \`config.log' for more details" "$LINENO" 5; }
6837fi 6735fi
6838 6736
6839ac_ext=cpp 6737ac_ext=cpp
6840ac_cpp='$CXXCPP $CPPFLAGS' 6738ac_cpp='$CXXCPP $CPPFLAGS'
6841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6844 6742
6845 6743
6846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6744{ $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; } 6745$as_echo_n "checking for ANSI C header files... " >&6; }
6848if test "${ac_cv_header_stdc+set}" = set; then : 6746if ${ac_cv_header_stdc+:} false; then :
6849 $as_echo_n "(cached) " >&6 6747 $as_echo_n "(cached) " >&6
6850else 6748else
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852/* end confdefs.h. */ 6750/* end confdefs.h. */
6853#include <stdlib.h> 6751#include <stdlib.h>
7028done 6926done
7029 6927
7030 6928
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6929{ $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; } 6930$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7033if test "${ac_cv_c_const+set}" = set; then : 6931if ${ac_cv_c_const+:} false; then :
7034 $as_echo_n "(cached) " >&6 6932 $as_echo_n "(cached) " >&6
7035else 6933else
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037/* end confdefs.h. */ 6935/* end confdefs.h. */
7038 6936
7039int 6937int
7040main () 6938main ()
7041{ 6939{
7042/* FIXME: Include the comments suggested by Paul. */ 6940
7043#ifndef __cplusplus 6941#ifndef __cplusplus
7044 /* Ultrix mips cc rejects this. */ 6942 /* Ultrix mips cc rejects this sort of thing. */
7045 typedef int charset[2]; 6943 typedef int charset[2];
7046 const charset cs; 6944 const charset cs = { 0, 0 };
7047 /* SunOS 4.1.1 cc rejects this. */ 6945 /* SunOS 4.1.1 cc rejects this. */
7048 char const *const *pcpcc; 6946 char const *const *pcpcc;
7049 char **ppc; 6947 char **ppc;
7050 /* NEC SVR4.0.2 mips cc rejects this. */ 6948 /* NEC SVR4.0.2 mips cc rejects this. */
7051 struct point {int x, y;}; 6949 struct point {int x, y;};
7058 pcpcc = &g + (g ? g-g : 0); 6956 pcpcc = &g + (g ? g-g : 0);
7059 /* HPUX 7.0 cc rejects these. */ 6957 /* HPUX 7.0 cc rejects these. */
7060 ++pcpcc; 6958 ++pcpcc;
7061 ppc = (char**) pcpcc; 6959 ppc = (char**) pcpcc;
7062 pcpcc = (char const *const *) ppc; 6960 pcpcc = (char const *const *) ppc;
7063 { /* SCO 3.2v4 cc rejects this. */ 6961 { /* SCO 3.2v4 cc rejects this sort of thing. */
7064 char *t; 6962 char tx;
6963 char *t = &tx;
7065 char const *s = 0 ? (char *) 0 : (char const *) 0; 6964 char const *s = 0 ? (char *) 0 : (char const *) 0;
7066 6965
7067 *t++ = 0; 6966 *t++ = 0;
7068 if (s) return 0; 6967 if (s) return 0;
7069 } 6968 }
7075 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6974 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7076 typedef const int *iptr; 6975 typedef const int *iptr;
7077 iptr p = 0; 6976 iptr p = 0;
7078 ++p; 6977 ++p;
7079 } 6978 }
7080 { /* AIX XL C 1.02.0.0 rejects this saying 6979 { /* 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. */ 6980 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7082 struct s { int j; const int *ap[3]; }; 6981 struct s { int j; const int *ap[3]; } bx;
7083 struct s *b; b->j = 5; 6982 struct s *b = &bx; b->j = 5;
7084 } 6983 }
7085 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6984 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7086 const int foo = 10; 6985 const int foo = 10;
7087 if (!foo) return 0; 6986 if (!foo) return 0;
7088 } 6987 }
7107$as_echo "#define const /**/" >>confdefs.h 7006$as_echo "#define const /**/" >>confdefs.h
7108 7007
7109fi 7008fi
7110 7009
7111ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 7010ac_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 : 7011if test "x$ac_cv_type_pid_t" = xyes; then :
7113 7012
7114else 7013else
7115 7014
7116cat >>confdefs.h <<_ACEOF 7015cat >>confdefs.h <<_ACEOF
7117#define pid_t int 7016#define pid_t int
7118_ACEOF 7017_ACEOF
7119 7018
7120fi 7019fi
7121 7020
7122ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 7021ac_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 : 7022if test "x$ac_cv_type_size_t" = xyes; then :
7124 7023
7125else 7024else
7126 7025
7127cat >>confdefs.h <<_ACEOF 7026cat >>confdefs.h <<_ACEOF
7128#define size_t unsigned int 7027#define size_t unsigned int
7130 7029
7131fi 7030fi
7132 7031
7133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7032{ $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; } 7033$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 : 7034if ${ac_cv_header_time+:} false; then :
7136 $as_echo_n "(cached) " >&6 7035 $as_echo_n "(cached) " >&6
7137else 7036else
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139/* end confdefs.h. */ 7038/* end confdefs.h. */
7140#include <sys/types.h> 7039#include <sys/types.h>
7165 7064
7166fi 7065fi
7167 7066
7168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7067{ $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; } 7068$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 : 7069if ${ac_cv_struct_tm+:} false; then :
7171 $as_echo_n "(cached) " >&6 7070 $as_echo_n "(cached) " >&6
7172else 7071else
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174/* end confdefs.h. */ 7073/* end confdefs.h. */
7175#include <sys/types.h> 7074#include <sys/types.h>
7201fi 7100fi
7202 7101
7203 7102
7204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
7205$as_echo_n "checking for socklen_t... " >&6; } 7104$as_echo_n "checking for socklen_t... " >&6; }
7206if test "${ac_cv_type_socklen_t+set}" = set; then : 7105if ${ac_cv_type_socklen_t+:} false; then :
7207 $as_echo_n "(cached) " >&6 7106 $as_echo_n "(cached) " >&6
7208else 7107else
7209 7108
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211/* end confdefs.h. */ 7110/* end confdefs.h. */
7235 7134
7236fi 7135fi
7237 7136
7238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 7137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
7239$as_echo_n "checking for struct addrinfo... " >&6; } 7138$as_echo_n "checking for struct addrinfo... " >&6; }
7240if test "${ac_cv_struct_addrinfo+set}" = set; then : 7139if ${ac_cv_struct_addrinfo+:} false; then :
7241 $as_echo_n "(cached) " >&6 7140 $as_echo_n "(cached) " >&6
7242else 7141else
7243 7142
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245/* end confdefs.h. */ 7144/* end confdefs.h. */
7270 7169
7271fi 7170fi
7272 7171
7273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7172{ $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; } 7173$as_echo_n "checking return type of signal handlers... " >&6; }
7275if test "${ac_cv_type_signal+set}" = set; then : 7174if ${ac_cv_type_signal+:} false; then :
7276 $as_echo_n "(cached) " >&6 7175 $as_echo_n "(cached) " >&6
7277else 7176else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279/* end confdefs.h. */ 7178/* end confdefs.h. */
7280#include <sys/types.h> 7179#include <sys/types.h>
7311ac_compiler_gnu=$ac_cv_c_compiler_gnu 7210ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312 7211
7313 7212
7314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7213{ $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; } 7214$as_echo_n "checking for ANSI C header files... " >&6; }
7316if test "${ac_cv_header_stdc+set}" = set; then : 7215if ${ac_cv_header_stdc+:} false; then :
7317 $as_echo_n "(cached) " >&6 7216 $as_echo_n "(cached) " >&6
7318else 7217else
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320/* end confdefs.h. */ 7219/* end confdefs.h. */
7321#include <stdlib.h> 7220#include <stdlib.h>
7439 7338
7440# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7339# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7441# for constant arguments. Useless! 7340# for constant arguments. Useless!
7442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 7341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7443$as_echo_n "checking for working alloca.h... " >&6; } 7342$as_echo_n "checking for working alloca.h... " >&6; }
7444if test "${ac_cv_working_alloca_h+set}" = set; then : 7343if ${ac_cv_working_alloca_h+:} false; then :
7445 $as_echo_n "(cached) " >&6 7344 $as_echo_n "(cached) " >&6
7446else 7345else
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448/* end confdefs.h. */ 7347/* end confdefs.h. */
7449#include <alloca.h> 7348#include <alloca.h>
7472 7371
7473fi 7372fi
7474 7373
7475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7476$as_echo_n "checking for alloca... " >&6; } 7375$as_echo_n "checking for alloca... " >&6; }
7477if test "${ac_cv_func_alloca_works+set}" = set; then : 7376if ${ac_cv_func_alloca_works+:} false; then :
7478 $as_echo_n "(cached) " >&6 7377 $as_echo_n "(cached) " >&6
7479else 7378else
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481/* end confdefs.h. */ 7380/* end confdefs.h. */
7482#ifdef __GNUC__ 7381#ifdef __GNUC__
7491# else 7390# else
7492# ifdef _AIX 7391# ifdef _AIX
7493 #pragma alloca 7392 #pragma alloca
7494# else 7393# else
7495# ifndef alloca /* predefined by HP cc +Olibcalls */ 7394# ifndef alloca /* predefined by HP cc +Olibcalls */
7496char *alloca (); 7395void *alloca (size_t);
7497# endif 7396# endif
7498# endif 7397# endif
7499# endif 7398# endif
7500# endif 7399# endif
7501#endif 7400#endif
7535$as_echo "#define C_ALLOCA 1" >>confdefs.h 7434$as_echo "#define C_ALLOCA 1" >>confdefs.h
7536 7435
7537 7436
7538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7437{ $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; } 7438$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7540if test "${ac_cv_os_cray+set}" = set; then : 7439if ${ac_cv_os_cray+:} false; then :
7541 $as_echo_n "(cached) " >&6 7440 $as_echo_n "(cached) " >&6
7542else 7441else
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544/* end confdefs.h. */ 7443/* end confdefs.h. */
7545#if defined CRAY && ! defined CRAY2 7444#if defined CRAY && ! defined CRAY2
7576 done 7475 done
7577fi 7476fi
7578 7477
7579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 7478{ $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; } 7479$as_echo_n "checking stack direction for C alloca... " >&6; }
7581if test "${ac_cv_c_stack_direction+set}" = set; then : 7480if ${ac_cv_c_stack_direction+:} false; then :
7582 $as_echo_n "(cached) " >&6 7481 $as_echo_n "(cached) " >&6
7583else 7482else
7584 if test "$cross_compiling" = yes; then : 7483 if test "$cross_compiling" = yes; then :
7585 ac_cv_c_stack_direction=0 7484 ac_cv_c_stack_direction=0
7586else 7485else
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588/* end confdefs.h. */ 7487/* end confdefs.h. */
7589$ac_includes_default 7488$ac_includes_default
7590int 7489int
7591find_stack_direction () 7490find_stack_direction (int *addr, int depth)
7592{ 7491{
7593 static char *addr = 0; 7492 int dir, dummy = 0;
7594 auto char dummy;
7595 if (addr == 0) 7493 if (! addr)
7596 {
7597 addr = &dummy; 7494 addr = &dummy;
7598 return find_stack_direction (); 7495 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7599 } 7496 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7600 else 7497 return dir + dummy;
7601 return (&dummy > addr) ? 1 : -1;
7602} 7498}
7603 7499
7604int 7500int
7605main () 7501main (int argc, char **argv)
7606{ 7502{
7607 return find_stack_direction () < 0; 7503 return find_stack_direction (0, argc + !argv + 20) < 0;
7608} 7504}
7609_ACEOF 7505_ACEOF
7610if ac_fn_c_try_run "$LINENO"; then : 7506if ac_fn_c_try_run "$LINENO"; then :
7611 ac_cv_c_stack_direction=1 7507 ac_cv_c_stack_direction=1
7612else 7508else
7627fi 7523fi
7628 7524
7629 7525
7630 7526
7631ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7527ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7632if test "x$ac_cv_func_socket" = x""yes; then : 7528if test "x$ac_cv_func_socket" = xyes; then :
7633 7529
7634else 7530else
7635 7531
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7637$as_echo_n "checking for connect in -lsocket... " >&6; } 7533$as_echo_n "checking for connect in -lsocket... " >&6; }
7638if test "${ac_cv_lib_socket_connect+set}" = set; then : 7534if ${ac_cv_lib_socket_connect+:} false; then :
7639 $as_echo_n "(cached) " >&6 7535 $as_echo_n "(cached) " >&6
7640else 7536else
7641 ac_check_lib_save_LIBS=$LIBS 7537 ac_check_lib_save_LIBS=$LIBS
7642LIBS="-lsocket $LIBS" 7538LIBS="-lsocket $LIBS"
7643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7539cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 conftest$ac_exeext conftest.$ac_ext 7563 conftest$ac_exeext conftest.$ac_ext
7668LIBS=$ac_check_lib_save_LIBS 7564LIBS=$ac_check_lib_save_LIBS
7669fi 7565fi
7670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 7566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7671$as_echo "$ac_cv_lib_socket_connect" >&6; } 7567$as_echo "$ac_cv_lib_socket_connect" >&6; }
7672if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7568if test "x$ac_cv_lib_socket_connect" = xyes; then :
7673 cat >>confdefs.h <<_ACEOF 7569 cat >>confdefs.h <<_ACEOF
7674#define HAVE_LIBSOCKET 1 7570#define HAVE_LIBSOCKET 1
7675_ACEOF 7571_ACEOF
7676 7572
7677 LIBS="-lsocket $LIBS" 7573 LIBS="-lsocket $LIBS"
7680 7576
7681 7577
7682fi 7578fi
7683 7579
7684ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7580ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7685if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7581if test "x$ac_cv_func_gethostbyname" = xyes; then :
7686 7582
7687else 7583else
7688 7584
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7690$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7586$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7691if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7587if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7692 $as_echo_n "(cached) " >&6 7588 $as_echo_n "(cached) " >&6
7693else 7589else
7694 ac_check_lib_save_LIBS=$LIBS 7590 ac_check_lib_save_LIBS=$LIBS
7695LIBS="-lnsl $LIBS" 7591LIBS="-lnsl $LIBS"
7696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7592cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 conftest$ac_exeext conftest.$ac_ext 7616 conftest$ac_exeext conftest.$ac_ext
7721LIBS=$ac_check_lib_save_LIBS 7617LIBS=$ac_check_lib_save_LIBS
7722fi 7618fi
7723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 7619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7724$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7620$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7725if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7621if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF 7622 cat >>confdefs.h <<_ACEOF
7727#define HAVE_LIBNSL 1 7623#define HAVE_LIBNSL 1
7728_ACEOF 7624_ACEOF
7729 7625
7730 LIBS="-lnsl $LIBS" 7626 LIBS="-lnsl $LIBS"
7764 7660
7765 7661
7766for ac_func in clock_gettime 7662for ac_func in clock_gettime
7767do : 7663do :
7768 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7664 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7769if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7665if test "x$ac_cv_func_clock_gettime" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF 7666 cat >>confdefs.h <<_ACEOF
7771#define HAVE_CLOCK_GETTIME 1 7667#define HAVE_CLOCK_GETTIME 1
7772_ACEOF 7668_ACEOF
7773 7669
7774else 7670else
7804 conftest$ac_exeext conftest.$ac_ext 7700 conftest$ac_exeext conftest.$ac_ext
7805 fi 7701 fi
7806 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 7702 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 7703 { $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; } 7704$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7809if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7705if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7810 $as_echo_n "(cached) " >&6 7706 $as_echo_n "(cached) " >&6
7811else 7707else
7812 ac_check_lib_save_LIBS=$LIBS 7708 ac_check_lib_save_LIBS=$LIBS
7813LIBS="-lrt $LIBS" 7709LIBS="-lrt $LIBS"
7814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 conftest$ac_exeext conftest.$ac_ext 7734 conftest$ac_exeext conftest.$ac_ext
7839LIBS=$ac_check_lib_save_LIBS 7735LIBS=$ac_check_lib_save_LIBS
7840fi 7736fi
7841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 7737{ $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; } 7738$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7843if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7739if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF 7740 cat >>confdefs.h <<_ACEOF
7845#define HAVE_LIBRT 1 7741#define HAVE_LIBRT 1
7846_ACEOF 7742_ACEOF
7847 7743
7848 LIBS="-lrt $LIBS" 7744 LIBS="-lrt $LIBS"
7851 7747
7852 unset ac_cv_func_clock_gettime 7748 unset ac_cv_func_clock_gettime
7853 for ac_func in clock_gettime 7749 for ac_func in clock_gettime
7854do : 7750do :
7855 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7751 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7856if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7752if test "x$ac_cv_func_clock_gettime" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF 7753 cat >>confdefs.h <<_ACEOF
7858#define HAVE_CLOCK_GETTIME 1 7754#define HAVE_CLOCK_GETTIME 1
7859_ACEOF 7755_ACEOF
7860 7756
7861fi 7757fi
7868 7764
7869 7765
7870for ac_func in nanosleep 7766for ac_func in nanosleep
7871do : 7767do :
7872 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7768 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7873if test "x$ac_cv_func_nanosleep" = x""yes; then : 7769if test "x$ac_cv_func_nanosleep" = xyes; then :
7874 cat >>confdefs.h <<_ACEOF 7770 cat >>confdefs.h <<_ACEOF
7875#define HAVE_NANOSLEEP 1 7771#define HAVE_NANOSLEEP 1
7876_ACEOF 7772_ACEOF
7877 7773
7878else 7774else
7879 7775
7880 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7776 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7882$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7778$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7883if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7779if ${ac_cv_lib_rt_nanosleep+:} false; then :
7884 $as_echo_n "(cached) " >&6 7780 $as_echo_n "(cached) " >&6
7885else 7781else
7886 ac_check_lib_save_LIBS=$LIBS 7782 ac_check_lib_save_LIBS=$LIBS
7887LIBS="-lrt $LIBS" 7783LIBS="-lrt $LIBS"
7888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 conftest$ac_exeext conftest.$ac_ext 7808 conftest$ac_exeext conftest.$ac_ext
7913LIBS=$ac_check_lib_save_LIBS 7809LIBS=$ac_check_lib_save_LIBS
7914fi 7810fi
7915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 7811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7916$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7812$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7917if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7813if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7918 cat >>confdefs.h <<_ACEOF 7814 cat >>confdefs.h <<_ACEOF
7919#define HAVE_LIBRT 1 7815#define HAVE_LIBRT 1
7920_ACEOF 7816_ACEOF
7921 7817
7922 LIBS="-lrt $LIBS" 7818 LIBS="-lrt $LIBS"
7925 7821
7926 unset ac_cv_func_nanosleep 7822 unset ac_cv_func_nanosleep
7927 for ac_func in nanosleep 7823 for ac_func in nanosleep
7928do : 7824do :
7929 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7825 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7930if test "x$ac_cv_func_nanosleep" = x""yes; then : 7826if test "x$ac_cv_func_nanosleep" = xyes; then :
7931 cat >>confdefs.h <<_ACEOF 7827 cat >>confdefs.h <<_ACEOF
7932#define HAVE_NANOSLEEP 1 7828#define HAVE_NANOSLEEP 1
7933_ACEOF 7829_ACEOF
7934 7830
7935fi 7831fi
7944if test -z "$LIBEV_M4_AVOID_LIBM"; then 7840if test -z "$LIBEV_M4_AVOID_LIBM"; then
7945 LIBM=m 7841 LIBM=m
7946fi 7842fi
7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 7843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7948$as_echo_n "checking for library containing floor... " >&6; } 7844$as_echo_n "checking for library containing floor... " >&6; }
7949if test "${ac_cv_search_floor+set}" = set; then : 7845if ${ac_cv_search_floor+:} false; then :
7950 $as_echo_n "(cached) " >&6 7846 $as_echo_n "(cached) " >&6
7951else 7847else
7952 ac_func_search_save_LIBS=$LIBS 7848 ac_func_search_save_LIBS=$LIBS
7953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h. */ 7850/* end confdefs.h. */
7978 if ac_fn_c_try_link "$LINENO"; then : 7874 if ac_fn_c_try_link "$LINENO"; then :
7979 ac_cv_search_floor=$ac_res 7875 ac_cv_search_floor=$ac_res
7980fi 7876fi
7981rm -f core conftest.err conftest.$ac_objext \ 7877rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext 7878 conftest$ac_exeext
7983 if test "${ac_cv_search_floor+set}" = set; then : 7879 if ${ac_cv_search_floor+:} false; then :
7984 break 7880 break
7985fi 7881fi
7986done 7882done
7987if test "${ac_cv_search_floor+set}" = set; then : 7883if ${ac_cv_search_floor+:} false; then :
7988 7884
7989else 7885else
7990 ac_cv_search_floor=no 7886 ac_cv_search_floor=no
7991fi 7887fi
7992rm conftest.$ac_ext 7888rm conftest.$ac_ext
8075 t end 7971 t end
8076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8077 :end' >>confcache 7973 :end' >>confcache
8078if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7974if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8079 if test -w "$cache_file"; then 7975 if test -w "$cache_file"; then
8080 test "x$cache_file" != "x/dev/null" && 7976 if test "x$cache_file" != "x/dev/null"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8082$as_echo "$as_me: updating cache $cache_file" >&6;} 7978$as_echo "$as_me: updating cache $cache_file" >&6;}
7979 if test ! -f "$cache_file" || test -h "$cache_file"; then
8083 cat confcache >$cache_file 7980 cat confcache >"$cache_file"
7981 else
7982 case $cache_file in #(
7983 */* | ?:*)
7984 mv -f confcache "$cache_file"$$ &&
7985 mv -f "$cache_file"$$ "$cache_file" ;; #(
7986 *)
7987 mv -f confcache "$cache_file" ;;
7988 esac
7989 fi
7990 fi
8084 else 7991 else
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7992 { $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;} 7993$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8087 fi 7994 fi
8088fi 7995fi
8099fi 8006fi
8100 8007
8101 8008
8102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 8009{ $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; } 8010$as_echo_n "checking for linux/if_tun.h... " >&6; }
8104if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 8011if ${tinc_cv_linux_if_tun_h+:} false; then :
8105 $as_echo_n "(cached) " >&6 8012 $as_echo_n "(cached) " >&6
8106else 8013else
8107 8014
8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109/* end confdefs.h. */ 8016/* end confdefs.h. */
8197 cat >>confdefs.h <<_ACEOF 8104 cat >>confdefs.h <<_ACEOF
8198#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8105#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8199_ACEOF 8106_ACEOF
8200 8107
8201else 8108else
8202 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8109 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break
8203 8110
8204fi 8111fi
8205 8112
8206done 8113done
8207 8114
8208 8115
8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8116 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8210 8117
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8119$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then : 8120if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
8214 $as_echo_n "(cached) " >&6 8121 $as_echo_n "(cached) " >&6
8215else 8122else
8216 ac_check_lib_save_LIBS=$LIBS 8123 ac_check_lib_save_LIBS=$LIBS
8217LIBS="-lcrypto $LIBS" 8124LIBS="-lcrypto $LIBS"
8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 conftest$ac_exeext conftest.$ac_ext 8149 conftest$ac_exeext conftest.$ac_ext
8243LIBS=$ac_check_lib_save_LIBS 8150LIBS=$ac_check_lib_save_LIBS
8244fi 8151fi
8245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5 8152{ $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; } 8153$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then : 8154if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8248 LIBS="$LIBS -lcrypto" 8155 LIBS="$LIBS -lcrypto"
8249else 8156else
8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8157 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8251 8158
8252fi 8159fi
8264fi 8171fi
8265done 8172done
8266 8173
8267 8174
8268 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8175 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8269if test "x$ac_cv_func_dlopen" = x""yes; then : 8176if test "x$ac_cv_func_dlopen" = xyes; then :
8270 8177
8271else 8178else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8273$as_echo_n "checking for dlopen in -ldl... " >&6; } 8180$as_echo_n "checking for dlopen in -ldl... " >&6; }
8274if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 8181if ${ac_cv_lib_dl_dlopen+:} false; then :
8275 $as_echo_n "(cached) " >&6 8182 $as_echo_n "(cached) " >&6
8276else 8183else
8277 ac_check_lib_save_LIBS=$LIBS 8184 ac_check_lib_save_LIBS=$LIBS
8278LIBS="-ldl $LIBS" 8185LIBS="-ldl $LIBS"
8279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 conftest$ac_exeext conftest.$ac_ext 8210 conftest$ac_exeext conftest.$ac_ext
8304LIBS=$ac_check_lib_save_LIBS 8211LIBS=$ac_check_lib_save_LIBS
8305fi 8212fi
8306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8307$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8214$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8308if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 8215if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8309 LIBS="$LIBS -ldl" 8216 LIBS="$LIBS -ldl"
8310else 8217else
8311 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 8218 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8312 8219
8313fi 8220fi
8315 8222
8316fi 8223fi
8317 8224
8318 8225
8319 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate" 8226 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8320if test "x$ac_cv_func_inflate" = x""yes; then : 8227if test "x$ac_cv_func_inflate" = xyes; then :
8321 8228
8322else 8229else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
8324$as_echo_n "checking for inflate in -lz... " >&6; } 8231$as_echo_n "checking for inflate in -lz... " >&6; }
8325if test "${ac_cv_lib_z_inflate+set}" = set; then : 8232if ${ac_cv_lib_z_inflate+:} false; then :
8326 $as_echo_n "(cached) " >&6 8233 $as_echo_n "(cached) " >&6
8327else 8234else
8328 ac_check_lib_save_LIBS=$LIBS 8235 ac_check_lib_save_LIBS=$LIBS
8329LIBS="-lz $LIBS" 8236LIBS="-lz $LIBS"
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 conftest$ac_exeext conftest.$ac_ext 8261 conftest$ac_exeext conftest.$ac_ext
8355LIBS=$ac_check_lib_save_LIBS 8262LIBS=$ac_check_lib_save_LIBS
8356fi 8263fi
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 8264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
8358$as_echo "$ac_cv_lib_z_inflate" >&6; } 8265$as_echo "$ac_cv_lib_z_inflate" >&6; }
8359if test "x$ac_cv_lib_z_inflate" = x""yes; then : 8266if test "x$ac_cv_lib_z_inflate" = xyes; then :
8360 LIBS="$LIBS -lz" 8267 LIBS="$LIBS -lz"
8361else 8268else
8362 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 8269 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8363 8270
8364fi 8271fi
8380fi 8287fi
8381 8288
8382 8289
8383if test "x$try_threads" = xyes; then 8290if test "x$try_threads" = xyes; then
8384 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 8291 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 : 8292if test "x$ac_cv_header_pthread_h" = xyes; then :
8386 8293
8387 LIBS="$LIBS -lpthread" 8294 LIBS="$LIBS -lpthread"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389/* end confdefs.h. */ 8296/* end confdefs.h. */
8390#include <pthread.h> 8297#include <pthread.h>
8418fi 8325fi
8419 8326
8420 8327
8421 8328
8422 8329
8330
8331
8423 if test x$rohc = xtrue; then 8332if test x$rohc = xtrue; then
8424 ROHC_TRUE= 8333 ROHC_TRUE=
8425 ROHC_FALSE='#' 8334 ROHC_FALSE='#'
8426else 8335else
8427 ROHC_TRUE='#' 8336 ROHC_TRUE='#'
8428 ROHC_FALSE= 8337 ROHC_FALSE=
8483 8392
8484# Check whether --enable-dns was given. 8393# Check whether --enable-dns was given.
8485if test "${enable_dns+set}" = set; then : 8394if test "${enable_dns+set}" = set; then :
8486 enableval=$enable_dns; 8395 enableval=$enable_dns;
8487 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 8396 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 : 8397if test "x$ac_cv_header_gmp_h" = xyes; then :
8489 8398
8490else 8399else
8491 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 8400 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5
8492fi 8401fi
8493 8402
8494 8403
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
8496$as_echo_n "checking for main in -lgmp... " >&6; } 8405$as_echo_n "checking for main in -lgmp... " >&6; }
8497if test "${ac_cv_lib_gmp_main+set}" = set; then : 8406if ${ac_cv_lib_gmp_main+:} false; then :
8498 $as_echo_n "(cached) " >&6 8407 $as_echo_n "(cached) " >&6
8499else 8408else
8500 ac_check_lib_save_LIBS=$LIBS 8409 ac_check_lib_save_LIBS=$LIBS
8501LIBS="-lgmp $LIBS" 8410LIBS="-lgmp $LIBS"
8502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 conftest$ac_exeext conftest.$ac_ext 8429 conftest$ac_exeext conftest.$ac_ext
8521LIBS=$ac_check_lib_save_LIBS 8430LIBS=$ac_check_lib_save_LIBS
8522fi 8431fi
8523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 8432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
8524$as_echo "$ac_cv_lib_gmp_main" >&6; } 8433$as_echo "$ac_cv_lib_gmp_main" >&6; }
8525if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8434if test "x$ac_cv_lib_gmp_main" = xyes; then :
8526 cat >>confdefs.h <<_ACEOF 8435 cat >>confdefs.h <<_ACEOF
8527#define HAVE_LIBGMP 1 8436#define HAVE_LIBGMP 1
8528_ACEOF 8437_ACEOF
8529 8438
8530 LIBS="-lgmp $LIBS" 8439 LIBS="-lgmp $LIBS"
8542 8451
8543 8452
8544fi 8453fi
8545 8454
8546 8455
8456RSA=3072
8457# Check whether --enable-rsa-length was given.
8458if test "${enable_rsa_length+set}" = set; then :
8459 enableval=$enable_rsa_length; RSA=$enableval
8460
8461fi
8462
8463
8464cat >>confdefs.h <<_ACEOF
8465#define RSABITS $RSA
8466_ACEOF
8467
8468
8547HMAC=12 8469HMACSIZE=12
8548# Check whether --enable-hmac-length was given. 8470# Check whether --enable-hmac-length was given.
8549if test "${enable_hmac_length+set}" = set; then : 8471if test "${enable_hmac_length+set}" = set; then :
8550 enableval=$enable_hmac_length; HMAC=$enableval 8472 enableval=$enable_hmac_length; HMACSIZE=$enableval
8551 8473
8552fi 8474fi
8553 8475
8554 8476
8555cat >>confdefs.h <<_ACEOF 8477cat >>confdefs.h <<_ACEOF
8556#define HMACLENGTH $HMAC 8478#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 8479_ACEOF
8571 8480
8572 8481
8573MTU=1500 8482MTU=1500
8574# Check whether --enable-max-mtu was given. 8483# Check whether --enable-max-mtu was given.
8577 8486
8578fi 8487fi
8579 8488
8580 8489
8581cat >>confdefs.h <<_ACEOF 8490cat >>confdefs.h <<_ACEOF
8582#define MAX_MTU $MTU + 14 8491#define MAX_MTU ($MTU + 14)
8583_ACEOF 8492_ACEOF
8584 8493
8585 8494
8586COMPRESS=1 8495COMPRESS=1
8587# Check whether --enable-compression was given. 8496# Check whether --enable-compression was given.
8596cat >>confdefs.h <<_ACEOF 8505cat >>confdefs.h <<_ACEOF
8597#define ENABLE_COMPRESSION $COMPRESS 8506#define ENABLE_COMPRESSION $COMPRESS
8598_ACEOF 8507_ACEOF
8599 8508
8600 8509
8601CIPHER=aes_128_cbc 8510CIPHER=aes_128_ctr
8602# Check whether --enable-cipher was given. 8511# Check whether --enable-cipher was given.
8603if test "${enable_cipher+set}" = set; then : 8512if test "${enable_cipher+set}" = set; then :
8604 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 8513 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 8514 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 8515 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 8516 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi
8517 #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi
8518 #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi
8608 8519
8609fi 8520fi
8610 8521
8611 8522
8612cat >>confdefs.h <<_ACEOF 8523cat >>confdefs.h <<_ACEOF
8613#define ENABLE_CIPHER EVP_${CIPHER} 8524#define ENABLE_CIPHER EVP_${CIPHER}
8614_ACEOF 8525_ACEOF
8615 8526
8616 8527
8617DIGEST=ripemd160 8528HMAC=sha1
8618# Check whether --enable-digest was given. 8529# Check whether --enable-hmac-digest was given.
8619if test "${enable_digest+set}" = set; then : 8530if test "${enable_hmac_digest+set}" = set; then :
8531 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 8532 if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi
8621 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8533 if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi
8622 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8534 if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi
8623 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8535 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 8536
8627fi 8537fi
8628 8538
8629 8539
8630cat >>confdefs.h <<_ACEOF 8540cat >>confdefs.h <<_ACEOF
8541#define ENABLE_HMAC EVP_${HMAC}
8542_ACEOF
8543
8544
8545AUTH=sha512
8546# Check whether --enable-auth-digest was given.
8547if test "${enable_auth_digest+set}" = set; then :
8548 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8549 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8550 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8551
8552fi
8553
8554
8555cat >>confdefs.h <<_ACEOF
8631#define ENABLE_DIGEST EVP_${DIGEST} 8556#define ENABLE_AUTH EVP_${AUTH}
8632_ACEOF 8557_ACEOF
8633 8558
8634 8559
8635if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8560if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8636 CXXFLAGS="$CXXFLAGS -fno-rtti" 8561 CXXFLAGS="$CXXFLAGS -fno-rtti"
8709 t end 8634 t end
8710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8711 :end' >>confcache 8636 :end' >>confcache
8712if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8637if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8713 if test -w "$cache_file"; then 8638 if test -w "$cache_file"; then
8714 test "x$cache_file" != "x/dev/null" && 8639 if test "x$cache_file" != "x/dev/null"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8640 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8716$as_echo "$as_me: updating cache $cache_file" >&6;} 8641$as_echo "$as_me: updating cache $cache_file" >&6;}
8642 if test ! -f "$cache_file" || test -h "$cache_file"; then
8717 cat confcache >$cache_file 8643 cat confcache >"$cache_file"
8644 else
8645 case $cache_file in #(
8646 */* | ?:*)
8647 mv -f confcache "$cache_file"$$ &&
8648 mv -f "$cache_file"$$ "$cache_file" ;; #(
8649 *)
8650 mv -f confcache "$cache_file" ;;
8651 esac
8652 fi
8653 fi
8718 else 8654 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8655 { $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;} 8656$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8721 fi 8657 fi
8722fi 8658fi
8743LIBOBJS=$ac_libobjs 8679LIBOBJS=$ac_libobjs
8744 8680
8745LTLIBOBJS=$ac_ltlibobjs 8681LTLIBOBJS=$ac_ltlibobjs
8746 8682
8747 8683
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 8684if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8757 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8685 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8758Usually this means the macro was only invoked conditionally." "$LINENO" 5 8686Usually this means the macro was only invoked conditionally." "$LINENO" 5
8759fi 8687fi
8760if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8688if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8772if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8700if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8773 as_fn_error $? "conditional \"ROHC\" was never defined. 8701 as_fn_error $? "conditional \"ROHC\" was never defined.
8774Usually this means the macro was only invoked conditionally." "$LINENO" 5 8702Usually this means the macro was only invoked conditionally." "$LINENO" 5
8775fi 8703fi
8776 8704
8777: ${CONFIG_STATUS=./config.status} 8705: "${CONFIG_STATUS=./config.status}"
8778ac_write_fail=0 8706ac_write_fail=0
8779ac_clean_files_save=$ac_clean_files 8707ac_clean_files_save=$ac_clean_files
8780ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8708ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8781{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8709{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8782$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8710$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8873# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8801# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8874# splitting by setting IFS to empty value.) 8802# splitting by setting IFS to empty value.)
8875IFS=" "" $as_nl" 8803IFS=" "" $as_nl"
8876 8804
8877# Find who we are. Look in the path if we contain no directory separator. 8805# Find who we are. Look in the path if we contain no directory separator.
8806as_myself=
8878case $0 in #(( 8807case $0 in #((
8879 *[\\/]* ) as_myself=$0 ;; 8808 *[\\/]* ) as_myself=$0 ;;
8880 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8809 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881for as_dir in $PATH 8810for as_dir in $PATH
8882do 8811do
9068 if ln -s conf$$.file conf$$ 2>/dev/null; then 8997 if ln -s conf$$.file conf$$ 2>/dev/null; then
9069 as_ln_s='ln -s' 8998 as_ln_s='ln -s'
9070 # ... but there are two gotchas: 8999 # ... but there are two gotchas:
9071 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9000 # 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. 9001 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9073 # In both cases, we have to default to `cp -p'. 9002 # In both cases, we have to default to `cp -pR'.
9074 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9003 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9075 as_ln_s='cp -p' 9004 as_ln_s='cp -pR'
9076 elif ln conf$$.file conf$$ 2>/dev/null; then 9005 elif ln conf$$.file conf$$ 2>/dev/null; then
9077 as_ln_s=ln 9006 as_ln_s=ln
9078 else 9007 else
9079 as_ln_s='cp -p' 9008 as_ln_s='cp -pR'
9080 fi 9009 fi
9081else 9010else
9082 as_ln_s='cp -p' 9011 as_ln_s='cp -pR'
9083fi 9012fi
9084rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9013rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9085rmdir conf$$.dir 2>/dev/null 9014rmdir conf$$.dir 2>/dev/null
9086 9015
9087 9016
9137else 9066else
9138 test -d ./-p && rmdir ./-p 9067 test -d ./-p && rmdir ./-p
9139 as_mkdir_p=false 9068 as_mkdir_p=false
9140fi 9069fi
9141 9070
9142if test -x / >/dev/null 2>&1; then 9071
9072# as_fn_executable_p FILE
9073# -----------------------
9074# Test if FILE is an executable regular file.
9075as_fn_executable_p ()
9076{
9077 test -f "$1" && test -x "$1"
9078} # as_fn_executable_p
9143 as_test_x='test -x' 9079as_test_x='test -x'
9144else 9080as_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 9081
9165# Sed expression to map a string onto a valid CPP name. 9082# 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'" 9083as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9167 9084
9168# Sed expression to map a string onto a valid variable name. 9085# 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 9097# 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 9098# report actual input values of CONFIG_FILES etc. instead of their
9182# values after options handling. 9099# values after options handling.
9183ac_log=" 9100ac_log="
9184This file was extended by $as_me, which was 9101This file was extended by $as_me, which was
9185generated by GNU Autoconf 2.67. Invocation command line was 9102generated by GNU Autoconf 2.69. Invocation command line was
9186 9103
9187 CONFIG_FILES = $CONFIG_FILES 9104 CONFIG_FILES = $CONFIG_FILES
9188 CONFIG_HEADERS = $CONFIG_HEADERS 9105 CONFIG_HEADERS = $CONFIG_HEADERS
9189 CONFIG_LINKS = $CONFIG_LINKS 9106 CONFIG_LINKS = $CONFIG_LINKS
9190 CONFIG_COMMANDS = $CONFIG_COMMANDS 9107 CONFIG_COMMANDS = $CONFIG_COMMANDS
9246_ACEOF 9163_ACEOF
9247cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9164cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9248ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9165ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9249ac_cs_version="\\ 9166ac_cs_version="\\
9250config.status 9167config.status
9251configured by $0, generated by GNU Autoconf 2.67, 9168configured by $0, generated by GNU Autoconf 2.69,
9252 with options \\"\$ac_cs_config\\" 9169 with options \\"\$ac_cs_config\\"
9253 9170
9254Copyright (C) 2010 Free Software Foundation, Inc. 9171Copyright (C) 2012 Free Software Foundation, Inc.
9255This config.status script is free software; the Free Software Foundation 9172This config.status script is free software; the Free Software Foundation
9256gives unlimited permission to copy, distribute and modify it." 9173gives unlimited permission to copy, distribute and modify it."
9257 9174
9258ac_pwd='$ac_pwd' 9175ac_pwd='$ac_pwd'
9259srcdir='$srcdir' 9176srcdir='$srcdir'
9260INSTALL='$INSTALL' 9177INSTALL='$INSTALL'
9261MKDIR_P='$MKDIR_P'
9262AWK='$AWK' 9178AWK='$AWK'
9263test -n "\$AWK" || AWK=awk 9179test -n "\$AWK" || AWK=awk
9264_ACEOF 9180_ACEOF
9265 9181
9266cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9182cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9340fi 9256fi
9341 9257
9342_ACEOF 9258_ACEOF
9343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9259cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9344if \$ac_cs_recheck; then 9260if \$ac_cs_recheck; then
9345 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9261 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9346 shift 9262 shift
9347 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9263 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9348 CONFIG_SHELL='$SHELL' 9264 CONFIG_SHELL='$SHELL'
9349 export CONFIG_SHELL 9265 export CONFIG_SHELL
9350 exec "\$@" 9266 exec "\$@"
9391 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9307 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9392 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9308 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9393 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9309 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9394 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9310 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9395 9311
9396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9312 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9397 esac 9313 esac
9398done 9314done
9399 9315
9400 9316
9401# If the user did not use the arguments to specify the items to instantiate, 9317# If the user did not use the arguments to specify the items to instantiate,
9414# Hook for its removal unless debugging. 9330# Hook for its removal unless debugging.
9415# Note that there is a small window in which the directory will not be cleaned: 9331# 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'. 9332# after its creation but before its name has been assigned to `$tmp'.
9417$debug || 9333$debug ||
9418{ 9334{
9419 tmp= 9335 tmp= ac_tmp=
9420 trap 'exit_status=$? 9336 trap 'exit_status=$?
9337 : "${ac_tmp:=$tmp}"
9421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9338 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9422' 0 9339' 0
9423 trap 'as_fn_exit 1' 1 2 13 15 9340 trap 'as_fn_exit 1' 1 2 13 15
9424} 9341}
9425# Create a (secure) tmp directory for tmp files. 9342# Create a (secure) tmp directory for tmp files.
9426 9343
9427{ 9344{
9428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9345 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9429 test -n "$tmp" && test -d "$tmp" 9346 test -d "$tmp"
9430} || 9347} ||
9431{ 9348{
9432 tmp=./conf$$-$RANDOM 9349 tmp=./conf$$-$RANDOM
9433 (umask 077 && mkdir "$tmp") 9350 (umask 077 && mkdir "$tmp")
9434} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9351} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9352ac_tmp=$tmp
9435 9353
9436# Set up the scripts for CONFIG_FILES section. 9354# Set up the scripts for CONFIG_FILES section.
9437# No need to generate them if there are no CONFIG_FILES. 9355# No need to generate them if there are no CONFIG_FILES.
9438# This happens for instance with `./config.status config.h'. 9356# This happens for instance with `./config.status config.h'.
9439if test -n "$CONFIG_FILES"; then 9357if test -n "$CONFIG_FILES"; then
9451 ac_cs_awk_cr='\\r' 9369 ac_cs_awk_cr='\\r'
9452else 9370else
9453 ac_cs_awk_cr=$ac_cr 9371 ac_cs_awk_cr=$ac_cr
9454fi 9372fi
9455 9373
9456echo 'BEGIN {' >"$tmp/subs1.awk" && 9374echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9457_ACEOF 9375_ACEOF
9458 9376
9459 9377
9460{ 9378{
9461 echo "cat >conf$$subs.awk <<_ACEOF" && 9379 echo "cat >conf$$subs.awk <<_ACEOF" &&
9479 fi 9397 fi
9480done 9398done
9481rm -f conf$$subs.sh 9399rm -f conf$$subs.sh
9482 9400
9483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9401cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9484cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9402cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9485_ACEOF 9403_ACEOF
9486sed -n ' 9404sed -n '
9487h 9405h
9488s/^/S["/; s/!.*/"]=/ 9406s/^/S["/; s/!.*/"]=/
9489p 9407p
9527} 9445}
9528' >>$CONFIG_STATUS || ac_write_fail=1 9446' >>$CONFIG_STATUS || ac_write_fail=1
9529rm -f conf$$subs.awk 9447rm -f conf$$subs.awk
9530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9448cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9531_ACAWK 9449_ACAWK
9532cat >>"\$tmp/subs1.awk" <<_ACAWK && 9450cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9533 for (key in S) S_is_set[key] = 1 9451 for (key in S) S_is_set[key] = 1
9534 FS = "" 9452 FS = ""
9535 9453
9536} 9454}
9537{ 9455{
9559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9560if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9478if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9561 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9479 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9562else 9480else
9563 cat 9481 cat
9564fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9482fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9483 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9566_ACEOF 9484_ACEOF
9567 9485
9568# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9486# 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 9487# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9593 9511
9594# Set up the scripts for CONFIG_HEADERS section. 9512# Set up the scripts for CONFIG_HEADERS section.
9595# No need to generate them if there are no CONFIG_HEADERS. 9513# No need to generate them if there are no CONFIG_HEADERS.
9596# This happens for instance with `./config.status Makefile'. 9514# This happens for instance with `./config.status Makefile'.
9597if test -n "$CONFIG_HEADERS"; then 9515if test -n "$CONFIG_HEADERS"; then
9598cat >"$tmp/defines.awk" <<\_ACAWK || 9516cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9599BEGIN { 9517BEGIN {
9600_ACEOF 9518_ACEOF
9601 9519
9602# Transform confdefs.h into an awk script `defines.awk', embedded as 9520# Transform confdefs.h into an awk script `defines.awk', embedded as
9603# here-document in config.status, that substitutes the proper values into 9521# here-document in config.status, that substitutes the proper values into
9605 9523
9606# Create a delimiter string that does not exist in confdefs.h, to ease 9524# Create a delimiter string that does not exist in confdefs.h, to ease
9607# handling of long lines. 9525# handling of long lines.
9608ac_delim='%!_!# ' 9526ac_delim='%!_!# '
9609for ac_last_try in false false :; do 9527for ac_last_try in false false :; do
9610 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9528 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9611 if test -z "$ac_t"; then 9529 if test -z "$ac_tt"; then
9612 break 9530 break
9613 elif $ac_last_try; then 9531 elif $ac_last_try; then
9614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9532 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9615 else 9533 else
9616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9534 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9707 case $ac_tag in 9625 case $ac_tag in
9708 :[FHLC]) ac_mode=$ac_tag; continue;; 9626 :[FHLC]) ac_mode=$ac_tag; continue;;
9709 esac 9627 esac
9710 case $ac_mode$ac_tag in 9628 case $ac_mode$ac_tag in
9711 :[FHL]*:*);; 9629 :[FHL]*:*);;
9712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9630 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9713 :[FH]-) ac_tag=-:-;; 9631 :[FH]-) ac_tag=-:-;;
9714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9632 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9715 esac 9633 esac
9716 ac_save_IFS=$IFS 9634 ac_save_IFS=$IFS
9717 IFS=: 9635 IFS=:
9726 :[FH]) 9644 :[FH])
9727 ac_file_inputs= 9645 ac_file_inputs=
9728 for ac_f 9646 for ac_f
9729 do 9647 do
9730 case $ac_f in 9648 case $ac_f in
9731 -) ac_f="$tmp/stdin";; 9649 -) ac_f="$ac_tmp/stdin";;
9732 *) # Look for the file first in the build tree, then in the source tree 9650 *) # 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, 9651 # (if the path is not absolute). The absolute path cannot be DOS-style,
9734 # because $ac_f cannot contain `:'. 9652 # because $ac_f cannot contain `:'.
9735 test -f "$ac_f" || 9653 test -f "$ac_f" ||
9736 case $ac_f in 9654 case $ac_f in
9737 [\\/$]*) false;; 9655 [\\/$]*) false;;
9738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9656 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9739 esac || 9657 esac ||
9740 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 9658 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9741 esac 9659 esac
9742 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9660 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9743 as_fn_append ac_file_inputs " '$ac_f'" 9661 as_fn_append ac_file_inputs " '$ac_f'"
9744 done 9662 done
9745 9663
9761 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9679 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9762 *) ac_sed_conf_input=$configure_input;; 9680 *) ac_sed_conf_input=$configure_input;;
9763 esac 9681 esac
9764 9682
9765 case $ac_tag in 9683 case $ac_tag in
9766 *:-:* | *:-) cat >"$tmp/stdin" \ 9684 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9768 esac 9686 esac
9769 ;; 9687 ;;
9770 esac 9688 esac
9771 9689
9772 ac_dir=`$as_dirname -- "$ac_file" || 9690 ac_dir=`$as_dirname -- "$ac_file" ||
9836 9754
9837 case $INSTALL in 9755 case $INSTALL in
9838 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9756 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9839 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9757 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9840 esac 9758 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 9759_ACEOF
9847 9760
9848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9849# If the template does not know about datarootdir, expand it. 9762# If the template does not know about datarootdir, expand it.
9850# FIXME: This hack should be removed a few years after 2.60. 9763# FIXME: This hack should be removed a few years after 2.60.
9895s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9808s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9896s&@builddir@&$ac_builddir&;t t 9809s&@builddir@&$ac_builddir&;t t
9897s&@abs_builddir@&$ac_abs_builddir&;t t 9810s&@abs_builddir@&$ac_abs_builddir&;t t
9898s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9811s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9899s&@INSTALL@&$ac_INSTALL&;t t 9812s&@INSTALL@&$ac_INSTALL&;t t
9900s&@MKDIR_P@&$ac_MKDIR_P&;t t
9901$ac_datarootdir_hack 9813$ac_datarootdir_hack
9902" 9814"
9903eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9815eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9816 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9905 9817
9906test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9818test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9819 { 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"; } && 9820 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9821 "$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' 9822 { $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 9823which 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' 9824$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;} 9825which seems to be undefined. Please make sure it is defined" >&2;}
9913 9826
9914 rm -f "$tmp/stdin" 9827 rm -f "$ac_tmp/stdin"
9915 case $ac_file in 9828 case $ac_file in
9916 -) cat "$tmp/out" && rm -f "$tmp/out";; 9829 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9917 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9830 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9918 esac \ 9831 esac \
9919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9920 ;; 9833 ;;
9921 :H) 9834 :H)
9922 # 9835 #
9923 # CONFIG_HEADER 9836 # CONFIG_HEADER
9924 # 9837 #
9925 if test x"$ac_file" != x-; then 9838 if test x"$ac_file" != x-; then
9926 { 9839 {
9927 $as_echo "/* $configure_input */" \ 9840 $as_echo "/* $configure_input */" \
9928 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9841 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9929 } >"$tmp/config.h" \ 9842 } >"$ac_tmp/config.h" \
9930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9931 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9844 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 9845 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9933$as_echo "$as_me: $ac_file is unchanged" >&6;} 9846$as_echo "$as_me: $ac_file is unchanged" >&6;}
9934 else 9847 else
9935 rm -f "$ac_file" 9848 rm -f "$ac_file"
9936 mv "$tmp/config.h" "$ac_file" \ 9849 mv "$ac_tmp/config.h" "$ac_file" \
9937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9850 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9938 fi 9851 fi
9939 else 9852 else
9940 $as_echo "/* $configure_input */" \ 9853 $as_echo "/* $configure_input */" \
9941 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9854 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9942 || as_fn_error $? "could not create -" "$LINENO" 5 9855 || as_fn_error $? "could not create -" "$LINENO" 5
9943 fi 9856 fi
9944# Compute "$ac_file"'s index in $config_headers. 9857# Compute "$ac_file"'s index in $config_headers.
9945_am_arg="$ac_file"
9946_am_stamp_count=1 9858_am_stamp_count=1
9947for _am_header in $config_headers :; do 9859for _am_header in $config_headers :; do
9948 case $_am_header in 9860 case $_am_header in
9949 $_am_arg | $_am_arg:* ) 9861 "$ac_file" | "$ac_file":* )
9950 break ;; 9862 break ;;
9951 * ) 9863 * )
9952 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9864 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9953 esac 9865 esac
9954done 9866done
9955echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9867echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
9956$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9868$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9957 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9869 X"$ac_file" : 'X\(//\)[^/]' \| \
9958 X"$_am_arg" : 'X\(//\)$' \| \ 9870 X"$ac_file" : 'X\(//\)$' \| \
9959 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9871 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9960$as_echo X"$_am_arg" | 9872$as_echo X"$ac_file" |
9961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9962 s//\1/ 9874 s//\1/
9963 q 9875 q
9964 } 9876 }
9965 /^X\(\/\/\)[^/].*/{ 9877 /^X\(\/\/\)[^/].*/{
10078 done 9990 done
10079 fi 9991 fi
10080 ;; 9992 ;;
10081 esac 9993 esac
10082 done ;; 9994 done ;;
10083 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9995 "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. 9996 # Strip MF so we end up with the name of the file.
10095 mf=`echo "$mf" | sed -e 's/:.*$//'` 9997 mf=`echo "$mf" | sed -e 's/:.*$//'`
10096 # Check whether this is an Automake generated Makefile or not. 9998 # Check whether this is an Automake generated Makefile or not.
10097 # We used to match only the files named `Makefile.in', but 9999 # We used to match only the files named `Makefile.in', but
10098 # some people rename them; so instead we look at the file content. 10000 # 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 10001 # 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. 10002 # 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 10003 # 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 10004 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10104 dirpart=`$as_dirname -- "$mf" || 10005 dirpart=`$as_dirname -- "$mf" ||
10105$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10006$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10106 X"$mf" : 'X\(//\)[^/]' \| \ 10007 X"$mf" : 'X\(//\)[^/]' \| \
10107 X"$mf" : 'X\(//\)$' \| \ 10008 X"$mf" : 'X\(//\)$' \| \
10108 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10009 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10109$as_echo X"$mf" | 10010$as_echo X"$mf" |
10122 /^X\(\/\).*/{ 10023 /^X\(\/\).*/{
10123 s//\1/ 10024 s//\1/
10124 q 10025 q
10125 } 10026 }
10126 s/.*/./; q'` 10027 s/.*/./; q'`
10127 else 10028 else
10128 continue 10029 continue
10129 fi 10030 fi
10130 # Extract the definition of DEPDIR, am__include, and am__quote 10031 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
10131 # from the Makefile without running `make'. 10032 # Extract the definition of DEP_FILES from the Makefile without
10033 # running `make'.
10132 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10034 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
10133 test -z "$DEPDIR" && continue 10035 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 10036 # When using ansi2knr, U may be empty or an underscore; expand it
10138 U=`sed -n 's/^U = //p' < "$mf"` 10037 U=`sed -n -e '/^U = / s///p' < "$mf"`
10139 # Find all dependency output files, they are included files with 10038 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
10140 # $(DEPDIR) in their names. We invoke sed twice because it is the 10039 # We invoke sed twice because it is the simplest approach to
10141 # simplest approach to changing $(DEPDIR) to its actual value in the 10040 # changing $(DEPDIR) to its actual value in the expansion.
10142 # expansion.
10143 for file in `sed -n " 10041 for file in `sed -n -e '
10144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10042 /^DEP_FILES = .*\\\\$/ {
10043 s/^DEP_FILES = //
10044 :loop
10045 s/\\\\$//
10046 p
10047 n
10048 /\\\\$/ b loop
10049 p
10050 }
10051 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
10145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10052 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10146 # Make sure the directory exists. 10053 # Make sure the directory exists.
10147 test -f "$dirpart/$file" && continue 10054 test -f "$dirpart/$file" && continue
10148 fdir=`$as_dirname -- "$file" || 10055 fdir=`$as_dirname -- "$file" ||
10149$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10056$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10150 X"$file" : 'X\(//\)[^/]' \| \ 10057 X"$file" : 'X\(//\)[^/]' \| \
10151 X"$file" : 'X\(//\)$' \| \ 10058 X"$file" : 'X\(//\)$' \| \
10152 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10059 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10153$as_echo X"$file" | 10060$as_echo X"$file" |
10166 /^X\(\/\).*/{ 10073 /^X\(\/\).*/{
10167 s//\1/ 10074 s//\1/
10168 q 10075 q
10169 } 10076 }
10170 s/.*/./; q'` 10077 s/.*/./; q'`
10171 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10078 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10172 # echo "creating $dirpart/$file" 10079 # echo "creating $dirpart/$file"
10173 echo '# dummy' > "$dirpart/$file" 10080 echo '# dummy' > "$dirpart/$file"
10174 done
10175 done 10081 done
10176} 10082done
10177 ;; 10083 ;;
10178 10084
10179 esac 10085 esac
10180done # for ac_tag 10086done # for ac_tag
10181 10087
10217echo 10123echo
10218echo "***" 10124echo "***"
10219echo "*** Configuration Summary" 10125echo "*** Configuration Summary"
10220echo "***" 10126echo "***"
10221echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10127echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10128echo "*** RSA size: $RSA"
10222echo "*** Cipher used: $CIPHER" 10129echo "*** Cipher used: $CIPHER"
10223echo "*** Digest used: $DIGEST" 10130echo "*** Digest used: $DIGEST"
10131echo "*** Authdigest: $AUTH"
10224echo "*** HMAC length: $HMAC" 10132echo "*** HMAC length: $HMAC"
10225echo "*** RAND used: $RAND"
10226echo "*** Max. MTU: $MTU" 10133echo "*** Max. MTU: $MTU"
10227 10134
10228echo "***" 10135echo "***"
10229echo "*** Enable options:" 10136echo "*** Enable options:"
10230grep ENABLE_ config.h | sed -e 's/^/*** /' 10137grep ENABLE_ config.h | sed -e 's/^/*** /'
10231 10138
10232if test "x$DIGEST" = xmd4; then 10139if test "$HMACSIZE" -lt 12; then
10233echo "***" 10140echo "***"
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" 10141echo "*** 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 10142fi
10251 10143
10252echo "***" 10144echo "***"
10253echo 10145echo
10254 10146

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines