Changeset 44ed9d3c02dfa173cf3996a9512f4e8b82691e8a

Show
Ignore:
Timestamp:
25/07/02 01:11:55 (6 years ago)
Author:
Christophe Massiot <massiot@videolan.org>
git-committer:
Christophe Massiot <massiot@videolan.org> 1027552315 +0000
git-parent:

[30b91066e585c07ea9532162455506410affa41a]

git-author:
Christophe Massiot <massiot@videolan.org> 1027552315 +0000
Message:

* ./configure : better detection of IPv6, fixed solaris handling
* ./src/input/* : fixed a memory leak

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure

    rbd0431f r44ed9d3  
    15281528 
    15291529/* Ultrix mips cc rejects this.  */ 
    1530 typedef int charset[2]; const charset x
     1530typedef int charset[2]; const charset x = {0,0}
    15311531/* SunOS 4.1.1 cc rejects this.  */ 
    15321532char const *const *ccp; 
     
    16031603 
    16041604int main() { 
    1605 } $ac_kw foo() { 
     1605} int $ac_kw foo() { 
    16061606; return 0; } 
    16071607EOF 
     
    17091709#include <alloca.h> 
    17101710int main() { 
    1711 char *p = alloca(2 * sizeof(int)); 
     1711void *p = alloca(2 * sizeof(int)); 
    17121712; return 0; } 
    17131713EOF 
     
    20622062#include <fcntl.h> 
    20632063#include <sys/mman.h> 
     2064#include <stdlib.h> 
     2065#include <sys/stat.h> 
     2066 
     2067#ifdef HAVE_UNISTD_H 
     2068# include <unistd.h> 
     2069#endif 
    20642070 
    20652071/* This mess was copied from the GNU getpagesize.h.  */ 
    20662072#ifndef HAVE_GETPAGESIZE 
    2067 # ifdef HAVE_UNISTD_H 
    2068 #  include <unistd.h> 
    2069 # endif 
    20702073 
    20712074/* Assume that all systems that can run configure have sys/param.h.  */ 
     
    21222125     * First, make a file with some known garbage in it. 
    21232126     */ 
    2124     data = malloc(pagesize); 
     2127    data = (char*)malloc(pagesize); 
    21252128    if (!data) 
    21262129        exit(1); 
     
    21432146    if (fd < 0) 
    21442147        exit(1); 
    2145     data2 = malloc(2 * pagesize); 
     2148    data2 = (char*)malloc(2 * pagesize); 
    21462149    if (!data2) 
    21472150        exit(1); 
     
    21612164    for (i = 0; i < pagesize; ++i) 
    21622165        *(data2 + i) = *(data2 + i) + 1; 
    2163     data3 = malloc(pagesize); 
     2166    data3 = (char*)malloc(pagesize); 
    21642167    if (!data3) 
    21652168        exit(1); 
     
    21752178 
    21762179EOF 
    2177 if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     2180if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    21782181then 
    21792182  ac_cv_func_mmap_fixed_mapped=yes 
     
    21992202 
    22002203    echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6 
    2201 echo "configure:2202: checking whether we are using the GNU C Library 2.1 or newer" >&5 
     2204echo "configure:2205: checking whether we are using the GNU C Library 2.1 or newer" >&5 
    22022205if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then 
    22032206  echo $ac_n "(cached) $ac_c" 1>&6 
    22042207else 
    22052208  cat > conftest.$ac_ext <<EOF 
    2206 #line 2207 "configure" 
     2209#line 2210 "configure" 
    22072210#include "confdefs.h" 
    22082211 
     
    22402243ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    22412244echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    2242 echo "configure:2243: checking for $ac_hdr" >&5 
     2245echo "configure:2246: checking for $ac_hdr" >&5 
    22432246if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    22442247  echo $ac_n "(cached) $ac_c" 1>&6 
    22452248else 
    22462249  cat > conftest.$ac_ext <<EOF 
    2247 #line 2248 "configure" 
     2250#line 2251 "configure" 
    22482251#include "confdefs.h" 
    22492252#include <$ac_hdr> 
    22502253EOF 
    22512254ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2252 { (eval echo configure:2253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     2255{ (eval echo configure:2256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    22532256ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    22542257if test -z "$ac_err"; then 
     
    22812284do 
    22822285echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    2283 echo "configure:2284: checking for $ac_func" >&5 
     2286echo "configure:2287: checking for $ac_func" >&5 
    22842287if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    22852288  echo $ac_n "(cached) $ac_c" 1>&6 
    22862289else 
    22872290  cat > conftest.$ac_ext <<EOF 
    2288 #line 2289 "configure" 
     2291#line 2292 "configure" 
    22892292#include "confdefs.h" 
    22902293/* System header to define __stub macros and hopefully few prototypes, 
     
    23092312; return 0; } 
    23102313EOF 
    2311 if { (eval echo configure:2312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2314if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    23122315  rm -rf conftest* 
    23132316  eval "ac_cv_func_$ac_func=yes" 
     
    23492352 
    23502353  echo $ac_n "checking for iconv""... $ac_c" 1>&6 
    2351 echo "configure:2352: checking for iconv" >&5 
     2354echo "configure:2355: checking for iconv" >&5 
    23522355if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then 
    23532356  echo $ac_n "(cached) $ac_c" 1>&6 
     
    23572360    am_cv_lib_iconv=no 
    23582361    cat > conftest.$ac_ext <<EOF 
    2359 #line 2360 "configure" 
     2362#line 2363 "configure" 
    23602363#include "confdefs.h" 
    23612364#include <stdlib.h> 
     
    23672370; return 0; } 
    23682371EOF 
    2369 if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2372if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    23702373  rm -rf conftest* 
    23712374  am_cv_func_iconv=yes 
     
    23792382      LIBS="$LIBS -liconv" 
    23802383      cat > conftest.$ac_ext <<EOF 
    2381 #line 2382 "configure" 
     2384#line 2385 "configure" 
    23822385#include "confdefs.h" 
    23832386#include <stdlib.h> 
     
    23892392; return 0; } 
    23902393EOF 
    2391 if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2394if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    23922395  rm -rf conftest* 
    23932396  am_cv_lib_iconv=yes 
     
    24102413 
    24112414    echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 
    2412 echo "configure:2413: checking for iconv declaration" >&5 
     2415echo "configure:2416: checking for iconv declaration" >&5 
    24132416    if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then 
    24142417  echo $ac_n "(cached) $ac_c" 1>&6 
     
    24162419   
    24172420      cat > conftest.$ac_ext <<EOF 
    2418 #line 2419 "configure" 
     2421#line 2422 "configure" 
    24192422#include "confdefs.h" 
    24202423 
     
    24352438; return 0; } 
    24362439EOF 
    2437 if { (eval echo configure:2438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     2440if { (eval echo configure:2441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    24382441  rm -rf conftest* 
    24392442  am_cv_proto_iconv_arg1="" 
     
    24642467    
    24652468  echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6 
    2466 echo "configure:2467: checking for nl_langinfo and CODESET" >&5 
     2469echo "configure:2470: checking for nl_langinfo and CODESET" >&5 
    24672470if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then 
    24682471  echo $ac_n "(cached) $ac_c" 1>&6 
    24692472else 
    24702473  cat > conftest.$ac_ext <<EOF 
    2471 #line 2472 "configure" 
     2474#line 2475 "configure" 
    24722475#include "confdefs.h" 
    24732476#include <langinfo.h> 
     
    24762479; return 0; } 
    24772480EOF 
    2478 if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2481if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    24792482  rm -rf conftest* 
    24802483  am_cv_langinfo_codeset=yes 
     
    24992502   if test $ac_cv_header_locale_h = yes; then 
    25002503    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 
    2501 echo "configure:2502: checking for LC_MESSAGES" >&5 
     2504echo "configure:2505: checking for LC_MESSAGES" >&5 
    25022505if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 
    25032506  echo $ac_n "(cached) $ac_c" 1>&6 
    25042507else 
    25052508  cat > conftest.$ac_ext <<EOF 
    2506 #line 2507 "configure" 
     2509#line 2510 "configure" 
    25072510#include "confdefs.h" 
    25082511#include <locale.h> 
     
    25112514; return 0; } 
    25122515EOF 
    2513 if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2516if { (eval echo configure:2517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    25142517  rm -rf conftest* 
    25152518  am_cv_val_LC_MESSAGES=yes 
     
    25322535  fi 
    25332536   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 
    2534 echo "configure:2535: checking whether NLS is requested" >&5 
     2537echo "configure:2538: checking whether NLS is requested" >&5 
    25352538        # Check whether --enable-nls or --disable-nls was given. 
    25362539if test "${enable_nls+set}" = set; then 
     
    25542557 
    25552558      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 
    2556 echo "configure:2557: checking whether included gettext is requested" >&5 
     2559echo "configure:2560: checking whether included gettext is requested" >&5 
    25572560      # Check whether --with-included-gettext or --without-included-gettext was given. 
    25582561if test "${with_included_gettext+set}" = set; then 
     
    25742577    ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 
    25752578echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 
    2576 echo "configure:2577: checking for libintl.h" >&5 
     2579echo "configure:2580: checking for libintl.h" >&5 
    25772580if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    25782581  echo $ac_n "(cached) $ac_c" 1>&6 
    25792582else 
    25802583  cat > conftest.$ac_ext <<EOF 
    2581 #line 2582 "configure" 
     2584#line 2585 "configure" 
    25822585#include "confdefs.h" 
    25832586#include <libintl.h> 
    25842587EOF 
    25852588ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2586 { (eval echo configure:2587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     2589{ (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    25872590ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    25882591if test -z "$ac_err"; then 
     
    26012604  echo "$ac_t""yes" 1>&6 
    26022605  echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6 
    2603 echo "configure:2604: checking for GNU gettext in libc" >&5 
     2606echo "configure:2607: checking for GNU gettext in libc" >&5 
    26042607if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then 
    26052608  echo $ac_n "(cached) $ac_c" 1>&6 
    26062609else 
    26072610  cat > conftest.$ac_ext <<EOF 
    2608 #line 2609 "configure" 
     2611#line 2612 "configure" 
    26092612#include "confdefs.h" 
    26102613#include <libintl.h> 
     
    26152618; return 0; } 
    26162619EOF 
    2617 if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2620if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    26182621  rm -rf conftest* 
    26192622  gt_cv_func_gnugettext1_libc=yes 
     
    26312634       if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 
    26322635         echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6 
    2633 echo "configure:2634: checking for GNU gettext in libintl" >&5 
     2636echo "configure:2637: checking for GNU gettext in libintl" >&5 
    26342637if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then 
    26352638  echo $ac_n "(cached) $ac_c" 1>&6 
     
    26382641        LIBS="$LIBS -lintl $LIBICONV" 
    26392642        cat > conftest.$ac_ext <<EOF 
    2640 #line 2641 "configure" 
     2643#line 2644 "configure" 
    26412644#include "confdefs.h" 
    26422645#include <libintl.h> 
     
    26472650; return 0; } 
    26482651EOF 
    2649 if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2652if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    26502653  rm -rf conftest* 
    26512654  gt_cv_func_gnugettext1_libintl=yes 
     
    26802683do 
    26812684echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    2682 echo "configure:2683: checking for $ac_func" >&5 
     2685echo "configure:2686: checking for $ac_func" >&5 
    26832686if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    26842687  echo $ac_n "(cached) $ac_c" 1>&6 
    26852688else 
    26862689  cat > conftest.$ac_ext <<EOF 
    2687 #line 2688 "configure" 
     2690#line 2691 "configure" 
    26882691#include "confdefs.h" 
    26892692/* System header to define __stub macros and hopefully few prototypes, 
     
    27082711; return 0; } 
    27092712EOF 
    2710 if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2713if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    27112714  rm -rf conftest* 
    27122715  eval "ac_cv_func_$ac_func=yes" 
     
    27372740set dummy msgfmt; ac_word=$2 
    27382741echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2739 echo "configure:2740: checking for $ac_word" >&5 
     2742echo "configure:2743: checking for $ac_word" >&5 
    27402743if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 
    27412744  echo $ac_n "(cached) $ac_c" 1>&6 
     
    27712774set dummy gmsgfmt; ac_word=$2 
    27722775echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2773 echo "configure:2774: checking for $ac_word" >&5 
     2776echo "configure:2777: checking for $ac_word" >&5 
    27742777if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 
    27752778  echo $ac_n "(cached) $ac_c" 1>&6 
     
    28082811set dummy xgettext; ac_word=$2 
    28092812echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2810 echo "configure:2811: checking for $ac_word" >&5 
     2813echo "configure:2814: checking for $ac_word" >&5 
    28112814if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 
    28122815  echo $ac_n "(cached) $ac_c" 1>&6 
     
    28582861set dummy msgfmt; ac_word=$2 
    28592862echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2860 echo "configure:2861: checking for $ac_word" >&5 
     2863echo "configure:2864: checking for $ac_word" >&5 
    28612864if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 
    28622865  echo $ac_n "(cached) $ac_c" 1>&6 
     
    28922895set dummy gmsgfmt; ac_word=$2 
    28932896echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2894 echo "configure:2895: checking for $ac_word" >&5 
     2897echo "configure:2898: checking for $ac_word" >&5 
    28952898if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 
    28962899  echo $ac_n "(cached) $ac_c" 1>&6 
     
    29282931set dummy xgettext; ac_word=$2 
    29292932echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    2930 echo "configure:2931: checking for $ac_word" >&5 
     2933echo "configure:2934: checking for $ac_word" >&5 
    29312934if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 
    29322935  echo $ac_n "(cached) $ac_c" 1>&6 
     
    29993002set dummy $ac_prog; ac_word=$2 
    30003003echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    3001 echo "configure:3002: checking for $ac_word" >&5 
     3004echo "configure:3005: checking for $ac_word" >&5 
    30023005if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then 
    30033006  echo $ac_n "(cached) $ac_c" 1>&6 
     
    30323035    else 
    30333036            echo $ac_n "checking version of bison""... $ac_c" 1>&6 
    3034 echo "configure:3035: checking version of bison" >&5 
     3037echo "configure:3038: checking version of bison" >&5 
    30353038      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` 
    30363039      case $ac_prog_version in 
     
    30793082     else 
    30803083       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 
    3081 echo "configure:3082: checking for catalogs to be installed" >&5 
     3084echo "configure:3085: checking for catalogs to be installed" >&5 
    30823085       NEW_LINGUAS= 
    30833086       for presentlang in $ALL_LINGUAS; do 
     
    31313134# ./install, which can be erroneously created by make from ./install.sh. 
    31323135echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 
    3133 echo "configure:3134: checking for a BSD compatible install" >&5 
     3136echo "configure:3137: checking for a BSD compatible install" >&5 
    31343137if test -z "$INSTALL"; then 
    31353138if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 
     
    32133216set dummy ${ac_tool_prefix}windres; ac_word=$2 
    32143217echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    3215 echo "configure:3216: checking for $ac_word" >&5 
     3218echo "configure:3219: checking for $ac_word" >&5 
    32163219if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then 
    32173220  echo $ac_n "(cached) $ac_c" 1>&6 
     
    32453248set dummy windres; ac_word=$2 
    32463249echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    3247 echo "configure:3248: checking for $ac_word" >&5 
     3250echo "configure:3251: checking for $ac_word" >&5 
    32483251if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then 
    32493252  echo $ac_n "(cached) $ac_c" 1>&6 
     
    33163319do 
    33173320echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    3318 echo "configure:3319: checking for $ac_func" >&5 
     3321echo "configure:3322: checking for $ac_func" >&5 
    33193322if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    33203323  echo $ac_n "(cached) $ac_c" 1>&6 
    33213324else 
    33223325  cat > conftest.$ac_ext <<EOF 
    3323 #line 3324 "configure" 
     3326#line 3327 "configure" 
    33243327#include "confdefs.h" 
    33253328/* System header to define __stub macros and hopefully few prototypes, 
     
    33443347; return 0; } 
    33453348EOF 
    3346 if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3349if { (eval echo configure:3350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    33473350  rm -rf conftest* 
    33483351  eval "ac_cv_func_$ac_func=yes" 
     
    33703373 
    33713374echo $ac_n "checking for connect""... $ac_c" 1>&6 
    3372 echo "configure:3373: checking for connect" >&5 
     3375echo "configure:3376: checking for connect" >&5 
    33733376if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 
    33743377  echo $ac_n "(cached) $ac_c" 1>&6 
    33753378else 
    33763379  cat > conftest.$ac_ext <<EOF 
    3377 #line 3378 "configure" 
     3380#line 3381 "configure" 
    33783381#include "confdefs.h" 
    33793382/* System header to define __stub macros and hopefully few prototypes, 
     
    33983401; return 0; } 
    33993402EOF 
    3400 if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3403if { (eval echo configure:3404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    34013404  rm -rf conftest* 
    34023405  eval "ac_cv_func_connect=yes" 
     
    34173420 
    34183421  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 
    3419 echo "configure:3420: checking for connect in -lsocket" >&5 
     3422echo "configure:3423: checking for connect in -lsocket" >&5 
    34203423ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 
    34213424if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    34253428LIBS="-lsocket  $LIBS" 
    34263429cat > conftest.$ac_ext <<EOF 
    3427 #line 3428 "configure" 
     3430#line 3431 "configure" 
    34283431#include "confdefs.h" 
    34293432/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    34363439; return 0; } 
    34373440EOF 
    3438 if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3441if { (eval echo configure:3442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    34393442  rm -rf conftest* 
    34403443  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    34613464 
    34623465echo $ac_n "checking for send""... $ac_c" 1>&6 
    3463 echo "configure:3464: checking for send" >&5 
     3466echo "configure:3467: checking for send" >&5 
    34643467if eval "test \"`echo '$''{'ac_cv_func_send'+set}'`\" = set"; then 
    34653468  echo $ac_n "(cached) $ac_c" 1>&6 
    34663469else 
    34673470  cat > conftest.$ac_ext <<EOF 
    3468 #line 3469 "configure" 
     3471#line 3472 "configure" 
    34693472#include "confdefs.h" 
    34703473/* System header to define __stub macros and hopefully few prototypes, 
     
    34893492; return 0; } 
    34903493EOF 
    3491 if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3494if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    34923495  rm -rf conftest* 
    34933496  eval "ac_cv_func_send=yes" 
     
    35083511 
    35093512  echo $ac_n "checking for send in -lsocket""... $ac_c" 1>&6 
    3510 echo "configure:3511: checking for send in -lsocket" >&5 
     3513echo "configure:3514: checking for send in -lsocket" >&5 
    35113514ac_lib_var=`echo socket'_'send | sed 'y%./+-%__p_%'` 
    35123515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    35163519LIBS="-lsocket  $LIBS" 
    35173520cat > conftest.$ac_ext <<EOF 
    3518 #line 3519 "configure" 
     3521#line 3522 "configure" 
    35193522#include "confdefs.h" 
    35203523/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    35273530; return 0; } 
    35283531EOF 
    3529 if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3532if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    35303533  rm -rf conftest* 
    35313534  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    35513554 
    35523555echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 
    3553 echo "configure:3554: checking for gethostbyname" >&5 
     3556echo "configure:3557: checking for gethostbyname" >&5 
    35543557if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 
    35553558  echo $ac_n "(cached) $ac_c" 1>&6 
    35563559else 
    35573560  cat > conftest.$ac_ext <<EOF 
    3558 #line 3559 "configure" 
     3561#line 3562 "configure" 
    35593562#include "confdefs.h" 
    35603563/* System header to define __stub macros and hopefully few prototypes, 
     
    35793582; return 0; } 
    35803583EOF 
    3581 if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3584if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    35823585  rm -rf conftest* 
    35833586  eval "ac_cv_func_gethostbyname=yes" 
     
    35983601 
    35993602  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 
    3600 echo "configure:3601: checking for gethostbyname in -lnsl" >&5 
     3603echo "configure:3604: checking for gethostbyname in -lnsl" >&5 
    36013604ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 
    36023605if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    36063609LIBS="-lnsl  $LIBS" 
    36073610cat > conftest.$ac_ext <<EOF 
    3608 #line 3609 "configure" 
     3611#line 3612 "configure" 
    36093612#include "confdefs.h" 
    36103613/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    36173620; return 0; } 
    36183621EOF 
    3619 if { (eval echo configure:3620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3622if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    36203623  rm -rf conftest* 
    36213624  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    36413644 
    36423645echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 
    3643 echo "configure:3644: checking for gethostbyname" >&5 
     3646echo "configure:3647: checking for gethostbyname" >&5 
    36443647if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 
    36453648  echo $ac_n "(cached) $ac_c" 1>&6 
    36463649else 
    36473650  cat > conftest.$ac_ext <<EOF 
    3648 #line 3649 "configure" 
     3651#line 3652 "configure" 
    36493652#include "confdefs.h" 
    36503653/* System header to define __stub macros and hopefully few prototypes, 
     
    36693672; return 0; } 
    36703673EOF 
    3671 if { (eval echo configure:3672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3674if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    36723675  rm -rf conftest* 
    36733676  eval "ac_cv_func_gethostbyname=yes" 
     
    36883691 
    36893692  echo $ac_n "checking for gethostbyname in -lbind""... $ac_c" 1>&6 
    3690 echo "configure:3691: checking for gethostbyname in -lbind" >&5 
     3693echo "configure:3694: checking for gethostbyname in -lbind" >&5 
    36913694ac_lib_var=`echo bind'_'gethostbyname | sed 'y%./+-%__p_%'` 
    36923695if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    36963699LIBS="-lbind  $LIBS" 
    36973700cat > conftest.$ac_ext <<EOF 
    3698 #line 3699 "configure" 
     3701#line 3702 "configure" 
    36993702#include "confdefs.h" 
    37003703/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    37073710; return 0; } 
    37083711EOF 
    3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3712if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    37103713  rm -rf conftest* 
    37113714  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    37323735have_nanosleep=0 
    37333736echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 
    3734 echo "configure:3735: checking for nanosleep" >&5 
     3737echo "configure:3738: checking for nanosleep" >&5 
    37353738if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then 
    37363739  echo $ac_n "(cached) $ac_c" 1>&6 
    37373740else 
    37383741  cat > conftest.$ac_ext <<EOF 
    3739 #line 3740 "configure" 
     3742#line 3743 "configure" 
    37403743#include "confdefs.h" 
    37413744/* System header to define __stub macros and hopefully few prototypes, 
     
    37603763; return 0; } 
    37613764EOF 
    3762 if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3765if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    37633766  rm -rf conftest* 
    37643767  eval "ac_cv_func_nanosleep=yes" 
     
    37793782 
    37803783  echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 
    3781 echo "configure:3782: checking for nanosleep in -lrt" >&5 
     3784echo "configure:3785: checking for nanosleep in -lrt" >&5 
    37823785ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` 
    37833786if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    37873790LIBS="-lrt  $LIBS" 
    37883791cat > conftest.$ac_ext <<EOF 
    3789 #line 3790 "configure" 
     3792#line 3793 "configure" 
    37903793#include "confdefs.h" 
    37913794/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    37983801; return 0; } 
    37993802EOF 
    3800 if { (eval echo configure:3801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3803if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    38013804  rm -rf conftest* 
    38023805  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    38173820  echo "$ac_t""no" 1>&6 
    38183821echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 
    3819 echo "configure:3820: checking for nanosleep in -lposix4" >&5 
     3822echo "configure:3823: checking for nanosleep in -lposix4" >&5 
    38203823ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` 
    38213824if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    38253828LIBS="-lposix4  $LIBS" 
    38263829cat > conftest.$ac_ext <<EOF 
    3827 #line 3828 "configure" 
     3830#line 3831 "configure" 
    38283831#include "confdefs.h" 
    38293832/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    38363839; return 0; } 
    38373840EOF 
    3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3841if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    38393842  rm -rf conftest* 
    38403843  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    38703873# HP/UX port 
    38713874echo $ac_n "checking for sem_init in -lrt""... $ac_c" 1>&6 
    3872 echo "configure:3873: checking for sem_init in -lrt" >&5 
     3875echo "configure:3876: checking for sem_init in -lrt" >&5 
    38733876ac_lib_var=`echo rt'_'sem_init | sed 'y%./+-%__p_%'` 
    38743877if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    38783881LIBS="-lrt  $LIBS" 
    38793882cat > conftest.$ac_ext <<EOF 
    3880 #line 3881 "configure" 
     3883#line 3884 "configure" 
    38813884#include "confdefs.h" 
    38823885/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    38893892; return 0; } 
    38903893EOF 
    3891 if { (eval echo configure:3892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3894if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    38923895  rm -rf conftest* 
    38933896  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    39113914 
    39123915echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 
    3913 echo "configure:3914: checking for inet_aton" >&5 
     3916echo "configure:3917: checking for inet_aton" >&5 
    39143917if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then 
    39153918  echo $ac_n "(cached) $ac_c" 1>&6 
    39163919else 
    39173920  cat > conftest.$ac_ext <<EOF 
    3918 #line 3919 "configure" 
     3921#line 3922 "configure" 
    39193922#include "confdefs.h" 
    39203923/* System header to define __stub macros and hopefully few prototypes, 
     
    39393942; return 0; } 
    39403943EOF 
    3941 if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3944if { (eval echo configure:3945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    39423945  rm -rf conftest* 
    39433946  eval "ac_cv_func_inet_aton=yes" 
     
    39583961 
    39593962  echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 
    3960 echo "configure:3961: checking for inet_aton in -lresolv" >&5 
     3963echo "configure:3964: checking for inet_aton in -lresolv" >&5 
    39613964ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` 
    39623965if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    39663969LIBS="-lresolv  $LIBS" 
    39673970cat > conftest.$ac_ext <<EOF 
    3968 #line 3969 "configure" 
     3971#line 3972 "configure" 
    39693972#include "confdefs.h" 
    39703973/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    39773980; return 0; } 
    39783981EOF 
    3979 if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3982if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    39803983  rm -rf conftest* 
    39813984  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    40014004 
    40024005echo $ac_n "checking for textdomain""... $ac_c" 1>&6 
    4003 echo "configure:4004: checking for textdomain" >&5 
     4006echo "configure:4007: checking for textdomain" >&5 
    40044007if eval "test \"`echo '$''{'ac_cv_func_textdomain'+set}'`\" = set"; then 
    40054008  echo $ac_n "(cached) $ac_c" 1>&6 
    40064009else 
    40074010  cat > conftest.$ac_ext <<EOF 
    4008 #line 4009 "configure" 
     4011#line 4012 "configure" 
    40094012#include "confdefs.h" 
    40104013/* System header to define __stub macros and hopefully few prototypes, 
     
    40294032; return 0; } 
    40304033EOF 
    4031 if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4034if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    40324035  rm -rf conftest* 
    40334036  eval "ac_cv_func_textdomain=yes" 
     
    40484051 
    40494052  echo $ac_n "checking for textdomain in -lintl""... $ac_c" 1>&6 
    4050 echo "configure:4051: checking for textdomain in -lintl" >&5 
     4053echo "configure:4054: checking for textdomain in -lintl" >&5 
    40514054ac_lib_var=`echo intl'_'textdomain | sed 'y%./+-%__p_%'` 
    40524055if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    40564059LIBS="-lintl  $LIBS" 
    40574060cat > conftest.$ac_ext <<EOF 
    4058 #line 4059 "configure" 
     4061#line 4062 "configure" 
    40594062#include "confdefs.h" 
    40604063/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    40674070; return 0; } 
    40684071EOF 
    4069 if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4072if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    40704073  rm -rf conftest* 
    40714074  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    40954098NEED_GETOPT=0 
    40964099echo $ac_n "checking for getopt_long""... $ac_c" 1>&6 
    4097 echo "configure:4098: checking for getopt_long" >&5 
     4100echo "configure:4101: checking for getopt_long" >&5 
    40984101if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then 
    40994102  echo $ac_n "(cached) $ac_c" 1>&6 
    41004103else 
    41014104  cat > conftest.$ac_ext <<EOF 
    4102 #line 4103 "configure" 
     4105#line 4106 "configure" 
    41034106#include "confdefs.h" 
    41044107/* System header to define __stub macros and hopefully few prototypes, 
     
    41234126; return 0; } 
    41244127EOF 
    4125 if { (eval echo configure:4126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4128if { (eval echo configure:4129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    41264129  rm -rf conftest* 
    41274130  eval "ac_cv_func_getopt_long=yes" 
     
    41454148 # FreeBSD has a gnugetopt library for this: 
    41464149  echo $ac_n "checking for getopt_long in -lgnugetopt""... $ac_c" 1>&6 
    4147 echo "configure:4148: checking for getopt_long in -lgnugetopt" >&5 
     4150echo "configure:4151: checking for getopt_long in -lgnugetopt" >&5 
    41484151ac_lib_var=`echo gnugetopt'_'getopt_long | sed 'y%./+-%__p_%'` 
    41494152if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    41534156LIBS="-lgnugetopt  $LIBS" 
    41544157cat > conftest.$ac_ext <<EOF 
    4155 #line 4156 "configure" 
     4158#line 4159 "configure" 
    41564159#include "confdefs.h" 
    41574160/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    41644167; return 0; } 
    41654168EOF 
    4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4169if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    41674170  rm -rf conftest* 
    41684171  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    41924195 
    41934196echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 
    4194 echo "configure:4195: checking return type of signal handlers" >&5 
     4197echo "configure:4198: checking return type of signal handlers" >&5 
    41954198if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 
    41964199  echo $ac_n "(cached) $ac_c" 1>&6 
    41974200else 
    41984201  cat > conftest.$ac_ext <<EOF 
    4199 #line 4200 "configure" 
     4202#line 4203 "configure" 
    42004203#include "confdefs.h" 
    42014204#include <sys/types.h> 
     
    42144217; return 0; } 
    42154218EOF 
    4216 if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
     4219if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    42174220  rm -rf conftest* 
    42184221  ac_cv_type_signal=void 
     
    42334236 
    42344237echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 
    4235 echo "configure:4236: checking for dlopen in -ldl" >&5 
     4238echo "configure:4239: checking for dlopen in -ldl" >&5 
    42364239ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 
    42374240if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    42414244LIBS="-ldl  $LIBS" 
    42424245cat > conftest.$ac_ext <<EOF 
    4243 #line 4244 "configure" 
     4246#line 4247 "configure" 
    42444247#include "confdefs.h" 
    42454248/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    42524255; return 0; } 
    42534256EOF 
    4254 if { (eval echo configure:4255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4257if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    42554258  rm -rf conftest* 
    42564259  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    42734276 
    42744277echo $ac_n "checking for cos in -lm""... $ac_c" 1>&6 
    4275 echo "configure:4276: checking for cos in -lm" >&5 
     4278echo "configure:4279: checking for cos in -lm" >&5 
    42764279ac_lib_var=`echo m'_'cos | sed 'y%./+-%__p_%'` 
    42774280if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    42814284LIBS="-lm  $LIBS" 
    42824285cat > conftest.$ac_ext <<EOF 
    4283 #line 4284 "configure" 
     4286#line 4287 "configure" 
    42844287#include "confdefs.h" 
    42854288/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    42924295; return 0; } 
    42934296EOF 
    4294 if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4297if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    42954298  rm -rf conftest* 
    42964299  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    43144317 
    43154318echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6 
    4316 echo "configure:4317: checking for pow in -lm" >&5 
     4319echo "configure:4320: checking for pow in -lm" >&5 
    43174320ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'` 
    43184321if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    43224325LIBS="-lm  $LIBS" 
    43234326cat > conftest.$ac_ext <<EOF 
    4324 #line 4325 "configure" 
     4327#line 4328 "configure" 
    43254328#include "confdefs.h" 
    43264329/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    43334336; return 0; } 
    43344337EOF 
    4335 if { (eval echo configure:4336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4338if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    43364339  rm -rf conftest* 
    43374340  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    43624365if test "x${THREAD_LIB}" = "xerror"; then 
    43634366  echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6 
    4364 echo "configure:4365: checking for main in -lpthread" >&5 
     4367echo "configure:4368: checking for main in -lpthread" >&5 
    43654368ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'` 
    43664369if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    43704373LIBS="-lpthread  $LIBS" 
    43714374cat > conftest.$ac_ext <<EOF 
    4372 #line 4373 "configure" 
     4375#line 4376 "configure" 
    43734376#include "confdefs.h" 
    43744377 
     
    43774380; return 0; } 
    43784381EOF 
    4379 if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4382if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    43804383  rm -rf conftest* 
    43814384  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    44004403if test "x${THREAD_LIB}" = "xerror"; then 
    44014404  echo $ac_n "checking for main in -lpthreads""... $ac_c" 1>&6 
    4402 echo "configure:4403: checking for main in -lpthreads" >&5 
     4405echo "configure:4406: checking for main in -lpthreads" >&5 
    44034406ac_lib_var=`echo pthreads'_'main | sed 'y%./+-%__p_%'` 
    44044407if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    44084411LIBS="-lpthreads  $LIBS" 
    44094412cat > conftest.$ac_ext <<EOF 
    4410 #line 4411 "configure" 
     4413#line 4414 "configure" 
    44114414#include "confdefs.h" 
    44124415 
     
    44154418; return 0; } 
    44164419EOF 
    4417 if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4420if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    44184421  rm -rf conftest* 
    44194422  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    44384441if test "x${THREAD_LIB}" = "xerror"; then 
    44394442  echo $ac_n "checking for main in -lc_r""... $ac_c" 1>&6 
    4440 echo "configure:4441: checking for main in -lc_r" >&5 
     4443echo "configure:4444: checking for main in -lc_r" >&5 
    44414444ac_lib_var=`echo c_r'_'main | sed 'y%./+-%__p_%'` 
    44424445if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    44464449LIBS="-lc_r  $LIBS" 
    44474450cat > conftest.$ac_ext <<EOF 
    4448 #line 4449 "configure" 
     4451#line 4452 "configure" 
    44494452#include "confdefs.h" 
    44504453 
     
    44534456; return 0; } 
    44544457EOF 
    4455 if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     4458if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    44564459  rm -rf conftest*<