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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines