Changeset f92bde in git


Ignore:
Timestamp:
Jan 27, 2009, 7:02:34 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
a5ee4208416ea7d11e8ca286f77d8d41523d37c9
Parents:
eb3a15776eb3d18d3b17580abe04d3d9021786bd
Message:
*hannes: LD


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    reb3a157 rf92bde  
    21312131                SFLAGS="-fpic -fPIC -DPIC"
    21322132                SLDFLAGS="-fPIC -DPIC -shared"
    2133                 LD=gcc
     2133                if test "${LD+set}" != set; then
     2134                  LD="${LD}"
     2135                else
     2136                  LD=gcc
     2137                fi
    21342138                ac_lib_dl=yes
    21352139          fi
     
    21372141        *Linux*)
    21382142          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2139 echo "configure:2140: checking for dlopen in -ldl" >&5
     2143echo "configure:2144: checking for dlopen in -ldl" >&5
    21402144ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    21412145if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21452149LIBS="-ldl  $LIBS"
    21462150cat > conftest.$ac_ext <<EOF
    2147 #line 2148 "configure"
     2151#line 2152 "configure"
    21482152#include "confdefs.h"
    21492153/* Override any gcc2 internal prototype to avoid an error.  */
     
    21562160; return 0; }
    21572161EOF
    2158 if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2162if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21592163  rm -rf conftest*
    21602164  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21872191                SFLAGS="-fpic -DPIC"
    21882192                SLDFLAGS=-shared
    2189                 LD=ld
     2193                if test "${LD+set}" != set; then
     2194                  LD="${LD}"
     2195                else
     2196                  LD=ld
     2197                fi
    21902198                ac_lib_dl=yes
    21912199          fi
     
    21952203          SFLAGS="-fPIC -DPIC"
    21962204          SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared"
    2197           LD=ld
     2205          if test "${LD+set}" != set; then
     2206            LD="${LD}"
     2207          else
     2208            LD=ld
     2209          fi
    21982210          ac_lib_dl=yes
    21992211        ;;
    22002212        SunOS-5)
    22012213          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2202 echo "configure:2203: checking for dlopen in -ldl" >&5
     2214echo "configure:2215: checking for dlopen in -ldl" >&5
    22032215ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    22042216if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22082220LIBS="-ldl  $LIBS"
    22092221cat > conftest.$ac_ext <<EOF
    2210 #line 2211 "configure"
     2222#line 2223 "configure"
    22112223#include "confdefs.h"
    22122224/* Override any gcc2 internal prototype to avoid an error.  */
     
    22192231; return 0; }
    22202232EOF
    2221 if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2233if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22222234  rm -rf conftest*
    22232235  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22502262                SFLAGS="-fpic -DPIC"
    22512263                SLDFLAGS=-shared
    2252                 LD=$CC
     2264                if test "${LD+set}" != set; then
     2265                  LD="${LD}"
     2266                else
     2267                  LD=$CC
     2268                fi
    22532269                ac_lib_dl=yes
    22542270          fi
     
    22572273        ppcMac-darwin)
    22582274          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2259 echo "configure:2260: checking for dlopen in -ldl" >&5
     2275echo "configure:2276: checking for dlopen in -ldl" >&5
    22602276ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    22612277if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22652281LIBS="-ldl  $LIBS"
    22662282cat > conftest.$ac_ext <<EOF
    2267 #line 2268 "configure"
     2283#line 2284 "configure"
    22682284#include "confdefs.h"
    22692285/* Override any gcc2 internal prototype to avoid an error.  */
     
    22762292; return 0; }
    22772293EOF
    2278 if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2294if { (eval echo configure:2295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22792295  rm -rf conftest*
    22802296  eval "ac_cv_lib_$ac_lib_var=yes"
     
    23132329        ix86Mac-darwin)
    23142330          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2315 echo "configure:2316: checking for dlopen in -ldl" >&5
     2331echo "configure:2332: checking for dlopen in -ldl" >&5
    23162332ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    23172333if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    23212337LIBS="-ldl  $LIBS"
    23222338cat > conftest.$ac_ext <<EOF
    2323 #line 2324 "configure"
     2339#line 2340 "configure"
    23242340#include "confdefs.h"
    23252341/* Override any gcc2 internal prototype to avoid an error.  */
     
    23322348; return 0; }
    23332349EOF
    2334 if { (eval echo configure:2335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2350if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23352351  rm -rf conftest*
    23362352  eval "ac_cv_lib_$ac_lib_var=yes"
     
    23692385        ix86-freebsd)
    23702386          echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
    2371 echo "configure:2372: checking for dlopen in -lc" >&5
     2387echo "configure:2388: checking for dlopen in -lc" >&5
    23722388ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
    23732389if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    23772393LIBS="-lc  $LIBS"
    23782394cat > conftest.$ac_ext <<EOF
    2379 #line 2380 "configure"
     2395#line 2396 "configure"
    23802396#include "confdefs.h"
    23812397/* Override any gcc2 internal prototype to avoid an error.  */
     
    23882404; return 0; }
    23892405EOF
    2390 if { (eval echo configure:2391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2406if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23912407  rm -rf conftest*
    23922408  eval "ac_cv_lib_$ac_lib_var=yes"
     
    24332449# heder file checks
    24342450echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2435 echo "configure:2436: checking for ANSI C header files" >&5
     2451echo "configure:2452: checking for ANSI C header files" >&5
    24362452if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    24372453  echo $ac_n "(cached) $ac_c" 1>&6
    24382454else
    24392455  cat > conftest.$ac_ext <<EOF
    2440 #line 2441 "configure"
     2456#line 2457 "configure"
    24412457#include "confdefs.h"
    24422458#include <stdlib.h>
     
    24462462EOF
    24472463ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2448 { (eval echo configure:2449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2464{ (eval echo configure:2465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24492465ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24502466if test -z "$ac_err"; then
     
    24632479  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    24642480cat > conftest.$ac_ext <<EOF
    2465 #line 2466 "configure"
     2481#line 2482 "configure"
    24662482#include "confdefs.h"
    24672483#include <string.h>
     
    24812497  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    24822498cat > conftest.$ac_ext <<EOF
    2483 #line 2484 "configure"
     2499#line 2500 "configure"
    24842500#include "confdefs.h"
    24852501#include <stdlib.h>
     
    25022518else
    25032519  cat > conftest.$ac_ext <<EOF
    2504 #line 2505 "configure"
     2520#line 2521 "configure"
    25052521#include "confdefs.h"
    25062522#include <ctype.h>
     
    25132529
    25142530EOF
    2515 if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2531if { (eval echo configure:2532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    25162532then
    25172533  :
     
    25402556ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25412557echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2542 echo "configure:2543: checking for $ac_hdr" >&5
     2558echo "configure:2559: checking for $ac_hdr" >&5
    25432559if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25442560  echo $ac_n "(cached) $ac_c" 1>&6
    25452561else
    25462562  cat > conftest.$ac_ext <<EOF
    2547 #line 2548 "configure"
     2563#line 2564 "configure"
    25482564#include "confdefs.h"
    25492565#include <$ac_hdr>
    25502566EOF
    25512567ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2552 { (eval echo configure:2553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2568{ (eval echo configure:2569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25532569ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25542570if test -z "$ac_err"; then
     
    25842600ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25852601echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2586 echo "configure:2587: checking for $ac_hdr" >&5
     2602echo "configure:2603: checking for $ac_hdr" >&5
    25872603if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25882604  echo $ac_n "(cached) $ac_c" 1>&6
    25892605else
    25902606  cat > conftest.$ac_ext <<EOF
    2591 #line 2592 "configure"
     2607#line 2608 "configure"
    25922608#include "confdefs.h"
    25932609#include <$ac_hdr>
    25942610EOF
    25952611ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2596 { (eval echo configure:2597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2612{ (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25972613ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25982614if test -z "$ac_err"; then
     
    26232639# typedefs, structures
    26242640echo $ac_n "checking for working const""... $ac_c" 1>&6
    2625 echo "configure:2626: checking for working const" >&5
     2641echo "configure:2642: checking for working const" >&5
    26262642if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    26272643  echo $ac_n "(cached) $ac_c" 1>&6
    26282644else
    26292645  cat > conftest.$ac_ext <<EOF
    2630 #line 2631 "configure"
     2646#line 2647 "configure"
    26312647#include "confdefs.h"
    26322648
     
    26772693; return 0; }
    26782694EOF
    2679 if { (eval echo configure:2680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2695if { (eval echo configure:2696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26802696  rm -rf conftest*
    26812697  ac_cv_c_const=yes
     
    26982714
    26992715echo $ac_n "checking for inline""... $ac_c" 1>&6
    2700 echo "configure:2701: checking for inline" >&5
     2716echo "configure:2717: checking for inline" >&5
    27012717if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    27022718  echo $ac_n "(cached) $ac_c" 1>&6
     
    27052721for ac_kw in inline __inline__ __inline; do
    27062722  cat > conftest.$ac_ext <<EOF
    2707 #line 2708 "configure"
     2723#line 2724 "configure"
    27082724#include "confdefs.h"
    27092725
     
    27122728; return 0; }
    27132729EOF
    2714 if { (eval echo configure:2715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2730if { (eval echo configure:2731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27152731  rm -rf conftest*
    27162732  ac_cv_c_inline=$ac_kw; break
     
    27382754
    27392755echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2740 echo "configure:2741: checking for size_t" >&5
     2756echo "configure:2757: checking for size_t" >&5
    27412757if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    27422758  echo $ac_n "(cached) $ac_c" 1>&6
    27432759else
    27442760  cat > conftest.$ac_ext <<EOF
    2745 #line 2746 "configure"
     2761#line 2762 "configure"
    27462762#include "confdefs.h"
    27472763#include <sys/types.h>
     
    27712787
    27722788echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2773 echo "configure:2774: checking whether struct tm is in sys/time.h or time.h" >&5
     2789echo "configure:2790: checking whether struct tm is in sys/time.h or time.h" >&5
    27742790if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    27752791  echo $ac_n "(cached) $ac_c" 1>&6
    27762792else
    27772793  cat > conftest.$ac_ext <<EOF
    2778 #line 2779 "configure"
     2794#line 2795 "configure"
    27792795#include "confdefs.h"
    27802796#include <sys/types.h>
     
    27842800; return 0; }
    27852801EOF
    2786 if { (eval echo configure:2787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2802if { (eval echo configure:2803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27872803  rm -rf conftest*
    27882804  ac_cv_struct_tm=time.h
     
    28052821
    28062822echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2807 echo "configure:2808: checking whether time.h and sys/time.h may both be included" >&5
     2823echo "configure:2824: checking whether time.h and sys/time.h may both be included" >&5
    28082824if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    28092825  echo $ac_n "(cached) $ac_c" 1>&6
    28102826else
    28112827  cat > conftest.$ac_ext <<EOF
    2812 #line 2813 "configure"
     2828#line 2829 "configure"
    28132829#include "confdefs.h"
    28142830#include <sys/types.h>
     
    28192835; return 0; }
    28202836EOF
    2821 if { (eval echo configure:2822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2837if { (eval echo configure:2838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28222838  rm -rf conftest*
    28232839  ac_cv_header_time=yes
     
    28442860# for constant arguments.  Useless!
    28452861echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2846 echo "configure:2847: checking for working alloca.h" >&5
     2862echo "configure:2863: checking for working alloca.h" >&5
    28472863if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    28482864  echo $ac_n "(cached) $ac_c" 1>&6
    28492865else
    28502866  cat > conftest.$ac_ext <<EOF
    2851 #line 2852 "configure"
     2867#line 2868 "configure"
    28522868#include "confdefs.h"
    28532869#include <alloca.h>
     
    28562872; return 0; }
    28572873EOF
    2858 if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2874if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28592875  rm -rf conftest*
    28602876  ac_cv_header_alloca_h=yes
     
    28772893
    28782894echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2879 echo "configure:2880: checking for alloca" >&5
     2895echo "configure:2896: checking for alloca" >&5
    28802896if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    28812897  echo $ac_n "(cached) $ac_c" 1>&6
    28822898else
    28832899  cat > conftest.$ac_ext <<EOF
    2884 #line 2885 "configure"
     2900#line 2901 "configure"
    28852901#include "confdefs.h"
    28862902
     
    29102926; return 0; }
    29112927EOF
    2912 if { (eval echo configure:2913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2928if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29132929  rm -rf conftest*
    29142930  ac_cv_func_alloca_works=yes
     
    29422958
    29432959echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2944 echo "configure:2945: checking whether alloca needs Cray hooks" >&5
     2960echo "configure:2961: checking whether alloca needs Cray hooks" >&5
    29452961if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    29462962  echo $ac_n "(cached) $ac_c" 1>&6
    29472963else
    29482964  cat > conftest.$ac_ext <<EOF
    2949 #line 2950 "configure"
     2965#line 2966 "configure"
    29502966#include "confdefs.h"
    29512967#if defined(CRAY) && ! defined(CRAY2)
     
    29722988for ac_func in _getb67 GETB67 getb67; do
    29732989  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2974 echo "configure:2975: checking for $ac_func" >&5
     2990echo "configure:2991: checking for $ac_func" >&5
    29752991if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29762992  echo $ac_n "(cached) $ac_c" 1>&6
    29772993else
    29782994  cat > conftest.$ac_ext <<EOF
    2979 #line 2980 "configure"
     2995#line 2996 "configure"
    29802996#include "confdefs.h"
    29812997/* System header to define __stub macros and hopefully few prototypes,
     
    30003016; return 0; }
    30013017EOF
    3002 if { (eval echo configure:3003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3018if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30033019  rm -rf conftest*
    30043020  eval "ac_cv_func_$ac_func=yes"
     
    30273043
    30283044echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3029 echo "configure:3030: checking stack direction for C alloca" >&5
     3045echo "configure:3046: checking stack direction for C alloca" >&5
    30303046if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    30313047  echo $ac_n "(cached) $ac_c" 1>&6
     
    30353051else
    30363052  cat > conftest.$ac_ext <<EOF
    3037 #line 3038 "configure"
     3053#line 3054 "configure"
    30383054#include "confdefs.h"
    30393055find_stack_direction ()
     
    30543070}
    30553071EOF
    3056 if { (eval echo configure:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3072if { (eval echo configure:3073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30573073then
    30583074  ac_cv_c_stack_direction=1
     
    30773093if test $ac_cv_prog_gcc = yes; then
    30783094    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    3079 echo "configure:3080: checking whether ${CC-cc} needs -traditional" >&5
     3095echo "configure:3096: checking whether ${CC-cc} needs -traditional" >&5
    30803096if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    30813097  echo $ac_n "(cached) $ac_c" 1>&6
     
    30833099    ac_pattern="Autoconf.*'x'"
    30843100  cat > conftest.$ac_ext <<EOF
    3085 #line 3086 "configure"
     3101#line 3102 "configure"
    30863102#include "confdefs.h"
    30873103#include <sgtty.h>
     
    31013117  if test $ac_cv_prog_gcc_traditional = no; then
    31023118    cat > conftest.$ac_ext <<EOF
    3103 #line 3104 "configure"
     3119#line 3120 "configure"
    31043120#include "confdefs.h"
    31053121#include <termio.h>
     
    31263142ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    31273143echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3128 echo "configure:3129: checking for $ac_hdr" >&5
     3144echo "configure:3145: checking for $ac_hdr" >&5
    31293145if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    31303146  echo $ac_n "(cached) $ac_c" 1>&6
    31313147else
    31323148  cat > conftest.$ac_ext <<EOF
    3133 #line 3134 "configure"
     3149#line 3150 "configure"
    31343150#include "confdefs.h"
    31353151#include <$ac_hdr>
    31363152EOF
    31373153ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3138 { (eval echo configure:3139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3154{ (eval echo configure:3155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    31393155ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    31403156if test -z "$ac_err"; then
     
    31653181do
    31663182echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3167 echo "configure:3168: checking for $ac_func" >&5
     3183echo "configure:3184: checking for $ac_func" >&5
    31683184if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31693185  echo $ac_n "(cached) $ac_c" 1>&6
    31703186else
    31713187  cat > conftest.$ac_ext <<EOF
    3172 #line 3173 "configure"
     3188#line 3189 "configure"
    31733189#include "confdefs.h"
    31743190/* System header to define __stub macros and hopefully few prototypes,
     
    31933209; return 0; }
    31943210EOF
    3195 if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3211if { (eval echo configure:3212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31963212  rm -rf conftest*
    31973213  eval "ac_cv_func_$ac_func=yes"
     
    32183234
    32193235echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3220 echo "configure:3221: checking for working mmap" >&5
     3236echo "configure:3237: checking for working mmap" >&5
    32213237if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    32223238  echo $ac_n "(cached) $ac_c" 1>&6
     
    32263242else
    32273243  cat > conftest.$ac_ext <<EOF
    3228 #line 3229 "configure"
     3244#line 3245 "configure"
    32293245#include "confdefs.h"
    32303246
     
    33663382
    33673383EOF
    3368 if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3384if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33693385then
    33703386  ac_cv_func_mmap_fixed_mapped=yes
     
    33893405
    33903406echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3391 echo "configure:3392: checking return type of signal handlers" >&5
     3407echo "configure:3408: checking return type of signal handlers" >&5
    33923408if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    33933409  echo $ac_n "(cached) $ac_c" 1>&6
    33943410else
    33953411  cat > conftest.$ac_ext <<EOF
    3396 #line 3397 "configure"
     3412#line 3413 "configure"
    33973413#include "confdefs.h"
    33983414#include <sys/types.h>
     
    34113427; return 0; }
    34123428EOF
    3413 if { (eval echo configure:3414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3429if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34143430  rm -rf conftest*
    34153431  ac_cv_type_signal=void
     
    34303446
    34313447echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    3432 echo "configure:3433: checking for vprintf" >&5
     3448echo "configure:3449: checking for vprintf" >&5
    34333449if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    34343450  echo $ac_n "(cached) $ac_c" 1>&6
    34353451else
    34363452  cat > conftest.$ac_ext <<EOF
    3437 #line 3438 "configure"
     3453#line 3454 "configure"
    34383454#include "confdefs.h"
    34393455/* System header to define __stub macros and hopefully few prototypes,
     
    34583474; return 0; }
    34593475EOF
    3460 if { (eval echo configure:3461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3476if { (eval echo configure:3477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34613477  rm -rf conftest*
    34623478  eval "ac_cv_func_vprintf=yes"
     
    34823498if test "$ac_cv_func_vprintf" != yes; then
    34833499echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    3484 echo "configure:3485: checking for _doprnt" >&5
     3500echo "configure:3501: checking for _doprnt" >&5
    34853501if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    34863502  echo $ac_n "(cached) $ac_c" 1>&6
    34873503else
    34883504  cat > conftest.$ac_ext <<EOF
    3489 #line 3490 "configure"
     3505#line 3506 "configure"
    34903506#include "confdefs.h"
    34913507/* System header to define __stub macros and hopefully few prototypes,
     
    35103526; return 0; }
    35113527EOF
    3512 if { (eval echo configure:3513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3528if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35133529  rm -rf conftest*
    35143530  eval "ac_cv_func__doprnt=yes"
     
    35363552
    35373553echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    3538 echo "configure:3539: checking for library containing setenv" >&5
     3554echo "configure:3555: checking for library containing setenv" >&5
    35393555if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    35403556  echo $ac_n "(cached) $ac_c" 1>&6
     
    35433559ac_cv_search_setenv="no"
    35443560cat > conftest.$ac_ext <<EOF
    3545 #line 3546 "configure"
     3561#line 3562 "configure"
    35463562#include "confdefs.h"
    35473563/* Override any gcc2 internal prototype to avoid an error.  */
     
    35543570; return 0; }
    35553571EOF
    3556 if { (eval echo configure:3557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3572if { (eval echo configure:3573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35573573  rm -rf conftest*
    35583574  ac_cv_search_setenv="none required"
     
    35653581LIBS="-l$i  $ac_func_search_save_LIBS"
    35663582cat > conftest.$ac_ext <<EOF
    3567 #line 3568 "configure"
     3583#line 3584 "configure"
    35683584#include "confdefs.h"
    35693585/* Override any gcc2 internal prototype to avoid an error.  */
     
    35763592; return 0; }
    35773593EOF
    3578 if { (eval echo configure:3579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3594if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35793595  rm -rf conftest*
    35803596  ac_cv_search_setenv="-l$i"
     
    36003616do
    36013617echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3602 echo "configure:3603: checking for $ac_func" >&5
     3618echo "configure:3619: checking for $ac_func" >&5
    36033619if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36043620  echo $ac_n "(cached) $ac_c" 1>&6
    36053621else
    36063622  cat > conftest.$ac_ext <<EOF
    3607 #line 3608 "configure"
     3623#line 3624 "configure"
    36083624#include "confdefs.h"
    36093625/* System header to define __stub macros and hopefully few prototypes,
     
    36283644; return 0; }
    36293645EOF
    3630 if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3646if { (eval echo configure:3647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36313647  rm -rf conftest*
    36323648  eval "ac_cv_func_$ac_func=yes"
     
    36573673# arithmetic shifts
    36583674echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3659 echo "configure:3660: checking whether your machine has correct arithmetic shifts" >&5
     3675echo "configure:3676: checking whether your machine has correct arithmetic shifts" >&5
    36603676if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    36613677  echo $ac_n "(cached) $ac_c" 1>&6
     
    36703686else
    36713687  cat > conftest.$ac_ext <<EOF
    3672 #line 3673 "configure"
     3688#line 3689 "configure"
    36733689#include "confdefs.h"
    36743690 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    36753691EOF
    3676 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3692if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36773693then
    36783694  ac_cv_shift=yes
     
    36993715# check for a peculiar constructor initialization
    37003716echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3701 echo "configure:3702: checking whether explicit C++ constructor calls are allowed" >&5
     3717echo "configure:3718: checking whether explicit C++ constructor calls are allowed" >&5
    37023718
    37033719ac_ext=C
     
    37123728else
    37133729  cat > conftest.$ac_ext <<EOF
    3714 #line 3715 "configure"
     3730#line 3731 "configure"
    37153731#include "confdefs.h"
    37163732
     
    37303746; return 0; }
    37313747EOF
    3732 if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3748if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37333749  rm -rf conftest*
    37343750  ac_cv_explicit_const=yes
     
    37593775# sprintf returns number of printed chars
    37603776echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3761 echo "configure:3762: checking whether vsprintf returns number of printed chars" >&5
     3777echo "configure:3778: checking whether vsprintf returns number of printed chars" >&5
    37623778if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    37633779  echo $ac_n "(cached) $ac_c" 1>&6
     
    37673783else
    37683784  cat > conftest.$ac_ext <<EOF
    3769 #line 3770 "configure"
     3785#line 3786 "configure"
    37703786#include "confdefs.h"
    37713787#include <stdio.h>
    37723788 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    37733789EOF
    3774 if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3790if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37753791then
    37763792  ac_cv_returns_n_of_chars=yes
     
    37983814# determine ALIGN_8
    37993815echo $ac_n "checking size of char""... $ac_c" 1>&6
    3800 echo "configure:3801: checking size of char" >&5
     3816echo "configure:3817: checking size of char" >&5
    38013817if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    38023818  echo $ac_n "(cached) $ac_c" 1>&6
     
    38063822else
    38073823  cat > conftest.$ac_ext <<EOF
    3808 #line 3809 "configure"
     3824#line 3825 "configure"
    38093825#include "confdefs.h"
    38103826#include <stdio.h>
     
    38173833}
    38183834EOF
    3819 if { (eval echo configure:3820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3835if { (eval echo configure:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38203836then
    38213837  ac_cv_sizeof_char=`cat conftestval`
     
    38373853
    38383854echo $ac_n "checking size of short""... $ac_c" 1>&6
    3839 echo "configure:3840: checking size of short" >&5
     3855echo "configure:3856: checking size of short" >&5
    38403856if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    38413857  echo $ac_n "(cached) $ac_c" 1>&6
     
    38453861else
    38463862  cat > conftest.$ac_ext <<EOF
    3847 #line 3848 "configure"
     3863#line 3864 "configure"
    38483864#include "confdefs.h"
    38493865#include <stdio.h>
     
    38563872}
    38573873EOF
    3858 if { (eval echo configure:3859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3874if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38593875then
    38603876  ac_cv_sizeof_short=`cat conftestval`
     
    38763892
    38773893echo $ac_n "checking size of int""... $ac_c" 1>&6
    3878 echo "configure:3879: checking size of int" >&5
     3894echo "configure:3895: checking size of int" >&5
    38793895if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    38803896  echo $ac_n "(cached) $ac_c" 1>&6
     
    38843900else
    38853901  cat > conftest.$ac_ext <<EOF
    3886 #line 3887 "configure"
     3902#line 3903 "configure"
    38873903#include "confdefs.h"
    38883904#include <stdio.h>
     
    38953911}
    38963912EOF
    3897 if { (eval echo configure:3898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3913if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38983914then
    38993915  ac_cv_sizeof_int=`cat conftestval`
     
    39153931
    39163932echo $ac_n "checking size of long""... $ac_c" 1>&6
    3917 echo "configure:3918: checking size of long" >&5
     3933echo "configure:3934: checking size of long" >&5
    39183934if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    39193935  echo $ac_n "(cached) $ac_c" 1>&6
     
    39233939else
    39243940  cat > conftest.$ac_ext <<EOF
    3925 #line 3926 "configure"
     3941#line 3942 "configure"
    39263942#include "confdefs.h"
    39273943#include <stdio.h>
     
    39343950}
    39353951EOF
    3936 if { (eval echo configure:3937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3952if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    39373953then
    39383954  ac_cv_sizeof_long=`cat conftestval`
     
    39543970
    39553971echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3956 echo "configure:3957: checking size of void*" >&5
     3972echo "configure:3973: checking size of void*" >&5
    39573973if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    39583974  echo $ac_n "(cached) $ac_c" 1>&6
     
    39623978else
    39633979  cat > conftest.$ac_ext <<EOF
    3964 #line 3965 "configure"
     3980#line 3981 "configure"
    39653981#include "confdefs.h"
    39663982#include <stdio.h>
     
    39733989}
    39743990EOF
    3975 if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3991if { (eval echo configure:3992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    39763992then
    39773993  ac_cv_sizeof_voidp=`cat conftestval`
     
    39934009
    39944010echo $ac_n "checking size of double""... $ac_c" 1>&6
    3995 echo "configure:3996: checking size of double" >&5
     4011echo "configure:4012: checking size of double" >&5
    39964012if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    39974013  echo $ac_n "(cached) $ac_c" 1>&6
     
    40014017else
    40024018  cat > conftest.$ac_ext <<EOF
    4003 #line 4004 "configure"
     4019#line 4020 "configure"
    40044020#include "confdefs.h"
    40054021#include <stdio.h>
     
    40124028}
    40134029EOF
    4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4030if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    40154031then
    40164032  ac_cv_sizeof_double=`cat conftestval`
     
    40324048
    40334049echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    4034 echo "configure:4035: checking whether byte ordering is bigendian" >&5
     4050echo "configure:4051: checking whether byte ordering is bigendian" >&5
    40354051if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    40364052  echo $ac_n "(cached) $ac_c" 1>&6
     
    40394055# See if sys/param.h defines the BYTE_ORDER macro.
    40404056cat > conftest.$ac_ext <<EOF
    4041 #line 4042 "configure"
     4057#line 4058 "configure"
    40424058#include "confdefs.h"
    40434059#include <sys/types.h>
     
    40504066; return 0; }
    40514067EOF
    4052 if { (eval echo configure:4053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4068if { (eval echo configure:4069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40534069  rm -rf conftest*
    40544070  # It does; now see whether it defined to BIG_ENDIAN or not.
    40554071cat > conftest.$ac_ext <<EOF
    4056 #line 4057 "configure"
     4072#line 4073 "configure"
    40574073#include "confdefs.h"
    40584074#include <sys/types.h>
     
    40654081; return 0; }
    40664082EOF
    4067 if { (eval echo configure:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4083if { (eval echo configure:4084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40684084  rm -rf conftest*
    40694085  ac_cv_c_bigendian=yes
     
    40854101else
    40864102  cat > conftest.$ac_ext <<EOF
    4087 #line 4088 "configure"
     4103#line 4104 "configure"
    40884104#include "confdefs.h"
    40894105main () {
     
    40984114}
    40994115EOF
    4100 if { (eval echo configure:4101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4116if { (eval echo configure:4117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    41014117then
    41024118  ac_cv_c_bigendian=no
     
    42464262
    42474263echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    4248 echo "configure:4249: checking whether to use dynamic linking" >&5
     4264echo "configure:4265: checking whether to use dynamic linking" >&5
    42494265if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    42504266  cat >> confdefs.h <<\EOF
     
    42594275
    42604276echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    4261 echo "configure:4262: checking for tgetent in -lncurses" >&5
     4277echo "configure:4278: checking for tgetent in -lncurses" >&5
    42624278ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    42634279if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42674283LIBS="-lncurses  $LIBS"
    42684284cat > conftest.$ac_ext <<EOF
    4269 #line 4270 "configure"
     4285#line 4286 "configure"
    42704286#include "confdefs.h"
    42714287/* Override any gcc2 internal prototype to avoid an error.  */
     
    42784294; return 0; }
    42794295EOF
    4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4296if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42814297  rm -rf conftest*
    42824298  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43054321\
    43064322 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    4307 echo "configure:4308: checking for tgetent in -lcurses" >&5
     4323echo "configure:4324: checking for tgetent in -lcurses" >&5
    43084324ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    43094325if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43134329LIBS="-lcurses  $LIBS"
    43144330cat > conftest.$ac_ext <<EOF
    4315 #line 4316 "configure"
     4331#line 4332 "configure"
    43164332#include "confdefs.h"
    43174333/* Override any gcc2 internal prototype to avoid an error.  */
     
    43244340; return 0; }
    43254341EOF
    4326 if { (eval echo configure:4327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4342if { (eval echo configure:4343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43274343  rm -rf conftest*
    43284344  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43514367\
    43524368  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4353 echo "configure:4354: checking for tgetent in -ltermcap" >&5
     4369echo "configure:4370: checking for tgetent in -ltermcap" >&5
    43544370ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    43554371if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43594375LIBS="-ltermcap  $LIBS"
    43604376cat > conftest.$ac_ext <<EOF
    4361 #line 4362 "configure"
     4377#line 4378 "configure"
    43624378#include "confdefs.h"
    43634379/* Override any gcc2 internal prototype to avoid an error.  */
     
    43704386; return 0; }
    43714387EOF
    4372 if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4388if { (eval echo configure:4389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43734389  rm -rf conftest*
    43744390  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44194435
    44204436   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    4421 echo "configure:4422: checking for rl_abort in -lreadline" >&5
     4437echo "configure:4438: checking for rl_abort in -lreadline" >&5
    44224438ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    44234439if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44274443LIBS="-lreadline  $LIBS"
    44284444cat > conftest.$ac_ext <<EOF
    4429 #line 4430 "configure"
     4445#line 4446 "configure"
    44304446#include "confdefs.h"
    44314447/* Override any gcc2 internal prototype to avoid an error.  */
     
    44414457; return 0; }
    44424458EOF
    4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4459if { (eval echo configure:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44444460  rm -rf conftest*
    44454461  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44694485
    44704486   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    4471 echo "configure:4472: checking how to run the C++ preprocessor" >&5
     4487echo "configure:4488: checking how to run the C++ preprocessor" >&5
    44724488if test -z "$CXXCPP"; then
    44734489if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    44824498  CXXCPP="${CXX-g++} -E"
    44834499  cat > conftest.$ac_ext <<EOF
    4484 #line 4485 "configure"
     4500#line 4501 "configure"
    44854501#include "confdefs.h"
    44864502#include <stdlib.h>
    44874503EOF
    44884504ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4489 { (eval echo configure:4490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4505{ (eval echo configure:4506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44904506ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44914507if test -z "$ac_err"; then
     
    45154531ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45164532echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4517 echo "configure:4518: checking for $ac_hdr" >&5
     4533echo "configure:4534: checking for $ac_hdr" >&5
    45184534if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45194535  echo $ac_n "(cached) $ac_c" 1>&6
    45204536else
    45214537  cat > conftest.$ac_ext <<EOF
    4522 #line 4523 "configure"
     4538#line 4539 "configure"
    45234539#include "confdefs.h"
    45244540#include <$ac_hdr>
    45254541EOF
    45264542ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4527 { (eval echo configure:4528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4543{ (eval echo configure:4544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45284544ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45294545if test -z "$ac_err"; then
     
    45544570      test "$ac_cv_header_readline_readline_h" = yes; then
    45554571     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4556 echo "configure:4557: checking whether readline.h is ok" >&5
     4572echo "configure:4573: checking whether readline.h is ok" >&5
    45574573     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    45584574  echo $ac_n "(cached) $ac_c" 1>&6
    45594575else
    45604576  cat > conftest.$ac_ext <<EOF
    4561 #line 4562 "configure"
     4577#line 4578 "configure"
    45624578#include "confdefs.h"
    45634579#include<unistd.h>
     
    45724588; return 0; }
    45734589EOF
    4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4590if { (eval echo configure:4591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45754591  rm -rf conftest*
    45764592  ac_cv_header_readline_readline_h_ok="yes"
     
    45884604#not ok -- try once more with explicitly declaring everything
    45894605      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4590 echo "configure:4591: checking whether or not we nevertheless can use readline" >&5
     4606echo "configure:4607: checking whether or not we nevertheless can use readline" >&5
    45914607      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    45924608  echo $ac_n "(cached) $ac_c" 1>&6
    45934609else
    45944610  cat > conftest.$ac_ext <<EOF
    4595 #line 4596 "configure"
     4611#line 4612 "configure"
    45964612#include "confdefs.h"
    45974613#include <stdio.h>
     
    46274643; return 0; }
    46284644EOF
    4629 if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4645if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46304646  rm -rf conftest*
    46314647  ac_cv_have_readline="yes"
     
    46664682
    46674683echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4668 echo "configure:4669: checking which readline to use" >&5
     4684echo "configure:4685: checking which readline to use" >&5
    46694685if test "$ac_cv_with_readline" = dynamic; then
    46704686  echo "$ac_t""dynamic" 1>&6
     
    46864702# gmp, MP, MPT, factory, libfac
    46874703echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4688 echo "configure:4689: checking for main in -lgmp" >&5
     4704echo "configure:4705: checking for main in -lgmp" >&5
    46894705ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    46904706if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46944710LIBS="-lgmp  $LIBS"
    46954711cat > conftest.$ac_ext <<EOF
    4696 #line 4697 "configure"
     4712#line 4713 "configure"
    46974713#include "confdefs.h"
    46984714
     
    47014717; return 0; }
    47024718EOF
    4703 if { (eval echo configure:4704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4719if { (eval echo configure:4720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47044720  rm -rf conftest*
    47054721  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47304746SAVE_LIBS=$LIBS
    47314747echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4732 echo "configure:4733: checking for IMP_PutGmpInt in -lMP" >&5
     4748echo "configure:4749: checking for IMP_PutGmpInt in -lMP" >&5
    47334749ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    47344750if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47384754LIBS="-lMP $MP_LIBS $LIBS"
    47394755cat > conftest.$ac_ext <<EOF
    4740 #line 4741 "configure"
     4756#line 4757 "configure"
    47414757#include "confdefs.h"
    47424758/* Override any gcc2 internal prototype to avoid an error.  */
     
    47494765; return 0; }
    47504766EOF
    4751 if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4767if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47524768  rm -rf conftest*
    47534769  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47774793
    47784794echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4779 echo "configure:4780: checking for MPT_GetTree in -lMPT" >&5
     4795echo "configure:4796: checking for MPT_GetTree in -lMPT" >&5
    47804796ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    47814797if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47854801LIBS="-lMPT $MP_LIBS $LIBS"
    47864802cat > conftest.$ac_ext <<EOF
    4787 #line 4788 "configure"
     4803#line 4804 "configure"
    47884804#include "confdefs.h"
    47894805/* Override any gcc2 internal prototype to avoid an error.  */
     
    47964812; return 0; }
    47974813EOF
    4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4814if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47994815  rm -rf conftest*
    48004816  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48254841LIBS=$SAVE_LIBS
    48264842echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4827 echo "configure:4828: checking for atof in -lsingcf" >&5
     4843echo "configure:4844: checking for atof in -lsingcf" >&5
    48284844ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    48294845if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48334849LIBS="-lsingcf  $LIBS"
    48344850cat > conftest.$ac_ext <<EOF
    4835 #line 4836 "configure"
     4851#line 4852 "configure"
    48364852#include "confdefs.h"
    48374853/* Override any gcc2 internal prototype to avoid an error.  */
     
    48444860; return 0; }
    48454861EOF
    4846 if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4862if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48474863  rm -rf conftest*
    48484864  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48724888
    48734889echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4874 echo "configure:4875: checking for atof in -lsingfac" >&5
     4890echo "configure:4891: checking for atof in -lsingfac" >&5
    48754891ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    48764892if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48804896LIBS="-lsingfac  $LIBS"
    48814897cat > conftest.$ac_ext <<EOF
    4882 #line 4883 "configure"
     4898#line 4899 "configure"
    48834899#include "confdefs.h"
    48844900/* Override any gcc2 internal prototype to avoid an error.  */
     
    48914907; return 0; }
    48924908EOF
    4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4909if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48944910  rm -rf conftest*
    48954911  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49194935
    49204936echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4921 echo "configure:4922: checking for omTestAddr in -lomalloc" >&5
     4937echo "configure:4938: checking for omTestAddr in -lomalloc" >&5
    49224938ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    49234939if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    49274943LIBS="-lomalloc  $LIBS"
    49284944cat > conftest.$ac_ext <<EOF
    4929 #line 4930 "configure"
     4945#line 4946 "configure"
    49304946#include "confdefs.h"
    49314947/* Override any gcc2 internal prototype to avoid an error.  */
     
    49384954; return 0; }
    49394955EOF
    4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4956if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49414957  rm -rf conftest*
    49424958  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49664982
    49674983echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4968 echo "configure:4969: checking for main in -lomalloc_ndebug" >&5
     4984echo "configure:4985: checking for main in -lomalloc_ndebug" >&5
    49694985ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    49704986if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    49744990LIBS="-lomalloc_ndebug  $LIBS"
    49754991cat > conftest.$ac_ext <<EOF
    4976 #line 4977 "configure"
     4992#line 4993 "configure"
    49774993#include "confdefs.h"
    49784994
     
    49814997; return 0; }
    49824998EOF
    4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4999if { (eval echo configure:5000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49845000  rm -rf conftest*
    49855001  eval "ac_cv_lib_$ac_lib_var=yes"
     
    50095025
    50105026echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
    5011 echo "configure:5012: checking for main in -lntl" >&5
     5027echo "configure:5028: checking for main in -lntl" >&5
    50125028ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
    50135029if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    50175033LIBS="-lntl  $LIBS"
    50185034cat > conftest.$ac_ext <<EOF
    5019 #line 5020 "configure"
     5035#line 5036 "configure"
    50205036#include "confdefs.h"
    50215037
     
    50245040; return 0; }
    50255041EOF
    5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5042if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50275043  rm -rf conftest*
    50285044  eval "ac_cv_lib_$ac_lib_var=yes"
     
    50575073ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    50585074echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5059 echo "configure:5060: checking for $ac_hdr" >&5
     5075echo "configure:5076: checking for $ac_hdr" >&5
    50605076if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    50615077  echo $ac_n "(cached) $ac_c" 1>&6
    50625078else
    50635079  cat > conftest.$ac_ext <<EOF
    5064 #line 5065 "configure"
     5080#line 5081 "configure"
    50655081#include "confdefs.h"
    50665082#include <$ac_hdr>
    50675083EOF
    50685084ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5069 { (eval echo configure:5070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5085{ (eval echo configure:5086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    50705086ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    50715087if test -z "$ac_err"; then
     
    50955111
    50965112echo $ac_n "checking whether to use Boost""... $ac_c" 1>&6
    5097 echo "configure:5098: checking whether to use Boost" >&5
     5113echo "configure:5114: checking whether to use Boost" >&5
    50985114if test "$with_Boost" != no; then
    50995115  echo "$ac_t""yes" 1>&6
     
    51105126ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    51115127echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5112 echo "configure:5113: checking for $ac_hdr" >&5
     5128echo "configure:5129: checking for $ac_hdr" >&5
    51135129if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    51145130  echo $ac_n "(cached) $ac_c" 1>&6
    51155131else
    51165132  cat > conftest.$ac_ext <<EOF
    5117 #line 5118 "configure"
     5133#line 5134 "configure"
    51185134#include "confdefs.h"
    51195135#include <$ac_hdr>
    51205136EOF
    51215137ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5122 { (eval echo configure:5123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5138{ (eval echo configure:5139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    51235139ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    51245140if test -z "$ac_err"; then
     
    51565172  echo "$ac_t""no" 1>&6
    51575173  echo $ac_n "checking whether to use std::vector""... $ac_c" 1>&6
    5158 echo "configure:5159: checking whether to use std::vector" >&5
     5174echo "configure:5175: checking whether to use std::vector" >&5
    51595175  if test "$with_stdvec" != yes; then
    51605176    echo "$ac_t""no" 1>&6
     
    52055221SAVE_LIBS=$LIBS
    52065222echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6
    5207 echo "configure:5208: checking for __stack_chk_fail_local in -lc_nonshared" >&5
     5223echo "configure:5224: checking for __stack_chk_fail_local in -lc_nonshared" >&5
    52085224ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | sed 'y%./+-%__p_%'`
    52095225if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    52135229LIBS="-lc_nonshared  $LIBS"
    52145230cat > conftest.$ac_ext <<EOF
    5215 #line 5216 "configure"
     5231#line 5232 "configure"
    52165232#include "confdefs.h"
    52175233/* Override any gcc2 internal prototype to avoid an error.  */
     
    52245240; return 0; }
    52255241EOF
    5226 if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5242if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    52275243  rm -rf conftest*
    52285244  eval "ac_cv_lib_$ac_lib_var=yes"
     
    52545270
    52555271echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    5256 echo "configure:5257: checking which apint package to use" >&5
     5272echo "configure:5273: checking which apint package to use" >&5
    52575273if test "${with_apint}" != gmp; then
    52585274  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    52765292
    52775293echo $ac_n "checking whether to use libsvd""... $ac_c" 1>&6
    5278 echo "configure:5279: checking whether to use libsvd" >&5
     5294echo "configure:5295: checking whether to use libsvd" >&5
    52795295if test "$with_svd" = yes; then
    52805296  echo "$ac_t""yes" 1>&6
     
    52915307#
    52925308echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    5293 echo "configure:5294: checking whether to have MP" >&5
     5309echo "configure:5310: checking whether to have MP" >&5
    52945310if test "${with_MP}" != yes && test "${with_MP}" != no; then
    52955311  if (test "${will_have_gmp}" = yes) && \
     
    53265342
    53275343echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
    5328 echo "configure:5329: checking whether to have NTL" >&5
     5344echo "configure:5345: checking whether to have NTL" >&5
    53295345if test "${with_NTL}" = yes ; then
    53305346  echo "$ac_t""yes" 1>&6
     
    53355351
    53365352echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    5337 echo "configure:5338: checking whether to have factory" >&5
     5353echo "configure:5354: checking whether to have factory" >&5
    53385354if test "${with_factory}" != yes && test "${with_factory}" != no; then
    53395355  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    53665382
    53675383echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    5368 echo "configure:5369: checking whether to have libfac" >&5
     5384echo "configure:5385: checking whether to have libfac" >&5
    53695385if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    53705386  if (test "${will_have_factory}" = yes) && \
     
    54085424
    54095425echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    5410 echo "configure:5411: checking whether to have dbm links" >&5
     5426echo "configure:5427: checking whether to have dbm links" >&5
    54115427if test "$with_dbm" != no; then
    54125428  cat >> confdefs.h <<\EOF
     
    54205436
    54215437echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    5422 echo "configure:5423: checking whether to have namespaces" >&5
     5438echo "configure:5439: checking whether to have namespaces" >&5
    54235439if test "$with_namespaces" != no; then
    54245440  echo "$ac_t""yes" 1>&6
     
    54325448
    54335449echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    5434 echo "configure:5435: checking whether to have dynamic modules" >&5
     5450echo "configure:5451: checking whether to have dynamic modules" >&5
    54355451if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    54365452  echo "$ac_t""no" 1>&6
     
    54445460
    54455461echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    5446 echo "configure:5447: checking whether to have dynamic kernel" >&5
     5462echo "configure:5463: checking whether to have dynamic kernel" >&5
    54475463if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    54485464  DL_KERNEL=1
     
    54545470
    54555471echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    5456 echo "configure:5457: checking whether to have Plural" >&5
     5472echo "configure:5473: checking whether to have Plural" >&5
    54575473if test "$with_Plural" != no && test "$enable_Plural" != no; then
    54585474  cat >> confdefs.h <<\EOF
  • Singular/configure.in

    reb3a157 rf92bde  
    410410                SFLAGS="-fpic -fPIC -DPIC"
    411411                SLDFLAGS="-fPIC -DPIC -shared"
    412                 LD=gcc
     412                if test "${LD+set}" != set; then
     413                  LD="${LD}"
     414                else
     415                  LD=gcc
     416                fi
    413417                ac_lib_dl=yes
    414418          fi
     
    420424                SFLAGS="-fpic -DPIC"
    421425                SLDFLAGS=-shared
    422                 LD=ld
     426                if test "${LD+set}" != set; then
     427                  LD="${LD}"
     428                else
     429                  LD=ld
     430                fi
    423431                ac_lib_dl=yes
    424432          fi
     
    428436          SFLAGS="-fPIC -DPIC"
    429437          SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared"
    430           LD=ld
     438          if test "${LD+set}" != set; then
     439            LD="${LD}"
     440          else
     441            LD=ld
     442          fi
    431443          ac_lib_dl=yes
    432444        ;;
     
    437449                SFLAGS="-fpic -DPIC"
    438450                SLDFLAGS=-shared
    439                 LD=$CC
     451                if test "${LD+set}" != set; then
     452                  LD="${LD}"
     453                else
     454                  LD=$CC
     455                fi
    440456                ac_lib_dl=yes
    441457          fi
Note: See TracChangeset for help on using the changeset viewer.