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

Comparing gvpe/configure (file contents):
Revision 1.45 by root, Tue Feb 15 13:31:21 2011 UTC vs.
Revision 1.52 by root, Tue Jul 16 16:44:36 2013 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='LTLIBOBJS 622ac_subst_vars='am__EXEEXT_FALSE
623am__EXEEXT_TRUE
624LTLIBOBJS
595LIBOBJS 625LIBOBJS
596INCLUDES 626INCLUDES
597ROHC_FALSE 627ROHC_FALSE
598ROHC_TRUE 628ROHC_TRUE
599LDFLAGS_DAEMON 629LDFLAGS_DAEMON
622LIBICONV 652LIBICONV
623USE_NLS 653USE_NLS
624am__fastdepCC_FALSE 654am__fastdepCC_FALSE
625am__fastdepCC_TRUE 655am__fastdepCC_TRUE
626CCDEPMODE 656CCDEPMODE
657am__nodep
627AMDEPBACKSLASH 658AMDEPBACKSLASH
628AMDEP_FALSE 659AMDEP_FALSE
629AMDEP_TRUE 660AMDEP_TRUE
630am__quote 661am__quote
631am__include 662am__include
643MSGFMT 674MSGFMT
644MKINSTALLDIRS 675MKINSTALLDIRS
645MAINT 676MAINT
646MAINTAINER_MODE_FALSE 677MAINTAINER_MODE_FALSE
647MAINTAINER_MODE_TRUE 678MAINTAINER_MODE_TRUE
679am__untar
680am__tar
681AMTAR
648am__leading_dot 682am__leading_dot
649SET_MAKE 683SET_MAKE
650AWK 684AWK
685mkdir_p
686MKDIR_P
651INSTALL_STRIP_PROGRAM 687INSTALL_STRIP_PROGRAM
652STRIP 688STRIP
653install_sh 689install_sh
654AMTAR
655MAKEINFO 690MAKEINFO
656AUTOHEADER 691AUTOHEADER
657AUTOMAKE 692AUTOMAKE
658AUTOCONF 693AUTOCONF
659ACLOCAL 694ACLOCAL
660VERSION 695VERSION
661PACKAGE 696PACKAGE
662CYGPATH_W 697CYGPATH_W
698am__isrc
663INSTALL_DATA 699INSTALL_DATA
664INSTALL_SCRIPT 700INSTALL_SCRIPT
665INSTALL_PROGRAM 701INSTALL_PROGRAM
666target_os 702target_os
667target_vendor 703target_vendor
725with_libintl_prefix 761with_libintl_prefix
726enable_iftype 762enable_iftype
727with_kernel 763with_kernel
728with_openssl_include 764with_openssl_include
729with_openssl_lib 765with_openssl_lib
766enable_threads
730enable_static_daemon 767enable_static_daemon
731enable_icmp 768enable_icmp
732enable_tcp 769enable_tcp
733enable_http_proxy 770enable_http_proxy
734enable_dns 771enable_dns
772enable_rsa_length
735enable_hmac_length 773enable_hmac_length
736enable_rand_length 774enable_rand_length
737enable_max_mtu 775enable_max_mtu
738enable_compression 776enable_compression
739enable_cipher 777enable_cipher
740enable_digest 778enable_digest
779enable_auth_digest
741' 780'
742 ac_precious_vars='build_alias 781 ac_precious_vars='build_alias
743host_alias 782host_alias
744target_alias 783target_alias
745CC 784CC
1154 *) 1193 *)
1155 # FIXME: should be removed in autoconf 3.0. 1194 # FIXME: should be removed in autoconf 3.0.
1156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1195 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1160 ;; 1199 ;;
1161 1200
1162 esac 1201 esac
1163done 1202done
1164 1203
1205 1244
1206# FIXME: To remove some day. 1245# FIXME: To remove some day.
1207if test "x$host_alias" != x; then 1246if test "x$host_alias" != x; then
1208 if test "x$build_alias" = x; then 1247 if test "x$build_alias" = x; then
1209 cross_compiling=maybe 1248 cross_compiling=maybe
1210 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used" >&2
1212 elif test "x$build_alias" != "x$host_alias"; then 1249 elif test "x$build_alias" != "x$host_alias"; then
1213 cross_compiling=yes 1250 cross_compiling=yes
1214 fi 1251 fi
1215fi 1252fi
1216 1253
1369 1406
1370Optional Features: 1407Optional Features:
1371 --disable-option-checking ignore unrecognized --enable/--with options 1408 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --enable-maintainer-mode enable make rules and dependencies not useful 1411 --enable-maintainer-mode enable make rules and dependencies not useful
1375 (and sometimes confusing) to the casual installer 1412 (and sometimes confusing) to the casual installer
1376 --disable-dependency-tracking Speeds up one-time builds 1413 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking Do not reject slow dependency extractors 1414 --enable-dependency-tracking do not reject slow dependency extractors
1378 --disable-rpath do not hardcode runtime library paths 1415 --disable-rpath do not hardcode runtime library paths
1379 --disable-nls do not use Native Language Support 1416 --disable-nls do not use Native Language Support
1380 --enable-iftype=TYPE/SUBTYPE 1417 --enable-iftype=TYPE/SUBTYPE
1381 Use kernel/net device interface TYPE/SUBTYPE. 1418 Use kernel/net device interface TYPE/SUBTYPE.
1382 Working combinations are (see doc/gvpe.osdep.5.pod): 1419 Working combinations are (see doc/gvpe.osdep.5.pod):
1385 "tincd/darwin" "native/cygwin"; Untested 1422 "tincd/darwin" "native/cygwin"; Untested
1386 combinations are: "tincd/bsd" "tincd/solaris" 1423 combinations are: "tincd/bsd" "tincd/solaris"
1387 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1424 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1388 Broken combinations are: "tincd/cygwin"; The default 1425 Broken combinations are: "tincd/cygwin"; The default
1389 is to autodetect. 1426 is to autodetect.
1427 --enable-threads try to use threads for long-running asynchronous
1428 operations (default enabled).
1390 --enable-static-daemon enable statically linked daemon. 1429 --enable-static-daemon enable statically linked daemon.
1391 --disable-icmp enable icmp protocol support (default enabled). 1430 --disable-icmp enable icmp protocol support (default enabled).
1392 --disable-tcp enable tcp protocol support (default enabled). 1431 --disable-tcp enable tcp protocol support (default enabled).
1393 --disable-http-proxy enable http proxy connect support (default enabled). 1432 --disable-http-proxy enable http proxy connect support (default enabled).
1394 --enable-dns enable dns tunnel protocol support (default 1433 --enable-dns enable dns tunnel protocol support (default
1395 disabled). 1434 disabled).
1435 --enable-rsa-length=BITS
1436 use BITS rsa keys (default 3072). Allowed values are
1437 1536-10240.
1396 --enable-hmac-length=BYTES 1438 --enable-hmac-length=BYTES
1397 use a hmac of length BYTES bytes (default 12). 1439 use a hmac of length BYTES bytes (default 12).
1398 Allowed values are 4, 8, 12, 16. 1440 Allowed values are 4, 8, 12, 16.
1399 --enable-rand-length=BYTES 1441 --enable-rand-length=BYTES
1400 use BYTES bytes of extra randomness (default 8). 1442 use BYTES bytes of extra randomness (default 8).
1402 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 1444 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
1403 Use 9100 for jumbogram support. 1445 Use 9100 for jumbogram support.
1404 --disable-compression Disable compression support. 1446 --disable-compression Disable compression support.
1405 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). 1447 --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128").
1406 Must be one of "bf" (blowfish), "aes-128" 1448 Must be one of "bf" (blowfish), "aes-128"
1407 (rijndael), "aes-192" or "aes-256". 1449 (rijndael), "aes-192", "aes-256", "camellia-128" or
1450 "camellia-256".
1408 --enable-digest=CIPHER Select the digest algorithm to use (default 1451 --enable-digest=DIGEST Select the digest algorithm to use (default "sha1").
1409 "ripemd160"). Must be one of "sha512", "sha256", 1452 Must be one of "sha512", "sha256", "sha1",
1410 "sha1" (somewhat insecure), "ripemd160", "md5" 1453 "ripemd160", "whirlpool".
1411 (insecure) or "md4" (insecure). 1454 --enable-auth-digest=DIGEST
1455 Select the hmac algorithm to use (default "sha512").
1456 Must be one of "sha512", "sha256", "whirlpool".
1412 1457
1413Optional Packages: 1458Optional Packages:
1414 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1459 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1415 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1460 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1416 --with-gnu-ld assume the C compiler uses GNU ld default=no 1461 --with-gnu-ld assume the C compiler uses GNU ld default=no
1501 1546
1502test -n "$ac_init_help" && exit $ac_status 1547test -n "$ac_init_help" && exit $ac_status
1503if $ac_init_version; then 1548if $ac_init_version; then
1504 cat <<\_ACEOF 1549 cat <<\_ACEOF
1505configure 1550configure
1506generated by GNU Autoconf 2.67 1551generated by GNU Autoconf 2.69
1507 1552
1508Copyright (C) 2010 Free Software Foundation, Inc. 1553Copyright (C) 2012 Free Software Foundation, Inc.
1509This configure script is free software; the Free Software Foundation 1554This configure script is free software; the Free Software Foundation
1510gives unlimited permission to copy, distribute and modify it. 1555gives unlimited permission to copy, distribute and modify it.
1511_ACEOF 1556_ACEOF
1512 exit 1557 exit
1513fi 1558fi
1547 $as_echo "$as_me: failed program was:" >&5 1592 $as_echo "$as_me: failed program was:" >&5
1548sed 's/^/| /' conftest.$ac_ext >&5 1593sed 's/^/| /' conftest.$ac_ext >&5
1549 1594
1550 ac_retval=1 1595 ac_retval=1
1551fi 1596fi
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval 1598 as_fn_set_status $ac_retval
1554 1599
1555} # ac_fn_c_try_compile 1600} # ac_fn_c_try_compile
1556 1601
1557# ac_fn_c_try_link LINENO 1602# ac_fn_c_try_link LINENO
1579 test $ac_status = 0; } && { 1624 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" || 1625 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err 1626 test ! -s conftest.err
1582 } && test -s conftest$ac_exeext && { 1627 } && test -s conftest$ac_exeext && {
1583 test "$cross_compiling" = yes || 1628 test "$cross_compiling" = yes ||
1584 $as_test_x conftest$ac_exeext 1629 test -x conftest$ac_exeext
1585 }; then : 1630 }; then :
1586 ac_retval=0 1631 ac_retval=0
1587else 1632else
1588 $as_echo "$as_me: failed program was:" >&5 1633 $as_echo "$as_me: failed program was:" >&5
1589sed 's/^/| /' conftest.$ac_ext >&5 1634sed 's/^/| /' conftest.$ac_ext >&5
1593 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1638 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1594 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1639 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1595 # interfere with the next link command; also delete a directory that is 1640 # interfere with the next link command; also delete a directory that is
1596 # left behind by Apple's compiler. We do this before executing the actions. 1641 # left behind by Apple's compiler. We do this before executing the actions.
1597 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1598 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval 1644 as_fn_set_status $ac_retval
1600 1645
1601} # ac_fn_c_try_link 1646} # ac_fn_c_try_link
1602 1647
1603# ac_fn_c_try_cpp LINENO 1648# ac_fn_c_try_cpp LINENO
1630 $as_echo "$as_me: failed program was:" >&5 1675 $as_echo "$as_me: failed program was:" >&5
1631sed 's/^/| /' conftest.$ac_ext >&5 1676sed 's/^/| /' conftest.$ac_ext >&5
1632 1677
1633 ac_retval=1 1678 ac_retval=1
1634fi 1679fi
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval 1681 as_fn_set_status $ac_retval
1637 1682
1638} # ac_fn_c_try_cpp 1683} # ac_fn_c_try_cpp
1639 1684
1640# ac_fn_cxx_try_compile LINENO 1685# ac_fn_cxx_try_compile LINENO
1668 $as_echo "$as_me: failed program was:" >&5 1713 $as_echo "$as_me: failed program was:" >&5
1669sed 's/^/| /' conftest.$ac_ext >&5 1714sed 's/^/| /' conftest.$ac_ext >&5
1670 1715
1671 ac_retval=1 1716 ac_retval=1
1672fi 1717fi
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval 1719 as_fn_set_status $ac_retval
1675 1720
1676} # ac_fn_cxx_try_compile 1721} # ac_fn_cxx_try_compile
1677 1722
1678# ac_fn_cxx_try_cpp LINENO 1723# ac_fn_cxx_try_cpp LINENO
1705 $as_echo "$as_me: failed program was:" >&5 1750 $as_echo "$as_me: failed program was:" >&5
1706sed 's/^/| /' conftest.$ac_ext >&5 1751sed 's/^/| /' conftest.$ac_ext >&5
1707 1752
1708 ac_retval=1 1753 ac_retval=1
1709fi 1754fi
1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval 1756 as_fn_set_status $ac_retval
1712 1757
1713} # ac_fn_cxx_try_cpp 1758} # ac_fn_cxx_try_cpp
1714 1759
1715# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1760# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1718# the include files in INCLUDES and setting the cache variable VAR 1763# the include files in INCLUDES and setting the cache variable VAR
1719# accordingly. 1764# accordingly.
1720ac_fn_cxx_check_header_mongrel () 1765ac_fn_cxx_check_header_mongrel ()
1721{ 1766{
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if eval "test \"\${$3+set}\"" = set; then : 1768 if eval \${$3+:} false; then :
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725$as_echo_n "checking for $2... " >&6; } 1770$as_echo_n "checking for $2... " >&6; }
1726if eval "test \"\${$3+set}\"" = set; then : 1771if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6 1772 $as_echo_n "(cached) " >&6
1728fi 1773fi
1729eval ac_res=\$$3 1774eval ac_res=\$$3
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731$as_echo "$ac_res" >&6; } 1776$as_echo "$ac_res" >&6; }
1784$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1829$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1785 ;; 1830 ;;
1786esac 1831esac
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788$as_echo_n "checking for $2... " >&6; } 1833$as_echo_n "checking for $2... " >&6; }
1789if eval "test \"\${$3+set}\"" = set; then : 1834if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6 1835 $as_echo_n "(cached) " >&6
1791else 1836else
1792 eval "$3=\$ac_header_compiler" 1837 eval "$3=\$ac_header_compiler"
1793fi 1838fi
1794eval ac_res=\$$3 1839eval ac_res=\$$3
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796$as_echo "$ac_res" >&6; } 1841$as_echo "$ac_res" >&6; }
1797fi 1842fi
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 1844
1800} # ac_fn_cxx_check_header_mongrel 1845} # ac_fn_cxx_check_header_mongrel
1801 1846
1802# ac_fn_cxx_try_run LINENO 1847# ac_fn_cxx_try_run LINENO
1803# ------------------------ 1848# ------------------------
1834sed 's/^/| /' conftest.$ac_ext >&5 1879sed 's/^/| /' conftest.$ac_ext >&5
1835 1880
1836 ac_retval=$ac_status 1881 ac_retval=$ac_status
1837fi 1882fi
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1883 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval 1885 as_fn_set_status $ac_retval
1841 1886
1842} # ac_fn_cxx_try_run 1887} # ac_fn_cxx_try_run
1843 1888
1844# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1889# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1848ac_fn_cxx_check_header_compile () 1893ac_fn_cxx_check_header_compile ()
1849{ 1894{
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852$as_echo_n "checking for $2... " >&6; } 1897$as_echo_n "checking for $2... " >&6; }
1853if eval "test \"\${$3+set}\"" = set; then : 1898if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6 1899 $as_echo_n "(cached) " >&6
1855else 1900else
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857/* end confdefs.h. */ 1902/* end confdefs.h. */
1858$4 1903$4
1866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867fi 1912fi
1868eval ac_res=\$$3 1913eval ac_res=\$$3
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870$as_echo "$ac_res" >&6; } 1915$as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 1917
1873} # ac_fn_cxx_check_header_compile 1918} # ac_fn_cxx_check_header_compile
1874 1919
1875# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1920# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1876# --------------------------------------------- 1921# ---------------------------------------------
1879ac_fn_cxx_check_type () 1924ac_fn_cxx_check_type ()
1880{ 1925{
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883$as_echo_n "checking for $2... " >&6; } 1928$as_echo_n "checking for $2... " >&6; }
1884if eval "test \"\${$3+set}\"" = set; then : 1929if eval \${$3+:} false; then :
1885 $as_echo_n "(cached) " >&6 1930 $as_echo_n "(cached) " >&6
1886else 1931else
1887 eval "$3=no" 1932 eval "$3=no"
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889/* end confdefs.h. */ 1934/* end confdefs.h. */
1920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921fi 1966fi
1922eval ac_res=\$$3 1967eval ac_res=\$$3
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924$as_echo "$ac_res" >&6; } 1969$as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 1971
1927} # ac_fn_cxx_check_type 1972} # ac_fn_cxx_check_type
1928 1973
1929# ac_fn_c_try_run LINENO 1974# ac_fn_c_try_run LINENO
1930# ---------------------- 1975# ----------------------
1961sed 's/^/| /' conftest.$ac_ext >&5 2006sed 's/^/| /' conftest.$ac_ext >&5
1962 2007
1963 ac_retval=$ac_status 2008 ac_retval=$ac_status
1964fi 2009fi
1965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2010 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 as_fn_set_status $ac_retval 2012 as_fn_set_status $ac_retval
1968 2013
1969} # ac_fn_c_try_run 2014} # ac_fn_c_try_run
1970 2015
1971# ac_fn_c_check_func LINENO FUNC VAR 2016# ac_fn_c_check_func LINENO FUNC VAR
1974ac_fn_c_check_func () 2019ac_fn_c_check_func ()
1975{ 2020{
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978$as_echo_n "checking for $2... " >&6; } 2023$as_echo_n "checking for $2... " >&6; }
1979if eval "test \"\${$3+set}\"" = set; then : 2024if eval \${$3+:} false; then :
1980 $as_echo_n "(cached) " >&6 2025 $as_echo_n "(cached) " >&6
1981else 2026else
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983/* end confdefs.h. */ 2028/* end confdefs.h. */
1984/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2029/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2029 conftest$ac_exeext conftest.$ac_ext 2074 conftest$ac_exeext conftest.$ac_ext
2030fi 2075fi
2031eval ac_res=\$$3 2076eval ac_res=\$$3
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033$as_echo "$ac_res" >&6; } 2078$as_echo "$ac_res" >&6; }
2034 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035 2080
2036} # ac_fn_c_check_func 2081} # ac_fn_c_check_func
2037 2082
2038# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2083# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2039# ------------------------------------------------------- 2084# -------------------------------------------------------
2041# the include files in INCLUDES and setting the cache variable VAR 2086# the include files in INCLUDES and setting the cache variable VAR
2042# accordingly. 2087# accordingly.
2043ac_fn_c_check_header_mongrel () 2088ac_fn_c_check_header_mongrel ()
2044{ 2089{
2045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2046 if eval "test \"\${$3+set}\"" = set; then : 2091 if eval \${$3+:} false; then :
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048$as_echo_n "checking for $2... " >&6; } 2093$as_echo_n "checking for $2... " >&6; }
2049if eval "test \"\${$3+set}\"" = set; then : 2094if eval \${$3+:} false; then :
2050 $as_echo_n "(cached) " >&6 2095 $as_echo_n "(cached) " >&6
2051fi 2096fi
2052eval ac_res=\$$3 2097eval ac_res=\$$3
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054$as_echo "$ac_res" >&6; } 2099$as_echo "$ac_res" >&6; }
2107$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2152$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2108 ;; 2153 ;;
2109esac 2154esac
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111$as_echo_n "checking for $2... " >&6; } 2156$as_echo_n "checking for $2... " >&6; }
2112if eval "test \"\${$3+set}\"" = set; then : 2157if eval \${$3+:} false; then :
2113 $as_echo_n "(cached) " >&6 2158 $as_echo_n "(cached) " >&6
2114else 2159else
2115 eval "$3=\$ac_header_compiler" 2160 eval "$3=\$ac_header_compiler"
2116fi 2161fi
2117eval ac_res=\$$3 2162eval ac_res=\$$3
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119$as_echo "$ac_res" >&6; } 2164$as_echo "$ac_res" >&6; }
2120fi 2165fi
2121 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 2167
2123} # ac_fn_c_check_header_mongrel 2168} # ac_fn_c_check_header_mongrel
2124 2169
2125# ac_fn_cxx_try_link LINENO 2170# ac_fn_cxx_try_link LINENO
2126# ------------------------- 2171# -------------------------
2147 test $ac_status = 0; } && { 2192 test $ac_status = 0; } && {
2148 test -z "$ac_cxx_werror_flag" || 2193 test -z "$ac_cxx_werror_flag" ||
2149 test ! -s conftest.err 2194 test ! -s conftest.err
2150 } && test -s conftest$ac_exeext && { 2195 } && test -s conftest$ac_exeext && {
2151 test "$cross_compiling" = yes || 2196 test "$cross_compiling" = yes ||
2152 $as_test_x conftest$ac_exeext 2197 test -x conftest$ac_exeext
2153 }; then : 2198 }; then :
2154 ac_retval=0 2199 ac_retval=0
2155else 2200else
2156 $as_echo "$as_me: failed program was:" >&5 2201 $as_echo "$as_me: failed program was:" >&5
2157sed 's/^/| /' conftest.$ac_ext >&5 2202sed 's/^/| /' conftest.$ac_ext >&5
2161 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2206 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2162 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2207 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2163 # interfere with the next link command; also delete a directory that is 2208 # interfere with the next link command; also delete a directory that is
2164 # left behind by Apple's compiler. We do this before executing the actions. 2209 # left behind by Apple's compiler. We do this before executing the actions.
2165 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2210 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 as_fn_set_status $ac_retval 2212 as_fn_set_status $ac_retval
2168 2213
2169} # ac_fn_cxx_try_link 2214} # ac_fn_cxx_try_link
2170 2215
2171# ac_fn_cxx_check_func LINENO FUNC VAR 2216# ac_fn_cxx_check_func LINENO FUNC VAR
2174ac_fn_cxx_check_func () 2219ac_fn_cxx_check_func ()
2175{ 2220{
2176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178$as_echo_n "checking for $2... " >&6; } 2223$as_echo_n "checking for $2... " >&6; }
2179if eval "test \"\${$3+set}\"" = set; then : 2224if eval \${$3+:} false; then :
2180 $as_echo_n "(cached) " >&6 2225 $as_echo_n "(cached) " >&6
2181else 2226else
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183/* end confdefs.h. */ 2228/* end confdefs.h. */
2184/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2229/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2229 conftest$ac_exeext conftest.$ac_ext 2274 conftest$ac_exeext conftest.$ac_ext
2230fi 2275fi
2231eval ac_res=\$$3 2276eval ac_res=\$$3
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2233$as_echo "$ac_res" >&6; } 2278$as_echo "$ac_res" >&6; }
2234 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2235 2280
2236} # ac_fn_cxx_check_func 2281} # ac_fn_cxx_check_func
2237cat >config.log <<_ACEOF 2282cat >config.log <<_ACEOF
2238This file contains any messages produced by compilers while 2283This file contains any messages produced by compilers while
2239running configure, to aid debugging if configure makes a mistake. 2284running configure, to aid debugging if configure makes a mistake.
2240 2285
2241It was created by $as_me, which was 2286It was created by $as_me, which was
2242generated by GNU Autoconf 2.67. Invocation command line was 2287generated by GNU Autoconf 2.69. Invocation command line was
2243 2288
2244 $ $0 $@ 2289 $ $0 $@
2245 2290
2246_ACEOF 2291_ACEOF
2247exec 5>>config.log 2292exec 5>>config.log
2495 sed 's/^/| /' "$ac_site_file" >&5 2540 sed 's/^/| /' "$ac_site_file" >&5
2496 . "$ac_site_file" \ 2541 . "$ac_site_file" \
2497 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2542 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2499as_fn_error $? "failed to load site script $ac_site_file 2544as_fn_error $? "failed to load site script $ac_site_file
2500See \`config.log' for more details" "$LINENO" 5 ; } 2545See \`config.log' for more details" "$LINENO" 5; }
2501 fi 2546 fi
2502done 2547done
2503 2548
2504if test -r "$cache_file"; then 2549if test -r "$cache_file"; then
2505 # Some versions of bash will fail to source /dev/null (special files 2550 # Some versions of bash will fail to source /dev/null (special files
2620$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2665$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2621 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2666 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2622 2667
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2624$as_echo_n "checking build system type... " >&6; } 2669$as_echo_n "checking build system type... " >&6; }
2625if test "${ac_cv_build+set}" = set; then : 2670if ${ac_cv_build+:} false; then :
2626 $as_echo_n "(cached) " >&6 2671 $as_echo_n "(cached) " >&6
2627else 2672else
2628 ac_build_alias=$build_alias 2673 ac_build_alias=$build_alias
2629test "x$ac_build_alias" = x && 2674test "x$ac_build_alias" = x &&
2630 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2675 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2636fi 2681fi
2637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2638$as_echo "$ac_cv_build" >&6; } 2683$as_echo "$ac_cv_build" >&6; }
2639case $ac_cv_build in 2684case $ac_cv_build in
2640*-*-*) ;; 2685*-*-*) ;;
2641*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2686*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2642esac 2687esac
2643build=$ac_cv_build 2688build=$ac_cv_build
2644ac_save_IFS=$IFS; IFS='-' 2689ac_save_IFS=$IFS; IFS='-'
2645set x $ac_cv_build 2690set x $ac_cv_build
2646shift 2691shift
2654case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2699case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2655 2700
2656 2701
2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2658$as_echo_n "checking host system type... " >&6; } 2703$as_echo_n "checking host system type... " >&6; }
2659if test "${ac_cv_host+set}" = set; then : 2704if ${ac_cv_host+:} false; then :
2660 $as_echo_n "(cached) " >&6 2705 $as_echo_n "(cached) " >&6
2661else 2706else
2662 if test "x$host_alias" = x; then 2707 if test "x$host_alias" = x; then
2663 ac_cv_host=$ac_cv_build 2708 ac_cv_host=$ac_cv_build
2664else 2709else
2669fi 2714fi
2670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2671$as_echo "$ac_cv_host" >&6; } 2716$as_echo "$ac_cv_host" >&6; }
2672case $ac_cv_host in 2717case $ac_cv_host in
2673*-*-*) ;; 2718*-*-*) ;;
2674*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2719*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2675esac 2720esac
2676host=$ac_cv_host 2721host=$ac_cv_host
2677ac_save_IFS=$IFS; IFS='-' 2722ac_save_IFS=$IFS; IFS='-'
2678set x $ac_cv_host 2723set x $ac_cv_host
2679shift 2724shift
2687case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2732case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2688 2733
2689 2734
2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2691$as_echo_n "checking target system type... " >&6; } 2736$as_echo_n "checking target system type... " >&6; }
2692if test "${ac_cv_target+set}" = set; then : 2737if ${ac_cv_target+:} false; then :
2693 $as_echo_n "(cached) " >&6 2738 $as_echo_n "(cached) " >&6
2694else 2739else
2695 if test "x$target_alias" = x; then 2740 if test "x$target_alias" = x; then
2696 ac_cv_target=$ac_cv_host 2741 ac_cv_target=$ac_cv_host
2697else 2742else
2702fi 2747fi
2703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2704$as_echo "$ac_cv_target" >&6; } 2749$as_echo "$ac_cv_target" >&6; }
2705case $ac_cv_target in 2750case $ac_cv_target in
2706*-*-*) ;; 2751*-*-*) ;;
2707*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2752*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2708esac 2753esac
2709target=$ac_cv_target 2754target=$ac_cv_target
2710ac_save_IFS=$IFS; IFS='-' 2755ac_save_IFS=$IFS; IFS='-'
2711set x $ac_cv_target 2756set x $ac_cv_target
2712shift 2757shift
2724# will get canonicalized. 2769# will get canonicalized.
2725test -n "$target_alias" && 2770test -n "$target_alias" &&
2726 test "$program_prefix$program_suffix$program_transform_name" = \ 2771 test "$program_prefix$program_suffix$program_transform_name" = \
2727 NONENONEs,x,x, && 2772 NONENONEs,x,x, &&
2728 program_prefix=${target_alias}- 2773 program_prefix=${target_alias}-
2729am__api_version="1.7" 2774am__api_version='1.11'
2775
2730# Find a good install program. We prefer a C program (faster), 2776# Find a good install program. We prefer a C program (faster),
2731# so one script is as good as another. But avoid the broken or 2777# so one script is as good as another. But avoid the broken or
2732# incompatible versions: 2778# incompatible versions:
2733# SysV /etc/install, /usr/sbin/install 2779# SysV /etc/install, /usr/sbin/install
2734# SunOS /usr/etc/install 2780# SunOS /usr/etc/install
2742# ./install, which can be erroneously created by make from ./install.sh. 2788# ./install, which can be erroneously created by make from ./install.sh.
2743# Reject install programs that cannot install multiple files. 2789# Reject install programs that cannot install multiple files.
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2745$as_echo_n "checking for a BSD-compatible install... " >&6; } 2791$as_echo_n "checking for a BSD-compatible install... " >&6; }
2746if test -z "$INSTALL"; then 2792if test -z "$INSTALL"; then
2747if test "${ac_cv_path_install+set}" = set; then : 2793if ${ac_cv_path_install+:} false; then :
2748 $as_echo_n "(cached) " >&6 2794 $as_echo_n "(cached) " >&6
2749else 2795else
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751for as_dir in $PATH 2797for as_dir in $PATH
2752do 2798do
2762 # OSF1 and SCO ODT 3.0 have their own names for install. 2808 # OSF1 and SCO ODT 3.0 have their own names for install.
2763 # Don't use installbsd from OSF since it installs stuff as root 2809 # Don't use installbsd from OSF since it installs stuff as root
2764 # by default. 2810 # by default.
2765 for ac_prog in ginstall scoinst install; do 2811 for ac_prog in ginstall scoinst install; do
2766 for ac_exec_ext in '' $ac_executable_extensions; do 2812 for ac_exec_ext in '' $ac_executable_extensions; do
2767 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2813 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2768 if test $ac_prog = install && 2814 if test $ac_prog = install &&
2769 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2815 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2770 # AIX install. It has an incompatible calling convention. 2816 # AIX install. It has an incompatible calling convention.
2771 : 2817 :
2772 elif test $ac_prog = install && 2818 elif test $ac_prog = install &&
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2824$as_echo_n "checking whether build environment is sane... " >&6; } 2870$as_echo_n "checking whether build environment is sane... " >&6; }
2825# Just in case 2871# Just in case
2826sleep 1 2872sleep 1
2827echo timestamp > conftest.file 2873echo timestamp > conftest.file
2874# Reject unsafe characters in $srcdir or the absolute working directory
2875# name. Accept space and tab only in the latter.
2876am_lf='
2877'
2878case `pwd` in
2879 *[\\\"\#\$\&\'\`$am_lf]*)
2880 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2881esac
2882case $srcdir in
2883 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2884 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2885esac
2886
2828# Do `set' in a subshell so we don't clobber the current shell's 2887# Do `set' in a subshell so we don't clobber the current shell's
2829# arguments. Must try -L first in case configure is actually a 2888# arguments. Must try -L first in case configure is actually a
2830# symlink; some systems play weird games with the mod time of symlinks 2889# symlink; some systems play weird games with the mod time of symlinks
2831# (eg FreeBSD returns the mod time of the symlink's containing 2890# (eg FreeBSD returns the mod time of the symlink's containing
2832# directory). 2891# directory).
2833if ( 2892if (
2834 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2893 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2835 if test "$*" = "X"; then 2894 if test "$*" = "X"; then
2836 # -L didn't work. 2895 # -L didn't work.
2837 set X `ls -t $srcdir/configure conftest.file` 2896 set X `ls -t "$srcdir/configure" conftest.file`
2838 fi 2897 fi
2839 rm -f conftest.file 2898 rm -f conftest.file
2840 if test "$*" != "X $srcdir/configure conftest.file" \ 2899 if test "$*" != "X $srcdir/configure conftest.file" \
2841 && test "$*" != "X conftest.file $srcdir/configure"; then 2900 && test "$*" != "X conftest.file $srcdir/configure"; then
2842 2901
2867# Double any \ or $. 2926# Double any \ or $.
2868# By default was `s,x,x', remove it if useless. 2927# By default was `s,x,x', remove it if useless.
2869ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2928ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2870program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2929program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2871 2930
2872
2873# expand $ac_aux_dir to an absolute path 2931# expand $ac_aux_dir to an absolute path
2874am_aux_dir=`cd $ac_aux_dir && pwd` 2932am_aux_dir=`cd $ac_aux_dir && pwd`
2875 2933
2876test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2934if test x"${MISSING+set}" != xset; then
2935 case $am_aux_dir in
2936 *\ * | *\ *)
2937 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2938 *)
2939 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2940 esac
2941fi
2877# Use eval to expand $SHELL 2942# Use eval to expand $SHELL
2878if eval "$MISSING --run true"; then 2943if eval "$MISSING --run true"; then
2879 am_missing_run="$MISSING --run " 2944 am_missing_run="$MISSING --run "
2880else 2945else
2881 am_missing_run= 2946 am_missing_run=
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2883$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2948$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2884fi 2949fi
2885 2950
2886for ac_prog in gawk mawk nawk awk 2951if test x"${install_sh}" != xset; then
2887do 2952 case $am_aux_dir in
2888 # Extract the first word of "$ac_prog", so it can be a program name with args. 2953 *\ * | *\ *)
2889set dummy $ac_prog; ac_word=$2 2954 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891$as_echo_n "checking for $ac_word... " >&6; }
2892if test "${ac_cv_prog_AWK+set}" = set; then :
2893 $as_echo_n "(cached) " >&6
2894else
2895 if test -n "$AWK"; then
2896 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2897else
2898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899for as_dir in $PATH
2900do
2901 IFS=$as_save_IFS
2902 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905 ac_cv_prog_AWK="$ac_prog"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 break 2
2908 fi
2909done
2910 done
2911IFS=$as_save_IFS
2912
2913fi
2914fi
2915AWK=$ac_cv_prog_AWK
2916if test -n "$AWK"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2918$as_echo "$AWK" >&6; }
2919else
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921$as_echo "no" >&6; }
2922fi
2923
2924
2925 test -n "$AWK" && break
2926done
2927
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2929$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2930set x ${MAKE-make}
2931ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2932if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2933 $as_echo_n "(cached) " >&6
2934else
2935 cat >conftest.make <<\_ACEOF
2936SHELL = /bin/sh
2937all:
2938 @echo '@@@%%%=$(MAKE)=@@@%%%'
2939_ACEOF
2940# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2941case `${MAKE-make} -f conftest.make 2>/dev/null` in
2942 *@@@%%%=?*=@@@%%%*)
2943 eval ac_cv_prog_make_${ac_make}_set=yes;;
2944 *) 2955 *)
2945 eval ac_cv_prog_make_${ac_make}_set=no;; 2956 install_sh="\${SHELL} $am_aux_dir/install-sh"
2946esac 2957 esac
2947rm -f conftest.make
2948fi 2958fi
2949if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951$as_echo "yes" >&6; }
2952 SET_MAKE=
2953else
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955$as_echo "no" >&6; }
2956 SET_MAKE="MAKE=${MAKE-make}"
2957fi
2958
2959rm -rf .tst 2>/dev/null
2960mkdir .tst 2>/dev/null
2961if test -d .tst; then
2962 am__leading_dot=.
2963else
2964 am__leading_dot=_
2965fi
2966rmdir .tst 2>/dev/null
2967
2968 # test to see if srcdir already configured
2969if test "`cd $srcdir && pwd`" != "`pwd`" &&
2970 test -f $srcdir/config.status; then
2971 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2972fi
2973
2974# test whether we have cygpath
2975if test -z "$CYGPATH_W"; then
2976 if (cygpath --version) >/dev/null 2>/dev/null; then
2977 CYGPATH_W='cygpath -w'
2978 else
2979 CYGPATH_W=echo
2980 fi
2981fi
2982
2983
2984# Define the identity of the package.
2985 PACKAGE=gvpe
2986 VERSION=2.24
2987
2988
2989cat >>confdefs.h <<_ACEOF
2990#define PACKAGE "$PACKAGE"
2991_ACEOF
2992
2993
2994cat >>confdefs.h <<_ACEOF
2995#define VERSION "$VERSION"
2996_ACEOF
2997
2998# Some tools Automake needs.
2999
3000ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3001
3002
3003AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3004
3005
3006AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3007
3008
3009AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3010
3011
3012MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3013
3014
3015AMTAR=${AMTAR-"${am_missing_run}tar"}
3016
3017install_sh=${install_sh-"$am_aux_dir/install-sh"}
3018 2959
3019# Installed binaries are usually stripped using `strip' when the user 2960# Installed binaries are usually stripped using `strip' when the user
3020# run `make install-strip'. However `strip' might not be the right 2961# run `make install-strip'. However `strip' might not be the right
3021# tool to use in cross-compilation environments, therefore Automake 2962# tool to use in cross-compilation environments, therefore Automake
3022# will honor the `STRIP' environment variable to overrule this program. 2963# will honor the `STRIP' environment variable to overrule this program.
3024 if test -n "$ac_tool_prefix"; then 2965 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2966 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3026set dummy ${ac_tool_prefix}strip; ac_word=$2 2967set dummy ${ac_tool_prefix}strip; ac_word=$2
3027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028$as_echo_n "checking for $ac_word... " >&6; } 2969$as_echo_n "checking for $ac_word... " >&6; }
3029if test "${ac_cv_prog_STRIP+set}" = set; then : 2970if ${ac_cv_prog_STRIP+:} false; then :
3030 $as_echo_n "(cached) " >&6 2971 $as_echo_n "(cached) " >&6
3031else 2972else
3032 if test -n "$STRIP"; then 2973 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2974 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3034else 2975else
3036for as_dir in $PATH 2977for as_dir in $PATH
3037do 2978do
3038 IFS=$as_save_IFS 2979 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=. 2980 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do 2981 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2983 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2 2985 break 2
3045 fi 2986 fi
3046done 2987done
3064 ac_ct_STRIP=$STRIP 3005 ac_ct_STRIP=$STRIP
3065 # Extract the first word of "strip", so it can be a program name with args. 3006 # Extract the first word of "strip", so it can be a program name with args.
3066set dummy strip; ac_word=$2 3007set dummy strip; ac_word=$2
3067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068$as_echo_n "checking for $ac_word... " >&6; } 3009$as_echo_n "checking for $ac_word... " >&6; }
3069if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3010if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3070 $as_echo_n "(cached) " >&6 3011 $as_echo_n "(cached) " >&6
3071else 3012else
3072 if test -n "$ac_ct_STRIP"; then 3013 if test -n "$ac_ct_STRIP"; then
3073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3014 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3074else 3015else
3076for as_dir in $PATH 3017for as_dir in $PATH
3077do 3018do
3078 IFS=$as_save_IFS 3019 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=. 3020 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do 3021 for ac_exec_ext in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_prog_ac_ct_STRIP="strip" 3023 ac_cv_prog_ac_ct_STRIP="strip"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 break 2 3025 break 2
3085 fi 3026 fi
3086done 3027done
3112else 3053else
3113 STRIP="$ac_cv_prog_STRIP" 3054 STRIP="$ac_cv_prog_STRIP"
3114fi 3055fi
3115 3056
3116fi 3057fi
3117INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 3058INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3059
3060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3061$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3062if test -z "$MKDIR_P"; then
3063 if ${ac_cv_path_mkdir+:} false; then :
3064 $as_echo_n "(cached) " >&6
3065else
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3068do
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 for ac_prog in mkdir gmkdir; do
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3074 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3075 'mkdir (GNU coreutils) '* | \
3076 'mkdir (coreutils) '* | \
3077 'mkdir (fileutils) '4.1*)
3078 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3079 break 3;;
3080 esac
3081 done
3082 done
3083 done
3084IFS=$as_save_IFS
3085
3086fi
3087
3088 test -d ./--version && rmdir ./--version
3089 if test "${ac_cv_path_mkdir+set}" = set; then
3090 MKDIR_P="$ac_cv_path_mkdir -p"
3091 else
3092 # As a last resort, use the slow shell script. Don't cache a
3093 # value for MKDIR_P within a source directory, because that will
3094 # break other packages using the cache if that directory is
3095 # removed, or if the value is a relative name.
3096 MKDIR_P="$ac_install_sh -d"
3097 fi
3098fi
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3100$as_echo "$MKDIR_P" >&6; }
3101
3102mkdir_p="$MKDIR_P"
3103case $mkdir_p in
3104 [\\/$]* | ?:[\\/]*) ;;
3105 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3106esac
3107
3108for ac_prog in gawk mawk nawk awk
3109do
3110 # Extract the first word of "$ac_prog", so it can be a program name with args.
3111set dummy $ac_prog; ac_word=$2
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113$as_echo_n "checking for $ac_word... " >&6; }
3114if ${ac_cv_prog_AWK+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116else
3117 if test -n "$AWK"; then
3118 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3119else
3120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121for as_dir in $PATH
3122do
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_AWK="$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 break 2
3130 fi
3131done
3132 done
3133IFS=$as_save_IFS
3134
3135fi
3136fi
3137AWK=$ac_cv_prog_AWK
3138if test -n "$AWK"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3140$as_echo "$AWK" >&6; }
3141else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143$as_echo "no" >&6; }
3144fi
3145
3146
3147 test -n "$AWK" && break
3148done
3149
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3151$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3152set x ${MAKE-make}
3153ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3154if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156else
3157 cat >conftest.make <<\_ACEOF
3158SHELL = /bin/sh
3159all:
3160 @echo '@@@%%%=$(MAKE)=@@@%%%'
3161_ACEOF
3162# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3163case `${MAKE-make} -f conftest.make 2>/dev/null` in
3164 *@@@%%%=?*=@@@%%%*)
3165 eval ac_cv_prog_make_${ac_make}_set=yes;;
3166 *)
3167 eval ac_cv_prog_make_${ac_make}_set=no;;
3168esac
3169rm -f conftest.make
3170fi
3171if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3173$as_echo "yes" >&6; }
3174 SET_MAKE=
3175else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177$as_echo "no" >&6; }
3178 SET_MAKE="MAKE=${MAKE-make}"
3179fi
3180
3181rm -rf .tst 2>/dev/null
3182mkdir .tst 2>/dev/null
3183if test -d .tst; then
3184 am__leading_dot=.
3185else
3186 am__leading_dot=_
3187fi
3188rmdir .tst 2>/dev/null
3189
3190if test "`cd $srcdir && pwd`" != "`pwd`"; then
3191 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3192 # is not polluted with repeated "-I."
3193 am__isrc=' -I$(srcdir)'
3194 # test to see if srcdir already configured
3195 if test -f $srcdir/config.status; then
3196 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3197 fi
3198fi
3199
3200# test whether we have cygpath
3201if test -z "$CYGPATH_W"; then
3202 if (cygpath --version) >/dev/null 2>/dev/null; then
3203 CYGPATH_W='cygpath -w'
3204 else
3205 CYGPATH_W=echo
3206 fi
3207fi
3208
3209
3210# Define the identity of the package.
3211 PACKAGE=gvpe
3212 VERSION=2.25
3213
3214
3215cat >>confdefs.h <<_ACEOF
3216#define PACKAGE "$PACKAGE"
3217_ACEOF
3218
3219
3220cat >>confdefs.h <<_ACEOF
3221#define VERSION "$VERSION"
3222_ACEOF
3223
3224# Some tools Automake needs.
3225
3226ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3227
3228
3229AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3230
3231
3232AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3233
3234
3235AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3236
3237
3238MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3118 3239
3119# We need awk for the "check" target. The system "awk" is bad on 3240# We need awk for the "check" target. The system "awk" is bad on
3120# some platforms. 3241# some platforms.
3242# Always define AMTAR for backward compatibility. Yes, it's still used
3243# in the wild :-( We should find a proper way to deprecate it ...
3244AMTAR='$${TAR-tar}'
3245
3246am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3247
3248
3121 3249
3122 3250
3123 3251
3124ac_config_headers="$ac_config_headers config.h" 3252ac_config_headers="$ac_config_headers config.h"
3253
3125 3254
3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3127$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3256$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3128 # Check whether --enable-maintainer-mode was given. 3257 # Check whether --enable-maintainer-mode was given.
3129if test "${enable_maintainer_mode+set}" = set; then : 3258if test "${enable_maintainer_mode+set}" = set; then :
3132 USE_MAINTAINER_MODE=no 3261 USE_MAINTAINER_MODE=no
3133fi 3262fi
3134 3263
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3136$as_echo "$USE_MAINTAINER_MODE" >&6; } 3265$as_echo "$USE_MAINTAINER_MODE" >&6; }
3137
3138
3139if test $USE_MAINTAINER_MODE = yes; then 3266 if test $USE_MAINTAINER_MODE = yes; then
3140 MAINTAINER_MODE_TRUE= 3267 MAINTAINER_MODE_TRUE=
3141 MAINTAINER_MODE_FALSE='#' 3268 MAINTAINER_MODE_FALSE='#'
3142else 3269else
3143 MAINTAINER_MODE_TRUE='#' 3270 MAINTAINER_MODE_TRUE='#'
3144 MAINTAINER_MODE_FALSE= 3271 MAINTAINER_MODE_FALSE=
3148 3275
3149 3276
3150 3277
3151 3278
3152 3279
3153
3154
3155
3156 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3157
3158 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3159 3280
3160 3281
3161 3282
3162 MKINSTALLDIRS= 3283 MKINSTALLDIRS=
3163 if test -n "$ac_aux_dir"; then 3284 if test -n "$ac_aux_dir"; then
3173 3294
3174 # Extract the first word of "msgfmt", so it can be a program name with args. 3295 # Extract the first word of "msgfmt", so it can be a program name with args.
3175set dummy msgfmt; ac_word=$2 3296set dummy msgfmt; ac_word=$2
3176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177$as_echo_n "checking for $ac_word... " >&6; } 3298$as_echo_n "checking for $ac_word... " >&6; }
3178if test "${ac_cv_path_MSGFMT+set}" = set; then : 3299if ${ac_cv_path_MSGFMT+:} false; then :
3179 $as_echo_n "(cached) " >&6 3300 $as_echo_n "(cached) " >&6
3180else 3301else
3181 case "$MSGFMT" in 3302 case "$MSGFMT" in
3182 /*) 3303 /*)
3183 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3304 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3210 3331
3211 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3332 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3212set dummy gmsgfmt; ac_word=$2 3333set dummy gmsgfmt; ac_word=$2
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214$as_echo_n "checking for $ac_word... " >&6; } 3335$as_echo_n "checking for $ac_word... " >&6; }
3215if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3336if ${ac_cv_path_GMSGFMT+:} false; then :
3216 $as_echo_n "(cached) " >&6 3337 $as_echo_n "(cached) " >&6
3217else 3338else
3218 case $GMSGFMT in 3339 case $GMSGFMT in
3219 [\\/]* | ?:[\\/]*) 3340 [\\/]* | ?:[\\/]*)
3220 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3341 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3224for as_dir in $PATH 3345for as_dir in $PATH
3225do 3346do
3226 IFS=$as_save_IFS 3347 IFS=$as_save_IFS
3227 test -z "$as_dir" && as_dir=. 3348 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do 3349 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3351 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 break 2 3353 break 2
3233 fi 3354 fi
3234done 3355done
3252 3373
3253 # Extract the first word of "xgettext", so it can be a program name with args. 3374 # Extract the first word of "xgettext", so it can be a program name with args.
3254set dummy xgettext; ac_word=$2 3375set dummy xgettext; ac_word=$2
3255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256$as_echo_n "checking for $ac_word... " >&6; } 3377$as_echo_n "checking for $ac_word... " >&6; }
3257if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3378if ${ac_cv_path_XGETTEXT+:} false; then :
3258 $as_echo_n "(cached) " >&6 3379 $as_echo_n "(cached) " >&6
3259else 3380else
3260 case "$XGETTEXT" in 3381 case "$XGETTEXT" in
3261 /*) 3382 /*)
3262 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3383 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3291 3412
3292 # Extract the first word of "msgmerge", so it can be a program name with args. 3413 # Extract the first word of "msgmerge", so it can be a program name with args.
3293set dummy msgmerge; ac_word=$2 3414set dummy msgmerge; ac_word=$2
3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295$as_echo_n "checking for $ac_word... " >&6; } 3416$as_echo_n "checking for $ac_word... " >&6; }
3296if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3417if ${ac_cv_path_MSGMERGE+:} false; then :
3297 $as_echo_n "(cached) " >&6 3418 $as_echo_n "(cached) " >&6
3298else 3419else
3299 case "$MSGMERGE" in 3420 case "$MSGMERGE" in
3300 /*) 3421 /*)
3301 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3422 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3375 3496
3376 3497
3377am_make=${MAKE-make} 3498am_make=${MAKE-make}
3378cat > confinc << 'END' 3499cat > confinc << 'END'
3379am__doit: 3500am__doit:
3380 @echo done 3501 @echo this is the am__doit target
3381.PHONY: am__doit 3502.PHONY: am__doit
3382END 3503END
3383# If we don't find an include directive, just comment out the code. 3504# If we don't find an include directive, just comment out the code.
3384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3385$as_echo_n "checking for style of include used by $am_make... " >&6; } 3506$as_echo_n "checking for style of include used by $am_make... " >&6; }
3386am__include="#" 3507am__include="#"
3387am__quote= 3508am__quote=
3388_am_result=none 3509_am_result=none
3389# First try GNU make style include. 3510# First try GNU make style include.
3390echo "include confinc" > confmf 3511echo "include confinc" > confmf
3391# We grep out `Entering directory' and `Leaving directory' 3512# Ignore all kinds of additional output from `make'.
3392# messages which can occur if `w' ends up in MAKEFLAGS. 3513case `$am_make -s -f confmf 2> /dev/null` in #(
3393# In particular we don't look at `^make:' because GNU make might 3514*the\ am__doit\ target*)
3394# be invoked under some other name (usually "gmake"), in which
3395# case it prints its new name instead of `make'.
3396if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3397 am__include=include 3515 am__include=include
3398 am__quote= 3516 am__quote=
3399 _am_result=GNU 3517 _am_result=GNU
3400fi 3518 ;;
3519esac
3401# Now try BSD make style include. 3520# Now try BSD make style include.
3402if test "$am__include" = "#"; then 3521if test "$am__include" = "#"; then
3403 echo '.include "confinc"' > confmf 3522 echo '.include "confinc"' > confmf
3404 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3523 case `$am_make -s -f confmf 2> /dev/null` in #(
3524 *the\ am__doit\ target*)
3405 am__include=.include 3525 am__include=.include
3406 am__quote="\"" 3526 am__quote="\""
3407 _am_result=BSD 3527 _am_result=BSD
3408 fi 3528 ;;
3529 esac
3409fi 3530fi
3410 3531
3411 3532
3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3413$as_echo "$_am_result" >&6; } 3534$as_echo "$_am_result" >&6; }
3419fi 3540fi
3420 3541
3421if test "x$enable_dependency_tracking" != xno; then 3542if test "x$enable_dependency_tracking" != xno; then
3422 am_depcomp="$ac_aux_dir/depcomp" 3543 am_depcomp="$ac_aux_dir/depcomp"
3423 AMDEPBACKSLASH='\' 3544 AMDEPBACKSLASH='\'
3545 am__nodep='_no'
3424fi 3546fi
3425
3426
3427if test "x$enable_dependency_tracking" != xno; then 3547 if test "x$enable_dependency_tracking" != xno; then
3428 AMDEP_TRUE= 3548 AMDEP_TRUE=
3429 AMDEP_FALSE='#' 3549 AMDEP_FALSE='#'
3430else 3550else
3431 AMDEP_TRUE='#' 3551 AMDEP_TRUE='#'
3432 AMDEP_FALSE= 3552 AMDEP_FALSE=
3433fi 3553fi
3434
3435 3554
3436 3555
3437ac_ext=c 3556ac_ext=c
3438ac_cpp='$CPP $CPPFLAGS' 3557ac_cpp='$CPP $CPPFLAGS'
3439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442if test -n "$ac_tool_prefix"; then 3561if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3444set dummy ${ac_tool_prefix}gcc; ac_word=$2 3563set dummy ${ac_tool_prefix}gcc; ac_word=$2
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3446$as_echo_n "checking for $ac_word... " >&6; } 3565$as_echo_n "checking for $ac_word... " >&6; }
3447if test "${ac_cv_prog_CC+set}" = set; then : 3566if ${ac_cv_prog_CC+:} false; then :
3448 $as_echo_n "(cached) " >&6 3567 $as_echo_n "(cached) " >&6
3449else 3568else
3450 if test -n "$CC"; then 3569 if test -n "$CC"; then
3451 ac_cv_prog_CC="$CC" # Let the user override the test. 3570 ac_cv_prog_CC="$CC" # Let the user override the test.
3452else 3571else
3454for as_dir in $PATH 3573for as_dir in $PATH
3455do 3574do
3456 IFS=$as_save_IFS 3575 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=. 3576 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do 3577 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3579 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 break 2 3581 break 2
3463 fi 3582 fi
3464done 3583done
3482 ac_ct_CC=$CC 3601 ac_ct_CC=$CC
3483 # Extract the first word of "gcc", so it can be a program name with args. 3602 # Extract the first word of "gcc", so it can be a program name with args.
3484set dummy gcc; ac_word=$2 3603set dummy gcc; ac_word=$2
3485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3486$as_echo_n "checking for $ac_word... " >&6; } 3605$as_echo_n "checking for $ac_word... " >&6; }
3487if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3606if ${ac_cv_prog_ac_ct_CC+:} false; then :
3488 $as_echo_n "(cached) " >&6 3607 $as_echo_n "(cached) " >&6
3489else 3608else
3490 if test -n "$ac_ct_CC"; then 3609 if test -n "$ac_ct_CC"; then
3491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3492else 3611else
3494for as_dir in $PATH 3613for as_dir in $PATH
3495do 3614do
3496 IFS=$as_save_IFS 3615 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=. 3616 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do 3617 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_prog_ac_ct_CC="gcc" 3619 ac_cv_prog_ac_ct_CC="gcc"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 break 2 3621 break 2
3503 fi 3622 fi
3504done 3623done
3535 if test -n "$ac_tool_prefix"; then 3654 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3537set dummy ${ac_tool_prefix}cc; ac_word=$2 3656set dummy ${ac_tool_prefix}cc; ac_word=$2
3538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539$as_echo_n "checking for $ac_word... " >&6; } 3658$as_echo_n "checking for $ac_word... " >&6; }
3540if test "${ac_cv_prog_CC+set}" = set; then : 3659if ${ac_cv_prog_CC+:} false; then :
3541 $as_echo_n "(cached) " >&6 3660 $as_echo_n "(cached) " >&6
3542else 3661else
3543 if test -n "$CC"; then 3662 if test -n "$CC"; then
3544 ac_cv_prog_CC="$CC" # Let the user override the test. 3663 ac_cv_prog_CC="$CC" # Let the user override the test.
3545else 3664else
3547for as_dir in $PATH 3666for as_dir in $PATH
3548do 3667do
3549 IFS=$as_save_IFS 3668 IFS=$as_save_IFS
3550 test -z "$as_dir" && as_dir=. 3669 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do 3670 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_CC="${ac_tool_prefix}cc" 3672 ac_cv_prog_CC="${ac_tool_prefix}cc"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 break 2 3674 break 2
3556 fi 3675 fi
3557done 3676done
3575if test -z "$CC"; then 3694if test -z "$CC"; then
3576 # Extract the first word of "cc", so it can be a program name with args. 3695 # Extract the first word of "cc", so it can be a program name with args.
3577set dummy cc; ac_word=$2 3696set dummy cc; ac_word=$2
3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579$as_echo_n "checking for $ac_word... " >&6; } 3698$as_echo_n "checking for $ac_word... " >&6; }
3580if test "${ac_cv_prog_CC+set}" = set; then : 3699if ${ac_cv_prog_CC+:} false; then :
3581 $as_echo_n "(cached) " >&6 3700 $as_echo_n "(cached) " >&6
3582else 3701else
3583 if test -n "$CC"; then 3702 if test -n "$CC"; then
3584 ac_cv_prog_CC="$CC" # Let the user override the test. 3703 ac_cv_prog_CC="$CC" # Let the user override the test.
3585else 3704else
3588for as_dir in $PATH 3707for as_dir in $PATH
3589do 3708do
3590 IFS=$as_save_IFS 3709 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=. 3710 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do 3711 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3595 ac_prog_rejected=yes 3714 ac_prog_rejected=yes
3596 continue 3715 continue
3597 fi 3716 fi
3598 ac_cv_prog_CC="cc" 3717 ac_cv_prog_CC="cc"
3634 do 3753 do
3635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3636set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3755set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638$as_echo_n "checking for $ac_word... " >&6; } 3757$as_echo_n "checking for $ac_word... " >&6; }
3639if test "${ac_cv_prog_CC+set}" = set; then : 3758if ${ac_cv_prog_CC+:} false; then :
3640 $as_echo_n "(cached) " >&6 3759 $as_echo_n "(cached) " >&6
3641else 3760else
3642 if test -n "$CC"; then 3761 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test. 3762 ac_cv_prog_CC="$CC" # Let the user override the test.
3644else 3763else
3646for as_dir in $PATH 3765for as_dir in $PATH
3647do 3766do
3648 IFS=$as_save_IFS 3767 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=. 3768 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do 3769 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3771 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2 3773 break 2
3655 fi 3774 fi
3656done 3775done
3678do 3797do
3679 # Extract the first word of "$ac_prog", so it can be a program name with args. 3798 # Extract the first word of "$ac_prog", so it can be a program name with args.
3680set dummy $ac_prog; ac_word=$2 3799set dummy $ac_prog; ac_word=$2
3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682$as_echo_n "checking for $ac_word... " >&6; } 3801$as_echo_n "checking for $ac_word... " >&6; }
3683if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3802if ${ac_cv_prog_ac_ct_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6 3803 $as_echo_n "(cached) " >&6
3685else 3804else
3686 if test -n "$ac_ct_CC"; then 3805 if test -n "$ac_ct_CC"; then
3687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3688else 3807else
3690for as_dir in $PATH 3809for as_dir in $PATH
3691do 3810do
3692 IFS=$as_save_IFS 3811 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=. 3812 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do 3813 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_ac_ct_CC="$ac_prog" 3815 ac_cv_prog_ac_ct_CC="$ac_prog"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2 3817 break 2
3699 fi 3818 fi
3700done 3819done
3733 3852
3734 3853
3735test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3854test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3855$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737as_fn_error $? "no acceptable C compiler found in \$PATH 3856as_fn_error $? "no acceptable C compiler found in \$PATH
3738See \`config.log' for more details" "$LINENO" 5 ; } 3857See \`config.log' for more details" "$LINENO" 5; }
3739 3858
3740# Provide some information about the compiler. 3859# Provide some information about the compiler.
3741$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3860$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3742set X $ac_compile 3861set X $ac_compile
3743ac_compiler=$2 3862ac_compiler=$2
3848sed 's/^/| /' conftest.$ac_ext >&5 3967sed 's/^/| /' conftest.$ac_ext >&5
3849 3968
3850{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3969{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3970$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852as_fn_error 77 "C compiler cannot create executables 3971as_fn_error 77 "C compiler cannot create executables
3853See \`config.log' for more details" "$LINENO" 5 ; } 3972See \`config.log' for more details" "$LINENO" 5; }
3854else 3973else
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3856$as_echo "yes" >&6; } 3975$as_echo "yes" >&6; }
3857fi 3976fi
3858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3891done 4010done
3892else 4011else
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4014as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3896See \`config.log' for more details" "$LINENO" 5 ; } 4015See \`config.log' for more details" "$LINENO" 5; }
3897fi 4016fi
3898rm -f conftest conftest$ac_cv_exeext 4017rm -f conftest conftest$ac_cv_exeext
3899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3900$as_echo "$ac_cv_exeext" >&6; } 4019$as_echo "$ac_cv_exeext" >&6; }
3901 4020
3950 else 4069 else
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953as_fn_error $? "cannot run C compiled programs. 4072as_fn_error $? "cannot run C compiled programs.
3954If you meant to cross compile, use \`--host'. 4073If you meant to cross compile, use \`--host'.
3955See \`config.log' for more details" "$LINENO" 5 ; } 4074See \`config.log' for more details" "$LINENO" 5; }
3956 fi 4075 fi
3957 fi 4076 fi
3958fi 4077fi
3959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3960$as_echo "$cross_compiling" >&6; } 4079$as_echo "$cross_compiling" >&6; }
3961 4080
3962rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4081rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3963ac_clean_files=$ac_clean_files_save 4082ac_clean_files=$ac_clean_files_save
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3965$as_echo_n "checking for suffix of object files... " >&6; } 4084$as_echo_n "checking for suffix of object files... " >&6; }
3966if test "${ac_cv_objext+set}" = set; then : 4085if ${ac_cv_objext+:} false; then :
3967 $as_echo_n "(cached) " >&6 4086 $as_echo_n "(cached) " >&6
3968else 4087else
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970/* end confdefs.h. */ 4089/* end confdefs.h. */
3971 4090
4002sed 's/^/| /' conftest.$ac_ext >&5 4121sed 's/^/| /' conftest.$ac_ext >&5
4003 4122
4004{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4123{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006as_fn_error $? "cannot compute suffix of object files: cannot compile 4125as_fn_error $? "cannot compute suffix of object files: cannot compile
4007See \`config.log' for more details" "$LINENO" 5 ; } 4126See \`config.log' for more details" "$LINENO" 5; }
4008fi 4127fi
4009rm -f conftest.$ac_cv_objext conftest.$ac_ext 4128rm -f conftest.$ac_cv_objext conftest.$ac_ext
4010fi 4129fi
4011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4012$as_echo "$ac_cv_objext" >&6; } 4131$as_echo "$ac_cv_objext" >&6; }
4013OBJEXT=$ac_cv_objext 4132OBJEXT=$ac_cv_objext
4014ac_objext=$OBJEXT 4133ac_objext=$OBJEXT
4015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4016$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4135$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4017if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4136if ${ac_cv_c_compiler_gnu+:} false; then :
4018 $as_echo_n "(cached) " >&6 4137 $as_echo_n "(cached) " >&6
4019else 4138else
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021/* end confdefs.h. */ 4140/* end confdefs.h. */
4022 4141
4049fi 4168fi
4050ac_test_CFLAGS=${CFLAGS+set} 4169ac_test_CFLAGS=${CFLAGS+set}
4051ac_save_CFLAGS=$CFLAGS 4170ac_save_CFLAGS=$CFLAGS
4052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4053$as_echo_n "checking whether $CC accepts -g... " >&6; } 4172$as_echo_n "checking whether $CC accepts -g... " >&6; }
4054if test "${ac_cv_prog_cc_g+set}" = set; then : 4173if ${ac_cv_prog_cc_g+:} false; then :
4055 $as_echo_n "(cached) " >&6 4174 $as_echo_n "(cached) " >&6
4056else 4175else
4057 ac_save_c_werror_flag=$ac_c_werror_flag 4176 ac_save_c_werror_flag=$ac_c_werror_flag
4058 ac_c_werror_flag=yes 4177 ac_c_werror_flag=yes
4059 ac_cv_prog_cc_g=no 4178 ac_cv_prog_cc_g=no
4127 CFLAGS= 4246 CFLAGS=
4128 fi 4247 fi
4129fi 4248fi
4130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4131$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4250$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4132if test "${ac_cv_prog_cc_c89+set}" = set; then : 4251if ${ac_cv_prog_cc_c89+:} false; then :
4133 $as_echo_n "(cached) " >&6 4252 $as_echo_n "(cached) " >&6
4134else 4253else
4135 ac_cv_prog_cc_c89=no 4254 ac_cv_prog_cc_c89=no
4136ac_save_CC=$CC 4255ac_save_CC=$CC
4137cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138/* end confdefs.h. */ 4257/* end confdefs.h. */
4139#include <stdarg.h> 4258#include <stdarg.h>
4140#include <stdio.h> 4259#include <stdio.h>
4141#include <sys/types.h> 4260struct stat;
4142#include <sys/stat.h>
4143/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4261/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4144struct buf { int x; }; 4262struct buf { int x; };
4145FILE * (*rcsopen) (struct buf *, struct stat *, int); 4263FILE * (*rcsopen) (struct buf *, struct stat *, int);
4146static char *e (p, i) 4264static char *e (p, i)
4147 char **p; 4265 char **p;
4226 4344
4227depcc="$CC" am_compiler_list= 4345depcc="$CC" am_compiler_list=
4228 4346
4229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4230$as_echo_n "checking dependency style of $depcc... " >&6; } 4348$as_echo_n "checking dependency style of $depcc... " >&6; }
4231if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4349if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4232 $as_echo_n "(cached) " >&6 4350 $as_echo_n "(cached) " >&6
4233else 4351else
4234 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4352 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4235 # We make a subdir and do the tests there. Otherwise we can end up 4353 # We make a subdir and do the tests there. Otherwise we can end up
4236 # making bogus files that we don't know about and never remove. For 4354 # making bogus files that we don't know about and never remove. For
4237 # instance it was reported that on HP-UX the gcc test will end up 4355 # instance it was reported that on HP-UX the gcc test will end up
4238 # making a dummy file named `D' -- because `-MD' means `put the output 4356 # making a dummy file named `D' -- because `-MD' means `put the output
4239 # in D'. 4357 # in D'.
4358 rm -rf conftest.dir
4240 mkdir conftest.dir 4359 mkdir conftest.dir
4241 # Copy depcomp to subdir because otherwise we won't find it if we're 4360 # Copy depcomp to subdir because otherwise we won't find it if we're
4242 # using a relative directory. 4361 # using a relative directory.
4243 cp "$am_depcomp" conftest.dir 4362 cp "$am_depcomp" conftest.dir
4244 cd conftest.dir 4363 cd conftest.dir
4252 4371
4253 am_cv_CC_dependencies_compiler_type=none 4372 am_cv_CC_dependencies_compiler_type=none
4254 if test "$am_compiler_list" = ""; then 4373 if test "$am_compiler_list" = ""; then
4255 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4374 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4256 fi 4375 fi
4376 am__universal=false
4377 case " $depcc " in #(
4378 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4379 esac
4380
4257 for depmode in $am_compiler_list; do 4381 for depmode in $am_compiler_list; do
4258 # Setup a source with many dependencies, because some compilers 4382 # Setup a source with many dependencies, because some compilers
4259 # like to wrap large dependency lists on column 80 (with \), and 4383 # like to wrap large dependency lists on column 80 (with \), and
4260 # we should not choose a depcomp mode which is confused by this. 4384 # we should not choose a depcomp mode which is confused by this.
4261 # 4385 #
4263 # overwrite some of them when testing with obscure command lines. 4387 # overwrite some of them when testing with obscure command lines.
4264 # This happens at least with the AIX C compiler. 4388 # This happens at least with the AIX C compiler.
4265 : > sub/conftest.c 4389 : > sub/conftest.c
4266 for i in 1 2 3 4 5 6; do 4390 for i in 1 2 3 4 5 6; do
4267 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4391 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4392 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4393 # Solaris 8's {/usr,}/bin/sh.
4268 : > sub/conftst$i.h 4394 touch sub/conftst$i.h
4269 done 4395 done
4270 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4396 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4271 4397
4398 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4399 # mode. It turns out that the SunPro C++ compiler does not properly
4400 # handle `-M -o', and we need to detect this. Also, some Intel
4401 # versions had trouble with output in subdirs
4402 am__obj=sub/conftest.${OBJEXT-o}
4403 am__minus_obj="-o $am__obj"
4272 case $depmode in 4404 case $depmode in
4405 gcc)
4406 # This depmode causes a compiler race in universal mode.
4407 test "$am__universal" = false || continue
4408 ;;
4273 nosideeffect) 4409 nosideeffect)
4274 # after this tag, mechanisms are not by side-effect, so they'll 4410 # after this tag, mechanisms are not by side-effect, so they'll
4275 # only be used when explicitly requested 4411 # only be used when explicitly requested
4276 if test "x$enable_dependency_tracking" = xyes; then 4412 if test "x$enable_dependency_tracking" = xyes; then
4277 continue 4413 continue
4278 else 4414 else
4279 break 4415 break
4280 fi 4416 fi
4281 ;; 4417 ;;
4418 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4419 # This compiler won't grok `-c -o', but also, the minuso test has
4420 # not run yet. These depmodes are late enough in the game, and
4421 # so weak that their functioning should not be impacted.
4422 am__obj=conftest.${OBJEXT-o}
4423 am__minus_obj=
4424 ;;
4282 none) break ;; 4425 none) break ;;
4283 esac 4426 esac
4284 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4285 # mode. It turns out that the SunPro C++ compiler does not properly
4286 # handle `-M -o', and we need to detect this.
4287 if depmode=$depmode \ 4427 if depmode=$depmode \
4288 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4428 source=sub/conftest.c object=$am__obj \
4289 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4429 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4290 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4430 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4291 >/dev/null 2>conftest.err && 4431 >/dev/null 2>conftest.err &&
4432 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4292 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4433 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4293 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4434 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4294 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4435 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4295 # icc doesn't choke on unknown options, it will just issue warnings 4436 # icc doesn't choke on unknown options, it will just issue warnings
4296 # (even with -Werror). So we grep stderr for any message 4437 # or remarks (even with -Werror). So we grep stderr for any message
4297 # that says an option was ignored. 4438 # that says an option was ignored or not supported.
4439 # When given -MP, icc 7.0 and 7.1 complain thusly:
4440 # icc: Command line warning: ignoring option '-M'; no argument required
4441 # The diagnosis changed in icc 8.0:
4442 # icc: Command line remark: option '-MP' not supported
4443 if (grep 'ignoring option' conftest.err ||
4298 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 4444 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4299 am_cv_CC_dependencies_compiler_type=$depmode 4445 am_cv_CC_dependencies_compiler_type=$depmode
4300 break 4446 break
4301 fi 4447 fi
4302 fi 4448 fi
4303 done 4449 done
4311fi 4457fi
4312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4313$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4459$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4314CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4460CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4315 4461
4316
4317
4318if 4462 if
4319 test "x$enable_dependency_tracking" != xno \ 4463 test "x$enable_dependency_tracking" != xno \
4320 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4464 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4321 am__fastdepCC_TRUE= 4465 am__fastdepCC_TRUE=
4322 am__fastdepCC_FALSE='#' 4466 am__fastdepCC_FALSE='#'
4323else 4467else
4371$as_echo_n "checking for GNU ld... " >&6; } 4515$as_echo_n "checking for GNU ld... " >&6; }
4372else 4516else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4374$as_echo_n "checking for non-GNU ld... " >&6; } 4518$as_echo_n "checking for non-GNU ld... " >&6; }
4375fi 4519fi
4376if test "${acl_cv_path_LD+set}" = set; then : 4520if ${acl_cv_path_LD+:} false; then :
4377 $as_echo_n "(cached) " >&6 4521 $as_echo_n "(cached) " >&6
4378else 4522else
4379 if test -z "$LD"; then 4523 if test -z "$LD"; then
4380 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4524 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4381 for ac_dir in $PATH; do 4525 for ac_dir in $PATH; do
4407$as_echo "no" >&6; } 4551$as_echo "no" >&6; }
4408fi 4552fi
4409test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4553test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4411$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4555$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4412if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4556if ${acl_cv_prog_gnu_ld+:} false; then :
4413 $as_echo_n "(cached) " >&6 4557 $as_echo_n "(cached) " >&6
4414else 4558else
4415 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4559 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4416if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 4560if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4417 acl_cv_prog_gnu_ld=yes 4561 acl_cv_prog_gnu_ld=yes
4425 4569
4426 4570
4427 4571
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4429$as_echo_n "checking for shared library run path origin... " >&6; } 4573$as_echo_n "checking for shared library run path origin... " >&6; }
4430if test "${acl_cv_rpath+set}" = set; then : 4574if ${acl_cv_rpath+:} false; then :
4431 $as_echo_n "(cached) " >&6 4575 $as_echo_n "(cached) " >&6
4432else 4576else
4433 4577
4434 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4578 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4435 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 4579 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4882 5026
4883 5027
4884 5028
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4886$as_echo_n "checking for GNU gettext in libc... " >&6; } 5030$as_echo_n "checking for GNU gettext in libc... " >&6; }
4887if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 5031if ${gt_cv_func_gnugettext1_libc+:} false; then :
4888 $as_echo_n "(cached) " >&6 5032 $as_echo_n "(cached) " >&6
4889else 5033else
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891/* end confdefs.h. */ 5035/* end confdefs.h. */
4892#include <libintl.h> 5036#include <libintl.h>
4943 done 5087 done
4944 5088
4945 5089
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4947$as_echo_n "checking for iconv... " >&6; } 5091$as_echo_n "checking for iconv... " >&6; }
4948if test "${am_cv_func_iconv+set}" = set; then : 5092if ${am_cv_func_iconv+:} false; then :
4949 $as_echo_n "(cached) " >&6 5093 $as_echo_n "(cached) " >&6
4950else 5094else
4951 5095
4952 am_cv_func_iconv="no, consider installing GNU libiconv" 5096 am_cv_func_iconv="no, consider installing GNU libiconv"
4953 am_cv_lib_iconv=no 5097 am_cv_lib_iconv=no
5396 done 5540 done
5397 fi 5541 fi
5398 5542
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5400$as_echo_n "checking for GNU gettext in libintl... " >&6; } 5544$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5401if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5545if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5402 $as_echo_n "(cached) " >&6 5546 $as_echo_n "(cached) " >&6
5403else 5547else
5404 gt_save_CPPFLAGS="$CPPFLAGS" 5548 gt_save_CPPFLAGS="$CPPFLAGS"
5405 CPPFLAGS="$CPPFLAGS $INCINTL" 5549 CPPFLAGS="$CPPFLAGS $INCINTL"
5406 gt_save_LIBS="$LIBS" 5550 gt_save_LIBS="$LIBS"
5564# On Suns, sometimes $CPP names a directory. 5708# On Suns, sometimes $CPP names a directory.
5565if test -n "$CPP" && test -d "$CPP"; then 5709if test -n "$CPP" && test -d "$CPP"; then
5566 CPP= 5710 CPP=
5567fi 5711fi
5568if test -z "$CPP"; then 5712if test -z "$CPP"; then
5569 if test "${ac_cv_prog_CPP+set}" = set; then : 5713 if ${ac_cv_prog_CPP+:} false; then :
5570 $as_echo_n "(cached) " >&6 5714 $as_echo_n "(cached) " >&6
5571else 5715else
5572 # Double quotes because CPP needs to be expanded 5716 # Double quotes because CPP needs to be expanded
5573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5717 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5574 do 5718 do
5680 5824
5681else 5825else
5682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5683$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5827$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5684as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5828as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5685See \`config.log' for more details" "$LINENO" 5 ; } 5829See \`config.log' for more details" "$LINENO" 5; }
5686fi 5830fi
5687 5831
5688ac_ext=c 5832ac_ext=c
5689ac_cpp='$CPP $CPPFLAGS' 5833ac_cpp='$CPP $CPPFLAGS'
5690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 do 5849 do
5706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5707set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5851set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709$as_echo_n "checking for $ac_word... " >&6; } 5853$as_echo_n "checking for $ac_word... " >&6; }
5710if test "${ac_cv_prog_CXX+set}" = set; then : 5854if ${ac_cv_prog_CXX+:} false; then :
5711 $as_echo_n "(cached) " >&6 5855 $as_echo_n "(cached) " >&6
5712else 5856else
5713 if test -n "$CXX"; then 5857 if test -n "$CXX"; then
5714 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5858 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5715else 5859else
5717for as_dir in $PATH 5861for as_dir in $PATH
5718do 5862do
5719 IFS=$as_save_IFS 5863 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=. 5864 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do 5865 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5867 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2 5869 break 2
5726 fi 5870 fi
5727done 5871done
5749do 5893do
5750 # Extract the first word of "$ac_prog", so it can be a program name with args. 5894 # Extract the first word of "$ac_prog", so it can be a program name with args.
5751set dummy $ac_prog; ac_word=$2 5895set dummy $ac_prog; ac_word=$2
5752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753$as_echo_n "checking for $ac_word... " >&6; } 5897$as_echo_n "checking for $ac_word... " >&6; }
5754if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5898if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5755 $as_echo_n "(cached) " >&6 5899 $as_echo_n "(cached) " >&6
5756else 5900else
5757 if test -n "$ac_ct_CXX"; then 5901 if test -n "$ac_ct_CXX"; then
5758 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5902 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5759else 5903else
5761for as_dir in $PATH 5905for as_dir in $PATH
5762do 5906do
5763 IFS=$as_save_IFS 5907 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=. 5908 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do 5909 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_ac_ct_CXX="$ac_prog" 5911 ac_cv_prog_ac_ct_CXX="$ac_prog"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2 5913 break 2
5770 fi 5914 fi
5771done 5915done
5827 test $ac_status = 0; } 5971 test $ac_status = 0; }
5828done 5972done
5829 5973
5830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5831$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5975$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5832if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5976if ${ac_cv_cxx_compiler_gnu+:} false; then :
5833 $as_echo_n "(cached) " >&6 5977 $as_echo_n "(cached) " >&6
5834else 5978else
5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836/* end confdefs.h. */ 5980/* end confdefs.h. */
5837 5981
5864fi 6008fi
5865ac_test_CXXFLAGS=${CXXFLAGS+set} 6009ac_test_CXXFLAGS=${CXXFLAGS+set}
5866ac_save_CXXFLAGS=$CXXFLAGS 6010ac_save_CXXFLAGS=$CXXFLAGS
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 6011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5868$as_echo_n "checking whether $CXX accepts -g... " >&6; } 6012$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5869if test "${ac_cv_prog_cxx_g+set}" = set; then : 6013if ${ac_cv_prog_cxx_g+:} false; then :
5870 $as_echo_n "(cached) " >&6 6014 $as_echo_n "(cached) " >&6
5871else 6015else
5872 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 6016 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5873 ac_cxx_werror_flag=yes 6017 ac_cxx_werror_flag=yes
5874 ac_cv_prog_cxx_g=no 6018 ac_cv_prog_cxx_g=no
5950 6094
5951depcc="$CXX" am_compiler_list= 6095depcc="$CXX" am_compiler_list=
5952 6096
5953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5954$as_echo_n "checking dependency style of $depcc... " >&6; } 6098$as_echo_n "checking dependency style of $depcc... " >&6; }
5955if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 6099if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5956 $as_echo_n "(cached) " >&6 6100 $as_echo_n "(cached) " >&6
5957else 6101else
5958 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5959 # We make a subdir and do the tests there. Otherwise we can end up 6103 # We make a subdir and do the tests there. Otherwise we can end up
5960 # making bogus files that we don't know about and never remove. For 6104 # making bogus files that we don't know about and never remove. For
5961 # instance it was reported that on HP-UX the gcc test will end up 6105 # instance it was reported that on HP-UX the gcc test will end up
5962 # making a dummy file named `D' -- because `-MD' means `put the output 6106 # making a dummy file named `D' -- because `-MD' means `put the output
5963 # in D'. 6107 # in D'.
6108 rm -rf conftest.dir
5964 mkdir conftest.dir 6109 mkdir conftest.dir
5965 # Copy depcomp to subdir because otherwise we won't find it if we're 6110 # Copy depcomp to subdir because otherwise we won't find it if we're
5966 # using a relative directory. 6111 # using a relative directory.
5967 cp "$am_depcomp" conftest.dir 6112 cp "$am_depcomp" conftest.dir
5968 cd conftest.dir 6113 cd conftest.dir
5976 6121
5977 am_cv_CXX_dependencies_compiler_type=none 6122 am_cv_CXX_dependencies_compiler_type=none
5978 if test "$am_compiler_list" = ""; then 6123 if test "$am_compiler_list" = ""; then
5979 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5980 fi 6125 fi
6126 am__universal=false
6127 case " $depcc " in #(
6128 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6129 esac
6130
5981 for depmode in $am_compiler_list; do 6131 for depmode in $am_compiler_list; do
5982 # Setup a source with many dependencies, because some compilers 6132 # Setup a source with many dependencies, because some compilers
5983 # like to wrap large dependency lists on column 80 (with \), and 6133 # like to wrap large dependency lists on column 80 (with \), and
5984 # we should not choose a depcomp mode which is confused by this. 6134 # we should not choose a depcomp mode which is confused by this.
5985 # 6135 #
5987 # overwrite some of them when testing with obscure command lines. 6137 # overwrite some of them when testing with obscure command lines.
5988 # This happens at least with the AIX C compiler. 6138 # This happens at least with the AIX C compiler.
5989 : > sub/conftest.c 6139 : > sub/conftest.c
5990 for i in 1 2 3 4 5 6; do 6140 for i in 1 2 3 4 5 6; do
5991 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6141 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6143 # Solaris 8's {/usr,}/bin/sh.
5992 : > sub/conftst$i.h 6144 touch sub/conftst$i.h
5993 done 6145 done
5994 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5995 6147
6148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6149 # mode. It turns out that the SunPro C++ compiler does not properly
6150 # handle `-M -o', and we need to detect this. Also, some Intel
6151 # versions had trouble with output in subdirs
6152 am__obj=sub/conftest.${OBJEXT-o}
6153 am__minus_obj="-o $am__obj"
5996 case $depmode in 6154 case $depmode in
6155 gcc)
6156 # This depmode causes a compiler race in universal mode.
6157 test "$am__universal" = false || continue
6158 ;;
5997 nosideeffect) 6159 nosideeffect)
5998 # after this tag, mechanisms are not by side-effect, so they'll 6160 # after this tag, mechanisms are not by side-effect, so they'll
5999 # only be used when explicitly requested 6161 # only be used when explicitly requested
6000 if test "x$enable_dependency_tracking" = xyes; then 6162 if test "x$enable_dependency_tracking" = xyes; then
6001 continue 6163 continue
6002 else 6164 else
6003 break 6165 break
6004 fi 6166 fi
6005 ;; 6167 ;;
6168 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6169 # This compiler won't grok `-c -o', but also, the minuso test has
6170 # not run yet. These depmodes are late enough in the game, and
6171 # so weak that their functioning should not be impacted.
6172 am__obj=conftest.${OBJEXT-o}
6173 am__minus_obj=
6174 ;;
6006 none) break ;; 6175 none) break ;;
6007 esac 6176 esac
6008 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6009 # mode. It turns out that the SunPro C++ compiler does not properly
6010 # handle `-M -o', and we need to detect this.
6011 if depmode=$depmode \ 6177 if depmode=$depmode \
6012 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 6178 source=sub/conftest.c object=$am__obj \
6013 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6014 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 6180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6015 >/dev/null 2>conftest.err && 6181 >/dev/null 2>conftest.err &&
6182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6016 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6017 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6018 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6019 # icc doesn't choke on unknown options, it will just issue warnings 6186 # icc doesn't choke on unknown options, it will just issue warnings
6020 # (even with -Werror). So we grep stderr for any message 6187 # or remarks (even with -Werror). So we grep stderr for any message
6021 # that says an option was ignored. 6188 # that says an option was ignored or not supported.
6189 # When given -MP, icc 7.0 and 7.1 complain thusly:
6190 # icc: Command line warning: ignoring option '-M'; no argument required
6191 # The diagnosis changed in icc 8.0:
6192 # icc: Command line remark: option '-MP' not supported
6193 if (grep 'ignoring option' conftest.err ||
6022 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 6194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6023 am_cv_CXX_dependencies_compiler_type=$depmode 6195 am_cv_CXX_dependencies_compiler_type=$depmode
6024 break 6196 break
6025 fi 6197 fi
6026 fi 6198 fi
6027 done 6199 done
6035fi 6207fi
6036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6037$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6209$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6038CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6210CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6039 6211
6040
6041
6042if 6212 if
6043 test "x$enable_dependency_tracking" != xno \ 6213 test "x$enable_dependency_tracking" != xno \
6044 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6214 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6045 am__fastdepCXX_TRUE= 6215 am__fastdepCXX_TRUE=
6046 am__fastdepCXX_FALSE='#' 6216 am__fastdepCXX_FALSE='#'
6047else 6217else
6051 6221
6052 6222
6053 6223
6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6055$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6225$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6056if test "${ac_cv_path_GREP+set}" = set; then : 6226if ${ac_cv_path_GREP+:} false; then :
6057 $as_echo_n "(cached) " >&6 6227 $as_echo_n "(cached) " >&6
6058else 6228else
6059 if test -z "$GREP"; then 6229 if test -z "$GREP"; then
6060 ac_path_GREP_found=false 6230 ac_path_GREP_found=false
6061 # Loop through the user's path and test for each of PROGNAME-LIST 6231 # Loop through the user's path and test for each of PROGNAME-LIST
6065 IFS=$as_save_IFS 6235 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=. 6236 test -z "$as_dir" && as_dir=.
6067 for ac_prog in grep ggrep; do 6237 for ac_prog in grep ggrep; do
6068 for ac_exec_ext in '' $ac_executable_extensions; do 6238 for ac_exec_ext in '' $ac_executable_extensions; do
6069 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6239 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6070 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6240 as_fn_executable_p "$ac_path_GREP" || continue
6071# Check for GNU ac_path_GREP and select it if it is found. 6241# Check for GNU ac_path_GREP and select it if it is found.
6072 # Check for GNU $ac_path_GREP 6242 # Check for GNU $ac_path_GREP
6073case `"$ac_path_GREP" --version 2>&1` in 6243case `"$ac_path_GREP" --version 2>&1` in
6074*GNU*) 6244*GNU*)
6075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6245 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6114 GREP="$ac_cv_path_GREP" 6284 GREP="$ac_cv_path_GREP"
6115 6285
6116 6286
6117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6118$as_echo_n "checking for egrep... " >&6; } 6288$as_echo_n "checking for egrep... " >&6; }
6119if test "${ac_cv_path_EGREP+set}" = set; then : 6289if ${ac_cv_path_EGREP+:} false; then :
6120 $as_echo_n "(cached) " >&6 6290 $as_echo_n "(cached) " >&6
6121else 6291else
6122 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6292 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6123 then ac_cv_path_EGREP="$GREP -E" 6293 then ac_cv_path_EGREP="$GREP -E"
6124 else 6294 else
6131 IFS=$as_save_IFS 6301 IFS=$as_save_IFS
6132 test -z "$as_dir" && as_dir=. 6302 test -z "$as_dir" && as_dir=.
6133 for ac_prog in egrep; do 6303 for ac_prog in egrep; do
6134 for ac_exec_ext in '' $ac_executable_extensions; do 6304 for ac_exec_ext in '' $ac_executable_extensions; do
6135 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6305 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6136 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6306 as_fn_executable_p "$ac_path_EGREP" || continue
6137# Check for GNU ac_path_EGREP and select it if it is found. 6307# Check for GNU ac_path_EGREP and select it if it is found.
6138 # Check for GNU $ac_path_EGREP 6308 # Check for GNU $ac_path_EGREP
6139case `"$ac_path_EGREP" --version 2>&1` in 6309case `"$ac_path_EGREP" --version 2>&1` in
6140*GNU*) 6310*GNU*)
6141 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6311 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6182 6352
6183 6353
6184if test $ac_cv_c_compiler_gnu = yes; then 6354if test $ac_cv_c_compiler_gnu = yes; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6186$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6356$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6187if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6357if ${ac_cv_prog_gcc_traditional+:} false; then :
6188 $as_echo_n "(cached) " >&6 6358 $as_echo_n "(cached) " >&6
6189else 6359else
6190 ac_pattern="Autoconf.*'x'" 6360 ac_pattern="Autoconf.*'x'"
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192/* end confdefs.h. */ 6362/* end confdefs.h. */
6227do 6397do
6228 # Extract the first word of "$ac_prog", so it can be a program name with args. 6398 # Extract the first word of "$ac_prog", so it can be a program name with args.
6229set dummy $ac_prog; ac_word=$2 6399set dummy $ac_prog; ac_word=$2
6230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231$as_echo_n "checking for $ac_word... " >&6; } 6401$as_echo_n "checking for $ac_word... " >&6; }
6232if test "${ac_cv_prog_AWK+set}" = set; then : 6402if ${ac_cv_prog_AWK+:} false; then :
6233 $as_echo_n "(cached) " >&6 6403 $as_echo_n "(cached) " >&6
6234else 6404else
6235 if test -n "$AWK"; then 6405 if test -n "$AWK"; then
6236 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6406 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6237else 6407else
6239for as_dir in $PATH 6409for as_dir in $PATH
6240do 6410do
6241 IFS=$as_save_IFS 6411 IFS=$as_save_IFS
6242 test -z "$as_dir" && as_dir=. 6412 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do 6413 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_AWK="$ac_prog" 6415 ac_cv_prog_AWK="$ac_prog"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 break 2 6417 break 2
6248 fi 6418 fi
6249done 6419done
6279 6449
6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6281$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6451$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6282set x ${MAKE-make} 6452set x ${MAKE-make}
6283ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6453ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6284if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6454if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6285 $as_echo_n "(cached) " >&6 6455 $as_echo_n "(cached) " >&6
6286else 6456else
6287 cat >conftest.make <<\_ACEOF 6457 cat >conftest.make <<\_ACEOF
6288SHELL = /bin/sh 6458SHELL = /bin/sh
6289all: 6459all:
6311if test -n "$ac_tool_prefix"; then 6481if test -n "$ac_tool_prefix"; then
6312 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6482 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6313set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6483set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315$as_echo_n "checking for $ac_word... " >&6; } 6485$as_echo_n "checking for $ac_word... " >&6; }
6316if test "${ac_cv_prog_RANLIB+set}" = set; then : 6486if ${ac_cv_prog_RANLIB+:} false; then :
6317 $as_echo_n "(cached) " >&6 6487 $as_echo_n "(cached) " >&6
6318else 6488else
6319 if test -n "$RANLIB"; then 6489 if test -n "$RANLIB"; then
6320 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6490 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6321else 6491else
6323for as_dir in $PATH 6493for as_dir in $PATH
6324do 6494do
6325 IFS=$as_save_IFS 6495 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=. 6496 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do 6497 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6499 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 break 2 6501 break 2
6332 fi 6502 fi
6333done 6503done
6351 ac_ct_RANLIB=$RANLIB 6521 ac_ct_RANLIB=$RANLIB
6352 # Extract the first word of "ranlib", so it can be a program name with args. 6522 # Extract the first word of "ranlib", so it can be a program name with args.
6353set dummy ranlib; ac_word=$2 6523set dummy ranlib; ac_word=$2
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355$as_echo_n "checking for $ac_word... " >&6; } 6525$as_echo_n "checking for $ac_word... " >&6; }
6356if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6526if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6357 $as_echo_n "(cached) " >&6 6527 $as_echo_n "(cached) " >&6
6358else 6528else
6359 if test -n "$ac_ct_RANLIB"; then 6529 if test -n "$ac_ct_RANLIB"; then
6360 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6530 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6361else 6531else
6363for as_dir in $PATH 6533for as_dir in $PATH
6364do 6534do
6365 IFS=$as_save_IFS 6535 IFS=$as_save_IFS
6366 test -z "$as_dir" && as_dir=. 6536 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do 6537 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_ac_ct_RANLIB="ranlib" 6539 ac_cv_prog_ac_ct_RANLIB="ranlib"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 break 2 6541 break 2
6372 fi 6542 fi
6373done 6543done
6549 t end 6719 t end
6550 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6551 :end' >>confcache 6721 :end' >>confcache
6552if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6722if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6553 if test -w "$cache_file"; then 6723 if test -w "$cache_file"; then
6554 test "x$cache_file" != "x/dev/null" && 6724 if test "x$cache_file" != "x/dev/null"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6556$as_echo "$as_me: updating cache $cache_file" >&6;} 6726$as_echo "$as_me: updating cache $cache_file" >&6;}
6727 if test ! -f "$cache_file" || test -h "$cache_file"; then
6557 cat confcache >$cache_file 6728 cat confcache >"$cache_file"
6729 else
6730 case $cache_file in #(
6731 */* | ?:*)
6732 mv -f confcache "$cache_file"$$ &&
6733 mv -f "$cache_file"$$ "$cache_file" ;; #(
6734 *)
6735 mv -f confcache "$cache_file" ;;
6736 esac
6737 fi
6738 fi
6558 else 6739 else
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6740 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6560$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6741$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6561 fi 6742 fi
6562fi 6743fi
6576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6757ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6758ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 6759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6579$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6760$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6580if test -z "$CXXCPP"; then 6761if test -z "$CXXCPP"; then
6581 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6762 if ${ac_cv_prog_CXXCPP+:} false; then :
6582 $as_echo_n "(cached) " >&6 6763 $as_echo_n "(cached) " >&6
6583else 6764else
6584 # Double quotes because CXXCPP needs to be expanded 6765 # Double quotes because CXXCPP needs to be expanded
6585 for CXXCPP in "$CXX -E" "/lib/cpp" 6766 for CXXCPP in "$CXX -E" "/lib/cpp"
6586 do 6767 do
6692 6873
6693else 6874else
6694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6876$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6696as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6877as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6697See \`config.log' for more details" "$LINENO" 5 ; } 6878See \`config.log' for more details" "$LINENO" 5; }
6698fi 6879fi
6699 6880
6700ac_ext=cpp 6881ac_ext=cpp
6701ac_cpp='$CXXCPP $CPPFLAGS' 6882ac_cpp='$CXXCPP $CPPFLAGS'
6702ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6883ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6704ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6885ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6705 6886
6706 6887
6707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6708$as_echo_n "checking for ANSI C header files... " >&6; } 6889$as_echo_n "checking for ANSI C header files... " >&6; }
6709if test "${ac_cv_header_stdc+set}" = set; then : 6890if ${ac_cv_header_stdc+:} false; then :
6710 $as_echo_n "(cached) " >&6 6891 $as_echo_n "(cached) " >&6
6711else 6892else
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713/* end confdefs.h. */ 6894/* end confdefs.h. */
6714#include <stdlib.h> 6895#include <stdlib.h>
6889done 7070done
6890 7071
6891 7072
6892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6893$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7074$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6894if test "${ac_cv_c_const+set}" = set; then : 7075if ${ac_cv_c_const+:} false; then :
6895 $as_echo_n "(cached) " >&6 7076 $as_echo_n "(cached) " >&6
6896else 7077else
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898/* end confdefs.h. */ 7079/* end confdefs.h. */
6899 7080
6900int 7081int
6901main () 7082main ()
6902{ 7083{
6903/* FIXME: Include the comments suggested by Paul. */ 7084
6904#ifndef __cplusplus 7085#ifndef __cplusplus
6905 /* Ultrix mips cc rejects this. */ 7086 /* Ultrix mips cc rejects this sort of thing. */
6906 typedef int charset[2]; 7087 typedef int charset[2];
6907 const charset cs; 7088 const charset cs = { 0, 0 };
6908 /* SunOS 4.1.1 cc rejects this. */ 7089 /* SunOS 4.1.1 cc rejects this. */
6909 char const *const *pcpcc; 7090 char const *const *pcpcc;
6910 char **ppc; 7091 char **ppc;
6911 /* NEC SVR4.0.2 mips cc rejects this. */ 7092 /* NEC SVR4.0.2 mips cc rejects this. */
6912 struct point {int x, y;}; 7093 struct point {int x, y;};
6919 pcpcc = &g + (g ? g-g : 0); 7100 pcpcc = &g + (g ? g-g : 0);
6920 /* HPUX 7.0 cc rejects these. */ 7101 /* HPUX 7.0 cc rejects these. */
6921 ++pcpcc; 7102 ++pcpcc;
6922 ppc = (char**) pcpcc; 7103 ppc = (char**) pcpcc;
6923 pcpcc = (char const *const *) ppc; 7104 pcpcc = (char const *const *) ppc;
6924 { /* SCO 3.2v4 cc rejects this. */ 7105 { /* SCO 3.2v4 cc rejects this sort of thing. */
6925 char *t; 7106 char tx;
7107 char *t = &tx;
6926 char const *s = 0 ? (char *) 0 : (char const *) 0; 7108 char const *s = 0 ? (char *) 0 : (char const *) 0;
6927 7109
6928 *t++ = 0; 7110 *t++ = 0;
6929 if (s) return 0; 7111 if (s) return 0;
6930 } 7112 }
6936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7118 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6937 typedef const int *iptr; 7119 typedef const int *iptr;
6938 iptr p = 0; 7120 iptr p = 0;
6939 ++p; 7121 ++p;
6940 } 7122 }
6941 { /* AIX XL C 1.02.0.0 rejects this saying 7123 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6942 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7124 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6943 struct s { int j; const int *ap[3]; }; 7125 struct s { int j; const int *ap[3]; } bx;
6944 struct s *b; b->j = 5; 7126 struct s *b = &bx; b->j = 5;
6945 } 7127 }
6946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7128 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6947 const int foo = 10; 7129 const int foo = 10;
6948 if (!foo) return 0; 7130 if (!foo) return 0;
6949 } 7131 }
6968$as_echo "#define const /**/" >>confdefs.h 7150$as_echo "#define const /**/" >>confdefs.h
6969 7151
6970fi 7152fi
6971 7153
6972ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 7154ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6973if test "x$ac_cv_type_pid_t" = x""yes; then : 7155if test "x$ac_cv_type_pid_t" = xyes; then :
6974 7156
6975else 7157else
6976 7158
6977cat >>confdefs.h <<_ACEOF 7159cat >>confdefs.h <<_ACEOF
6978#define pid_t int 7160#define pid_t int
6979_ACEOF 7161_ACEOF
6980 7162
6981fi 7163fi
6982 7164
6983ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 7165ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6984if test "x$ac_cv_type_size_t" = x""yes; then : 7166if test "x$ac_cv_type_size_t" = xyes; then :
6985 7167
6986else 7168else
6987 7169
6988cat >>confdefs.h <<_ACEOF 7170cat >>confdefs.h <<_ACEOF
6989#define size_t unsigned int 7171#define size_t unsigned int
6991 7173
6992fi 7174fi
6993 7175
6994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6995$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7177$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6996if test "${ac_cv_header_time+set}" = set; then : 7178if ${ac_cv_header_time+:} false; then :
6997 $as_echo_n "(cached) " >&6 7179 $as_echo_n "(cached) " >&6
6998else 7180else
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000/* end confdefs.h. */ 7182/* end confdefs.h. */
7001#include <sys/types.h> 7183#include <sys/types.h>
7026 7208
7027fi 7209fi
7028 7210
7029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7030$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7212$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7031if test "${ac_cv_struct_tm+set}" = set; then : 7213if ${ac_cv_struct_tm+:} false; then :
7032 $as_echo_n "(cached) " >&6 7214 $as_echo_n "(cached) " >&6
7033else 7215else
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035/* end confdefs.h. */ 7217/* end confdefs.h. */
7036#include <sys/types.h> 7218#include <sys/types.h>
7062fi 7244fi
7063 7245
7064 7246
7065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 7247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
7066$as_echo_n "checking for socklen_t... " >&6; } 7248$as_echo_n "checking for socklen_t... " >&6; }
7067if test "${ac_cv_type_socklen_t+set}" = set; then : 7249if ${ac_cv_type_socklen_t+:} false; then :
7068 $as_echo_n "(cached) " >&6 7250 $as_echo_n "(cached) " >&6
7069else 7251else
7070 7252
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072/* end confdefs.h. */ 7254/* end confdefs.h. */
7096 7278
7097fi 7279fi
7098 7280
7099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 7281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
7100$as_echo_n "checking for struct addrinfo... " >&6; } 7282$as_echo_n "checking for struct addrinfo... " >&6; }
7101if test "${ac_cv_struct_addrinfo+set}" = set; then : 7283if ${ac_cv_struct_addrinfo+:} false; then :
7102 $as_echo_n "(cached) " >&6 7284 $as_echo_n "(cached) " >&6
7103else 7285else
7104 7286
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106/* end confdefs.h. */ 7288/* end confdefs.h. */
7131 7313
7132fi 7314fi
7133 7315
7134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7135$as_echo_n "checking return type of signal handlers... " >&6; } 7317$as_echo_n "checking return type of signal handlers... " >&6; }
7136if test "${ac_cv_type_signal+set}" = set; then : 7318if ${ac_cv_type_signal+:} false; then :
7137 $as_echo_n "(cached) " >&6 7319 $as_echo_n "(cached) " >&6
7138else 7320else
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140/* end confdefs.h. */ 7322/* end confdefs.h. */
7141#include <sys/types.h> 7323#include <sys/types.h>
7172ac_compiler_gnu=$ac_cv_c_compiler_gnu 7354ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173 7355
7174 7356
7175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7176$as_echo_n "checking for ANSI C header files... " >&6; } 7358$as_echo_n "checking for ANSI C header files... " >&6; }
7177if test "${ac_cv_header_stdc+set}" = set; then : 7359if ${ac_cv_header_stdc+:} false; then :
7178 $as_echo_n "(cached) " >&6 7360 $as_echo_n "(cached) " >&6
7179else 7361else
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181/* end confdefs.h. */ 7363/* end confdefs.h. */
7182#include <stdlib.h> 7364#include <stdlib.h>
7300 7482
7301# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7483# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7302# for constant arguments. Useless! 7484# for constant arguments. Useless!
7303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 7485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7304$as_echo_n "checking for working alloca.h... " >&6; } 7486$as_echo_n "checking for working alloca.h... " >&6; }
7305if test "${ac_cv_working_alloca_h+set}" = set; then : 7487if ${ac_cv_working_alloca_h+:} false; then :
7306 $as_echo_n "(cached) " >&6 7488 $as_echo_n "(cached) " >&6
7307else 7489else
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309/* end confdefs.h. */ 7491/* end confdefs.h. */
7310#include <alloca.h> 7492#include <alloca.h>
7333 7515
7334fi 7516fi
7335 7517
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7337$as_echo_n "checking for alloca... " >&6; } 7519$as_echo_n "checking for alloca... " >&6; }
7338if test "${ac_cv_func_alloca_works+set}" = set; then : 7520if ${ac_cv_func_alloca_works+:} false; then :
7339 $as_echo_n "(cached) " >&6 7521 $as_echo_n "(cached) " >&6
7340else 7522else
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342/* end confdefs.h. */ 7524/* end confdefs.h. */
7343#ifdef __GNUC__ 7525#ifdef __GNUC__
7352# else 7534# else
7353# ifdef _AIX 7535# ifdef _AIX
7354 #pragma alloca 7536 #pragma alloca
7355# else 7537# else
7356# ifndef alloca /* predefined by HP cc +Olibcalls */ 7538# ifndef alloca /* predefined by HP cc +Olibcalls */
7357char *alloca (); 7539void *alloca (size_t);
7358# endif 7540# endif
7359# endif 7541# endif
7360# endif 7542# endif
7361# endif 7543# endif
7362#endif 7544#endif
7396$as_echo "#define C_ALLOCA 1" >>confdefs.h 7578$as_echo "#define C_ALLOCA 1" >>confdefs.h
7397 7579
7398 7580
7399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7400$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7582$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7401if test "${ac_cv_os_cray+set}" = set; then : 7583if ${ac_cv_os_cray+:} false; then :
7402 $as_echo_n "(cached) " >&6 7584 $as_echo_n "(cached) " >&6
7403else 7585else
7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405/* end confdefs.h. */ 7587/* end confdefs.h. */
7406#if defined CRAY && ! defined CRAY2 7588#if defined CRAY && ! defined CRAY2
7437 done 7619 done
7438fi 7620fi
7439 7621
7440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 7622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7441$as_echo_n "checking stack direction for C alloca... " >&6; } 7623$as_echo_n "checking stack direction for C alloca... " >&6; }
7442if test "${ac_cv_c_stack_direction+set}" = set; then : 7624if ${ac_cv_c_stack_direction+:} false; then :
7443 $as_echo_n "(cached) " >&6 7625 $as_echo_n "(cached) " >&6
7444else 7626else
7445 if test "$cross_compiling" = yes; then : 7627 if test "$cross_compiling" = yes; then :
7446 ac_cv_c_stack_direction=0 7628 ac_cv_c_stack_direction=0
7447else 7629else
7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449/* end confdefs.h. */ 7631/* end confdefs.h. */
7450$ac_includes_default 7632$ac_includes_default
7451int 7633int
7452find_stack_direction () 7634find_stack_direction (int *addr, int depth)
7453{ 7635{
7454 static char *addr = 0; 7636 int dir, dummy = 0;
7455 auto char dummy;
7456 if (addr == 0) 7637 if (! addr)
7457 {
7458 addr = &dummy; 7638 addr = &dummy;
7459 return find_stack_direction (); 7639 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7460 } 7640 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7461 else 7641 return dir + dummy;
7462 return (&dummy > addr) ? 1 : -1;
7463} 7642}
7464 7643
7465int 7644int
7466main () 7645main (int argc, char **argv)
7467{ 7646{
7468 return find_stack_direction () < 0; 7647 return find_stack_direction (0, argc + !argv + 20) < 0;
7469} 7648}
7470_ACEOF 7649_ACEOF
7471if ac_fn_c_try_run "$LINENO"; then : 7650if ac_fn_c_try_run "$LINENO"; then :
7472 ac_cv_c_stack_direction=1 7651 ac_cv_c_stack_direction=1
7473else 7652else
7488fi 7667fi
7489 7668
7490 7669
7491 7670
7492ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7671ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7493if test "x$ac_cv_func_socket" = x""yes; then : 7672if test "x$ac_cv_func_socket" = xyes; then :
7494 7673
7495else 7674else
7496 7675
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7498$as_echo_n "checking for connect in -lsocket... " >&6; } 7677$as_echo_n "checking for connect in -lsocket... " >&6; }
7499if test "${ac_cv_lib_socket_connect+set}" = set; then : 7678if ${ac_cv_lib_socket_connect+:} false; then :
7500 $as_echo_n "(cached) " >&6 7679 $as_echo_n "(cached) " >&6
7501else 7680else
7502 ac_check_lib_save_LIBS=$LIBS 7681 ac_check_lib_save_LIBS=$LIBS
7503LIBS="-lsocket $LIBS" 7682LIBS="-lsocket $LIBS"
7504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528 conftest$ac_exeext conftest.$ac_ext 7707 conftest$ac_exeext conftest.$ac_ext
7529LIBS=$ac_check_lib_save_LIBS 7708LIBS=$ac_check_lib_save_LIBS
7530fi 7709fi
7531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 7710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7532$as_echo "$ac_cv_lib_socket_connect" >&6; } 7711$as_echo "$ac_cv_lib_socket_connect" >&6; }
7533if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7712if test "x$ac_cv_lib_socket_connect" = xyes; then :
7534 cat >>confdefs.h <<_ACEOF 7713 cat >>confdefs.h <<_ACEOF
7535#define HAVE_LIBSOCKET 1 7714#define HAVE_LIBSOCKET 1
7536_ACEOF 7715_ACEOF
7537 7716
7538 LIBS="-lsocket $LIBS" 7717 LIBS="-lsocket $LIBS"
7541 7720
7542 7721
7543fi 7722fi
7544 7723
7545ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7724ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7546if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7725if test "x$ac_cv_func_gethostbyname" = xyes; then :
7547 7726
7548else 7727else
7549 7728
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7551$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7730$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7552if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7731if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7553 $as_echo_n "(cached) " >&6 7732 $as_echo_n "(cached) " >&6
7554else 7733else
7555 ac_check_lib_save_LIBS=$LIBS 7734 ac_check_lib_save_LIBS=$LIBS
7556LIBS="-lnsl $LIBS" 7735LIBS="-lnsl $LIBS"
7557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7736cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 conftest$ac_exeext conftest.$ac_ext 7760 conftest$ac_exeext conftest.$ac_ext
7582LIBS=$ac_check_lib_save_LIBS 7761LIBS=$ac_check_lib_save_LIBS
7583fi 7762fi
7584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 7763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7585$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7764$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7586if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7765if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7587 cat >>confdefs.h <<_ACEOF 7766 cat >>confdefs.h <<_ACEOF
7588#define HAVE_LIBNSL 1 7767#define HAVE_LIBNSL 1
7589_ACEOF 7768_ACEOF
7590 7769
7591 LIBS="-lnsl $LIBS" 7770 LIBS="-lnsl $LIBS"
7625 7804
7626 7805
7627for ac_func in clock_gettime 7806for ac_func in clock_gettime
7628do : 7807do :
7629 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7808 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7630if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7809if test "x$ac_cv_func_clock_gettime" = xyes; then :
7631 cat >>confdefs.h <<_ACEOF 7810 cat >>confdefs.h <<_ACEOF
7632#define HAVE_CLOCK_GETTIME 1 7811#define HAVE_CLOCK_GETTIME 1
7633_ACEOF 7812_ACEOF
7634 7813
7635else 7814else
7665 conftest$ac_exeext conftest.$ac_ext 7844 conftest$ac_exeext conftest.$ac_ext
7666 fi 7845 fi
7667 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 7846 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
7669$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 7848$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7670if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7849if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7671 $as_echo_n "(cached) " >&6 7850 $as_echo_n "(cached) " >&6
7672else 7851else
7673 ac_check_lib_save_LIBS=$LIBS 7852 ac_check_lib_save_LIBS=$LIBS
7674LIBS="-lrt $LIBS" 7853LIBS="-lrt $LIBS"
7675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7854cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 conftest$ac_exeext conftest.$ac_ext 7878 conftest$ac_exeext conftest.$ac_ext
7700LIBS=$ac_check_lib_save_LIBS 7879LIBS=$ac_check_lib_save_LIBS
7701fi 7880fi
7702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 7881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
7703$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 7882$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7704if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7883if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7705 cat >>confdefs.h <<_ACEOF 7884 cat >>confdefs.h <<_ACEOF
7706#define HAVE_LIBRT 1 7885#define HAVE_LIBRT 1
7707_ACEOF 7886_ACEOF
7708 7887
7709 LIBS="-lrt $LIBS" 7888 LIBS="-lrt $LIBS"
7712 7891
7713 unset ac_cv_func_clock_gettime 7892 unset ac_cv_func_clock_gettime
7714 for ac_func in clock_gettime 7893 for ac_func in clock_gettime
7715do : 7894do :
7716 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7895 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7717if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7896if test "x$ac_cv_func_clock_gettime" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF 7897 cat >>confdefs.h <<_ACEOF
7719#define HAVE_CLOCK_GETTIME 1 7898#define HAVE_CLOCK_GETTIME 1
7720_ACEOF 7899_ACEOF
7721 7900
7722fi 7901fi
7729 7908
7730 7909
7731for ac_func in nanosleep 7910for ac_func in nanosleep
7732do : 7911do :
7733 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7912 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7734if test "x$ac_cv_func_nanosleep" = x""yes; then : 7913if test "x$ac_cv_func_nanosleep" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF 7914 cat >>confdefs.h <<_ACEOF
7736#define HAVE_NANOSLEEP 1 7915#define HAVE_NANOSLEEP 1
7737_ACEOF 7916_ACEOF
7738 7917
7739else 7918else
7740 7919
7741 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7920 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7743$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7922$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7744if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7923if ${ac_cv_lib_rt_nanosleep+:} false; then :
7745 $as_echo_n "(cached) " >&6 7924 $as_echo_n "(cached) " >&6
7746else 7925else
7747 ac_check_lib_save_LIBS=$LIBS 7926 ac_check_lib_save_LIBS=$LIBS
7748LIBS="-lrt $LIBS" 7927LIBS="-lrt $LIBS"
7749cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 conftest$ac_exeext conftest.$ac_ext 7952 conftest$ac_exeext conftest.$ac_ext
7774LIBS=$ac_check_lib_save_LIBS 7953LIBS=$ac_check_lib_save_LIBS
7775fi 7954fi
7776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 7955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7777$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7956$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7778if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7957if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF 7958 cat >>confdefs.h <<_ACEOF
7780#define HAVE_LIBRT 1 7959#define HAVE_LIBRT 1
7781_ACEOF 7960_ACEOF
7782 7961
7783 LIBS="-lrt $LIBS" 7962 LIBS="-lrt $LIBS"
7786 7965
7787 unset ac_cv_func_nanosleep 7966 unset ac_cv_func_nanosleep
7788 for ac_func in nanosleep 7967 for ac_func in nanosleep
7789do : 7968do :
7790 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7969 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7791if test "x$ac_cv_func_nanosleep" = x""yes; then : 7970if test "x$ac_cv_func_nanosleep" = xyes; then :
7792 cat >>confdefs.h <<_ACEOF 7971 cat >>confdefs.h <<_ACEOF
7793#define HAVE_NANOSLEEP 1 7972#define HAVE_NANOSLEEP 1
7794_ACEOF 7973_ACEOF
7795 7974
7796fi 7975fi
7800 7979
7801fi 7980fi
7802done 7981done
7803 7982
7804 7983
7984if test -z "$LIBEV_M4_AVOID_LIBM"; then
7985 LIBM=m
7986fi
7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 7987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7806$as_echo_n "checking for ceil in -lm... " >&6; } 7988$as_echo_n "checking for library containing floor... " >&6; }
7807if test "${ac_cv_lib_m_ceil+set}" = set; then : 7989if ${ac_cv_search_floor+:} false; then :
7808 $as_echo_n "(cached) " >&6 7990 $as_echo_n "(cached) " >&6
7809else 7991else
7810 ac_check_lib_save_LIBS=$LIBS 7992 ac_func_search_save_LIBS=$LIBS
7811LIBS="-lm $LIBS"
7812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813/* end confdefs.h. */ 7994/* end confdefs.h. */
7814 7995
7815/* Override any GCC internal prototype to avoid an error. 7996/* Override any GCC internal prototype to avoid an error.
7816 Use char because int might match the return type of a GCC 7997 Use char because int might match the return type of a GCC
7817 builtin and then its argument prototype would still apply. */ 7998 builtin and then its argument prototype would still apply. */
7818#ifdef __cplusplus 7999#ifdef __cplusplus
7819extern "C" 8000extern "C"
7820#endif 8001#endif
7821char ceil (); 8002char floor ();
7822int 8003int
7823main () 8004main ()
7824{ 8005{
7825return ceil (); 8006return floor ();
7826 ; 8007 ;
7827 return 0; 8008 return 0;
7828} 8009}
7829_ACEOF 8010_ACEOF
8011for ac_lib in '' $LIBM; do
8012 if test -z "$ac_lib"; then
8013 ac_res="none required"
8014 else
8015 ac_res=-l$ac_lib
8016 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8017 fi
7830if ac_fn_c_try_link "$LINENO"; then : 8018 if ac_fn_c_try_link "$LINENO"; then :
7831 ac_cv_lib_m_ceil=yes 8019 ac_cv_search_floor=$ac_res
7832else
7833 ac_cv_lib_m_ceil=no
7834fi 8020fi
7835rm -f core conftest.err conftest.$ac_objext \ 8021rm -f core conftest.err conftest.$ac_objext \
7836 conftest$ac_exeext conftest.$ac_ext 8022 conftest$ac_exeext
7837LIBS=$ac_check_lib_save_LIBS 8023 if ${ac_cv_search_floor+:} false; then :
8024 break
7838fi 8025fi
8026done
8027if ${ac_cv_search_floor+:} false; then :
8028
8029else
8030 ac_cv_search_floor=no
8031fi
8032rm conftest.$ac_ext
8033LIBS=$ac_func_search_save_LIBS
8034fi
7839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5 8035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
7840$as_echo "$ac_cv_lib_m_ceil" >&6; } 8036$as_echo "$ac_cv_search_floor" >&6; }
7841if test "x$ac_cv_lib_m_ceil" = x""yes; then : 8037ac_res=$ac_cv_search_floor
7842 cat >>confdefs.h <<_ACEOF 8038if test "$ac_res" != no; then :
7843#define HAVE_LIBM 1 8039 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7844_ACEOF
7845 8040
7846 LIBS="-lm $LIBS" 8041$as_echo "#define HAVE_FLOOR 1" >>confdefs.h
7847 8042
7848fi 8043fi
7849 8044
7850 8045
7851 8046
7920 t end 8115 t end
7921 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8116 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7922 :end' >>confcache 8117 :end' >>confcache
7923if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8118if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7924 if test -w "$cache_file"; then 8119 if test -w "$cache_file"; then
7925 test "x$cache_file" != "x/dev/null" && 8120 if test "x$cache_file" != "x/dev/null"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7927$as_echo "$as_me: updating cache $cache_file" >&6;} 8122$as_echo "$as_me: updating cache $cache_file" >&6;}
8123 if test ! -f "$cache_file" || test -h "$cache_file"; then
7928 cat confcache >$cache_file 8124 cat confcache >"$cache_file"
8125 else
8126 case $cache_file in #(
8127 */* | ?:*)
8128 mv -f confcache "$cache_file"$$ &&
8129 mv -f "$cache_file"$$ "$cache_file" ;; #(
8130 *)
8131 mv -f confcache "$cache_file" ;;
8132 esac
8133 fi
8134 fi
7929 else 8135 else
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8136 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7931$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8137$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7932 fi 8138 fi
7933fi 8139fi
7944fi 8150fi
7945 8151
7946 8152
7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 8153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5
7948$as_echo_n "checking for linux/if_tun.h... " >&6; } 8154$as_echo_n "checking for linux/if_tun.h... " >&6; }
7949if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 8155if ${tinc_cv_linux_if_tun_h+:} false; then :
7950 $as_echo_n "(cached) " >&6 8156 $as_echo_n "(cached) " >&6
7951else 8157else
7952 8158
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h. */ 8160/* end confdefs.h. */
8042 cat >>confdefs.h <<_ACEOF 8248 cat >>confdefs.h <<_ACEOF
8043#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8249#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8044_ACEOF 8250_ACEOF
8045 8251
8046else 8252else
8047 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8253 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break
8048 8254
8049fi 8255fi
8050 8256
8051done 8257done
8052 8258
8053 8259
8054 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8260 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8055 8261
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
8057$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8263$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8058if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8264if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
8059 $as_echo_n "(cached) " >&6 8265 $as_echo_n "(cached) " >&6
8060else 8266else
8061 ac_check_lib_save_LIBS=$LIBS 8267 ac_check_lib_save_LIBS=$LIBS
8062LIBS="-lcrypto $LIBS" 8268LIBS="-lcrypto $LIBS"
8063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8067 Use char because int might match the return type of a GCC 8273 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */ 8274 builtin and then its argument prototype would still apply. */
8069#ifdef __cplusplus 8275#ifdef __cplusplus
8070extern "C" 8276extern "C"
8071#endif 8277#endif
8072char SHA1_version (); 8278char SHA1_Init ();
8073int 8279int
8074main () 8280main ()
8075{ 8281{
8076return SHA1_version (); 8282return SHA1_Init ();
8077 ; 8283 ;
8078 return 0; 8284 return 0;
8079} 8285}
8080_ACEOF 8286_ACEOF
8081if ac_fn_cxx_try_link "$LINENO"; then : 8287if ac_fn_cxx_try_link "$LINENO"; then :
8082 ac_cv_lib_crypto_SHA1_version=yes 8288 ac_cv_lib_crypto_SHA1_Init=yes
8083else 8289else
8084 ac_cv_lib_crypto_SHA1_version=no 8290 ac_cv_lib_crypto_SHA1_Init=no
8085fi 8291fi
8086rm -f core conftest.err conftest.$ac_objext \ 8292rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext 8293 conftest$ac_exeext conftest.$ac_ext
8088LIBS=$ac_check_lib_save_LIBS 8294LIBS=$ac_check_lib_save_LIBS
8089fi 8295fi
8090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 8296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8091$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } 8297$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8092if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : 8298if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8093 LIBS="$LIBS -lcrypto" 8299 LIBS="$LIBS -lcrypto"
8094else 8300else
8095 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8301 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8096 8302
8097fi 8303fi
8109fi 8315fi
8110done 8316done
8111 8317
8112 8318
8113 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8319 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8114if test "x$ac_cv_func_dlopen" = x""yes; then : 8320if test "x$ac_cv_func_dlopen" = xyes; then :
8115 8321
8116else 8322else
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8118$as_echo_n "checking for dlopen in -ldl... " >&6; } 8324$as_echo_n "checking for dlopen in -ldl... " >&6; }
8119if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 8325if ${ac_cv_lib_dl_dlopen+:} false; then :
8120 $as_echo_n "(cached) " >&6 8326 $as_echo_n "(cached) " >&6
8121else 8327else
8122 ac_check_lib_save_LIBS=$LIBS 8328 ac_check_lib_save_LIBS=$LIBS
8123LIBS="-ldl $LIBS" 8329LIBS="-ldl $LIBS"
8124cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 conftest$ac_exeext conftest.$ac_ext 8354 conftest$ac_exeext conftest.$ac_ext
8149LIBS=$ac_check_lib_save_LIBS 8355LIBS=$ac_check_lib_save_LIBS
8150fi 8356fi
8151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8152$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8358$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8153if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 8359if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8154 LIBS="$LIBS -ldl" 8360 LIBS="$LIBS -ldl"
8155else 8361else
8156 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 8362 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8363
8364fi
8365
8366
8367fi
8368
8369
8370 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8371if test "x$ac_cv_func_inflate" = xyes; then :
8372
8373else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
8375$as_echo_n "checking for inflate in -lz... " >&6; }
8376if ${ac_cv_lib_z_inflate+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378else
8379 ac_check_lib_save_LIBS=$LIBS
8380LIBS="-lz $LIBS"
8381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382/* end confdefs.h. */
8383
8384/* Override any GCC internal prototype to avoid an error.
8385 Use char because int might match the return type of a GCC
8386 builtin and then its argument prototype would still apply. */
8387#ifdef __cplusplus
8388extern "C"
8389#endif
8390char inflate ();
8391int
8392main ()
8393{
8394return inflate ();
8395 ;
8396 return 0;
8397}
8398_ACEOF
8399if ac_fn_cxx_try_link "$LINENO"; then :
8400 ac_cv_lib_z_inflate=yes
8401else
8402 ac_cv_lib_z_inflate=no
8403fi
8404rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406LIBS=$ac_check_lib_save_LIBS
8407fi
8408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
8409$as_echo "$ac_cv_lib_z_inflate" >&6; }
8410if test "x$ac_cv_lib_z_inflate" = xyes; then :
8411 LIBS="$LIBS -lz"
8412else
8413 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8157 8414
8158fi 8415fi
8159 8416
8160 8417
8161fi 8418fi
8162 8419
8163 8420
8164if test "x$openssl_include" != x; then 8421if test "x$openssl_include" != x; then
8165 CXXFLAGS="$CXXFLAGS -I$openssl_include" 8422 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8423fi
8424
8425# Check whether --enable-threads was given.
8426if test "${enable_threads+set}" = set; then :
8427 enableval=$enable_threads; try_threads=$enableval
8428else
8429 try_threads=yes
8430
8431fi
8432
8433
8434if test "x$try_threads" = xyes; then
8435 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8436if test "x$ac_cv_header_pthread_h" = xyes; then :
8437
8438 LIBS="$LIBS -lpthread"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440/* end confdefs.h. */
8441#include <pthread.h>
8442int
8443main ()
8444{
8445pthread_t id; pthread_create (&id, 0, 0, 0);
8446 ;
8447 return 0;
8448}
8449_ACEOF
8450if ac_fn_cxx_try_compile "$LINENO"; then :
8451
8452cat >>confdefs.h <<_ACEOF
8453#define ENABLE_PTHREADS 1
8454_ACEOF
8455
8456
8457fi
8458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8459
8460fi
8461
8462
8166fi 8463fi
8167 8464
8168# Check whether --enable-static-daemon was given. 8465# Check whether --enable-static-daemon was given.
8169if test "${enable_static_daemon+set}" = set; then : 8466if test "${enable_static_daemon+set}" = set; then :
8170 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 8467 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8172fi 8469fi
8173 8470
8174 8471
8175 8472
8176 8473
8177
8178
8179if test x$rohc = xtrue; then 8474 if test x$rohc = xtrue; then
8180 ROHC_TRUE= 8475 ROHC_TRUE=
8181 ROHC_FALSE='#' 8476 ROHC_FALSE='#'
8182else 8477else
8183 ROHC_TRUE='#' 8478 ROHC_TRUE='#'
8184 ROHC_FALSE= 8479 ROHC_FALSE=
8239 8534
8240# Check whether --enable-dns was given. 8535# Check whether --enable-dns was given.
8241if test "${enable_dns+set}" = set; then : 8536if test "${enable_dns+set}" = set; then :
8242 enableval=$enable_dns; 8537 enableval=$enable_dns;
8243 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 8538 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
8244if test "x$ac_cv_header_gmp_h" = x""yes; then : 8539if test "x$ac_cv_header_gmp_h" = xyes; then :
8245 8540
8246else 8541else
8247 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 8542 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5
8248fi 8543fi
8249 8544
8250 8545
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
8252$as_echo_n "checking for main in -lgmp... " >&6; } 8547$as_echo_n "checking for main in -lgmp... " >&6; }
8253if test "${ac_cv_lib_gmp_main+set}" = set; then : 8548if ${ac_cv_lib_gmp_main+:} false; then :
8254 $as_echo_n "(cached) " >&6 8549 $as_echo_n "(cached) " >&6
8255else 8550else
8256 ac_check_lib_save_LIBS=$LIBS 8551 ac_check_lib_save_LIBS=$LIBS
8257LIBS="-lgmp $LIBS" 8552LIBS="-lgmp $LIBS"
8258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 conftest$ac_exeext conftest.$ac_ext 8571 conftest$ac_exeext conftest.$ac_ext
8277LIBS=$ac_check_lib_save_LIBS 8572LIBS=$ac_check_lib_save_LIBS
8278fi 8573fi
8279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
8280$as_echo "$ac_cv_lib_gmp_main" >&6; } 8575$as_echo "$ac_cv_lib_gmp_main" >&6; }
8281if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8576if test "x$ac_cv_lib_gmp_main" = xyes; then :
8282 cat >>confdefs.h <<_ACEOF 8577 cat >>confdefs.h <<_ACEOF
8283#define HAVE_LIBGMP 1 8578#define HAVE_LIBGMP 1
8284_ACEOF 8579_ACEOF
8285 8580
8286 LIBS="-lgmp $LIBS" 8581 LIBS="-lgmp $LIBS"
8296_ACEOF 8591_ACEOF
8297 8592
8298 8593
8299 8594
8300fi 8595fi
8596
8597
8598RSA=3072
8599# Check whether --enable-rsa-length was given.
8600if test "${enable_rsa_length+set}" = set; then :
8601 enableval=$enable_rsa_length; RSA=$enableval
8602
8603fi
8604
8605
8606cat >>confdefs.h <<_ACEOF
8607#define RSABITS $RSA
8608_ACEOF
8301 8609
8302 8610
8303HMAC=12 8611HMAC=12
8304# Check whether --enable-hmac-length was given. 8612# Check whether --enable-hmac-length was given.
8305if test "${enable_hmac_length+set}" = set; then : 8613if test "${enable_hmac_length+set}" = set; then :
8333 8641
8334fi 8642fi
8335 8643
8336 8644
8337cat >>confdefs.h <<_ACEOF 8645cat >>confdefs.h <<_ACEOF
8338#define MAX_MTU $MTU + 14 8646#define MAX_MTU ($MTU + 14)
8339_ACEOF 8647_ACEOF
8340 8648
8341 8649
8342COMPRESS=1 8650COMPRESS=1
8343# Check whether --enable-compression was given. 8651# Check whether --enable-compression was given.
8355 8663
8356 8664
8357CIPHER=aes_128_cbc 8665CIPHER=aes_128_cbc
8358# Check whether --enable-cipher was given. 8666# Check whether --enable-cipher was given.
8359if test "${enable_cipher+set}" = set; then : 8667if test "${enable_cipher+set}" = set; then :
8360 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 8668 enableval=$enable_cipher; if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
8361 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 8669 if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_cbc ; fi
8362 if test "x$enableval" = xaes-192; then CIPHER=aes_192_cbc; fi 8670 if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_cbc ; fi
8363 if test "x$enableval" = xaes-256; then CIPHER=aes_256_cbc; fi 8671 if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_cbc ; fi
8672 if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_cbc; fi
8673 if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_cbc; fi
8364 8674
8365fi 8675fi
8366 8676
8367 8677
8368cat >>confdefs.h <<_ACEOF 8678cat >>confdefs.h <<_ACEOF
8369#define ENABLE_CIPHER EVP_${CIPHER} 8679#define ENABLE_CIPHER EVP_${CIPHER}
8370_ACEOF 8680_ACEOF
8371 8681
8372 8682
8373DIGEST=ripemd160 8683DIGEST=sha1
8374# Check whether --enable-digest was given. 8684# Check whether --enable-digest was given.
8375if test "${enable_digest+set}" = set; then : 8685if test "${enable_digest+set}" = set; then :
8686 enableval=$enable_digest; if test "x$enableval" = xwhirlpool; then DIGEST=whirlpool; fi
8376 enableval=$enable_digest; if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi 8687 if test "x$enableval" = xsha512 ; then DIGEST=sha512 ; fi
8377 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi 8688 if test "x$enableval" = xsha256 ; then DIGEST=sha256 ; fi
8378 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 8689 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
8379 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 8690 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
8380 if test "x$enableval" = xmd5 ; then DIGEST=md5 ; fi
8381 if test "x$enableval" = xmd4 ; then DIGEST=md4 ; fi
8382 8691
8383fi 8692fi
8384 8693
8385 8694
8386cat >>confdefs.h <<_ACEOF 8695cat >>confdefs.h <<_ACEOF
8387#define ENABLE_DIGEST EVP_${DIGEST} 8696#define ENABLE_DIGEST EVP_${DIGEST}
8697_ACEOF
8698
8699
8700AUTH=sha512
8701# Check whether --enable-auth-digest was given.
8702if test "${enable_auth_digest+set}" = set; then :
8703 enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi
8704 if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi
8705 if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi
8706
8707fi
8708
8709
8710cat >>confdefs.h <<_ACEOF
8711#define ENABLE_AUTH EVP_${AUTH}
8388_ACEOF 8712_ACEOF
8389 8713
8390 8714
8391if $CXX -v --help 2>&1 | grep -q fno-rtti; then 8715if $CXX -v --help 2>&1 | grep -q fno-rtti; then
8392 CXXFLAGS="$CXXFLAGS -fno-rtti" 8716 CXXFLAGS="$CXXFLAGS -fno-rtti"
8465 t end 8789 t end
8466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8790 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8467 :end' >>confcache 8791 :end' >>confcache
8468if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8792if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8469 if test -w "$cache_file"; then 8793 if test -w "$cache_file"; then
8470 test "x$cache_file" != "x/dev/null" && 8794 if test "x$cache_file" != "x/dev/null"; then
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8795 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8472$as_echo "$as_me: updating cache $cache_file" >&6;} 8796$as_echo "$as_me: updating cache $cache_file" >&6;}
8797 if test ! -f "$cache_file" || test -h "$cache_file"; then
8473 cat confcache >$cache_file 8798 cat confcache >"$cache_file"
8799 else
8800 case $cache_file in #(
8801 */* | ?:*)
8802 mv -f confcache "$cache_file"$$ &&
8803 mv -f "$cache_file"$$ "$cache_file" ;; #(
8804 *)
8805 mv -f confcache "$cache_file" ;;
8806 esac
8807 fi
8808 fi
8474 else 8809 else
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8810 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8476$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8811$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8477 fi 8812 fi
8478fi 8813fi
8499LIBOBJS=$ac_libobjs 8834LIBOBJS=$ac_libobjs
8500 8835
8501LTLIBOBJS=$ac_ltlibobjs 8836LTLIBOBJS=$ac_ltlibobjs
8502 8837
8503 8838
8839 if test -n "$EXEEXT"; then
8840 am__EXEEXT_TRUE=
8841 am__EXEEXT_FALSE='#'
8842else
8843 am__EXEEXT_TRUE='#'
8844 am__EXEEXT_FALSE=
8845fi
8846
8504if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8847if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8505 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8848 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8506Usually this means the macro was only invoked conditionally." "$LINENO" 5 8849Usually this means the macro was only invoked conditionally." "$LINENO" 5
8507fi 8850fi
8508if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8851if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8520if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8863if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8521 as_fn_error $? "conditional \"ROHC\" was never defined. 8864 as_fn_error $? "conditional \"ROHC\" was never defined.
8522Usually this means the macro was only invoked conditionally." "$LINENO" 5 8865Usually this means the macro was only invoked conditionally." "$LINENO" 5
8523fi 8866fi
8524 8867
8525: ${CONFIG_STATUS=./config.status} 8868: "${CONFIG_STATUS=./config.status}"
8526ac_write_fail=0 8869ac_write_fail=0
8527ac_clean_files_save=$ac_clean_files 8870ac_clean_files_save=$ac_clean_files
8528ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8871ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8529{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8872{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8530$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8873$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8621# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8964# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8622# splitting by setting IFS to empty value.) 8965# splitting by setting IFS to empty value.)
8623IFS=" "" $as_nl" 8966IFS=" "" $as_nl"
8624 8967
8625# Find who we are. Look in the path if we contain no directory separator. 8968# Find who we are. Look in the path if we contain no directory separator.
8969as_myself=
8626case $0 in #(( 8970case $0 in #((
8627 *[\\/]* ) as_myself=$0 ;; 8971 *[\\/]* ) as_myself=$0 ;;
8628 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629for as_dir in $PATH 8973for as_dir in $PATH
8630do 8974do
8816 if ln -s conf$$.file conf$$ 2>/dev/null; then 9160 if ln -s conf$$.file conf$$ 2>/dev/null; then
8817 as_ln_s='ln -s' 9161 as_ln_s='ln -s'
8818 # ... but there are two gotchas: 9162 # ... but there are two gotchas:
8819 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8820 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8821 # In both cases, we have to default to `cp -p'. 9165 # In both cases, we have to default to `cp -pR'.
8822 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9166 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8823 as_ln_s='cp -p' 9167 as_ln_s='cp -pR'
8824 elif ln conf$$.file conf$$ 2>/dev/null; then 9168 elif ln conf$$.file conf$$ 2>/dev/null; then
8825 as_ln_s=ln 9169 as_ln_s=ln
8826 else 9170 else
8827 as_ln_s='cp -p' 9171 as_ln_s='cp -pR'
8828 fi 9172 fi
8829else 9173else
8830 as_ln_s='cp -p' 9174 as_ln_s='cp -pR'
8831fi 9175fi
8832rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9176rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8833rmdir conf$$.dir 2>/dev/null 9177rmdir conf$$.dir 2>/dev/null
8834 9178
8835 9179
8885else 9229else
8886 test -d ./-p && rmdir ./-p 9230 test -d ./-p && rmdir ./-p
8887 as_mkdir_p=false 9231 as_mkdir_p=false
8888fi 9232fi
8889 9233
8890if test -x / >/dev/null 2>&1; then 9234
9235# as_fn_executable_p FILE
9236# -----------------------
9237# Test if FILE is an executable regular file.
9238as_fn_executable_p ()
9239{
9240 test -f "$1" && test -x "$1"
9241} # as_fn_executable_p
8891 as_test_x='test -x' 9242as_test_x='test -x'
8892else 9243as_executable_p=as_fn_executable_p
8893 if ls -dL / >/dev/null 2>&1; then
8894 as_ls_L_option=L
8895 else
8896 as_ls_L_option=
8897 fi
8898 as_test_x='
8899 eval sh -c '\''
8900 if test -d "$1"; then
8901 test -d "$1/.";
8902 else
8903 case $1 in #(
8904 -*)set "./$1";;
8905 esac;
8906 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8907 ???[sx]*):;;*)false;;esac;fi
8908 '\'' sh
8909 '
8910fi
8911as_executable_p=$as_test_x
8912 9244
8913# Sed expression to map a string onto a valid CPP name. 9245# Sed expression to map a string onto a valid CPP name.
8914as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9246as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8915 9247
8916# Sed expression to map a string onto a valid variable name. 9248# Sed expression to map a string onto a valid variable name.
8928# Save the log message, to keep $0 and so on meaningful, and to 9260# Save the log message, to keep $0 and so on meaningful, and to
8929# report actual input values of CONFIG_FILES etc. instead of their 9261# report actual input values of CONFIG_FILES etc. instead of their
8930# values after options handling. 9262# values after options handling.
8931ac_log=" 9263ac_log="
8932This file was extended by $as_me, which was 9264This file was extended by $as_me, which was
8933generated by GNU Autoconf 2.67. Invocation command line was 9265generated by GNU Autoconf 2.69. Invocation command line was
8934 9266
8935 CONFIG_FILES = $CONFIG_FILES 9267 CONFIG_FILES = $CONFIG_FILES
8936 CONFIG_HEADERS = $CONFIG_HEADERS 9268 CONFIG_HEADERS = $CONFIG_HEADERS
8937 CONFIG_LINKS = $CONFIG_LINKS 9269 CONFIG_LINKS = $CONFIG_LINKS
8938 CONFIG_COMMANDS = $CONFIG_COMMANDS 9270 CONFIG_COMMANDS = $CONFIG_COMMANDS
8994_ACEOF 9326_ACEOF
8995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9327cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8996ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9328ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8997ac_cs_version="\\ 9329ac_cs_version="\\
8998config.status 9330config.status
8999configured by $0, generated by GNU Autoconf 2.67, 9331configured by $0, generated by GNU Autoconf 2.69,
9000 with options \\"\$ac_cs_config\\" 9332 with options \\"\$ac_cs_config\\"
9001 9333
9002Copyright (C) 2010 Free Software Foundation, Inc. 9334Copyright (C) 2012 Free Software Foundation, Inc.
9003This config.status script is free software; the Free Software Foundation 9335This config.status script is free software; the Free Software Foundation
9004gives unlimited permission to copy, distribute and modify it." 9336gives unlimited permission to copy, distribute and modify it."
9005 9337
9006ac_pwd='$ac_pwd' 9338ac_pwd='$ac_pwd'
9007srcdir='$srcdir' 9339srcdir='$srcdir'
9008INSTALL='$INSTALL' 9340INSTALL='$INSTALL'
9341MKDIR_P='$MKDIR_P'
9009AWK='$AWK' 9342AWK='$AWK'
9010test -n "\$AWK" || AWK=awk 9343test -n "\$AWK" || AWK=awk
9011_ACEOF 9344_ACEOF
9012 9345
9013cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9087fi 9420fi
9088 9421
9089_ACEOF 9422_ACEOF
9090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9423cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9091if \$ac_cs_recheck; then 9424if \$ac_cs_recheck; then
9092 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9425 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9093 shift 9426 shift
9094 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9427 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9095 CONFIG_SHELL='$SHELL' 9428 CONFIG_SHELL='$SHELL'
9096 export CONFIG_SHELL 9429 export CONFIG_SHELL
9097 exec "\$@" 9430 exec "\$@"
9138 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9471 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9139 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9472 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9140 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9473 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9141 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9474 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9142 9475
9143 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9476 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9144 esac 9477 esac
9145done 9478done
9146 9479
9147 9480
9148# If the user did not use the arguments to specify the items to instantiate, 9481# If the user did not use the arguments to specify the items to instantiate,
9161# Hook for its removal unless debugging. 9494# Hook for its removal unless debugging.
9162# Note that there is a small window in which the directory will not be cleaned: 9495# Note that there is a small window in which the directory will not be cleaned:
9163# after its creation but before its name has been assigned to `$tmp'. 9496# after its creation but before its name has been assigned to `$tmp'.
9164$debug || 9497$debug ||
9165{ 9498{
9166 tmp= 9499 tmp= ac_tmp=
9167 trap 'exit_status=$? 9500 trap 'exit_status=$?
9501 : "${ac_tmp:=$tmp}"
9168 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9502 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9169' 0 9503' 0
9170 trap 'as_fn_exit 1' 1 2 13 15 9504 trap 'as_fn_exit 1' 1 2 13 15
9171} 9505}
9172# Create a (secure) tmp directory for tmp files. 9506# Create a (secure) tmp directory for tmp files.
9173 9507
9174{ 9508{
9175 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9509 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9176 test -n "$tmp" && test -d "$tmp" 9510 test -d "$tmp"
9177} || 9511} ||
9178{ 9512{
9179 tmp=./conf$$-$RANDOM 9513 tmp=./conf$$-$RANDOM
9180 (umask 077 && mkdir "$tmp") 9514 (umask 077 && mkdir "$tmp")
9181} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9515} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9516ac_tmp=$tmp
9182 9517
9183# Set up the scripts for CONFIG_FILES section. 9518# Set up the scripts for CONFIG_FILES section.
9184# No need to generate them if there are no CONFIG_FILES. 9519# No need to generate them if there are no CONFIG_FILES.
9185# This happens for instance with `./config.status config.h'. 9520# This happens for instance with `./config.status config.h'.
9186if test -n "$CONFIG_FILES"; then 9521if test -n "$CONFIG_FILES"; then
9198 ac_cs_awk_cr='\\r' 9533 ac_cs_awk_cr='\\r'
9199else 9534else
9200 ac_cs_awk_cr=$ac_cr 9535 ac_cs_awk_cr=$ac_cr
9201fi 9536fi
9202 9537
9203echo 'BEGIN {' >"$tmp/subs1.awk" && 9538echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9204_ACEOF 9539_ACEOF
9205 9540
9206 9541
9207{ 9542{
9208 echo "cat >conf$$subs.awk <<_ACEOF" && 9543 echo "cat >conf$$subs.awk <<_ACEOF" &&
9226 fi 9561 fi
9227done 9562done
9228rm -f conf$$subs.sh 9563rm -f conf$$subs.sh
9229 9564
9230cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9565cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9231cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9566cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9232_ACEOF 9567_ACEOF
9233sed -n ' 9568sed -n '
9234h 9569h
9235s/^/S["/; s/!.*/"]=/ 9570s/^/S["/; s/!.*/"]=/
9236p 9571p
9274} 9609}
9275' >>$CONFIG_STATUS || ac_write_fail=1 9610' >>$CONFIG_STATUS || ac_write_fail=1
9276rm -f conf$$subs.awk 9611rm -f conf$$subs.awk
9277cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9612cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9278_ACAWK 9613_ACAWK
9279cat >>"\$tmp/subs1.awk" <<_ACAWK && 9614cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9280 for (key in S) S_is_set[key] = 1 9615 for (key in S) S_is_set[key] = 1
9281 FS = "" 9616 FS = ""
9282 9617
9283} 9618}
9284{ 9619{
9306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9641cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9307if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9642if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9308 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9643 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9309else 9644else
9310 cat 9645 cat
9311fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9646fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9312 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9647 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9313_ACEOF 9648_ACEOF
9314 9649
9315# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9650# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9316# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9651# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9340 9675
9341# Set up the scripts for CONFIG_HEADERS section. 9676# Set up the scripts for CONFIG_HEADERS section.
9342# No need to generate them if there are no CONFIG_HEADERS. 9677# No need to generate them if there are no CONFIG_HEADERS.
9343# This happens for instance with `./config.status Makefile'. 9678# This happens for instance with `./config.status Makefile'.
9344if test -n "$CONFIG_HEADERS"; then 9679if test -n "$CONFIG_HEADERS"; then
9345cat >"$tmp/defines.awk" <<\_ACAWK || 9680cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9346BEGIN { 9681BEGIN {
9347_ACEOF 9682_ACEOF
9348 9683
9349# Transform confdefs.h into an awk script `defines.awk', embedded as 9684# Transform confdefs.h into an awk script `defines.awk', embedded as
9350# here-document in config.status, that substitutes the proper values into 9685# here-document in config.status, that substitutes the proper values into
9352 9687
9353# Create a delimiter string that does not exist in confdefs.h, to ease 9688# Create a delimiter string that does not exist in confdefs.h, to ease
9354# handling of long lines. 9689# handling of long lines.
9355ac_delim='%!_!# ' 9690ac_delim='%!_!# '
9356for ac_last_try in false false :; do 9691for ac_last_try in false false :; do
9357 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9692 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9358 if test -z "$ac_t"; then 9693 if test -z "$ac_tt"; then
9359 break 9694 break
9360 elif $ac_last_try; then 9695 elif $ac_last_try; then
9361 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9696 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9362 else 9697 else
9363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9698 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9454 case $ac_tag in 9789 case $ac_tag in
9455 :[FHLC]) ac_mode=$ac_tag; continue;; 9790 :[FHLC]) ac_mode=$ac_tag; continue;;
9456 esac 9791 esac
9457 case $ac_mode$ac_tag in 9792 case $ac_mode$ac_tag in
9458 :[FHL]*:*);; 9793 :[FHL]*:*);;
9459 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9794 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9460 :[FH]-) ac_tag=-:-;; 9795 :[FH]-) ac_tag=-:-;;
9461 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9796 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9462 esac 9797 esac
9463 ac_save_IFS=$IFS 9798 ac_save_IFS=$IFS
9464 IFS=: 9799 IFS=:
9473 :[FH]) 9808 :[FH])
9474 ac_file_inputs= 9809 ac_file_inputs=
9475 for ac_f 9810 for ac_f
9476 do 9811 do
9477 case $ac_f in 9812 case $ac_f in
9478 -) ac_f="$tmp/stdin";; 9813 -) ac_f="$ac_tmp/stdin";;
9479 *) # Look for the file first in the build tree, then in the source tree 9814 *) # Look for the file first in the build tree, then in the source tree
9480 # (if the path is not absolute). The absolute path cannot be DOS-style, 9815 # (if the path is not absolute). The absolute path cannot be DOS-style,
9481 # because $ac_f cannot contain `:'. 9816 # because $ac_f cannot contain `:'.
9482 test -f "$ac_f" || 9817 test -f "$ac_f" ||
9483 case $ac_f in 9818 case $ac_f in
9484 [\\/$]*) false;; 9819 [\\/$]*) false;;
9485 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9820 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9486 esac || 9821 esac ||
9487 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 9822 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9488 esac 9823 esac
9489 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9824 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9490 as_fn_append ac_file_inputs " '$ac_f'" 9825 as_fn_append ac_file_inputs " '$ac_f'"
9491 done 9826 done
9492 9827
9508 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9509 *) ac_sed_conf_input=$configure_input;; 9844 *) ac_sed_conf_input=$configure_input;;
9510 esac 9845 esac
9511 9846
9512 case $ac_tag in 9847 case $ac_tag in
9513 *:-:* | *:-) cat >"$tmp/stdin" \ 9848 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9515 esac 9850 esac
9516 ;; 9851 ;;
9517 esac 9852 esac
9518 9853
9519 ac_dir=`$as_dirname -- "$ac_file" || 9854 ac_dir=`$as_dirname -- "$ac_file" ||
9583 9918
9584 case $INSTALL in 9919 case $INSTALL in
9585 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9586 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9587 esac 9922 esac
9923 ac_MKDIR_P=$MKDIR_P
9924 case $MKDIR_P in
9925 [\\/$]* | ?:[\\/]* ) ;;
9926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9927 esac
9588_ACEOF 9928_ACEOF
9589 9929
9590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9591# If the template does not know about datarootdir, expand it. 9931# If the template does not know about datarootdir, expand it.
9592# FIXME: This hack should be removed a few years after 2.60. 9932# FIXME: This hack should be removed a few years after 2.60.
9637s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9977s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9638s&@builddir@&$ac_builddir&;t t 9978s&@builddir@&$ac_builddir&;t t
9639s&@abs_builddir@&$ac_abs_builddir&;t t 9979s&@abs_builddir@&$ac_abs_builddir&;t t
9640s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9980s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9641s&@INSTALL@&$ac_INSTALL&;t t 9981s&@INSTALL@&$ac_INSTALL&;t t
9982s&@MKDIR_P@&$ac_MKDIR_P&;t t
9642$ac_datarootdir_hack 9983$ac_datarootdir_hack
9643" 9984"
9644eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9985eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9986 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9646 9987
9647test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9988test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9648 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9989 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9991 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9651which seems to be undefined. Please make sure it is defined" >&5 9993which seems to be undefined. Please make sure it is defined" >&5
9652$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9994$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9653which seems to be undefined. Please make sure it is defined" >&2;} 9995which seems to be undefined. Please make sure it is defined" >&2;}
9654 9996
9655 rm -f "$tmp/stdin" 9997 rm -f "$ac_tmp/stdin"
9656 case $ac_file in 9998 case $ac_file in
9657 -) cat "$tmp/out" && rm -f "$tmp/out";; 9999 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9658 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10000 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9659 esac \ 10001 esac \
9660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9661 ;; 10003 ;;
9662 :H) 10004 :H)
9663 # 10005 #
9664 # CONFIG_HEADER 10006 # CONFIG_HEADER
9665 # 10007 #
9666 if test x"$ac_file" != x-; then 10008 if test x"$ac_file" != x-; then
9667 { 10009 {
9668 $as_echo "/* $configure_input */" \ 10010 $as_echo "/* $configure_input */" \
9669 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9670 } >"$tmp/config.h" \ 10012 } >"$ac_tmp/config.h" \
9671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9672 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10014 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10015 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9674$as_echo "$as_me: $ac_file is unchanged" >&6;} 10016$as_echo "$as_me: $ac_file is unchanged" >&6;}
9675 else 10017 else
9676 rm -f "$ac_file" 10018 rm -f "$ac_file"
9677 mv "$tmp/config.h" "$ac_file" \ 10019 mv "$ac_tmp/config.h" "$ac_file" \
9678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9679 fi 10021 fi
9680 else 10022 else
9681 $as_echo "/* $configure_input */" \ 10023 $as_echo "/* $configure_input */" \
9682 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9683 || as_fn_error $? "could not create -" "$LINENO" 5 10025 || as_fn_error $? "could not create -" "$LINENO" 5
9684 fi 10026 fi
9685# Compute "$ac_file"'s index in $config_headers. 10027# Compute "$ac_file"'s index in $config_headers.
10028_am_arg="$ac_file"
9686_am_stamp_count=1 10029_am_stamp_count=1
9687for _am_header in $config_headers :; do 10030for _am_header in $config_headers :; do
9688 case $_am_header in 10031 case $_am_header in
9689 "$ac_file" | "$ac_file":* ) 10032 $_am_arg | $_am_arg:* )
9690 break ;; 10033 break ;;
9691 * ) 10034 * )
9692 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 10035 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9693 esac 10036 esac
9694done 10037done
9695echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || 10038echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9696$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10039$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9697 X"$ac_file" : 'X\(//\)[^/]' \| \ 10040 X"$_am_arg" : 'X\(//\)[^/]' \| \
9698 X"$ac_file" : 'X\(//\)$' \| \ 10041 X"$_am_arg" : 'X\(//\)$' \| \
9699 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10042 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9700$as_echo X"$ac_file" | 10043$as_echo X"$_am_arg" |
9701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9702 s//\1/ 10045 s//\1/
9703 q 10046 q
9704 } 10047 }
9705 /^X\(\/\/\)[^/].*/{ 10048 /^X\(\/\/\)[^/].*/{
9818 done 10161 done
9819 fi 10162 fi
9820 ;; 10163 ;;
9821 esac 10164 esac
9822 done ;; 10165 done ;;
9823 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 10166 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10167 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10168 # are listed without --file. Let's play safe and only enable the eval
10169 # if we detect the quoting.
10170 case $CONFIG_FILES in
10171 *\'*) eval set x "$CONFIG_FILES" ;;
10172 *) set x $CONFIG_FILES ;;
10173 esac
10174 shift
10175 for mf
10176 do
9824 # Strip MF so we end up with the name of the file. 10177 # Strip MF so we end up with the name of the file.
9825 mf=`echo "$mf" | sed -e 's/:.*$//'` 10178 mf=`echo "$mf" | sed -e 's/:.*$//'`
9826 # Check whether this is an Automake generated Makefile or not. 10179 # Check whether this is an Automake generated Makefile or not.
9827 # We used to match only the files named `Makefile.in', but 10180 # We used to match only the files named `Makefile.in', but
9828 # some people rename them; so instead we look at the file content. 10181 # some people rename them; so instead we look at the file content.
9829 # Grep'ing the first line is not enough: some people post-process 10182 # Grep'ing the first line is not enough: some people post-process
9830 # each Makefile.in and add a new line on top of each file to say so. 10183 # each Makefile.in and add a new line on top of each file to say so.
9831 # So let's grep whole file. 10184 # Grep'ing the whole file is not good either: AIX grep has a line
10185 # limit of 2048, but all sed's we know have understand at least 4000.
9832 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 10186 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9833 dirpart=`$as_dirname -- "$mf" || 10187 dirpart=`$as_dirname -- "$mf" ||
9834$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10188$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9835 X"$mf" : 'X\(//\)[^/]' \| \ 10189 X"$mf" : 'X\(//\)[^/]' \| \
9836 X"$mf" : 'X\(//\)$' \| \ 10190 X"$mf" : 'X\(//\)$' \| \
9837 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10191 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9838$as_echo X"$mf" | 10192$as_echo X"$mf" |
9851 /^X\(\/\).*/{ 10205 /^X\(\/\).*/{
9852 s//\1/ 10206 s//\1/
9853 q 10207 q
9854 } 10208 }
9855 s/.*/./; q'` 10209 s/.*/./; q'`
9856 else 10210 else
9857 continue 10211 continue
9858 fi 10212 fi
9859 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 10213 # Extract the definition of DEPDIR, am__include, and am__quote
9860 # Extract the definition of DEP_FILES from the Makefile without 10214 # from the Makefile without running `make'.
9861 # running `make'.
9862 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 10215 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9863 test -z "$DEPDIR" && continue 10216 test -z "$DEPDIR" && continue
10217 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10218 test -z "am__include" && continue
10219 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9864 # When using ansi2knr, U may be empty or an underscore; expand it 10220 # When using ansi2knr, U may be empty or an underscore; expand it
9865 U=`sed -n -e '/^U = / s///p' < "$mf"` 10221 U=`sed -n 's/^U = //p' < "$mf"`
9866 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 10222 # Find all dependency output files, they are included files with
9867 # We invoke sed twice because it is the simplest approach to 10223 # $(DEPDIR) in their names. We invoke sed twice because it is the
9868 # changing $(DEPDIR) to its actual value in the expansion. 10224 # simplest approach to changing $(DEPDIR) to its actual value in the
10225 # expansion.
9869 for file in `sed -n -e ' 10226 for file in `sed -n "
9870 /^DEP_FILES = .*\\\\$/ { 10227 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9871 s/^DEP_FILES = //
9872 :loop
9873 s/\\\\$//
9874 p
9875 n
9876 /\\\\$/ b loop
9877 p
9878 }
9879 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9880 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10228 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9881 # Make sure the directory exists. 10229 # Make sure the directory exists.
9882 test -f "$dirpart/$file" && continue 10230 test -f "$dirpart/$file" && continue
9883 fdir=`$as_dirname -- "$file" || 10231 fdir=`$as_dirname -- "$file" ||
9884$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10232$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9885 X"$file" : 'X\(//\)[^/]' \| \ 10233 X"$file" : 'X\(//\)[^/]' \| \
9886 X"$file" : 'X\(//\)$' \| \ 10234 X"$file" : 'X\(//\)$' \| \
9887 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10235 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9888$as_echo X"$file" | 10236$as_echo X"$file" |
9901 /^X\(\/\).*/{ 10249 /^X\(\/\).*/{
9902 s//\1/ 10250 s//\1/
9903 q 10251 q
9904 } 10252 }
9905 s/.*/./; q'` 10253 s/.*/./; q'`
9906 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10254 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9907 # echo "creating $dirpart/$file" 10255 # echo "creating $dirpart/$file"
9908 echo '# dummy' > "$dirpart/$file" 10256 echo '# dummy' > "$dirpart/$file"
10257 done
9909 done 10258 done
9910done 10259}
9911 ;; 10260 ;;
9912 10261
9913 esac 10262 esac
9914done # for ac_tag 10263done # for ac_tag
9915 10264
9951echo 10300echo
9952echo "***" 10301echo "***"
9953echo "*** Configuration Summary" 10302echo "*** Configuration Summary"
9954echo "***" 10303echo "***"
9955echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" 10304echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
10305echo "*** RSA size: $RSA"
9956echo "*** Cipher used: $CIPHER" 10306echo "*** Cipher used: $CIPHER"
9957echo "*** Digest used: $DIGEST" 10307echo "*** Digest used: $DIGEST"
10308echo "*** Authdigest: $AUTH"
9958echo "*** HMAC length: $HMAC" 10309echo "*** HMAC length: $HMAC"
9959echo "*** RAND used: $RAND" 10310echo "*** RAND used: $RAND"
9960echo "*** Max. MTU: $MTU" 10311echo "*** Max. MTU: $MTU"
9961 10312
9962echo "***" 10313echo "***"
9963echo "*** Enable options:" 10314echo "*** Enable options:"
9964grep ENABLE_ config.h | sed -e 's/^/*** /' 10315grep ENABLE_ config.h | sed -e 's/^/*** /'
9965 10316
9966if test "x$DIGEST" = xmd4; then
9967echo "***"
9968echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
9969fi
9970
9971if test "$HMAC" -lt 12; then 10317if test "$HMAC" -lt 12; then
9972echo "***" 10318echo "***"
9973echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10319echo "*** WARNING: The hmac length you have chosen ($HMAC) is quite insecure"
9974fi 10320fi
9975 10321
9976if test "$RAND" -lt 8; then 10322if test "$RAND" -lt 8; then
9977echo "***" 10323echo "***"
9978echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" 10324echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines