Changeset 937cbcd in git


Ignore:
Timestamp:
Apr 10, 2001, 4:38:02 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
056f984352b62381971753cc6ad8090071018aef
Parents:
866c965df4a8fea183871c4dc52586b73c9a7e4f
Message:
*hannes: fixed LD


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r866c96 r937cbcd  
    17421742                SFLAGS="-fPIC -DPIC"
    17431743                SLDFLAGS=-shared
     1744                LD=gcc
    17441745                ac_lib_dl=yes
    17451746          fi
     
    17471748        *Linux*)
    17481749          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1749 echo "configure:1750: checking for dlopen in -ldl" >&5
     1750echo "configure:1751: checking for dlopen in -ldl" >&5
    17501751ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    17511752if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17551756LIBS="-ldl  $LIBS"
    17561757cat > conftest.$ac_ext <<EOF
    1757 #line 1758 "configure"
     1758#line 1759 "configure"
    17581759#include "confdefs.h"
    17591760/* Override any gcc2 internal prototype to avoid an error.  */
     
    17661767; return 0; }
    17671768EOF
    1768 if { (eval echo configure:1769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1769if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17691770  rm -rf conftest*
    17701771  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17971798                SFLAGS="-fpic -DPIC"
    17981799                SLDFLAGS=-shared
     1800                LD=ld
    17991801                ac_lib_dl=yes
    18001802          fi
     
    18021804        SunOS-5)
    18031805          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1804 echo "configure:1805: checking for dlopen in -ldl" >&5
     1806echo "configure:1807: checking for dlopen in -ldl" >&5
    18051807ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    18061808if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18101812LIBS="-ldl  $LIBS"
    18111813cat > conftest.$ac_ext <<EOF
    1812 #line 1813 "configure"
     1814#line 1815 "configure"
    18131815#include "confdefs.h"
    18141816/* Override any gcc2 internal prototype to avoid an error.  */
     
    18211823; return 0; }
    18221824EOF
    1823 if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1825if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18241826  rm -rf conftest*
    18251827  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18591861          SFLAGS="-fPIC -DPIC"
    18601862          SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared"
     1863          LD=ld
    18611864          ac_lib_dl=yes
    18621865        ;;
     
    18651868
    18661869
     1870
    18671871LIBS=${SAVE_LIBS}
    18681872
     
    18701874# heder file checks
    18711875echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1872 echo "configure:1873: checking for ANSI C header files" >&5
     1876echo "configure:1877: checking for ANSI C header files" >&5
    18731877if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    18741878  echo $ac_n "(cached) $ac_c" 1>&6
    18751879else
    18761880  cat > conftest.$ac_ext <<EOF
    1877 #line 1878 "configure"
     1881#line 1882 "configure"
    18781882#include "confdefs.h"
    18791883#include <stdlib.h>
     
    18831887EOF
    18841888ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1885 { (eval echo configure:1886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1889{ (eval echo configure:1890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18861890ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18871891if test -z "$ac_err"; then
     
    19001904  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    19011905cat > conftest.$ac_ext <<EOF
    1902 #line 1903 "configure"
     1906#line 1907 "configure"
    19031907#include "confdefs.h"
    19041908#include <string.h>
     
    19181922  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    19191923cat > conftest.$ac_ext <<EOF
    1920 #line 1921 "configure"
     1924#line 1925 "configure"
    19211925#include "confdefs.h"
    19221926#include <stdlib.h>
     
    19391943else
    19401944  cat > conftest.$ac_ext <<EOF
    1941 #line 1942 "configure"
     1945#line 1946 "configure"
    19421946#include "confdefs.h"
    19431947#include <ctype.h>
     
    19501954
    19511955EOF
    1952 if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1956if { (eval echo configure:1957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    19531957then
    19541958  :
     
    19771981ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19781982echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1979 echo "configure:1980: checking for $ac_hdr" >&5
     1983echo "configure:1984: checking for $ac_hdr" >&5
    19801984if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19811985  echo $ac_n "(cached) $ac_c" 1>&6
    19821986else
    19831987  cat > conftest.$ac_ext <<EOF
    1984 #line 1985 "configure"
     1988#line 1989 "configure"
    19851989#include "confdefs.h"
    19861990#include <$ac_hdr>
    19871991EOF
    19881992ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1989 { (eval echo configure:1990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1993{ (eval echo configure:1994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19901994ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19911995if test -z "$ac_err"; then
     
    20192023ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20202024echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2021 echo "configure:2022: checking for $ac_hdr" >&5
     2025echo "configure:2026: checking for $ac_hdr" >&5
    20222026if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20232027  echo $ac_n "(cached) $ac_c" 1>&6
    20242028else
    20252029  cat > conftest.$ac_ext <<EOF
    2026 #line 2027 "configure"
     2030#line 2031 "configure"
    20272031#include "confdefs.h"
    20282032#include <$ac_hdr>
    20292033EOF
    20302034ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2031 { (eval echo configure:2032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2035{ (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20322036ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20332037if test -z "$ac_err"; then
     
    20582062# typedefs, structures
    20592063echo $ac_n "checking for working const""... $ac_c" 1>&6
    2060 echo "configure:2061: checking for working const" >&5
     2064echo "configure:2065: checking for working const" >&5
    20612065if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    20622066  echo $ac_n "(cached) $ac_c" 1>&6
    20632067else
    20642068  cat > conftest.$ac_ext <<EOF
    2065 #line 2066 "configure"
     2069#line 2070 "configure"
    20662070#include "confdefs.h"
    20672071
     
    21122116; return 0; }
    21132117EOF
    2114 if { (eval echo configure:2115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2118if { (eval echo configure:2119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21152119  rm -rf conftest*
    21162120  ac_cv_c_const=yes
     
    21332137
    21342138echo $ac_n "checking for inline""... $ac_c" 1>&6
    2135 echo "configure:2136: checking for inline" >&5
     2139echo "configure:2140: checking for inline" >&5
    21362140if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    21372141  echo $ac_n "(cached) $ac_c" 1>&6
     
    21402144for ac_kw in inline __inline__ __inline; do
    21412145  cat > conftest.$ac_ext <<EOF
    2142 #line 2143 "configure"
     2146#line 2147 "configure"
    21432147#include "confdefs.h"
    21442148
     
    21472151; return 0; }
    21482152EOF
    2149 if { (eval echo configure:2150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2153if { (eval echo configure:2154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21502154  rm -rf conftest*
    21512155  ac_cv_c_inline=$ac_kw; break
     
    21732177
    21742178echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2175 echo "configure:2176: checking for size_t" >&5
     2179echo "configure:2180: checking for size_t" >&5
    21762180if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    21772181  echo $ac_n "(cached) $ac_c" 1>&6
    21782182else
    21792183  cat > conftest.$ac_ext <<EOF
    2180 #line 2181 "configure"
     2184#line 2185 "configure"
    21812185#include "confdefs.h"
    21822186#include <sys/types.h>
     
    22062210
    22072211echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2208 echo "configure:2209: checking whether time.h and sys/time.h may both be included" >&5
     2212echo "configure:2213: checking whether time.h and sys/time.h may both be included" >&5
    22092213if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    22102214  echo $ac_n "(cached) $ac_c" 1>&6
    22112215else
    22122216  cat > conftest.$ac_ext <<EOF
    2213 #line 2214 "configure"
     2217#line 2218 "configure"
    22142218#include "confdefs.h"
    22152219#include <sys/types.h>
     
    22202224; return 0; }
    22212225EOF
    2222 if { (eval echo configure:2223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2226if { (eval echo configure:2227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22232227  rm -rf conftest*
    22242228  ac_cv_header_time=yes
     
    22412245
    22422246echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2243 echo "configure:2244: checking whether struct tm is in sys/time.h or time.h" >&5
     2247echo "configure:2248: checking whether struct tm is in sys/time.h or time.h" >&5
    22442248if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    22452249  echo $ac_n "(cached) $ac_c" 1>&6
    22462250else
    22472251  cat > conftest.$ac_ext <<EOF
    2248 #line 2249 "configure"
     2252#line 2253 "configure"
    22492253#include "confdefs.h"
    22502254#include <sys/types.h>
     
    22542258; return 0; }
    22552259EOF
    2256 if { (eval echo configure:2257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2260if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22572261  rm -rf conftest*
    22582262  ac_cv_struct_tm=time.h
     
    22792283# for constant arguments.  Useless!
    22802284echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2281 echo "configure:2282: checking for working alloca.h" >&5
     2285echo "configure:2286: checking for working alloca.h" >&5
    22822286if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    22832287  echo $ac_n "(cached) $ac_c" 1>&6
    22842288else
    22852289  cat > conftest.$ac_ext <<EOF
    2286 #line 2287 "configure"
     2290#line 2291 "configure"
    22872291#include "confdefs.h"
    22882292#include <alloca.h>
     
    22912295; return 0; }
    22922296EOF
    2293 if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2297if { (eval echo configure:2298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22942298  rm -rf conftest*
    22952299  ac_cv_header_alloca_h=yes
     
    23122316
    23132317echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2314 echo "configure:2315: checking for alloca" >&5
     2318echo "configure:2319: checking for alloca" >&5
    23152319if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    23162320  echo $ac_n "(cached) $ac_c" 1>&6
    23172321else
    23182322  cat > conftest.$ac_ext <<EOF
    2319 #line 2320 "configure"
     2323#line 2324 "configure"
    23202324#include "confdefs.h"
    23212325
     
    23452349; return 0; }
    23462350EOF
    2347 if { (eval echo configure:2348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2351if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23482352  rm -rf conftest*
    23492353  ac_cv_func_alloca_works=yes
     
    23772381
    23782382echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2379 echo "configure:2380: checking whether alloca needs Cray hooks" >&5
     2383echo "configure:2384: checking whether alloca needs Cray hooks" >&5
    23802384if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    23812385  echo $ac_n "(cached) $ac_c" 1>&6
    23822386else
    23832387  cat > conftest.$ac_ext <<EOF
    2384 #line 2385 "configure"
     2388#line 2389 "configure"
    23852389#include "confdefs.h"
    23862390#if defined(CRAY) && ! defined(CRAY2)
     
    24072411for ac_func in _getb67 GETB67 getb67; do
    24082412  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2409 echo "configure:2410: checking for $ac_func" >&5
     2413echo "configure:2414: checking for $ac_func" >&5
    24102414if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24112415  echo $ac_n "(cached) $ac_c" 1>&6
    24122416else
    24132417  cat > conftest.$ac_ext <<EOF
    2414 #line 2415 "configure"
     2418#line 2419 "configure"
    24152419#include "confdefs.h"
    24162420/* System header to define __stub macros and hopefully few prototypes,
     
    24352439; return 0; }
    24362440EOF
    2437 if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2441if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24382442  rm -rf conftest*
    24392443  eval "ac_cv_func_$ac_func=yes"
     
    24622466
    24632467echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2464 echo "configure:2465: checking stack direction for C alloca" >&5
     2468echo "configure:2469: checking stack direction for C alloca" >&5
    24652469if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    24662470  echo $ac_n "(cached) $ac_c" 1>&6
     
    24702474else
    24712475  cat > conftest.$ac_ext <<EOF
    2472 #line 2473 "configure"
     2476#line 2477 "configure"
    24732477#include "confdefs.h"
    24742478find_stack_direction ()
     
    24892493}
    24902494EOF
    2491 if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2495if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24922496then
    24932497  ac_cv_c_stack_direction=1
     
    25122516if test $ac_cv_prog_gcc = yes; then
    25132517    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2514 echo "configure:2515: checking whether ${CC-cc} needs -traditional" >&5
     2518echo "configure:2519: checking whether ${CC-cc} needs -traditional" >&5
    25152519if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    25162520  echo $ac_n "(cached) $ac_c" 1>&6
     
    25182522    ac_pattern="Autoconf.*'x'"
    25192523  cat > conftest.$ac_ext <<EOF
    2520 #line 2521 "configure"
     2524#line 2525 "configure"
    25212525#include "confdefs.h"
    25222526#include <sgtty.h>
     
    25362540  if test $ac_cv_prog_gcc_traditional = no; then
    25372541    cat > conftest.$ac_ext <<EOF
    2538 #line 2539 "configure"
     2542#line 2543 "configure"
    25392543#include "confdefs.h"
    25402544#include <termio.h>
     
    25612565ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25622566echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2563 echo "configure:2564: checking for $ac_hdr" >&5
     2567echo "configure:2568: checking for $ac_hdr" >&5
    25642568if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25652569  echo $ac_n "(cached) $ac_c" 1>&6
    25662570else
    25672571  cat > conftest.$ac_ext <<EOF
    2568 #line 2569 "configure"
     2572#line 2573 "configure"
    25692573#include "confdefs.h"
    25702574#include <$ac_hdr>
    25712575EOF
    25722576ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2573 { (eval echo configure:2574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2577{ (eval echo configure:2578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25742578ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25752579if test -z "$ac_err"; then
     
    26002604do
    26012605echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2602 echo "configure:2603: checking for $ac_func" >&5
     2606echo "configure:2607: checking for $ac_func" >&5
    26032607if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26042608  echo $ac_n "(cached) $ac_c" 1>&6
    26052609else
    26062610  cat > conftest.$ac_ext <<EOF
    2607 #line 2608 "configure"
     2611#line 2612 "configure"
    26082612#include "confdefs.h"
    26092613/* System header to define __stub macros and hopefully few prototypes,
     
    26282632; return 0; }
    26292633EOF
    2630 if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2634if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26312635  rm -rf conftest*
    26322636  eval "ac_cv_func_$ac_func=yes"
     
    26532657
    26542658echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2655 echo "configure:2656: checking for working mmap" >&5
     2659echo "configure:2660: checking for working mmap" >&5
    26562660if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    26572661  echo $ac_n "(cached) $ac_c" 1>&6
     
    26612665else
    26622666  cat > conftest.$ac_ext <<EOF
    2663 #line 2664 "configure"
     2667#line 2668 "configure"
    26642668#include "confdefs.h"
    26652669
     
    28012805
    28022806EOF
    2803 if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2807if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28042808then
    28052809  ac_cv_func_mmap_fixed_mapped=yes
     
    28242828
    28252829echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2826 echo "configure:2827: checking return type of signal handlers" >&5
     2830echo "configure:2831: checking return type of signal handlers" >&5
    28272831if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    28282832  echo $ac_n "(cached) $ac_c" 1>&6
    28292833else
    28302834  cat > conftest.$ac_ext <<EOF
    2831 #line 2832 "configure"
     2835#line 2836 "configure"
    28322836#include "confdefs.h"
    28332837#include <sys/types.h>
     
    28462850; return 0; }
    28472851EOF
    2848 if { (eval echo configure:2849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2852if { (eval echo configure:2853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28492853  rm -rf conftest*
    28502854  ac_cv_type_signal=void
     
    28652869
    28662870echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2867 echo "configure:2868: checking for vprintf" >&5
     2871echo "configure:2872: checking for vprintf" >&5
    28682872if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    28692873  echo $ac_n "(cached) $ac_c" 1>&6
    28702874else
    28712875  cat > conftest.$ac_ext <<EOF
    2872 #line 2873 "configure"
     2876#line 2877 "configure"
    28732877#include "confdefs.h"
    28742878/* System header to define __stub macros and hopefully few prototypes,
     
    28932897; return 0; }
    28942898EOF
    2895 if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2899if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28962900  rm -rf conftest*
    28972901  eval "ac_cv_func_vprintf=yes"
     
    29172921if test "$ac_cv_func_vprintf" != yes; then
    29182922echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2919 echo "configure:2920: checking for _doprnt" >&5
     2923echo "configure:2924: checking for _doprnt" >&5
    29202924if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    29212925  echo $ac_n "(cached) $ac_c" 1>&6
    29222926else
    29232927  cat > conftest.$ac_ext <<EOF
    2924 #line 2925 "configure"
     2928#line 2929 "configure"
    29252929#include "confdefs.h"
    29262930/* System header to define __stub macros and hopefully few prototypes,
     
    29452949; return 0; }
    29462950EOF
    2947 if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2951if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29482952  rm -rf conftest*
    29492953  eval "ac_cv_func__doprnt=yes"
     
    29712975
    29722976echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    2973 echo "configure:2974: checking for library containing setenv" >&5
     2977echo "configure:2978: checking for library containing setenv" >&5
    29742978if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    29752979  echo $ac_n "(cached) $ac_c" 1>&6
     
    29782982ac_cv_search_setenv="no"
    29792983cat > conftest.$ac_ext <<EOF
    2980 #line 2981 "configure"
     2984#line 2985 "configure"
    29812985#include "confdefs.h"
    29822986/* Override any gcc2 internal prototype to avoid an error.  */
     
    29892993; return 0; }
    29902994EOF
    2991 if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2995if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29922996  rm -rf conftest*
    29932997  ac_cv_search_setenv="none required"
     
    30003004LIBS="-l$i  $ac_func_search_save_LIBS"
    30013005cat > conftest.$ac_ext <<EOF
    3002 #line 3003 "configure"
     3006#line 3007 "configure"
    30033007#include "confdefs.h"
    30043008/* Override any gcc2 internal prototype to avoid an error.  */
     
    30113015; return 0; }
    30123016EOF
    3013 if { (eval echo configure:3014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3017if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30143018  rm -rf conftest*
    30153019  ac_cv_search_setenv="-l$i"
     
    30343038do
    30353039echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3036 echo "configure:3037: checking for $ac_func" >&5
     3040echo "configure:3041: checking for $ac_func" >&5
    30373041if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30383042  echo $ac_n "(cached) $ac_c" 1>&6
    30393043else
    30403044  cat > conftest.$ac_ext <<EOF
    3041 #line 3042 "configure"
     3045#line 3046 "configure"
    30423046#include "confdefs.h"
    30433047/* System header to define __stub macros and hopefully few prototypes,
     
    30623066; return 0; }
    30633067EOF
    3064 if { (eval echo configure:3065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3068if { (eval echo configure:3069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30653069  rm -rf conftest*
    30663070  eval "ac_cv_func_$ac_func=yes"
     
    30913095# arithmetic shifts
    30923096echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3093 echo "configure:3094: checking whether your machine has correct arithmetic shifts" >&5
     3097echo "configure:3098: checking whether your machine has correct arithmetic shifts" >&5
    30943098if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    30953099  echo $ac_n "(cached) $ac_c" 1>&6
     
    31043108else
    31053109  cat > conftest.$ac_ext <<EOF
    3106 #line 3107 "configure"
     3110#line 3111 "configure"
    31073111#include "confdefs.h"
    31083112 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    31093113EOF
    3110 if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3114if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31113115then
    31123116  ac_cv_shift=yes
     
    31333137# check for a peculiar constructor initialization
    31343138echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3135 echo "configure:3136: checking whether explicit C++ constructor calls are allowed" >&5
     3139echo "configure:3140: checking whether explicit C++ constructor calls are allowed" >&5
    31363140
    31373141ac_ext=C
     
    31463150else
    31473151  cat > conftest.$ac_ext <<EOF
    3148 #line 3149 "configure"
     3152#line 3153 "configure"
    31493153#include "confdefs.h"
    31503154
     
    31643168; return 0; }
    31653169EOF
    3166 if { (eval echo configure:3167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3170if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31673171  rm -rf conftest*
    31683172  ac_cv_explicit_const=yes
     
    31933197# sprintf returns number of printed chars
    31943198echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3195 echo "configure:3196: checking whether vsprintf returns number of printed chars" >&5
     3199echo "configure:3200: checking whether vsprintf returns number of printed chars" >&5
    31963200if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    31973201  echo $ac_n "(cached) $ac_c" 1>&6
     
    32013205else
    32023206  cat > conftest.$ac_ext <<EOF
    3203 #line 3204 "configure"
     3207#line 3208 "configure"
    32043208#include "confdefs.h"
    32053209#include <stdio.h>
    32063210 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    32073211EOF
    3208 if { (eval echo configure:3209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3212if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32093213then
    32103214  ac_cv_returns_n_of_chars=yes
     
    32323236# determine ALIGN_8
    32333237echo $ac_n "checking size of char""... $ac_c" 1>&6
    3234 echo "configure:3235: checking size of char" >&5
     3238echo "configure:3239: checking size of char" >&5
    32353239if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    32363240  echo $ac_n "(cached) $ac_c" 1>&6
     
    32403244else
    32413245  cat > conftest.$ac_ext <<EOF
    3242 #line 3243 "configure"
     3246#line 3247 "configure"
    32433247#include "confdefs.h"
    32443248#include <stdio.h>
     
    32513255}
    32523256EOF
    3253 if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3257if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32543258then
    32553259  ac_cv_sizeof_char=`cat conftestval`
     
    32713275
    32723276echo $ac_n "checking size of short""... $ac_c" 1>&6
    3273 echo "configure:3274: checking size of short" >&5
     3277echo "configure:3278: checking size of short" >&5
    32743278if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    32753279  echo $ac_n "(cached) $ac_c" 1>&6
     
    32793283else
    32803284  cat > conftest.$ac_ext <<EOF
    3281 #line 3282 "configure"
     3285#line 3286 "configure"
    32823286#include "confdefs.h"
    32833287#include <stdio.h>
     
    32903294}
    32913295EOF
    3292 if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3296if { (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32933297then
    32943298  ac_cv_sizeof_short=`cat conftestval`
     
    33103314
    33113315echo $ac_n "checking size of int""... $ac_c" 1>&6
    3312 echo "configure:3313: checking size of int" >&5
     3316echo "configure:3317: checking size of int" >&5
    33133317if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    33143318  echo $ac_n "(cached) $ac_c" 1>&6
     
    33183322else
    33193323  cat > conftest.$ac_ext <<EOF
    3320 #line 3321 "configure"
     3324#line 3325 "configure"
    33213325#include "confdefs.h"
    33223326#include <stdio.h>
     
    33293333}
    33303334EOF
    3331 if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3335if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33323336then
    33333337  ac_cv_sizeof_int=`cat conftestval`
     
    33493353
    33503354echo $ac_n "checking size of long""... $ac_c" 1>&6
    3351 echo "configure:3352: checking size of long" >&5
     3355echo "configure:3356: checking size of long" >&5
    33523356if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    33533357  echo $ac_n "(cached) $ac_c" 1>&6
     
    33573361else
    33583362  cat > conftest.$ac_ext <<EOF
    3359 #line 3360 "configure"
     3363#line 3364 "configure"
    33603364#include "confdefs.h"
    33613365#include <stdio.h>
     
    33683372}
    33693373EOF
    3370 if { (eval echo configure:3371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3374if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33713375then
    33723376  ac_cv_sizeof_long=`cat conftestval`
     
    33883392
    33893393echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3390 echo "configure:3391: checking size of void*" >&5
     3394echo "configure:3395: checking size of void*" >&5
    33913395if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    33923396  echo $ac_n "(cached) $ac_c" 1>&6
     
    33963400else
    33973401  cat > conftest.$ac_ext <<EOF
    3398 #line 3399 "configure"
     3402#line 3403 "configure"
    33993403#include "confdefs.h"
    34003404#include <stdio.h>
     
    34073411}
    34083412EOF
    3409 if { (eval echo configure:3410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3413if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34103414then
    34113415  ac_cv_sizeof_voidp=`cat conftestval`
     
    34273431
    34283432echo $ac_n "checking size of double""... $ac_c" 1>&6
    3429 echo "configure:3430: checking size of double" >&5
     3433echo "configure:3434: checking size of double" >&5
    34303434if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    34313435  echo $ac_n "(cached) $ac_c" 1>&6
     
    34353439else
    34363440  cat > conftest.$ac_ext <<EOF
    3437 #line 3438 "configure"
     3441#line 3442 "configure"
    34383442#include "confdefs.h"
    34393443#include <stdio.h>
     
    34463450}
    34473451EOF
    3448 if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3452if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34493453then
    34503454  ac_cv_sizeof_double=`cat conftestval`
     
    34663470
    34673471echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3468 echo "configure:3469: checking whether byte ordering is bigendian" >&5
     3472echo "configure:3473: checking whether byte ordering is bigendian" >&5
    34693473if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    34703474  echo $ac_n "(cached) $ac_c" 1>&6
     
    34733477# See if sys/param.h defines the BYTE_ORDER macro.
    34743478cat > conftest.$ac_ext <<EOF
    3475 #line 3476 "configure"
     3479#line 3480 "configure"
    34763480#include "confdefs.h"
    34773481#include <sys/types.h>
     
    34843488; return 0; }
    34853489EOF
    3486 if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3490if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34873491  rm -rf conftest*
    34883492  # It does; now see whether it defined to BIG_ENDIAN or not.
    34893493cat > conftest.$ac_ext <<EOF
    3490 #line 3491 "configure"
     3494#line 3495 "configure"
    34913495#include "confdefs.h"
    34923496#include <sys/types.h>
     
    34993503; return 0; }
    35003504EOF
    3501 if { (eval echo configure:3502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3505if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    35023506  rm -rf conftest*
    35033507  ac_cv_c_bigendian=yes
     
    35193523else
    35203524  cat > conftest.$ac_ext <<EOF
    3521 #line 3522 "configure"
     3525#line 3526 "configure"
    35223526#include "confdefs.h"
    35233527main () {
     
    35323536}
    35333537EOF
    3534 if { (eval echo configure:3535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3538if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35353539then
    35363540  ac_cv_c_bigendian=no
     
    36503654
    36513655echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    3652 echo "configure:3653: checking whether to use dynamic linking" >&5
     3656echo "configure:3657: checking whether to use dynamic linking" >&5
    36533657if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    36543658  cat >> confdefs.h <<\EOF
     
    36633667
    36643668echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3665 echo "configure:3666: checking for tgetent in -lncurses" >&5
     3669echo "configure:3670: checking for tgetent in -lncurses" >&5
    36663670ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    36673671if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36713675LIBS="-lncurses  $LIBS"
    36723676cat > conftest.$ac_ext <<EOF
    3673 #line 3674 "configure"
     3677#line 3678 "configure"
    36743678#include "confdefs.h"
    36753679/* Override any gcc2 internal prototype to avoid an error.  */
     
    36823686; return 0; }
    36833687EOF
    3684 if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3688if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36853689  rm -rf conftest*
    36863690  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37093713\
    37103714 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3711 echo "configure:3712: checking for tgetent in -lcurses" >&5
     3715echo "configure:3716: checking for tgetent in -lcurses" >&5
    37123716ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    37133717if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37173721LIBS="-lcurses  $LIBS"
    37183722cat > conftest.$ac_ext <<EOF
    3719 #line 3720 "configure"
     3723#line 3724 "configure"
    37203724#include "confdefs.h"
    37213725/* Override any gcc2 internal prototype to avoid an error.  */
     
    37283732; return 0; }
    37293733EOF
    3730 if { (eval echo configure:3731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3734if { (eval echo configure:3735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37313735  rm -rf conftest*
    37323736  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37553759\
    37563760  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3757 echo "configure:3758: checking for tgetent in -ltermcap" >&5
     3761echo "configure:3762: checking for tgetent in -ltermcap" >&5
    37583762ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    37593763if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37633767LIBS="-ltermcap  $LIBS"
    37643768cat > conftest.$ac_ext <<EOF
    3765 #line 3766 "configure"
     3769#line 3770 "configure"
    37663770#include "confdefs.h"
    37673771/* Override any gcc2 internal prototype to avoid an error.  */
     
    37743778; return 0; }
    37753779EOF
    3776 if { (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3780if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37773781  rm -rf conftest*
    37783782  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38233827
    38243828   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3825 echo "configure:3826: checking for rl_abort in -lreadline" >&5
     3829echo "configure:3830: checking for rl_abort in -lreadline" >&5
    38263830ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38273831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38313835LIBS="-lreadline  $LIBS"
    38323836cat > conftest.$ac_ext <<EOF
    3833 #line 3834 "configure"
     3837#line 3838 "configure"
    38343838#include "confdefs.h"
    38353839/* Override any gcc2 internal prototype to avoid an error.  */
     
    38453849; return 0; }
    38463850EOF
    3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3851if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38483852  rm -rf conftest*
    38493853  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38733877
    38743878   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3875 echo "configure:3876: checking how to run the C++ preprocessor" >&5
     3879echo "configure:3880: checking how to run the C++ preprocessor" >&5
    38763880if test -z "$CXXCPP"; then
    38773881if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    38863890  CXXCPP="${CXX-g++} -E"
    38873891  cat > conftest.$ac_ext <<EOF
    3888 #line 3889 "configure"
     3892#line 3893 "configure"
    38893893#include "confdefs.h"
    38903894#include <stdlib.h>
    38913895EOF
    38923896ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3893 { (eval echo configure:3894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3897{ (eval echo configure:3898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38943898ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38953899if test -z "$ac_err"; then
     
    39193923ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    39203924echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3921 echo "configure:3922: checking for $ac_hdr" >&5
     3925echo "configure:3926: checking for $ac_hdr" >&5
    39223926if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    39233927  echo $ac_n "(cached) $ac_c" 1>&6
    39243928else
    39253929  cat > conftest.$ac_ext <<EOF
    3926 #line 3927 "configure"
     3930#line 3931 "configure"
    39273931#include "confdefs.h"
    39283932#include <$ac_hdr>
    39293933EOF
    39303934ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3931 { (eval echo configure:3932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3935{ (eval echo configure:3936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39323936ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39333937if test -z "$ac_err"; then
     
    39583962      test "$ac_cv_header_readline_readline_h" = yes; then
    39593963     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3960 echo "configure:3961: checking whether readline.h is ok" >&5
     3964echo "configure:3965: checking whether readline.h is ok" >&5
    39613965     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    39623966  echo $ac_n "(cached) $ac_c" 1>&6
    39633967else
    39643968  cat > conftest.$ac_ext <<EOF
    3965 #line 3966 "configure"
     3969#line 3970 "configure"
    39663970#include "confdefs.h"
    39673971#include<unistd.h>
     
    39883992; return 0; }
    39893993EOF
    3990 if { (eval echo configure:3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3994if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39913995  rm -rf conftest*
    39923996  ac_cv_header_readline_readline_h_ok="yes"
     
    40044008#not ok -- try once more with explicitly declaring everything
    40054009      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4006 echo "configure:4007: checking whether or not we nevertheless can use readline" >&5
     4010echo "configure:4011: checking whether or not we nevertheless can use readline" >&5
    40074011      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    40084012  echo $ac_n "(cached) $ac_c" 1>&6
    40094013else
    40104014  cat > conftest.$ac_ext <<EOF
    4011 #line 4012 "configure"
     4015#line 4016 "configure"
    40124016#include "confdefs.h"
    40134017#include <stdio.h>
     
    40434047; return 0; }
    40444048EOF
    4045 if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4049if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40464050  rm -rf conftest*
    40474051  ac_cv_have_readline="yes"
     
    40824086
    40834087echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4084 echo "configure:4085: checking which readline to use" >&5
     4088echo "configure:4089: checking which readline to use" >&5
    40854089if test "$ac_cv_with_readline" = dynamic; then
    40864090  echo "$ac_t""dynamic" 1>&6
     
    41004104# gmp, smallgmp, MP, MPT, factory, libfac
    41014105echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4102 echo "configure:4103: checking for main in -lgmp" >&5
     4106echo "configure:4107: checking for main in -lgmp" >&5
    41034107ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    41044108if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41084112LIBS="-lgmp  $LIBS"
    41094113cat > conftest.$ac_ext <<EOF
    4110 #line 4111 "configure"
     4114#line 4115 "configure"
    41114115#include "confdefs.h"
    41124116
     
    41154119; return 0; }
    41164120EOF
    4117 if { (eval echo configure:4118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4121if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41184122  rm -rf conftest*
    41194123  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41464150fi
    41474151echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4148 echo "configure:4149: checking for main in -lsmallgmp" >&5
     4152echo "configure:4153: checking for main in -lsmallgmp" >&5
    41494153ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    41504154if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41544158LIBS="-lsmallgmp  $LIBS"
    41554159cat > conftest.$ac_ext <<EOF
    4156 #line 4157 "configure"
     4160#line 4161 "configure"
    41574161#include "confdefs.h"
    41584162
     
    41614165; return 0; }
    41624166EOF
    4163 if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4167if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41644168  rm -rf conftest*
    41654169  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41904194SAVE_LIBS=$LIBS
    41914195echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4192 echo "configure:4193: checking for IMP_PutGmpInt in -lMP" >&5
     4196echo "configure:4197: checking for IMP_PutGmpInt in -lMP" >&5
    41934197ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    41944198if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41984202LIBS="-lMP $MP_LIBS $LIBS"
    41994203cat > conftest.$ac_ext <<EOF
    4200 #line 4201 "configure"
     4204#line 4205 "configure"
    42014205#include "confdefs.h"
    42024206/* Override any gcc2 internal prototype to avoid an error.  */
     
    42094213; return 0; }
    42104214EOF
    4211 if { (eval echo configure:4212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4215if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42124216  rm -rf conftest*
    42134217  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42374241
    42384242echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4239 echo "configure:4240: checking for MPT_GetTree in -lMPT" >&5
     4243echo "configure:4244: checking for MPT_GetTree in -lMPT" >&5
    42404244ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    42414245if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42454249LIBS="-lMPT $MP_LIBS $LIBS"
    42464250cat > conftest.$ac_ext <<EOF
    4247 #line 4248 "configure"
     4251#line 4252 "configure"
    42484252#include "confdefs.h"
    42494253/* Override any gcc2 internal prototype to avoid an error.  */
     
    42564260; return 0; }
    42574261EOF
    4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4262if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42594263  rm -rf conftest*
    42604264  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42854289LIBS=$SAVE_LIBS
    42864290echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4287 echo "configure:4288: checking for atof in -lsingcf" >&5
     4291echo "configure:4292: checking for atof in -lsingcf" >&5
    42884292ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    42894293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42934297LIBS="-lsingcf  $LIBS"
    42944298cat > conftest.$ac_ext <<EOF
    4295 #line 4296 "configure"
     4299#line 4300 "configure"
    42964300#include "confdefs.h"
    42974301/* Override any gcc2 internal prototype to avoid an error.  */
     
    43044308; return 0; }
    43054309EOF
    4306 if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4310if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43074311  rm -rf conftest*
    43084312  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43324336
    43334337echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4334 echo "configure:4335: checking for atof in -lsingfac" >&5
     4338echo "configure:4339: checking for atof in -lsingfac" >&5
    43354339ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    43364340if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43404344LIBS="-lsingfac  $LIBS"
    43414345cat > conftest.$ac_ext <<EOF
    4342 #line 4343 "configure"
     4346#line 4347 "configure"
    43434347#include "confdefs.h"
    43444348/* Override any gcc2 internal prototype to avoid an error.  */
     
    43514355; return 0; }
    43524356EOF
    4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4357if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43544358  rm -rf conftest*
    43554359  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43794383
    43804384echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4381 echo "configure:4382: checking for omTestAddr in -lomalloc" >&5
     4385echo "configure:4386: checking for omTestAddr in -lomalloc" >&5
    43824386ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    43834387if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43874391LIBS="-lomalloc  $LIBS"
    43884392cat > conftest.$ac_ext <<EOF
    4389 #line 4390 "configure"
     4393#line 4394 "configure"
    43904394#include "confdefs.h"
    43914395/* Override any gcc2 internal prototype to avoid an error.  */
     
    43984402; return 0; }
    43994403EOF
    4400 if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4404if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44014405  rm -rf conftest*
    44024406  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44264430
    44274431echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4428 echo "configure:4429: checking for main in -lomalloc_ndebug" >&5
     4432echo "configure:4433: checking for main in -lomalloc_ndebug" >&5
    44294433ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    44304434if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44344438LIBS="-lomalloc_ndebug  $LIBS"
    44354439cat > conftest.$ac_ext <<EOF
    4436 #line 4437 "configure"
     4440#line 4441 "configure"
    44374441#include "confdefs.h"
    44384442
     
    44414445; return 0; }
    44424446EOF
    4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4447if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44444448  rm -rf conftest*
    44454449  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44734477ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44744478echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4475 echo "configure:4476: checking for $ac_hdr" >&5
     4479echo "configure:4480: checking for $ac_hdr" >&5
    44764480if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44774481  echo $ac_n "(cached) $ac_c" 1>&6
    44784482else
    44794483  cat > conftest.$ac_ext <<EOF
    4480 #line 4481 "configure"
     4484#line 4485 "configure"
    44814485#include "confdefs.h"
    44824486#include <$ac_hdr>
    44834487EOF
    44844488ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4485 { (eval echo configure:4486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4489{ (eval echo configure:4490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44864490ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44874491if test -z "$ac_err"; then
     
    45524556
    45534557echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4554 echo "configure:4555: checking which apint package to use" >&5
     4558echo "configure:4559: checking which apint package to use" >&5
    45554559if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    45564560  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    45944598#
    45954599echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4596 echo "configure:4597: checking whether to have MP" >&5
     4600echo "configure:4601: checking whether to have MP" >&5
    45974601if test "${with_MP}" != yes && test "${with_MP}" != no; then
    45984602  if (test "${will_have_gmp}" = yes) && \
     
    46294633
    46304634echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4631 echo "configure:4632: checking whether to have factory" >&5
     4635echo "configure:4636: checking whether to have factory" >&5
    46324636if test "${with_factory}" != yes && test "${with_factory}" != no; then
    46334637  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    46604664
    46614665echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4662 echo "configure:4663: checking whether to have libfac" >&5
     4666echo "configure:4667: checking whether to have libfac" >&5
    46634667if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    46644668  if (test "${will_have_factory}" = yes) && \
     
    46944698
    46954699echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4696 echo "configure:4697: checking whether to have dbm links" >&5
     4700echo "configure:4701: checking whether to have dbm links" >&5
    46974701if test "$with_dbm" != no; then
    46984702  cat >> confdefs.h <<\EOF
     
    47064710
    47074711echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4708 echo "configure:4709: checking whether to have namespaces" >&5
     4712echo "configure:4713: checking whether to have namespaces" >&5
    47094713if test "$with_namespaces" != no; then
    47104714  echo "$ac_t""yes" 1>&6
     
    47184722
    47194723echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    4720 echo "configure:4721: checking whether to have dynamic modules" >&5
     4724echo "configure:4725: checking whether to have dynamic modules" >&5
    47214725if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    47224726  echo "$ac_t""no" 1>&6
     
    47304734
    47314735echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    4732 echo "configure:4733: checking whether to have dynamic kernel" >&5
     4736echo "configure:4737: checking whether to have dynamic kernel" >&5
    47334737if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    47344738  DL_KERNEL=1
     
    47404744
    47414745echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4742 echo "configure:4743: checking whether to have Plural" >&5
     4746echo "configure:4747: checking whether to have Plural" >&5
    47434747if test "$with_plural" != yes; then
    47444748  echo "$ac_t""no" 1>&6
     
    49184922s%@SFLAGS@%$SFLAGS%g
    49194923s%@SLDFLAGS@%$SLDFLAGS%g
     4924s%@LD@%$LD%g
    49204925s%@ALLOCA@%$ALLOCA%g
    49214926s%@CXXCPP@%$CXXCPP%g
  • Singular/configure.in

    r866c96 r937cbcd  
    303303                SFLAGS="-fPIC -DPIC"
    304304                SLDFLAGS=-shared
     305                LD=gcc
    305306                ac_lib_dl=yes
    306307          fi
     
    312313                SFLAGS="-fpic -DPIC"
    313314                SLDFLAGS=-shared
     315                LD=ld
    314316                ac_lib_dl=yes
    315317          fi
     
    328330          SFLAGS="-fPIC -DPIC"
    329331          SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared"
     332          LD=ld
    330333          ac_lib_dl=yes
    331334        ;;
     
    334337AC_SUBST(SFLAGS)
    335338AC_SUBST(SLDFLAGS)
     339AC_SUBST(LD)
    336340LIBS=${SAVE_LIBS}
    337341
Note: See TracChangeset for help on using the changeset viewer.