Changeset bdd18d in git


Ignore:
Timestamp:
May 2, 2005, 5:57:05 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
Children:
4ccb094912c3d207b99c43160c7025659aa6cf24
Parents:
73d2b6b610c56a25c7300ab4043c65fd41ede195
Message:
*hannes; -lbsd for HPUX10


git-svn-id: file:///usr/local/Singular/svn/trunk@8000 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r73d2b6 rbdd18d  
    17201720LIBS=
    17211721
     1722echo $ac_n "checking for setenv in -lbsd""... $ac_c" 1>&6
     1723echo "configure:1724: checking for setenv in -lbsd" >&5
     1724ac_lib_var=`echo bsd'_'setenv | sed 'y%./+-%__p_%'`
     1725if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1726  echo $ac_n "(cached) $ac_c" 1>&6
     1727else
     1728  ac_save_LIBS="$LIBS"
     1729LIBS="-lbsd  $LIBS"
     1730cat > conftest.$ac_ext <<EOF
     1731#line 1732 "configure"
     1732#include "confdefs.h"
     1733/* Override any gcc2 internal prototype to avoid an error.  */
     1734/* We use char because int might match the return type of a gcc2
     1735    builtin and then its argument prototype would still apply.  */
     1736char setenv();
     1737
     1738int main() {
     1739setenv()
     1740; return 0; }
     1741EOF
     1742if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1743  rm -rf conftest*
     1744  eval "ac_cv_lib_$ac_lib_var=yes"
     1745else
     1746  echo "configure: failed program was:" >&5
     1747  cat conftest.$ac_ext >&5
     1748  rm -rf conftest*
     1749  eval "ac_cv_lib_$ac_lib_var=no"
     1750fi
     1751rm -f conftest*
     1752LIBS="$ac_save_LIBS"
     1753
     1754fi
     1755if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1756  echo "$ac_t""yes" 1>&6
     1757    ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1758    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1759  cat >> confdefs.h <<EOF
     1760#define $ac_tr_lib 1
     1761EOF
     1762
     1763  LIBS="-lbsd $LIBS"
     1764
     1765else
     1766  echo "$ac_t""no" 1>&6
     1767fi
     1768
    17221769# check for dl lib
    17231770case "$ac_cv_singuname" in
    17241771        HPUX*)
    17251772          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    1726 echo "configure:1727: checking for shl_load in -ldld" >&5
     1773echo "configure:1774: checking for shl_load in -ldld" >&5
    17271774ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    17281775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17321779LIBS="-ldld  $LIBS"
    17331780cat > conftest.$ac_ext <<EOF
    1734 #line 1735 "configure"
     1781#line 1782 "configure"
    17351782#include "confdefs.h"
    17361783/* Override any gcc2 internal prototype to avoid an error.  */
     
    17431790; return 0; }
    17441791EOF
    1745 if { (eval echo configure:1746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1792if { (eval echo configure:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17461793  rm -rf conftest*
    17471794  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17801827        *Linux*)
    17811828          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1782 echo "configure:1783: checking for dlopen in -ldl" >&5
     1829echo "configure:1830: checking for dlopen in -ldl" >&5
    17831830ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    17841831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17881835LIBS="-ldl  $LIBS"
    17891836cat > conftest.$ac_ext <<EOF
    1790 #line 1791 "configure"
     1837#line 1838 "configure"
    17911838#include "confdefs.h"
    17921839/* Override any gcc2 internal prototype to avoid an error.  */
     
    17991846; return 0; }
    18001847EOF
    1801 if { (eval echo configure:1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1848if { (eval echo configure:1849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18021849  rm -rf conftest*
    18031850  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18431890        SunOS-5)
    18441891          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1845 echo "configure:1846: checking for dlopen in -ldl" >&5
     1892echo "configure:1893: checking for dlopen in -ldl" >&5
    18461893ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    18471894if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18511898LIBS="-ldl  $LIBS"
    18521899cat > conftest.$ac_ext <<EOF
    1853 #line 1854 "configure"
     1900#line 1901 "configure"
    18541901#include "confdefs.h"
    18551902/* Override any gcc2 internal prototype to avoid an error.  */
     
    18621909; return 0; }
    18631910EOF
    1864 if { (eval echo configure:1865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1911if { (eval echo configure:1912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18651912  rm -rf conftest*
    18661913  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19071954# heder file checks
    19081955echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1909 echo "configure:1910: checking for ANSI C header files" >&5
     1956echo "configure:1957: checking for ANSI C header files" >&5
    19101957if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    19111958  echo $ac_n "(cached) $ac_c" 1>&6
    19121959else
    19131960  cat > conftest.$ac_ext <<EOF
    1914 #line 1915 "configure"
     1961#line 1962 "configure"
    19151962#include "confdefs.h"
    19161963#include <stdlib.h>
     
    19201967EOF
    19211968ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1922 { (eval echo configure:1923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1969{ (eval echo configure:1970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19231970ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19241971if test -z "$ac_err"; then
     
    19371984  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    19381985cat > conftest.$ac_ext <<EOF
    1939 #line 1940 "configure"
     1986#line 1987 "configure"
    19401987#include "confdefs.h"
    19411988#include <string.h>
     
    19552002  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    19562003cat > conftest.$ac_ext <<EOF
    1957 #line 1958 "configure"
     2004#line 2005 "configure"
    19582005#include "confdefs.h"
    19592006#include <stdlib.h>
     
    19762023else
    19772024  cat > conftest.$ac_ext <<EOF
    1978 #line 1979 "configure"
     2025#line 2026 "configure"
    19792026#include "confdefs.h"
    19802027#include <ctype.h>
     
    19872034
    19882035EOF
    1989 if { (eval echo configure:1990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2036if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    19902037then
    19912038  :
     
    20142061ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20152062echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2016 echo "configure:2017: checking for $ac_hdr" >&5
     2063echo "configure:2064: checking for $ac_hdr" >&5
    20172064if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20182065  echo $ac_n "(cached) $ac_c" 1>&6
    20192066else
    20202067  cat > conftest.$ac_ext <<EOF
    2021 #line 2022 "configure"
     2068#line 2069 "configure"
    20222069#include "confdefs.h"
    20232070#include <$ac_hdr>
    20242071EOF
    20252072ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2026 { (eval echo configure:2027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2073{ (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20272074ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20282075if test -z "$ac_err"; then
     
    20582105ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20592106echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2060 echo "configure:2061: checking for $ac_hdr" >&5
     2107echo "configure:2108: checking for $ac_hdr" >&5
    20612108if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20622109  echo $ac_n "(cached) $ac_c" 1>&6
    20632110else
    20642111  cat > conftest.$ac_ext <<EOF
    2065 #line 2066 "configure"
     2112#line 2113 "configure"
    20662113#include "confdefs.h"
    20672114#include <$ac_hdr>
    20682115EOF
    20692116ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2070 { (eval echo configure:2071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2117{ (eval echo configure:2118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20712118ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20722119if test -z "$ac_err"; then
     
    20972144# typedefs, structures
    20982145echo $ac_n "checking for working const""... $ac_c" 1>&6
    2099 echo "configure:2100: checking for working const" >&5
     2146echo "configure:2147: checking for working const" >&5
    21002147if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    21012148  echo $ac_n "(cached) $ac_c" 1>&6
    21022149else
    21032150  cat > conftest.$ac_ext <<EOF
    2104 #line 2105 "configure"
     2151#line 2152 "configure"
    21052152#include "confdefs.h"
    21062153
     
    21512198; return 0; }
    21522199EOF
    2153 if { (eval echo configure:2154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2200if { (eval echo configure:2201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21542201  rm -rf conftest*
    21552202  ac_cv_c_const=yes
     
    21722219
    21732220echo $ac_n "checking for inline""... $ac_c" 1>&6
    2174 echo "configure:2175: checking for inline" >&5
     2221echo "configure:2222: checking for inline" >&5
    21752222if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    21762223  echo $ac_n "(cached) $ac_c" 1>&6
     
    21792226for ac_kw in inline __inline__ __inline; do
    21802227  cat > conftest.$ac_ext <<EOF
    2181 #line 2182 "configure"
     2228#line 2229 "configure"
    21822229#include "confdefs.h"
    21832230
     
    21862233; return 0; }
    21872234EOF
    2188 if { (eval echo configure:2189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2235if { (eval echo configure:2236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21892236  rm -rf conftest*
    21902237  ac_cv_c_inline=$ac_kw; break
     
    22122259
    22132260echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2214 echo "configure:2215: checking for size_t" >&5
     2261echo "configure:2262: checking for size_t" >&5
    22152262if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    22162263  echo $ac_n "(cached) $ac_c" 1>&6
    22172264else
    22182265  cat > conftest.$ac_ext <<EOF
    2219 #line 2220 "configure"
     2266#line 2267 "configure"
    22202267#include "confdefs.h"
    22212268#include <sys/types.h>
     
    22452292
    22462293echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2247 echo "configure:2248: checking whether struct tm is in sys/time.h or time.h" >&5
     2294echo "configure:2295: checking whether struct tm is in sys/time.h or time.h" >&5
    22482295if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    22492296  echo $ac_n "(cached) $ac_c" 1>&6
    22502297else
    22512298  cat > conftest.$ac_ext <<EOF
    2252 #line 2253 "configure"
     2299#line 2300 "configure"
    22532300#include "confdefs.h"
    22542301#include <sys/types.h>
     
    22582305; return 0; }
    22592306EOF
    2260 if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2307if { (eval echo configure:2308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22612308  rm -rf conftest*
    22622309  ac_cv_struct_tm=time.h
     
    22792326
    22802327echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2281 echo "configure:2282: checking whether time.h and sys/time.h may both be included" >&5
     2328echo "configure:2329: checking whether time.h and sys/time.h may both be included" >&5
    22822329if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    22832330  echo $ac_n "(cached) $ac_c" 1>&6
    22842331else
    22852332  cat > conftest.$ac_ext <<EOF
    2286 #line 2287 "configure"
     2333#line 2334 "configure"
    22872334#include "confdefs.h"
    22882335#include <sys/types.h>
     
    22932340; return 0; }
    22942341EOF
    2295 if { (eval echo configure:2296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2342if { (eval echo configure:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22962343  rm -rf conftest*
    22972344  ac_cv_header_time=yes
     
    23182365# for constant arguments.  Useless!
    23192366echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2320 echo "configure:2321: checking for working alloca.h" >&5
     2367echo "configure:2368: checking for working alloca.h" >&5
    23212368if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    23222369  echo $ac_n "(cached) $ac_c" 1>&6
    23232370else
    23242371  cat > conftest.$ac_ext <<EOF
    2325 #line 2326 "configure"
     2372#line 2373 "configure"
    23262373#include "confdefs.h"
    23272374#include <alloca.h>
     
    23302377; return 0; }
    23312378EOF
    2332 if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2379if { (eval echo configure:2380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23332380  rm -rf conftest*
    23342381  ac_cv_header_alloca_h=yes
     
    23512398
    23522399echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2353 echo "configure:2354: checking for alloca" >&5
     2400echo "configure:2401: checking for alloca" >&5
    23542401if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    23552402  echo $ac_n "(cached) $ac_c" 1>&6
    23562403else
    23572404  cat > conftest.$ac_ext <<EOF
    2358 #line 2359 "configure"
     2405#line 2406 "configure"
    23592406#include "confdefs.h"
    23602407
     
    23842431; return 0; }
    23852432EOF
    2386 if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2433if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23872434  rm -rf conftest*
    23882435  ac_cv_func_alloca_works=yes
     
    24162463
    24172464echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2418 echo "configure:2419: checking whether alloca needs Cray hooks" >&5
     2465echo "configure:2466: checking whether alloca needs Cray hooks" >&5
    24192466if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    24202467  echo $ac_n "(cached) $ac_c" 1>&6
    24212468else
    24222469  cat > conftest.$ac_ext <<EOF
    2423 #line 2424 "configure"
     2470#line 2471 "configure"
    24242471#include "confdefs.h"
    24252472#if defined(CRAY) && ! defined(CRAY2)
     
    24462493for ac_func in _getb67 GETB67 getb67; do
    24472494  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2448 echo "configure:2449: checking for $ac_func" >&5
     2495echo "configure:2496: checking for $ac_func" >&5
    24492496if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24502497  echo $ac_n "(cached) $ac_c" 1>&6
    24512498else
    24522499  cat > conftest.$ac_ext <<EOF
    2453 #line 2454 "configure"
     2500#line 2501 "configure"
    24542501#include "confdefs.h"
    24552502/* System header to define __stub macros and hopefully few prototypes,
     
    24742521; return 0; }
    24752522EOF
    2476 if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2523if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24772524  rm -rf conftest*
    24782525  eval "ac_cv_func_$ac_func=yes"
     
    25012548
    25022549echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2503 echo "configure:2504: checking stack direction for C alloca" >&5
     2550echo "configure:2551: checking stack direction for C alloca" >&5
    25042551if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    25052552  echo $ac_n "(cached) $ac_c" 1>&6
     
    25092556else
    25102557  cat > conftest.$ac_ext <<EOF
    2511 #line 2512 "configure"
     2558#line 2559 "configure"
    25122559#include "confdefs.h"
    25132560find_stack_direction ()
     
    25282575}
    25292576EOF
    2530 if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2577if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    25312578then
    25322579  ac_cv_c_stack_direction=1
     
    25512598if test $ac_cv_prog_gcc = yes; then
    25522599    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2553 echo "configure:2554: checking whether ${CC-cc} needs -traditional" >&5
     2600echo "configure:2601: checking whether ${CC-cc} needs -traditional" >&5
    25542601if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    25552602  echo $ac_n "(cached) $ac_c" 1>&6
     
    25572604    ac_pattern="Autoconf.*'x'"
    25582605  cat > conftest.$ac_ext <<EOF
    2559 #line 2560 "configure"
     2606#line 2607 "configure"
    25602607#include "confdefs.h"
    25612608#include <sgtty.h>
     
    25752622  if test $ac_cv_prog_gcc_traditional = no; then
    25762623    cat > conftest.$ac_ext <<EOF
    2577 #line 2578 "configure"
     2624#line 2625 "configure"
    25782625#include "confdefs.h"
    25792626#include <termio.h>
     
    26002647ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    26012648echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2602 echo "configure:2603: checking for $ac_hdr" >&5
     2649echo "configure:2650: checking for $ac_hdr" >&5
    26032650if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    26042651  echo $ac_n "(cached) $ac_c" 1>&6
    26052652else
    26062653  cat > conftest.$ac_ext <<EOF
    2607 #line 2608 "configure"
     2654#line 2655 "configure"
    26082655#include "confdefs.h"
    26092656#include <$ac_hdr>
    26102657EOF
    26112658ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2612 { (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2659{ (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26132660ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26142661if test -z "$ac_err"; then
     
    26392686do
    26402687echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2641 echo "configure:2642: checking for $ac_func" >&5
     2688echo "configure:2689: checking for $ac_func" >&5
    26422689if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26432690  echo $ac_n "(cached) $ac_c" 1>&6
    26442691else
    26452692  cat > conftest.$ac_ext <<EOF
    2646 #line 2647 "configure"
     2693#line 2694 "configure"
    26472694#include "confdefs.h"
    26482695/* System header to define __stub macros and hopefully few prototypes,
     
    26672714; return 0; }
    26682715EOF
    2669 if { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2716if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26702717  rm -rf conftest*
    26712718  eval "ac_cv_func_$ac_func=yes"
     
    26922739
    26932740echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2694 echo "configure:2695: checking for working mmap" >&5
     2741echo "configure:2742: checking for working mmap" >&5
    26952742if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    26962743  echo $ac_n "(cached) $ac_c" 1>&6
     
    27002747else
    27012748  cat > conftest.$ac_ext <<EOF
    2702 #line 2703 "configure"
     2749#line 2750 "configure"
    27032750#include "confdefs.h"
    27042751
     
    28402887
    28412888EOF
    2842 if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2889if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28432890then
    28442891  ac_cv_func_mmap_fixed_mapped=yes
     
    28632910
    28642911echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2865 echo "configure:2866: checking return type of signal handlers" >&5
     2912echo "configure:2913: checking return type of signal handlers" >&5
    28662913if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    28672914  echo $ac_n "(cached) $ac_c" 1>&6
    28682915else
    28692916  cat > conftest.$ac_ext <<EOF
    2870 #line 2871 "configure"
     2917#line 2918 "configure"
    28712918#include "confdefs.h"
    28722919#include <sys/types.h>
     
    28852932; return 0; }
    28862933EOF
    2887 if { (eval echo configure:2888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2934if { (eval echo configure:2935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28882935  rm -rf conftest*
    28892936  ac_cv_type_signal=void
     
    29042951
    29052952echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2906 echo "configure:2907: checking for vprintf" >&5
     2953echo "configure:2954: checking for vprintf" >&5
    29072954if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    29082955  echo $ac_n "(cached) $ac_c" 1>&6
    29092956else
    29102957  cat > conftest.$ac_ext <<EOF
    2911 #line 2912 "configure"
     2958#line 2959 "configure"
    29122959#include "confdefs.h"
    29132960/* System header to define __stub macros and hopefully few prototypes,
     
    29322979; return 0; }
    29332980EOF
    2934 if { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2981if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29352982  rm -rf conftest*
    29362983  eval "ac_cv_func_vprintf=yes"
     
    29563003if test "$ac_cv_func_vprintf" != yes; then
    29573004echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2958 echo "configure:2959: checking for _doprnt" >&5
     3005echo "configure:3006: checking for _doprnt" >&5
    29593006if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    29603007  echo $ac_n "(cached) $ac_c" 1>&6
    29613008else
    29623009  cat > conftest.$ac_ext <<EOF
    2963 #line 2964 "configure"
     3010#line 3011 "configure"
    29643011#include "confdefs.h"
    29653012/* System header to define __stub macros and hopefully few prototypes,
     
    29843031; return 0; }
    29853032EOF
    2986 if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3033if { (eval echo configure:3034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29873034  rm -rf conftest*
    29883035  eval "ac_cv_func__doprnt=yes"
     
    30103057
    30113058echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    3012 echo "configure:3013: checking for library containing setenv" >&5
     3059echo "configure:3060: checking for library containing setenv" >&5
    30133060if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    30143061  echo $ac_n "(cached) $ac_c" 1>&6
     
    30173064ac_cv_search_setenv="no"
    30183065cat > conftest.$ac_ext <<EOF
    3019 #line 3020 "configure"
     3066#line 3067 "configure"
    30203067#include "confdefs.h"
    30213068/* Override any gcc2 internal prototype to avoid an error.  */
     
    30283075; return 0; }
    30293076EOF
    3030 if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3077if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30313078  rm -rf conftest*
    30323079  ac_cv_search_setenv="none required"
     
    30393086LIBS="-l$i  $ac_func_search_save_LIBS"
    30403087cat > conftest.$ac_ext <<EOF
    3041 #line 3042 "configure"
     3088#line 3089 "configure"
    30423089#include "confdefs.h"
    30433090/* Override any gcc2 internal prototype to avoid an error.  */
     
    30503097; return 0; }
    30513098EOF
    3052 if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3099if { (eval echo configure:3100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30533100  rm -rf conftest*
    30543101  ac_cv_search_setenv="-l$i"
     
    30743121do
    30753122echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3076 echo "configure:3077: checking for $ac_func" >&5
     3123echo "configure:3124: checking for $ac_func" >&5
    30773124if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30783125  echo $ac_n "(cached) $ac_c" 1>&6
    30793126else
    30803127  cat > conftest.$ac_ext <<EOF
    3081 #line 3082 "configure"
     3128#line 3129 "configure"
    30823129#include "confdefs.h"
    30833130/* System header to define __stub macros and hopefully few prototypes,
     
    31023149; return 0; }
    31033150EOF
    3104 if { (eval echo configure:3105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3151if { (eval echo configure:3152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31053152  rm -rf conftest*
    31063153  eval "ac_cv_func_$ac_func=yes"
     
    31313178# arithmetic shifts
    31323179echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3133 echo "configure:3134: checking whether your machine has correct arithmetic shifts" >&5
     3180echo "configure:3181: checking whether your machine has correct arithmetic shifts" >&5
    31343181if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    31353182  echo $ac_n "(cached) $ac_c" 1>&6
     
    31443191else
    31453192  cat > conftest.$ac_ext <<EOF
    3146 #line 3147 "configure"
     3193#line 3194 "configure"
    31473194#include "confdefs.h"
    31483195 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    31493196EOF
    3150 if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3197if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31513198then
    31523199  ac_cv_shift=yes
     
    31733220# check for a peculiar constructor initialization
    31743221echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3175 echo "configure:3176: checking whether explicit C++ constructor calls are allowed" >&5
     3222echo "configure:3223: checking whether explicit C++ constructor calls are allowed" >&5
    31763223
    31773224ac_ext=C
     
    31863233else
    31873234  cat > conftest.$ac_ext <<EOF
    3188 #line 3189 "configure"
     3235#line 3236 "configure"
    31893236#include "confdefs.h"
    31903237
     
    32043251; return 0; }
    32053252EOF
    3206 if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3253if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32073254  rm -rf conftest*
    32083255  ac_cv_explicit_const=yes
     
    32333280# sprintf returns number of printed chars
    32343281echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3235 echo "configure:3236: checking whether vsprintf returns number of printed chars" >&5
     3282echo "configure:3283: checking whether vsprintf returns number of printed chars" >&5
    32363283if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    32373284  echo $ac_n "(cached) $ac_c" 1>&6
     
    32413288else
    32423289  cat > conftest.$ac_ext <<EOF
    3243 #line 3244 "configure"
     3290#line 3291 "configure"
    32443291#include "confdefs.h"
    32453292#include <stdio.h>
    32463293 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    32473294EOF
    3248 if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3295if { (eval echo configure:3296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32493296then
    32503297  ac_cv_returns_n_of_chars=yes
     
    32723319# determine ALIGN_8
    32733320echo $ac_n "checking size of char""... $ac_c" 1>&6
    3274 echo "configure:3275: checking size of char" >&5
     3321echo "configure:3322: checking size of char" >&5
    32753322if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    32763323  echo $ac_n "(cached) $ac_c" 1>&6
     
    32803327else
    32813328  cat > conftest.$ac_ext <<EOF
    3282 #line 3283 "configure"
     3329#line 3330 "configure"
    32833330#include "confdefs.h"
    32843331#include <stdio.h>
     
    32913338}
    32923339EOF
    3293 if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3340if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32943341then
    32953342  ac_cv_sizeof_char=`cat conftestval`
     
    33113358
    33123359echo $ac_n "checking size of short""... $ac_c" 1>&6
    3313 echo "configure:3314: checking size of short" >&5
     3360echo "configure:3361: checking size of short" >&5
    33143361if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    33153362  echo $ac_n "(cached) $ac_c" 1>&6
     
    33193366else
    33203367  cat > conftest.$ac_ext <<EOF
    3321 #line 3322 "configure"
     3368#line 3369 "configure"
    33223369#include "confdefs.h"
    33233370#include <stdio.h>
     
    33303377}
    33313378EOF
    3332 if { (eval echo configure:3333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3379if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33333380then
    33343381  ac_cv_sizeof_short=`cat conftestval`
     
    33503397
    33513398echo $ac_n "checking size of int""... $ac_c" 1>&6
    3352 echo "configure:3353: checking size of int" >&5
     3399echo "configure:3400: checking size of int" >&5
    33533400if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    33543401  echo $ac_n "(cached) $ac_c" 1>&6
     
    33583405else
    33593406  cat > conftest.$ac_ext <<EOF
    3360 #line 3361 "configure"
     3407#line 3408 "configure"
    33613408#include "confdefs.h"
    33623409#include <stdio.h>
     
    33693416}
    33703417EOF
    3371 if { (eval echo configure:3372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3418if { (eval echo configure:3419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33723419then
    33733420  ac_cv_sizeof_int=`cat conftestval`
     
    33893436
    33903437echo $ac_n "checking size of long""... $ac_c" 1>&6
    3391 echo "configure:3392: checking size of long" >&5
     3438echo "configure:3439: checking size of long" >&5
    33923439if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    33933440  echo $ac_n "(cached) $ac_c" 1>&6
     
    33973444else
    33983445  cat > conftest.$ac_ext <<EOF
    3399 #line 3400 "configure"
     3446#line 3447 "configure"
    34003447#include "confdefs.h"
    34013448#include <stdio.h>
     
    34083455}
    34093456EOF
    3410 if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3457if { (eval echo configure:3458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34113458then
    34123459  ac_cv_sizeof_long=`cat conftestval`
     
    34283475
    34293476echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3430 echo "configure:3431: checking size of void*" >&5
     3477echo "configure:3478: checking size of void*" >&5
    34313478if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    34323479  echo $ac_n "(cached) $ac_c" 1>&6
     
    34363483else
    34373484  cat > conftest.$ac_ext <<EOF
    3438 #line 3439 "configure"
     3485#line 3486 "configure"
    34393486#include "confdefs.h"
    34403487#include <stdio.h>
     
    34473494}
    34483495EOF
    3449 if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3496if { (eval echo configure:3497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34503497then
    34513498  ac_cv_sizeof_voidp=`cat conftestval`
     
    34673514
    34683515echo $ac_n "checking size of double""... $ac_c" 1>&6
    3469 echo "configure:3470: checking size of double" >&5
     3516echo "configure:3517: checking size of double" >&5
    34703517if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    34713518  echo $ac_n "(cached) $ac_c" 1>&6
     
    34753522else
    34763523  cat > conftest.$ac_ext <<EOF
    3477 #line 3478 "configure"
     3524#line 3525 "configure"
    34783525#include "confdefs.h"
    34793526#include <stdio.h>
     
    34863533}
    34873534EOF
    3488 if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3535if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34893536then
    34903537  ac_cv_sizeof_double=`cat conftestval`
     
    35063553
    35073554echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3508 echo "configure:3509: checking whether byte ordering is bigendian" >&5
     3555echo "configure:3556: checking whether byte ordering is bigendian" >&5
    35093556if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    35103557  echo $ac_n "(cached) $ac_c" 1>&6
     
    35133560# See if sys/param.h defines the BYTE_ORDER macro.
    35143561cat > conftest.$ac_ext <<EOF
    3515 #line 3516 "configure"
     3562#line 3563 "configure"
    35163563#include "confdefs.h"
    35173564#include <sys/types.h>
     
    35243571; return 0; }
    35253572EOF
    3526 if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3573if { (eval echo configure:3574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    35273574  rm -rf conftest*
    35283575  # It does; now see whether it defined to BIG_ENDIAN or not.
    35293576cat > conftest.$ac_ext <<EOF
    3530 #line 3531 "configure"
     3577#line 3578 "configure"
    35313578#include "confdefs.h"
    35323579#include <sys/types.h>
     
    35393586; return 0; }
    35403587EOF
    3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3588if { (eval echo configure:3589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    35423589  rm -rf conftest*
    35433590  ac_cv_c_bigendian=yes
     
    35593606else
    35603607  cat > conftest.$ac_ext <<EOF
    3561 #line 3562 "configure"
     3608#line 3609 "configure"
    35623609#include "confdefs.h"
    35633610main () {
     
    35723619}
    35733620EOF
    3574 if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3621if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35753622then
    35763623  ac_cv_c_bigendian=no
     
    37023749
    37033750echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    3704 echo "configure:3705: checking whether to use dynamic linking" >&5
     3751echo "configure:3752: checking whether to use dynamic linking" >&5
    37053752if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    37063753  cat >> confdefs.h <<\EOF
     
    37153762
    37163763echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3717 echo "configure:3718: checking for tgetent in -lncurses" >&5
     3764echo "configure:3765: checking for tgetent in -lncurses" >&5
    37183765ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    37193766if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37233770LIBS="-lncurses  $LIBS"
    37243771cat > conftest.$ac_ext <<EOF
    3725 #line 3726 "configure"
     3772#line 3773 "configure"
    37263773#include "confdefs.h"
    37273774/* Override any gcc2 internal prototype to avoid an error.  */
     
    37343781; return 0; }
    37353782EOF
    3736 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3783if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37373784  rm -rf conftest*
    37383785  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37613808\
    37623809 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3763 echo "configure:3764: checking for tgetent in -lcurses" >&5
     3810echo "configure:3811: checking for tgetent in -lcurses" >&5
    37643811ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    37653812if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37693816LIBS="-lcurses  $LIBS"
    37703817cat > conftest.$ac_ext <<EOF
    3771 #line 3772 "configure"
     3818#line 3819 "configure"
    37723819#include "confdefs.h"
    37733820/* Override any gcc2 internal prototype to avoid an error.  */
     
    37803827; return 0; }
    37813828EOF
    3782 if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3829if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37833830  rm -rf conftest*
    37843831  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38073854\
    38083855  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3809 echo "configure:3810: checking for tgetent in -ltermcap" >&5
     3856echo "configure:3857: checking for tgetent in -ltermcap" >&5
    38103857ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    38113858if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38153862LIBS="-ltermcap  $LIBS"
    38163863cat > conftest.$ac_ext <<EOF
    3817 #line 3818 "configure"
     3864#line 3865 "configure"
    38183865#include "confdefs.h"
    38193866/* Override any gcc2 internal prototype to avoid an error.  */
     
    38263873; return 0; }
    38273874EOF
    3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3875if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38293876  rm -rf conftest*
    38303877  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38753922
    38763923   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3877 echo "configure:3878: checking for rl_abort in -lreadline" >&5
     3924echo "configure:3925: checking for rl_abort in -lreadline" >&5
    38783925ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38793926if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38833930LIBS="-lreadline  $LIBS"
    38843931cat > conftest.$ac_ext <<EOF
    3885 #line 3886 "configure"
     3932#line 3933 "configure"
    38863933#include "confdefs.h"
    38873934/* Override any gcc2 internal prototype to avoid an error.  */
     
    38973944; return 0; }
    38983945EOF
    3899 if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3946if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39003947  rm -rf conftest*
    39013948  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39253972
    39263973   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3927 echo "configure:3928: checking how to run the C++ preprocessor" >&5
     3974echo "configure:3975: checking how to run the C++ preprocessor" >&5
    39283975if test -z "$CXXCPP"; then
    39293976if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    39383985  CXXCPP="${CXX-g++} -E"
    39393986  cat > conftest.$ac_ext <<EOF
    3940 #line 3941 "configure"
     3987#line 3988 "configure"
    39413988#include "confdefs.h"
    39423989#include <stdlib.h>
    39433990EOF
    39443991ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3945 { (eval echo configure:3946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3992{ (eval echo configure:3993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39463993ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39473994if test -z "$ac_err"; then
     
    39714018ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    39724019echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3973 echo "configure:3974: checking for $ac_hdr" >&5
     4020echo "configure:4021: checking for $ac_hdr" >&5
    39744021if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    39754022  echo $ac_n "(cached) $ac_c" 1>&6
    39764023else
    39774024  cat > conftest.$ac_ext <<EOF
    3978 #line 3979 "configure"
     4025#line 4026 "configure"
    39794026#include "confdefs.h"
    39804027#include <$ac_hdr>
    39814028EOF
    39824029ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3983 { (eval echo configure:3984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4030{ (eval echo configure:4031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39844031ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39854032if test -z "$ac_err"; then
     
    40104057      test "$ac_cv_header_readline_readline_h" = yes; then
    40114058     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4012 echo "configure:4013: checking whether readline.h is ok" >&5
     4059echo "configure:4060: checking whether readline.h is ok" >&5
    40134060     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    40144061  echo $ac_n "(cached) $ac_c" 1>&6
    40154062else
    40164063  cat > conftest.$ac_ext <<EOF
    4017 #line 4018 "configure"
     4064#line 4065 "configure"
    40184065#include "confdefs.h"
    40194066#include<unistd.h>
     
    40284075; return 0; }
    40294076EOF
    4030 if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4077if { (eval echo configure:4078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40314078  rm -rf conftest*
    40324079  ac_cv_header_readline_readline_h_ok="yes"
     
    40444091#not ok -- try once more with explicitly declaring everything
    40454092      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4046 echo "configure:4047: checking whether or not we nevertheless can use readline" >&5
     4093echo "configure:4094: checking whether or not we nevertheless can use readline" >&5
    40474094      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    40484095  echo $ac_n "(cached) $ac_c" 1>&6
    40494096else
    40504097  cat > conftest.$ac_ext <<EOF
    4051 #line 4052 "configure"
     4098#line 4099 "configure"
    40524099#include "confdefs.h"
    40534100#include <stdio.h>
     
    40834130; return 0; }
    40844131EOF
    4085 if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4132if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40864133  rm -rf conftest*
    40874134  ac_cv_have_readline="yes"
     
    41224169
    41234170echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4124 echo "configure:4125: checking which readline to use" >&5
     4171echo "configure:4172: checking which readline to use" >&5
    41254172if test "$ac_cv_with_readline" = dynamic; then
    41264173  echo "$ac_t""dynamic" 1>&6
     
    41424189# gmp, smallgmp, MP, MPT, factory, libfac
    41434190echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4144 echo "configure:4145: checking for main in -lgmp" >&5
     4191echo "configure:4192: checking for main in -lgmp" >&5
    41454192ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    41464193if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41504197LIBS="-lgmp  $LIBS"
    41514198cat > conftest.$ac_ext <<EOF
    4152 #line 4153 "configure"
     4199#line 4200 "configure"
    41534200#include "confdefs.h"
    41544201
     
    41574204; return 0; }
    41584205EOF
    4159 if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4206if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41604207  rm -rf conftest*
    41614208  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41884235fi
    41894236echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4190 echo "configure:4191: checking for main in -lsmallgmp" >&5
     4237echo "configure:4238: checking for main in -lsmallgmp" >&5
    41914238ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    41924239if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41964243LIBS="-lsmallgmp  $LIBS"
    41974244cat > conftest.$ac_ext <<EOF
    4198 #line 4199 "configure"
     4245#line 4246 "configure"
    41994246#include "confdefs.h"
    42004247
     
    42034250; return 0; }
    42044251EOF
    4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4252if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42064253  rm -rf conftest*
    42074254  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42324279SAVE_LIBS=$LIBS
    42334280echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4234 echo "configure:4235: checking for IMP_PutGmpInt in -lMP" >&5
     4281echo "configure:4282: checking for IMP_PutGmpInt in -lMP" >&5
    42354282ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    42364283if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42404287LIBS="-lMP $MP_LIBS $LIBS"
    42414288cat > conftest.$ac_ext <<EOF
    4242 #line 4243 "configure"
     4289#line 4290 "configure"
    42434290#include "confdefs.h"
    42444291/* Override any gcc2 internal prototype to avoid an error.  */
     
    42514298; return 0; }
    42524299EOF
    4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4300if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42544301  rm -rf conftest*
    42554302  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42794326
    42804327echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4281 echo "configure:4282: checking for MPT_GetTree in -lMPT" >&5
     4328echo "configure:4329: checking for MPT_GetTree in -lMPT" >&5
    42824329ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    42834330if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42874334LIBS="-lMPT $MP_LIBS $LIBS"
    42884335cat > conftest.$ac_ext <<EOF
    4289 #line 4290 "configure"
     4336#line 4337 "configure"
    42904337#include "confdefs.h"
    42914338/* Override any gcc2 internal prototype to avoid an error.  */
     
    42984345; return 0; }
    42994346EOF
    4300 if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4347if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43014348  rm -rf conftest*
    43024349  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43274374LIBS=$SAVE_LIBS
    43284375echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4329 echo "configure:4330: checking for atof in -lsingcf" >&5
     4376echo "configure:4377: checking for atof in -lsingcf" >&5
    43304377ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    43314378if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43354382LIBS="-lsingcf  $LIBS"
    43364383cat > conftest.$ac_ext <<EOF
    4337 #line 4338 "configure"
     4384#line 4385 "configure"
    43384385#include "confdefs.h"
    43394386/* Override any gcc2 internal prototype to avoid an error.  */
     
    43464393; return 0; }
    43474394EOF
    4348 if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4395if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43494396  rm -rf conftest*
    43504397  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43744421
    43754422echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4376 echo "configure:4377: checking for atof in -lsingfac" >&5
     4423echo "configure:4424: checking for atof in -lsingfac" >&5
    43774424ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    43784425if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43824429LIBS="-lsingfac  $LIBS"
    43834430cat > conftest.$ac_ext <<EOF
    4384 #line 4385 "configure"
     4431#line 4432 "configure"
    43854432#include "confdefs.h"
    43864433/* Override any gcc2 internal prototype to avoid an error.  */
     
    43934440; return 0; }
    43944441EOF
    4395 if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4442if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43964443  rm -rf conftest*
    43974444  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44214468
    44224469echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4423 echo "configure:4424: checking for omTestAddr in -lomalloc" >&5
     4470echo "configure:4471: checking for omTestAddr in -lomalloc" >&5
    44244471ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    44254472if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44294476LIBS="-lomalloc  $LIBS"
    44304477cat > conftest.$ac_ext <<EOF
    4431 #line 4432 "configure"
     4478#line 4479 "configure"
    44324479#include "confdefs.h"
    44334480/* Override any gcc2 internal prototype to avoid an error.  */
     
    44404487; return 0; }
    44414488EOF
    4442 if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4489if { (eval echo configure:4490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44434490  rm -rf conftest*
    44444491  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44684515
    44694516echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4470 echo "configure:4471: checking for main in -lomalloc_ndebug" >&5
     4517echo "configure:4518: checking for main in -lomalloc_ndebug" >&5
    44714518ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    44724519if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44764523LIBS="-lomalloc_ndebug  $LIBS"
    44774524cat > conftest.$ac_ext <<EOF
    4478 #line 4479 "configure"
     4525#line 4526 "configure"
    44794526#include "confdefs.h"
    44804527
     
    44834530; return 0; }
    44844531EOF
    4485 if { (eval echo configure:4486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4532if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44864533  rm -rf conftest*
    44874534  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45114558
    45124559echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
    4513 echo "configure:4514: checking for main in -lntl" >&5
     4560echo "configure:4561: checking for main in -lntl" >&5
    45144561ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
    45154562if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45194566LIBS="-lntl  $LIBS"
    45204567cat > conftest.$ac_ext <<EOF
    4521 #line 4522 "configure"
     4568#line 4569 "configure"
    45224569#include "confdefs.h"
    45234570
     
    45264573; return 0; }
    45274574EOF
    4528 if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4575if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45294576  rm -rf conftest*
    45304577  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45594606ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45604607echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4561 echo "configure:4562: checking for $ac_hdr" >&5
     4608echo "configure:4609: checking for $ac_hdr" >&5
    45624609if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45634610  echo $ac_n "(cached) $ac_c" 1>&6
    45644611else
    45654612  cat > conftest.$ac_ext <<EOF
    4566 #line 4567 "configure"
     4613#line 4614 "configure"
    45674614#include "confdefs.h"
    45684615#include <$ac_hdr>
    45694616EOF
    45704617ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4571 { (eval echo configure:4572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4618{ (eval echo configure:4619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45724619ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45734620if test -z "$ac_err"; then
     
    46414688
    46424689echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4643 echo "configure:4644: checking which apint package to use" >&5
     4690echo "configure:4691: checking which apint package to use" >&5
    46444691if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    46454692  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    46834730#
    46844731echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4685 echo "configure:4686: checking whether to have MP" >&5
     4732echo "configure:4733: checking whether to have MP" >&5
    46864733if test "${with_MP}" != yes && test "${with_MP}" != no; then
    46874734  if (test "${will_have_gmp}" = yes) && \
     
    47184765
    47194766echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
    4720 echo "configure:4721: checking whether to have NTL" >&5
     4767echo "configure:4768: checking whether to have NTL" >&5
    47214768if test "${with_NTL}" = yes ; then
    47224769  echo "$ac_t""yes" 1>&6
     
    47274774
    47284775echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4729 echo "configure:4730: checking whether to have factory" >&5
     4776echo "configure:4777: checking whether to have factory" >&5
    47304777if test "${with_factory}" != yes && test "${with_factory}" != no; then
    47314778  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    47584805
    47594806echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4760 echo "configure:4761: checking whether to have libfac" >&5
     4807echo "configure:4808: checking whether to have libfac" >&5
    47614808if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    47624809  if (test "${will_have_factory}" = yes) && \
     
    47924839
    47934840echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4794 echo "configure:4795: checking whether to have dbm links" >&5
     4841echo "configure:4842: checking whether to have dbm links" >&5
    47954842if test "$with_dbm" != no; then
    47964843  cat >> confdefs.h <<\EOF
     
    48044851
    48054852echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4806 echo "configure:4807: checking whether to have namespaces" >&5
     4853echo "configure:4854: checking whether to have namespaces" >&5
    48074854if test "$with_namespaces" != no; then
    48084855  echo "$ac_t""yes" 1>&6
     
    48164863
    48174864echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    4818 echo "configure:4819: checking whether to have dynamic modules" >&5
     4865echo "configure:4866: checking whether to have dynamic modules" >&5
    48194866if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    48204867  echo "$ac_t""no" 1>&6
     
    48284875
    48294876echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    4830 echo "configure:4831: checking whether to have dynamic kernel" >&5
     4877echo "configure:4878: checking whether to have dynamic kernel" >&5
    48314878if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    48324879  DL_KERNEL=1
     
    48384885
    48394886echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4840 echo "configure:4841: checking whether to have Plural" >&5
     4887echo "configure:4888: checking whether to have Plural" >&5
    48414888if test "$with_Plural" != yes && test "$enable_Plural" != yes; then
    48424889  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    r73d2b6 rbdd18d  
    316316
    317317dnl I'm not sure what they are for
    318 dnl AC_CHECK_LIB(bsd, socket)
     318AC_CHECK_LIB(bsd, setenv)
    319319dnl AC_CHECK_LIB(socket, listen)
    320320dnl AC_CHECK_LIB(nsl, gethostbyname)
Note: See TracChangeset for help on using the changeset viewer.