** Socks-Trans Patch ** This file is a patch for SOCKS-based IPv6/IPv4 Translator (Socks-Trans) version 1.3. To apply this patch, you should go to the top directory of socks5-v1.0r10 source tree (where INSTALL and README reside), then do: patch -p < thisFile The building process of Socks Translator is similar to the original Socks5 except that there are several new configuration options. See README.trans included in this patch for details. Please note that Socks5 Translator has somewhat more restrictive license than the original Socks5. Please refer Copyright.trans, which is also included in this patch, for details. Index: Copyright.trans diff -c /dev/null src/socks5/Copyright.trans:1.1.2.4 *** Copyright.trans Fri Aug 20 14:27:13 1999 --- Copyright.trans Mon Aug 16 09:54:22 1999 *************** *** 0 **** --- 1,122 ---- + Copyright (C) 1998 NEC Corporation. All rights reserved. + + License Agreement + + NEC Corporation ("NEC") hereby grants you the use of SOCKS-based + IPv6/IPv4 Translator system (Socks-Trans) version 1.3 ("Software") in + source or binary forms, subject to the following terms and conditions: + + 1. Software + + You acknowledge that the Software is a Beta version which is still + under development and may contain bugs. While NEC intends to + distribute a commercial release of the Software, NEC reserves the + right at any time not to release a commercial release of the Software + or if released, to alter prices, features, specifications, + capabilities, functions, licensing terms, general availability or + other characteristics of the commercial release. + + 2. Grant of License + + NEC hereby grants to you a non-transferable, non-exclusive and + royalty-free license to use, reproduce and modify the Software + solely for the purpose of non-commercial and internal research + and/or evaluation. You shall make no other use of the Software, + including internal business use, without prior written approval of + NEC. + + 3. Modifications + + 3.1 In the event that you discover any defect or bug in the Software, + you will notify NEC in writing of such defect/bug in reasonable + detail. + + 3.2 In the event that you modify any part of the Software, including + addition, deletion or any other changes of the Software + ("Modifications"), you will furnish NEC with such Modifications + in source code and its related documentation which describes at + least (i)your name, (ii)the date of any change, and (iii)what + changes you made. NEC may distribute at its discretion the + Modifications with the furnished documentation. + + 3.3 You may distribute the Modifications you made on your own + responsibility, provided that you include documentation in the + Modifications which describes at least (i)your name, (ii)the date + of any change, (iii)what changes you made and (iv)that the + Modification is derived, directly or indirectly, from the Software + owned and distributed by NEC. In this event you shall promptly + notify NEC by what means you distribute the Modifications. + + 3.4 The use of the Modifications shall be subject to the terms and + conditions set forth in this Agreement. You shall not use the + Modifications for any other purposes than non-commercial and + internal research and/or evaluation set forth in above Section 2. + + 4. Restrictions + + You shall not distribute, transfer, rent, lease, or convey any + copies of the Software or any portions thereof to any third party. + + 5. Rights in Software + + NEC retains ownership, copyright or any other rights in the Software + or sequential versions of the Software made by NEC based on your + comments, suggestions, recommendations, Modifications, etc. NEC + will make reference to such contribution in some appropriate + documentation for the Software at the time of release of a sequential + version of the Software. + + 6. Use of name + + The name of NEC or any of its affiliates shall not be used in any + advertising or publicity pertaining to the use or modification of + this Software without the prior express, written consent of NEC. + + 7. Disclaimer of Warranty + + NEC will not be obliged to make error corrections or bug fixes or + provide you any support with regard to the Software. THIS SOFTWARE + IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + SATISFACTORY QUALITY, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, + TRADE OR PRACTICE. Some jurisdictions do not allow the exclusion + of implied warranties, so the above disclaimer may not apply to you. + IN NO EVENT SHALL NEC OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY + SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + 8. Export Control + + You agree and certify that the Software will not be exported outside + the United States except as authorized and as permitted by the laws + and regulations of the United States. If the Software has been + rightfully obtained outside of the United States, you agree that + you will not re-export the Software, except as permitted by the laws + and regulations of the United States and the laws and regulations + of the jurisdiction in which you obtained the Software. + + 9. Notice to Government End Users. + + If this Software is acquired under the terms of a GSA contract -- + Use, reproduction or disclosure is subject to the restrictions set + forth in the applicable ADP Schedule contract; DoD contract. Use, + duplication or disclosure by the Government is subject to + restrictions set forth in subparagraph (c) (1) (ii) of 252.227- + 7013 Civilian Agency Contract. Use, reproduction, or disclosure is + subject to 52.227-19 (a) through (d) and restrictions set forth in + the accompanying End User License Agreement. + + 10. Termination + + NEC may terminate your license upon notification if you fail to + comply with any of the provisions of this Agreement. In the event + of such termination, you shall immediately destroy all copies, + Modifications or derivative works of the Software. + + 11. Governing Law + + This Agreement shall be governed by the laws of the State of New + York. Index: README.trans diff -c /dev/null src/socks5/README.trans:1.1.2.9 *** README.trans Fri Aug 20 14:27:14 1999 --- README.trans Fri Aug 20 14:19:41 1999 *************** *** 0 **** --- 1,315 ---- + Welcome to the SOCKS-based IPv6/IPv4 Translator world! + + + What is the SOCKS-based IPv6/IPv4 Translator system (Socks-Trans)? + ================================================================== + + Socks-Trans is an advanced SOCKS5 system which has following extended + features: + + + supports IPv6 homogenous communication + + enables a SOCKS server to be used as a translator for + IPv4 and IPv6 mixed heterogenous communications + + The detail of the Socks-Trans are described in following enclosed two + internet-drafts with this package. + + 1. A SOCKS-based IPv6/IPv4 Gateway Mechanism + + 2. SOCKSv5 Protocol Extensions for IPv6/IPv4 Communication Environment + + + + explains the mechanism + of the Socks-Trans. All of described features have been implemented + and verified. + + proposed extensions of current + SOCKSv5 protocol. A part of proposed extensions are implemented. + + Please visit http://www.socks.nec.com/ to see picture supported brief + explanation of the Socks-Trans. + + + Socks-Trans Package + =================== + + Socks-Trans package is a special release. It is a set of patch files + to Socks5-v1.0r9 as a temporary format. From next release, Socks-Trans + package is planed to merge original socks source tree. + + Socks-Trans package has own copyright that is different from original + socks. Please read COPYRIGHT.trans to understand copyright issues. + + + Configuration Parameters + ======================== + + Socks-Trans has following new configuration parameters. For other + parameters, please refer to README and INSTALL documents of original + socks5. + + --enable-ipv6 + Enables IPv6 features. If you omit this option, socks5 tries to + figure out if your system supports IPv6, and enables it automatically + if so. + + --disable-ipv6 + Disables IPv6 feature. Note that this eliminates almost all the + features added to the original socks5. + + --enable-mapped-address + Specifies that your OS supports IPv4-mapped IPv6 address. With this + option, socks5 assumes that you can connect to IPv4 hosts from IPv6 + sockets by specifying so-called IPv4-mapped IPv6 addresses. Since + this feature is described in RFC 2133, and most IPv6 implementations + claim to conform to it, this is the default. + + --disable-mapped-address + Specifies that your OS doesn't support IPv4-mapped IPv6 address. + + --with-ipv6-ping=PATH + Specifies the command name (or pathname) of `ping' program for IPv6. + The default is `ping6'. + + --with-ipv6-traceroute=PATH + Specifies the command name (or pathname) of `traceroute' program for IPv6. + The default is `traceroute6'. + + + Server Configuration File + ========================= + + * A new entry is added to the socks5 server configuration file (socks5.conf). + + filter NAME AUTH CMD SRC-HOST DST-HOST SRC-PORT DST-PORT [USER-LIST] + + NAME Specifies the name of the filter to install. + Currently there is only one filter named `ftpv6', + which translate between normal FTP protocol defined + by RFC 959 and IPv6 enhanced FTP protocol defined + by RFC 1639 (FOOBAR). + + AUTH Specifies list of authentication methods. + It must be a valid authpattern. + + CMD Specifies commands to apply the filter. + It must be a valid commandpattern. + + SRC-HOST Specifies the source or destination host to apply + DST-HOST the filter. It must be a valid hostpattern. + + SRC-PORT Specifies the source or destination port to apply + DST-PORT the filter. It must be a valid portpattern. + + USER-LIST Specifies the list of users to apply the filter. + It must be a valid userpattern. + + See socks5.conf(5) for authpattern, command pattern, etc. + + To enable FTP between IPv4 host and IPv6 host, you should add following + line to your socks5.conf: + + filter ftpv6 - c - - - ftp + + * IPv6 addresses can be specified as hostpattern in the following format: + + ipv6-address/prefix-length + + This matches when the first prefix-len bits of a host IPv6 address + equals to the first prefix-len bits of ipv6-address. For example, + + ::/0 matches to all IPv6 hosts. + fe80::/10 matches to all link-local unicast addresses. + + Note that ipv6-address must be in a valid format. So + + fe80:/10 + + is invalid because `fe80:' is not a valid address specification. + + * Numerical IPv6 address expression can be used in proxypattern by + enclosing it in box brackets as follows: + + socks5 - - 10.1.2.3,[1080::417a],[1080::417b]:1078 + + A colon(:) is used in both a host-port separator and numerical IPv6 + address expression. In order to suppress the ambiguity, box brackets + are necessary to specify numerical IPv6 addresses. + + + Library Configuration File + ========================== + + * Numerical IPv6 address expression can be used in proxypattern by + enclosing it in box brackets. See above for details. + + + Environment Variables + ===================== + + A number of new environment variables are introduced. + + * Variables for Server + + SOCKS5_BINDINTFC_IPV4 [host:port] or [port] + Specifies IPv4 address and port number on which socks5 server runs. + This overrides the setting of SOCKS5_BINDINTFC. + + SOCKS5_BINDINTFC_IPV6 [host:port] or [port] + Specifies IPv6 address and port number on which socks5 server runs. + If host is specified as a numeric address, you must enclose + it with brackets. + This overrides the setting of SOCKS5_BINDINTFC. + + * Variables for Library + + SOCKS5_SERVER_IPV4 [host:port] or [host] + Specifies the default socks5 server when using IPv4 sockets. + This overrides the setting of SOCKS5_SERVER. + + SOCKS5_SERVER_IPV6 [host:port] or [host] + Specifies the default socks5 server when using IPv6 sockets. + If host is specified as a numeric address, you must enclose + it with brackets. + This overrides the setting of SOCKS5_SERVER. + + SOCKS5_ACCEPT_BOTH_AF + If defined, socks5 library assumes the application can handle + both IPv4 and IPv6 addresses, and always return true addresses. + This means, for example, you may get IPv6 address as the result + of getsockname() to IPv4 socket, and vice versa. + The default behavior is to always return address in the same + address family (thus it may not be correct, but your application + won't be astonished by seeing totally unexpected address data). + + + Supported IPv6 Implementation Platforms + ======================================= + + Socks-Trans does NOT depend on IPv6 implementation platforms basically, + because it is an application level program. The Socks-Trans should + work on any IPv6 implementation platforms. + + Each IPv6 implementations has small variety, because detail of the + specification for IPv6 implementation has not completed yet. + + For example, there is no standard method to get IP address information + of a network interface by its logical name. This fact cause following + restrictions to run the Socks-Trans on any implementation platforms. + + + Network interface cannot be specified by name in `interface' lines + in the server configuration file (socks5.conf). It must be + specified by numerical address instead. + + When you connect to hosts on the same subnet, your application + may connect via socks5 server instead of direct connection. + This behavior is similar to original socks5's behavior where + SOCKS5_NONETMASKCHECK is set. + + In order to remove the constrains, implementation-dependent code must + be introduces. Currently, the Socks-Trans has already introduced + implementation dependent code for FreeBSD 2.2.x + KAME IPv6, and it has + verified. + + To run the Socks-Trans without restrictions on the other platforms, + Please see next section for detail. + + + Porting to Other IPv6 Implementation Platforms + ============================================== + + The main implementation-dependent portion in the source code is + the function lsRefreshIntfcAddr6(), defined in lib/confutil.c. This + function scans through each network interface and finds IPv6 addresses + and associated prefix length assigned to them. This function is + heavily implementation dependent because there seems no standard + method (ex. ioctl()) to get those data. + + The porting takes 5 steps: + 1. Add code for your IPv6 implementation to lsRefreshIntfcAddr6(). + Don't forget to enclose the code with appropriate #ifdef. + 2. Add code which figures out your IPv6 implementation type and defines + appropriate symbol, to configure.in. Also add the symbol to acconfig.h. + 3. Run `autoconf' and `autoheader' to rebuild configure script and + include/config.h.in. + 4. Run `configure' and make sure configure script detects your implementation + correctly. Then compile, install and see if everything works right. + 5. If you satisfy the result, and hope your fix will be included in the + next release, please send your fix to socks5-bugs@syl.dl.nec.com. + + + Note to KAME Users + ================== + + Since normally IPv6 libaries are installed under /usr/local/v6/lib, + you should set the library path to environment variable LDFLAGS + before executing configure. + % setenv LDFLAGS -L/usr/local/v6/lib + % ./configure + for csh-like shells) or + % LDFLAGS=-L/usr/local/v6/lib ./configure + for /bin/sh-like shells. + + You may meet with a compilation error while you build the socks5 + shared library (libsocks5_sh.so). You can safely ignore this error if + you don't use runsocks command (in this case you should do 'make -k + install' for installation). If you would like to use runsocks, you + have to build a shared version of libinet6 (see below). + + For runsocks command to work correctly for commands that make use of + libinet6 (such as /usr/local/v6/bin/telnet), you need a shared version + of libinet6. This is needed because socks5 library has to trap some + functions defined in libinet6, and this can be accomplished only if + libinet6 is a shared library. But the current KAME implementation (as + of 19981130 stable release) doesn't provide it by default. + + For those who would like to use runsocks, the following are brief + steps of what to do. (a simple shell script doing step 1 and 2 + automatically is provided as utils/mk_shared_libinet6_for_kame) + + 1. Apply following patch to the Makefile of libinet6 + (.../kit/src/libinet6/Makefile), then `make', `make install'. + This will build libinet6.so.1.0 and install it to /usr/local/v6/lib. + + *** Makefile.org Wed Sep 2 09:43:24 1998 + --- Makefile Fri Oct 23 10:43:37 1998 + *************** + *** 29,34 **** + --- 29,37 ---- + # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. + + + SHLIB_MAJOR=1 + + SHLIB_MINOR=0 + + + .if exists(${.CURDIR}/../Makefile.opsys) + .include "${.CURDIR}/../Makefile.opsys" + .endif + + 2. Rebuild and re-install commands that links libinet6 in order for + them to use the shared version. + + 3. Add installed library to the ldconfig cache. To do this, run + `ldconfig -m /usr/local/v6/lib'. And add /usr/local/v6/lib to + variable `ldconfig_paths' defined in /etc/rc.conf. + + 4. (Re)build and (re)install socks-trans. + + 5. Since socks5's configure script can only find shared libraries + installed in the standard places (which is /usr/lib for FreeBSD), + you should specify the pathname of the library explicitly by + setting LIBINET6_NAME environment variable. Since this variable + will be refered at run time, put + setenv LIBINET6_NAME /usr/local/v6/lib/libinet6.so.1.0 + in ~/.cshrc (for csh-like shells) or, + LIBINET6_NAME=/usr/local/v6/lib/libinet6.so.1.0 + export LIBINET6_NAME + in ~/.profile for /bin/sh-like shells (bash users can put them in + ~/.bashrc). + + + Reporting Bugs + ============== + + To submit problem reports regarding this release, send mail to: + socks5-bugs@socks.nec.com Index: acconfig.h diff -c src/socks5/acconfig.h:1.1.1.4 src/socks5/acconfig.h:1.4.2.4 *** acconfig.h Thu Aug 5 13:20:52 1999 --- acconfig.h Tue Aug 10 17:05:24 1999 *************** *** 49,54 **** --- 49,60 ---- /* define this if you have IPPORT_RESERVED somewhere...usually netinet/in.h */ #undef HAVE_IPPORT_RESERVED + /* define this if you have libident library. */ + #undef HAVE_LIBIDENT + + /* define this if you use shadow passwd file. */ + #undef USE_SHADOW_PASSWD + /* define this to your libc, if it has a version number (/lib/libc.so.1.9) */ #undef LIBC_NAME #undef LIBDGC_NAME *************** *** 56,61 **** --- 62,70 ---- #undef LIBRESOLV_NAME #undef LIBSOCKET_NAME + /* define if SunOS 5.5 */ + #undef USE_SYSTEM_SEMAPHORE + /* define if you want to use threading (if available) */ #undef USE_THREADS *************** *** 67,69 **** --- 76,99 ---- /* Define if the compiler can handle function prototyping */ #undef HAVE_FUNC_PROTOTYPE + + /* define if your system supports IPv6 */ + #undef SUPPORT_IPV6 + + /* define if your system uses KAME IPv6 implementation */ + #undef KAME + + /* define if your system uses PTCPIP (NEC's proprietary implementation of TCP/IP) */ + #undef PTCPIP + + /* define if your system supports IPv4-mapped IPv6 addresses */ + #undef SUPPORT_MAPPED_ADDRESS + + /* define this to the path of your traceroute for IPv6 */ + #undef TROUTE6PROG + + /* define this to the path of your ping for IPv6 */ + #undef PING6PROG + + /* define this according to your libinet6, if any. */ + #undef LIBINET6_NAME Index: configure diff -c src/socks5/configure:1.1.1.7 src/socks5/configure:1.5.2.4 *** configure Thu Aug 5 13:20:54 1999 --- configure Thu Aug 5 17:50:38 1999 *************** *** 43,48 **** --- 43,58 ---- --with-passwd=val Turn on use of passwd file for passwords" ac_help="$ac_help --with-shadow-passwd=val Turn on use of shadow passwd file for passwords" + ac_help="$ac_help + --enable-ipv6 Enable IPv6 support + --disable-ipv6 Disable IPv6 support" + ac_help="$ac_help + --enable-mapped-address Enable IPv4-mapped IPv6 address (default) + --disable-mapped-address Enable IPv4-mapped IPv6 address" + ac_help="$ac_help + --with-ipv6-ping=PATH Specify the pathname of 'ping' program for IPv6" + ac_help="$ac_help + --with-ipv6-traceroute=PATH Specify the pathname of 'traceroute' program for IPv6" # Initialize some variables set by options. # The variables have the same names as the options, with *************** *** 561,567 **** # Extract the first word of "gcc2", so it can be a program name with args. set dummy gcc2; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:565: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 571,577 ---- # Extract the first word of "gcc2", so it can be a program name with args. set dummy gcc2; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:575: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 591,597 **** # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:595: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 601,607 ---- # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:605: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 620,626 **** # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:624: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 630,636 ---- # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:634: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 668,674 **** fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:672: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. --- 678,684 ---- fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 ! echo "configure:682: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. *************** *** 678,688 **** cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then --- 688,698 ---- cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then *************** *** 702,713 **** { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 ! echo "configure:706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 ! echo "configure:711: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 712,723 ---- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 ! echo "configure:716: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 ! echo "configure:721: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 716,722 **** yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no --- 726,732 ---- yes; #endif EOF ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no *************** *** 731,737 **** ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:735: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 741,747 ---- ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 ! echo "configure:745: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 777,790 **** elif test "$OS" = "HP-UX" -a "$use_env_cc" != "yes"; then CFLAGS="-Ae" cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* s5_have_ansi_cc="yes" else --- 787,800 ---- elif test "$OS" = "HP-UX" -a "$use_env_cc" != "yes"; then CFLAGS="-Ae" cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* s5_have_ansi_cc="yes" else *************** *** 801,807 **** # Extract the first word of "c89", so it can be a program name with args. set dummy c89; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:805: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 811,817 ---- # Extract the first word of "c89", so it can be a program name with args. set dummy c89; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:815: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 831,844 **** fi elif test "$OS" = "SunOS" -a "$use_env_cc" != "yes"; then cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* s5_have_ansi_cc="yes" else --- 841,854 ---- fi elif test "$OS" = "SunOS" -a "$use_env_cc" != "yes"; then cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* s5_have_ansi_cc="yes" else *************** *** 854,860 **** # Extract the first word of "acc", so it can be a program name with args. set dummy acc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:858: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 864,870 ---- # Extract the first word of "acc", so it can be a program name with args. set dummy acc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:868: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 885,898 **** fi if test "$savedcc" != "$CC"; then echo "$ac_t""resetting CC to $CC" 1>&6; fi cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cat >> confdefs.h <<\EOF #define HAVE_FUNC_PROTOTYPE 1 --- 895,908 ---- fi if test "$savedcc" != "$CC"; then echo "$ac_t""resetting CC to $CC" 1>&6; fi cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cat >> confdefs.h <<\EOF #define HAVE_FUNC_PROTOTYPE 1 *************** *** 907,913 **** rm -f conftest* echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:911: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= --- 917,923 ---- rm -f conftest* echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 ! echo "configure:921: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= *************** *** 922,934 **** # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 932,944 ---- # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 939,951 **** rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : --- 949,961 ---- rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : *************** *** 969,981 **** if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 ! echo "configure:973: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP --- 979,991 ---- if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 ! echo "configure:983: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP *************** *** 993,999 **** if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA --- 1003,1009 ---- if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA *************** *** 1015,1026 **** fi echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:1019: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:1029: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else --- 1079,1085 ---- ; return 0; } EOF ! if { (eval echo configure:1083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else *************** *** 1090,1110 **** fi echo $ac_n "checking for inline""... $ac_c" 1>&6 ! echo "configure:1094: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else --- 1100,1120 ---- fi echo $ac_n "checking for inline""... $ac_c" 1>&6 ! echo "configure:1104: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else *************** *** 1135,1141 **** # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1139: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1145,1151 ---- # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1149: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1191,1197 **** # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 ! echo "configure:1195: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1201,1207 ---- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 ! echo "configure:1205: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1243,1249 **** # Extract the first word of "makedepend", so it can be a program name with args. set dummy makedepend; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1247: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_MAKED'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1253,1259 ---- # Extract the first word of "makedepend", so it can be a program name with args. set dummy makedepend; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1257: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_MAKED'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1272,1278 **** # Extract the first word of "autoconf", so it can be a program name with args. set dummy autoconf; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1276: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1282,1288 ---- # Extract the first word of "autoconf", so it can be a program name with args. set dummy autoconf; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1286: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1301,1307 **** # Extract the first word of "autoheader", so it can be a program name with args. set dummy autoheader; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1305: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AUTOHDR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 1311,1317 ---- # Extract the first word of "autoheader", so it can be a program name with args. set dummy autoheader; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1315: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AUTOHDR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 1334,1350 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1338: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1344,1360 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1348: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1374,1390 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1378: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1384,1400 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1388: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1414,1430 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1418: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1424,1440 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1428: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1454,1470 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1458: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1464,1480 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1468: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1494,1510 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1498: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1504,1520 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1508: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1534,1550 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1538: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1544,1560 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1548: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1571,1582 **** done echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:1575: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 1581,1592 ---- done echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 ! echo "configure:1585: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 1585,1591 **** struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:1589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else --- 1595,1601 ---- struct tm *tp; ; return 0; } EOF ! if { (eval echo configure:1599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else *************** *** 1606,1617 **** fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1610: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 1616,1627 ---- fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:1620: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 1619,1625 **** #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1629,1635 ---- #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1636,1642 **** if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF --- 1646,1652 ---- if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF *************** *** 1654,1660 **** if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF --- 1664,1670 ---- if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF *************** *** 1675,1681 **** : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --- 1685,1691 ---- : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') *************** *** 1686,1692 **** exit (0); } EOF ! if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else --- 1696,1702 ---- exit (0); } EOF ! if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else *************** *** 1714,1725 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:1718: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> --- 1724,1735 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:1728: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> *************** *** 1727,1733 **** DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:1731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else --- 1737,1743 ---- DIR *dirp = 0; ; return 0; } EOF ! if { (eval echo configure:1741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else *************** *** 1752,1758 **** # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:1756: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1762,1768 ---- # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:1766: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1760,1766 **** ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1781,1787 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 1793,1799 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:1797: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1803,1809 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:1807: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1801,1807 **** ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1822,1828 ---- opendir() ; return 0; } EOF ! if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 1840,1846 **** if test "$OS" != "IRIX"; then echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 ! echo "configure:1844: checking for main in -lsocket" >&5 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1850,1856 ---- if test "$OS" != "IRIX"; then echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 ! echo "configure:1854: checking for main in -lsocket" >&5 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1848,1861 **** ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1858,1871 ---- ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 1883,1889 **** fi echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 ! echo "configure:1887: checking for main in -ldl" >&5 ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1893,1899 ---- fi echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 ! echo "configure:1897: checking for main in -ldl" >&5 ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1891,1904 **** ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1901,1914 ---- ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 1927,1933 **** fi echo $ac_n "checking for main in -ldld""... $ac_c" 1>&6 ! echo "configure:1931: checking for main in -ldld" >&5 ac_lib_var=`echo dld'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1937,1943 ---- fi echo $ac_n "checking for main in -ldld""... $ac_c" 1>&6 ! echo "configure:1941: checking for main in -ldld" >&5 ac_lib_var=`echo dld'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1935,1948 **** ac_save_LIBS="$LIBS" LIBS="-ldld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1945,1958 ---- ac_save_LIBS="$LIBS" LIBS="-ldld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 1970,1976 **** fi echo $ac_n "checking for main in -lsvld""... $ac_c" 1>&6 ! echo "configure:1974: checking for main in -lsvld" >&5 ac_lib_var=`echo svld'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1980,1986 ---- fi echo $ac_n "checking for main in -lsvld""... $ac_c" 1>&6 ! echo "configure:1984: checking for main in -lsvld" >&5 ac_lib_var=`echo svld'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1978,1991 **** ac_save_LIBS="$LIBS" LIBS="-lsvld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1988,2001 ---- ac_save_LIBS="$LIBS" LIBS="-lsvld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2013,2019 **** fi echo $ac_n "checking for setupterm in -ltermcap""... $ac_c" 1>&6 ! echo "configure:2017: checking for setupterm in -ltermcap" >&5 ac_lib_var=`echo termcap'_'setupterm | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2023,2029 ---- fi echo $ac_n "checking for setupterm in -ltermcap""... $ac_c" 1>&6 ! echo "configure:2027: checking for setupterm in -ltermcap" >&5 ac_lib_var=`echo termcap'_'setupterm | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2021,2027 **** ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2042,2048 ---- setupterm() ; return 0; } EOF ! if { (eval echo configure:2046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2051,2057 **** else echo "$ac_t""no" 1>&6 echo $ac_n "checking for setupterm in -lcurses""... $ac_c" 1>&6 ! echo "configure:2055: checking for setupterm in -lcurses" >&5 ac_lib_var=`echo curses'_'setupterm | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2061,2067 ---- else echo "$ac_t""no" 1>&6 echo $ac_n "checking for setupterm in -lcurses""... $ac_c" 1>&6 ! echo "configure:2065: checking for setupterm in -lcurses" >&5 ac_lib_var=`echo curses'_'setupterm | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2059,2065 **** ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2080,2086 ---- setupterm() ; return 0; } EOF ! if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2089,2095 **** else echo "$ac_t""no" 1>&6 echo $ac_n "checking for setupterm in -lncurses""... $ac_c" 1>&6 ! echo "configure:2093: checking for setupterm in -lncurses" >&5 ac_lib_var=`echo ncurses'_'setupterm | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2099,2105 ---- else echo "$ac_t""no" 1>&6 echo $ac_n "checking for setupterm in -lncurses""... $ac_c" 1>&6 ! echo "configure:2103: checking for setupterm in -lncurses" >&5 ac_lib_var=`echo ncurses'_'setupterm | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2097,2103 **** ac_save_LIBS="$LIBS" LIBS="-lncurses $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2118,2124 ---- setupterm() ; return 0; } EOF ! if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2127,2133 **** else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 ! echo "configure:2131: checking for tgetent in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2137,2143 ---- else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 ! echo "configure:2141: checking for tgetent in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2135,2141 **** ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2156,2162 ---- tgetent() ; return 0; } EOF ! if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2165,2171 **** else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 ! echo "configure:2169: checking for tgetent in -lcurses" >&5 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2175,2181 ---- else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 ! echo "configure:2179: checking for tgetent in -lcurses" >&5 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2173,2179 **** ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2194,2200 ---- tgetent() ; return 0; } EOF ! if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2203,2209 **** else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 ! echo "configure:2207: checking for tgetent in -lncurses" >&5 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2213,2219 ---- else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 ! echo "configure:2217: checking for tgetent in -lncurses" >&5 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2211,2217 **** ac_save_LIBS="$LIBS" LIBS="-lncurses $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2232,2238 ---- tgetent() ; return 0; } EOF ! if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2254,2260 **** fi echo $ac_n "checking for gethostbyname in -lc""... $ac_c" 1>&6 ! echo "configure:2258: checking for gethostbyname in -lc" >&5 ac_lib_var=`echo c'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2264,2270 ---- fi echo $ac_n "checking for gethostbyname in -lc""... $ac_c" 1>&6 ! echo "configure:2268: checking for gethostbyname in -lc" >&5 ac_lib_var=`echo c'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2262,2268 **** ac_save_LIBS="$LIBS" LIBS="-lc $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2283,2289 ---- gethostbyname() ; return 0; } EOF ! if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2292,2298 **** else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6 ! echo "configure:2296: checking for gethostbyname in -lresolv" >&5 ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 2302,2308 ---- else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6 ! echo "configure:2306: checking for gethostbyname in -lresolv" >&5 ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 2300,2306 **** ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 2321,2327 ---- gethostbyname() ; return 0; } EOF ! if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 2335,2341 **** echo $ac_n "checking if we can use -lnsl""... $ac_c" 1>&6 ! echo "configure:2339: checking if we can use -lnsl" >&5 if eval "test \"`echo '$''{'r_cv_use_libnsl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2345,2351 ---- echo $ac_n "checking if we can use -lnsl""... $ac_c" 1>&6 ! echo "configure:2349: checking if we can use -lnsl" >&5 if eval "test \"`echo '$''{'r_cv_use_libnsl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2343,2353 **** r_cv_use_libnsl=yes else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then r_cv_use_libnsl=no else --- 2353,2363 ---- r_cv_use_libnsl=yes else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then r_cv_use_libnsl=no else *************** *** 2370,2376 **** ac_safe=`echo "$r_lib_name" | tr './\055' '___'` echo $ac_n "checking for shared $r_lib_name""... $ac_c" 1>&6 ! echo "configure:2374: checking for shared $r_lib_name" >&5 if eval "test \"`echo '$''{'r_cv_name_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 2380,2386 ---- ac_safe=`echo "$r_lib_name" | tr './\055' '___'` echo $ac_n "checking for shared $r_lib_name""... $ac_c" 1>&6 ! echo "configure:2384: checking for shared $r_lib_name" >&5 if eval "test \"`echo '$''{'r_cv_name_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 2493,2504 **** echo echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:2497: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 2503,2514 ---- echo echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:2507: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 2526,2537 **** fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:2530: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 2536,2547 ---- fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:2540: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 2559,2570 **** fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:2563: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 2569,2580 ---- fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:2573: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 2581,2587 **** int i; ; return 0; } EOF ! if { (eval echo configure:2585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else --- 2591,2597 ---- int i; ; return 0; } EOF ! if { (eval echo configure:2595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else *************** *** 2601,2612 **** echo $ac_n "checking whether sockaddr_un has sun_len""... $ac_c" 1>&6 ! echo "configure:2605: checking whether sockaddr_un has sun_len" >&5 if eval "test \"`echo '$''{'sc_cv_sockaddr_sun_len'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 2611,2622 ---- echo $ac_n "checking whether sockaddr_un has sun_len""... $ac_c" 1>&6 ! echo "configure:2615: checking whether sockaddr_un has sun_len" >&5 if eval "test \"`echo '$''{'sc_cv_sockaddr_sun_len'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 2614,2620 **** struct sockaddr_un s_un; s_un.sun_len=0; ; return 0; } EOF ! if { (eval echo configure:2618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* sc_cv_sockaddr_sun_len=yes else --- 2624,2630 ---- struct sockaddr_un s_un; s_un.sun_len=0; ; return 0; } EOF ! if { (eval echo configure:2628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* sc_cv_sockaddr_sun_len=yes else *************** *** 2634,2645 **** echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6 ! echo "configure:2638: checking for sig_atomic_t" >&5 if eval "test \"`echo '$''{'r_cv_type_sig_atomic_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < --- 2644,2655 ---- echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6 ! echo "configure:2648: checking for sig_atomic_t" >&5 if eval "test \"`echo '$''{'r_cv_type_sig_atomic_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < *************** *** 2668,2686 **** fi echo $ac_n "checking for cc_t""... $ac_c" 1>&6 ! echo "configure:2672: checking for cc_t" >&5 if eval "test \"`echo '$''{'r_cv_have_cct'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < ; return 0; } EOF ! if { (eval echo configure:2684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cc_t foo; else --- 2678,2696 ---- fi echo $ac_n "checking for cc_t""... $ac_c" 1>&6 ! echo "configure:2682: checking for cc_t" >&5 if eval "test \"`echo '$''{'r_cv_have_cct'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < ; return 0; } EOF ! if { (eval echo configure:2694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cc_t foo; else *************** *** 2699,2717 **** echo "$ac_t""$r_cv_have_cct" 1>&6 echo $ac_n "checking for sig_t""... $ac_c" 1>&6 ! echo "configure:2703: checking for sig_t" >&5 if eval "test \"`echo '$''{'r_cv_have_sigt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { sig_t i = (sig_t)0; ; return 0; } EOF ! if { (eval echo configure:2715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* r_cv_have_sigt=yes else --- 2709,2727 ---- echo "$ac_t""$r_cv_have_cct" 1>&6 echo $ac_n "checking for sig_t""... $ac_c" 1>&6 ! echo "configure:2713: checking for sig_t" >&5 if eval "test \"`echo '$''{'r_cv_have_sigt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { sig_t i = (sig_t)0; ; return 0; } EOF ! if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* r_cv_have_sigt=yes else *************** *** 2727,2738 **** echo "$ac_t""$r_cv_have_sigt" 1>&6 echo $ac_n "checking for getpassphrase""... $ac_c" 1>&6 ! echo "configure:2731: checking for getpassphrase" >&5 if eval "test \"`echo '$''{'ac_cv_func_getpassphrase'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 echo $ac_n "checking for getpassphrase""... $ac_c" 1>&6 ! echo "configure:2741: checking for getpassphrase" >&5 if eval "test \"`echo '$''{'ac_cv_func_getpassphrase'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_getpassphrase=yes" else --- 2765,2771 ---- ; return 0; } EOF ! if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_getpassphrase=yes" else *************** *** 2780,2798 **** echo echo $ac_n "checking for sys_errlist""... $ac_c" 1>&6 ! echo "configure:2784: checking for sys_errlist" >&5 if eval "test \"`echo '$''{'r_cv_have_sysel'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* r_cv_have_sysel=yes else --- 2790,2808 ---- echo echo $ac_n "checking for sys_errlist""... $ac_c" 1>&6 ! echo "configure:2794: checking for sys_errlist" >&5 if eval "test \"`echo '$''{'r_cv_have_sysel'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* r_cv_have_sysel=yes else *************** *** 2813,2824 **** for ac_func in dlopen shl_load do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2817: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2827: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 2851,2857 ---- ; return 0; } EOF ! if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 2871,2882 **** for ac_func in setupterm do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2875: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2885: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 2909,2915 ---- ; return 0; } EOF ! if { (eval echo configure:2913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 2926,2937 **** for ac_func in tgetent do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2930: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2940: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 2964,2970 ---- ; return 0; } EOF ! if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 2983,2994 **** for ac_func in gethostbyname2 do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2987: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2997: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3021,3027 ---- ; return 0; } EOF ! if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3038,3049 **** for ac_func in gethostbyname_r gethostbyaddr_r getpwuid_r getservbyname_r do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3042: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3052: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3076,3082 ---- ; return 0; } EOF ! if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3093,3104 **** for ac_func in memset memcmp memmove strchr strrchr strdup strerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3097: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3107: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3131,3137 ---- ; return 0; } EOF ! if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3148,3159 **** for ac_func in bcopy bcmp bzero index rindex do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3152: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3162: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3186,3192 ---- ; return 0; } EOF ! if { (eval echo configure:3190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3203,3214 **** for ac_func in setenv putenv unsetenv getenv do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3207: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3217: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3241,3247 ---- ; return 0; } EOF ! if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3258,3269 **** for ac_func in getdomainname rresvport sendmsg setsid setpgid setpgrp getifaddrs do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3262: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3272: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3296,3302 ---- ; return 0; } EOF ! if { (eval echo configure:3300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3313,3324 **** for ac_func in waitpid flock dgettext sigaction sigprocmask do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3317: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3327: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3351,3357 ---- ; return 0; } EOF ! if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3368,3379 **** for ac_func in re_comp strspn getcwd vfork herror genget getopt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:3372: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3382: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 3406,3412 ---- ; return 0; } EOF ! if { (eval echo configure:3410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 3421,3432 **** done echo $ac_n "checking for vprintf""... $ac_c" 1>&6 ! echo "configure:3425: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3435: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else --- 3459,3465 ---- ; return 0; } EOF ! if { (eval echo configure:3463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else *************** *** 3473,3484 **** if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 ! echo "configure:3477: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:3487: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else --- 3511,3517 ---- ; return 0; } EOF ! if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else *************** *** 3526,3532 **** fi echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 ! echo "configure:3530: checking whether setpgrp takes no argument" >&5 if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3536,3542 ---- fi echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 ! echo "configure:3540: checking whether setpgrp takes no argument" >&5 if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 3534,3540 **** { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_setpgrp_void=no else --- 3560,3566 ---- } EOF ! if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_setpgrp_void=no else *************** *** 3585,3591 **** if test "$KRB5" != "no"; then echo echo $ac_n "checking Kerberos 5""... $ac_c" 1>&6 ! echo "configure:3589: checking Kerberos 5" >&5 if eval "test \"`echo '$''{'r_cv_krb5_home'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 3595,3601 ---- if test "$KRB5" != "no"; then echo echo $ac_n "checking Kerberos 5""... $ac_c" 1>&6 ! echo "configure:3599: checking Kerberos 5" >&5 if eval "test \"`echo '$''{'r_cv_krb5_home'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 3614,3620 **** LDFLAGS="$LDFLAGS -L$KRB5_HOME/lib" fi echo $ac_n "checking for main in -ldb""... $ac_c" 1>&6 ! echo "configure:3618: checking for main in -ldb" >&5 ac_lib_var=`echo db'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3624,3630 ---- LDFLAGS="$LDFLAGS -L$KRB5_HOME/lib" fi echo $ac_n "checking for main in -ldb""... $ac_c" 1>&6 ! echo "configure:3628: checking for main in -ldb" >&5 ac_lib_var=`echo db'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3622,3635 **** ac_save_LIBS="$LIBS" LIBS="-ldb $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3632,3645 ---- ac_save_LIBS="$LIBS" LIBS="-ldb $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3658,3664 **** if test "$ac_cv_lib_db_main" = "no"; then echo $ac_n "checking for main in -lndbm""... $ac_c" 1>&6 ! echo "configure:3662: checking for main in -lndbm" >&5 ac_lib_var=`echo ndbm'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3668,3674 ---- if test "$ac_cv_lib_db_main" = "no"; then echo $ac_n "checking for main in -lndbm""... $ac_c" 1>&6 ! echo "configure:3672: checking for main in -lndbm" >&5 ac_lib_var=`echo ndbm'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3666,3679 **** ac_save_LIBS="$LIBS" LIBS="-lndbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3676,3689 ---- ac_save_LIBS="$LIBS" LIBS="-lndbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3702,3708 **** fi echo $ac_n "checking for main in -lisode""... $ac_c" 1>&6 ! echo "configure:3706: checking for main in -lisode" >&5 ac_lib_var=`echo isode'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3712,3718 ---- fi echo $ac_n "checking for main in -lisode""... $ac_c" 1>&6 ! echo "configure:3716: checking for main in -lisode" >&5 ac_lib_var=`echo isode'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3710,3723 **** ac_save_LIBS="$LIBS" LIBS="-lisode $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3720,3733 ---- ac_save_LIBS="$LIBS" LIBS="-lisode $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3745,3751 **** fi echo $ac_n "checking for main in -lcom_err""... $ac_c" 1>&6 ! echo "configure:3749: checking for main in -lcom_err" >&5 ac_lib_var=`echo com_err'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3755,3761 ---- fi echo $ac_n "checking for main in -lcom_err""... $ac_c" 1>&6 ! echo "configure:3759: checking for main in -lcom_err" >&5 ac_lib_var=`echo com_err'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3753,3766 **** ac_save_LIBS="$LIBS" LIBS="-lcom_err $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3763,3776 ---- ac_save_LIBS="$LIBS" LIBS="-lcom_err $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3788,3794 **** fi echo $ac_n "checking for main in -lcrypto""... $ac_c" 1>&6 ! echo "configure:3792: checking for main in -lcrypto" >&5 ac_lib_var=`echo crypto'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3798,3804 ---- fi echo $ac_n "checking for main in -lcrypto""... $ac_c" 1>&6 ! echo "configure:3802: checking for main in -lcrypto" >&5 ac_lib_var=`echo crypto'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3796,3809 **** ac_save_LIBS="$LIBS" LIBS="-lcrypto $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3806,3819 ---- ac_save_LIBS="$LIBS" LIBS="-lcrypto $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3831,3837 **** fi echo $ac_n "checking for main in -lkrb5""... $ac_c" 1>&6 ! echo "configure:3835: checking for main in -lkrb5" >&5 ac_lib_var=`echo krb5'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3841,3847 ---- fi echo $ac_n "checking for main in -lkrb5""... $ac_c" 1>&6 ! echo "configure:3845: checking for main in -lkrb5" >&5 ac_lib_var=`echo krb5'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3839,3852 **** ac_save_LIBS="$LIBS" LIBS="-lkrb5 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3849,3862 ---- ac_save_LIBS="$LIBS" LIBS="-lkrb5 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3874,3880 **** fi echo $ac_n "checking for main in -lgssapi_krb5""... $ac_c" 1>&6 ! echo "configure:3878: checking for main in -lgssapi_krb5" >&5 ac_lib_var=`echo gssapi_krb5'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3884,3890 ---- fi echo $ac_n "checking for main in -lgssapi_krb5""... $ac_c" 1>&6 ! echo "configure:3888: checking for main in -lgssapi_krb5" >&5 ac_lib_var=`echo gssapi_krb5'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3882,3895 **** ac_save_LIBS="$LIBS" LIBS="-lgssapi_krb5 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3892,3905 ---- ac_save_LIBS="$LIBS" LIBS="-lgssapi_krb5 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 3942,3958 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:3946: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 3952,3968 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:3956: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:3966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 3981,3987 **** CPPFLAGS="$SAVED_CPPFLAGS" echo $ac_n "checking for main in -lident""... $ac_c" 1>&6 ! echo "configure:3985: checking for main in -lident" >&5 ac_lib_var=`echo ident'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 3991,3997 ---- CPPFLAGS="$SAVED_CPPFLAGS" echo $ac_n "checking for main in -lident""... $ac_c" 1>&6 ! echo "configure:3995: checking for main in -lident" >&5 ac_lib_var=`echo ident'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 3989,4002 **** ac_save_LIBS="$LIBS" LIBS="-lident $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 3999,4012 ---- ac_save_LIBS="$LIBS" LIBS="-lident $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 4027,4033 **** # Extract the first word of "finger", so it can be a program name with args. set dummy finger; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:4031: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ORIG_FINGER'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 4037,4043 ---- # Extract the first word of "finger", so it can be a program name with args. set dummy finger; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:4041: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ORIG_FINGER'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 4058,4064 **** # Extract the first word of "traceroute", so it can be a program name with args. set dummy traceroute; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:4062: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TROUTEPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 4068,4074 ---- # Extract the first word of "traceroute", so it can be a program name with args. set dummy traceroute; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:4072: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TROUTEPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 4095,4101 **** # Extract the first word of "ping", so it can be a program name with args. set dummy ping; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:4099: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PINGPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else --- 4105,4111 ---- # Extract the first word of "ping", so it can be a program name with args. set dummy ping; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:4109: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PINGPROG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else *************** *** 4176,4192 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:4180: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:4190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 4186,4202 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:4190: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:4200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 4216,4222 **** saved_libs="$LIBS" echo $ac_n "checking for main in -lpthreads""... $ac_c" 1>&6 ! echo "configure:4220: checking for main in -lpthreads" >&5 ac_lib_var=`echo pthreads'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 4226,4232 ---- saved_libs="$LIBS" echo $ac_n "checking for main in -lpthreads""... $ac_c" 1>&6 ! echo "configure:4230: checking for main in -lpthreads" >&5 ac_lib_var=`echo pthreads'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 4224,4237 **** ac_save_LIBS="$LIBS" LIBS="-lpthreads $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 4234,4247 ---- ac_save_LIBS="$LIBS" LIBS="-lpthreads $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 4252,4258 **** fi echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6 ! echo "configure:4256: checking for main in -lpthread" >&5 ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 4262,4268 ---- fi echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6 ! echo "configure:4266: checking for main in -lpthread" >&5 ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 4260,4273 **** ac_save_LIBS="$LIBS" LIBS="-lpthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 4270,4283 ---- ac_save_LIBS="$LIBS" LIBS="-lpthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else *************** *** 4307,4318 **** for ac_func in pthread_create pthread_self pthread_exit do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4311: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4321: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4345,4351 ---- ; return 0; } EOF ! if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4362,4373 **** for ac_func in pthread_attr_init pthread_attr_setscope do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4366: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4376: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4400,4406 ---- ; return 0; } EOF ! if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4417,4428 **** for ac_func in pthread_attr_setdetachstate do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4421: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4431: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4455,4461 ---- ; return 0; } EOF ! if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4472,4483 **** for ac_func in pthread_detach do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4476: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4486: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4510,4516 ---- ; return 0; } EOF ! if { (eval echo configure:4514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4527,4538 **** for ac_func in pthread_sigmask pthread_kill do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:4531: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:4541: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 4565,4571 ---- ; return 0; } EOF ! if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else *************** *** 4687,4692 **** --- 4697,5166 ---- fi + # Check whether --enable-ipv6 or --disable-ipv6 was given. + if test "${enable_ipv6+set}" = set; then + enableval="$enable_ipv6" + ipv6_support=$enableval + else + ipv6_support=guess + fi + + if test $ipv6_support = guess; then + echo $ac_n "checking IPv6 support by creating socket""... $ac_c" 1>&6 + echo "configure:4711: checking IPv6 support by creating socket" >&5 + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } + else + cat > conftest.$ac_ext <