Changeset 7e5a38 in git for Singular/configure


Ignore:
Timestamp:
Dec 7, 2000, 4:04:03 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
8f79d773fb56da78b5f8ed5221984b47fb7404a5
Parents:
3c13f654591de9411714b65349412f92daf673a4
Message:
* dynamic loading of p_Procs


git-svn-id: file:///usr/local/Singular/svn/trunk@4833 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r3c13f6 r7e5a38  
    22
    33# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.12
     4# Generated automatically using autoconf version 2.13
    55# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    66#
     
    1919  --with-lex=[LEX,no]     uses LEX as lex program, default is flex"
    2020ac_help="$ac_help
    21   --with-readline          do use static readline for fancy display"
     21  --with-readline=[dynamic,static,no]         
     22                          do use dynamic/static/no readline for fancy display"
    2223ac_help="$ac_help
    2324  --without-MP            do not use MP (no MP links)"
     
    3132  --with-namespaces       do compile namespace support"
    3233ac_help="$ac_help
    33   --with-dl               do use dl (dynamic linking)"
     34  --without-dl            do not use dynamic linking, modules, and kernel"
     35ac_help="$ac_help
     36  --with-dynamic-modules  do compile with dynamic modules support"
     37ac_help="$ac_help
     38  --without-dynamic-kernel               
     39                          do not compile with dynamic kernel parts"
    3440ac_help="$ac_help
    3541  --with-apint=PACKAGE    use PACKAGE for arbitary integer arithmetic"
     
    7480subdirs=
    7581MFLAGS= MAKEFLAGS=
     82SHELL=${CONFIG_SHELL-/bin/sh}
    7683# Maximum number of lines to put in a shell here document.
    7784ac_max_here_lines=12
     
    357364
    358365  -version | --version | --versio | --versi | --vers)
    359     echo "configure generated by autoconf version 2.12"
     366    echo "configure generated by autoconf version 2.13"
    360367    exit 0 ;;
    361368
     
    527534ac_cpp='$CPP $CPPFLAGS'
    528535ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    529 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     536ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    530537cross_compiling=$ac_cv_prog_cc_cross
    531538
     539ac_exeext=
     540ac_objext=o
    532541if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    533542  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     
    547556
    548557echo $ac_n "checking uname for singular""... $ac_c" 1>&6
    549 echo "configure:550: checking uname for singular" >&5
     558echo "configure:559: checking uname for singular" >&5
    550559if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
    551560  echo $ac_n "(cached) $ac_c" 1>&6
     
    644653set dummy gcc; ac_word=$2
    645654echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    646 echo "configure:647: checking for $ac_word" >&5
     655echo "configure:656: checking for $ac_word" >&5
    647656if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    648657  echo $ac_n "(cached) $ac_c" 1>&6
     
    651660  ac_cv_prog_CC="$CC" # Let the user override the test.
    652661else
    653   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    654   for ac_dir in $PATH; do
     662  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     663  ac_dummy="$PATH"
     664  for ac_dir in $ac_dummy; do
    655665    test -z "$ac_dir" && ac_dir=.
    656666    if test -f $ac_dir/$ac_word; then
     
    673683set dummy cc; ac_word=$2
    674684echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    675 echo "configure:676: checking for $ac_word" >&5
     685echo "configure:686: checking for $ac_word" >&5
    676686if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    677687  echo $ac_n "(cached) $ac_c" 1>&6
     
    680690  ac_cv_prog_CC="$CC" # Let the user override the test.
    681691else
    682   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
     692  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    683693  ac_prog_rejected=no
    684   for ac_dir in $PATH; do
     694  ac_dummy="$PATH"
     695  for ac_dir in $ac_dummy; do
    685696    test -z "$ac_dir" && ac_dir=.
    686697    if test -f $ac_dir/$ac_word; then
     
    717728fi
    718729
     730  if test -z "$CC"; then
     731    case "`uname -s`" in
     732    *win32* | *WIN32*)
     733      # Extract the first word of "cl", so it can be a program name with args.
     734set dummy cl; ac_word=$2
     735echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     736echo "configure:737: checking for $ac_word" >&5
     737if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     738  echo $ac_n "(cached) $ac_c" 1>&6
     739else
     740  if test -n "$CC"; then
     741  ac_cv_prog_CC="$CC" # Let the user override the test.
     742else
     743  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     744  ac_dummy="$PATH"
     745  for ac_dir in $ac_dummy; do
     746    test -z "$ac_dir" && ac_dir=.
     747    if test -f $ac_dir/$ac_word; then
     748      ac_cv_prog_CC="cl"
     749      break
     750    fi
     751  done
     752  IFS="$ac_save_ifs"
     753fi
     754fi
     755CC="$ac_cv_prog_CC"
     756if test -n "$CC"; then
     757  echo "$ac_t""$CC" 1>&6
     758else
     759  echo "$ac_t""no" 1>&6
     760fi
     761 ;;
     762    esac
     763  fi
    719764  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    720765fi
    721766
    722767echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    723 echo "configure:724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     768echo "configure:769: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    724769
    725770ac_ext=c
     
    727772ac_cpp='$CPP $CPPFLAGS'
    728773ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    729 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     774ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    730775cross_compiling=$ac_cv_prog_cc_cross
    731776
    732 cat > conftest.$ac_ext <<EOF
    733 #line 734 "configure"
    734 #include "confdefs.h"
     777cat > conftest.$ac_ext << EOF
     778
     779#line 780 "configure"
     780#include "confdefs.h"
     781
    735782main(){return(0);}
    736783EOF
    737 if { (eval echo configure:738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     784if { (eval echo configure:785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    738785  ac_cv_prog_cc_works=yes
    739786  # If we can't run a trivial program, we are probably using a cross compiler.
     
    749796fi
    750797rm -fr conftest*
     798ac_ext=c
     799# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     800ac_cpp='$CPP $CPPFLAGS'
     801ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     802ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     803cross_compiling=$ac_cv_prog_cc_cross
    751804
    752805echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     
    755808fi
    756809echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    757 echo "configure:758: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     810echo "configure:811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    758811echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    759812cross_compiling=$ac_cv_prog_cc_cross
    760813
    761814echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    762 echo "configure:763: checking whether we are using GNU C" >&5
     815echo "configure:816: checking whether we are using GNU C" >&5
    763816if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    764817  echo $ac_n "(cached) $ac_c" 1>&6
     
    769822#endif
    770823EOF
    771 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     824if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    772825  ac_cv_prog_gcc=yes
    773826else
     
    780833if test $ac_cv_prog_gcc = yes; then
    781834  GCC=yes
    782   ac_test_CFLAGS="${CFLAGS+set}"
    783   ac_save_CFLAGS="$CFLAGS"
    784   CFLAGS=
    785   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    786 echo "configure:787: checking whether ${CC-cc} accepts -g" >&5
     835else
     836  GCC=
     837fi
     838
     839ac_test_CFLAGS="${CFLAGS+set}"
     840ac_save_CFLAGS="$CFLAGS"
     841CFLAGS=
     842echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     843echo "configure:844: checking whether ${CC-cc} accepts -g" >&5
    787844if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    788845  echo $ac_n "(cached) $ac_c" 1>&6
     
    799856
    800857echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    801   if test "$ac_test_CFLAGS" = set; then
    802     CFLAGS="$ac_save_CFLAGS"
    803   elif test $ac_cv_prog_cc_g = yes; then
     858if test "$ac_test_CFLAGS" = set; then
     859  CFLAGS="$ac_save_CFLAGS"
     860elif test $ac_cv_prog_cc_g = yes; then
     861  if test "$GCC" = yes; then
    804862    CFLAGS="-g -O2"
    805863  else
     864    CFLAGS="-g"
     865  fi
     866else
     867  if test "$GCC" = yes; then
    806868    CFLAGS="-O2"
     869  else
     870    CFLAGS=
    807871  fi
    808 else
    809   GCC=
    810   test "${CFLAGS+set}" = set || CFLAGS="-g"
    811872fi
    812873
    813874echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    814 echo "configure:815: checking how to run the C preprocessor" >&5
     875echo "configure:876: checking how to run the C preprocessor" >&5
    815876# On Suns, sometimes $CPP names a directory.
    816877if test -n "$CPP" && test -d "$CPP"; then
     
    827888  # not just through cpp.
    828889  cat > conftest.$ac_ext <<EOF
    829 #line 830 "configure"
     890#line 891 "configure"
    830891#include "confdefs.h"
    831892#include <assert.h>
     
    833894EOF
    834895ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    835 { (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    836 ac_err=`grep -v '^ *+' conftest.out`
     896{ (eval echo configure:897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     897ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    837898if test -z "$ac_err"; then
    838899  :
     
    844905  CPP="${CC-cc} -E -traditional-cpp"
    845906  cat > conftest.$ac_ext <<EOF
    846 #line 847 "configure"
     907#line 908 "configure"
    847908#include "confdefs.h"
    848909#include <assert.h>
     
    850911EOF
    851912ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    852 { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    853 ac_err=`grep -v '^ *+' conftest.out`
     913{ (eval echo configure:914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     914ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    854915if test -z "$ac_err"; then
    855916  :
     
    859920  cat conftest.$ac_ext >&5
    860921  rm -rf conftest*
     922  CPP="${CC-cc} -nologo -E"
     923  cat > conftest.$ac_ext <<EOF
     924#line 925 "configure"
     925#include "confdefs.h"
     926#include <assert.h>
     927Syntax Error
     928EOF
     929ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     930{ (eval echo configure:931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     931ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     932if test -z "$ac_err"; then
     933  :
     934else
     935  echo "$ac_err" >&5
     936  echo "configure: failed program was:" >&5
     937  cat conftest.$ac_ext >&5
     938  rm -rf conftest*
    861939  CPP=/lib/cpp
    862940fi
     
    864942fi
    865943rm -f conftest*
     944fi
     945rm -f conftest*
    866946  ac_cv_prog_CPP="$CPP"
    867947fi
     
    872952echo "$ac_t""$CPP" 1>&6
    873953
    874 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
     954for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    875955do
    876956# Extract the first word of "$ac_prog", so it can be a program name with args.
    877957set dummy $ac_prog; ac_word=$2
    878958echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    879 echo "configure:880: checking for $ac_word" >&5
     959echo "configure:960: checking for $ac_word" >&5
    880960if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    881961  echo $ac_n "(cached) $ac_c" 1>&6
     
    884964  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    885965else
    886   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    887   for ac_dir in $PATH; do
     966  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     967  ac_dummy="$PATH"
     968  for ac_dir in $ac_dummy; do
    888969    test -z "$ac_dir" && ac_dir=.
    889970    if test -f $ac_dir/$ac_word; then
     
    908989
    909990echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    910 echo "configure:911: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     991echo "configure:992: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    911992
    912993ac_ext=C
     
    914995ac_cpp='$CXXCPP $CPPFLAGS'
    915996ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    916 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     997ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    917998cross_compiling=$ac_cv_prog_cxx_cross
    918999
    919 cat > conftest.$ac_ext <<EOF
    920 #line 921 "configure"
    921 #include "confdefs.h"
    922 main(){return(0);}
    923 EOF
    924 if { (eval echo configure:925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1000cat > conftest.$ac_ext << EOF
     1001
     1002#line 1003 "configure"
     1003#include "confdefs.h"
     1004
     1005int main(){return(0);}
     1006EOF
     1007if { (eval echo configure:1008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9251008  ac_cv_prog_cxx_works=yes
    9261009  # If we can't run a trivial program, we are probably using a cross compiler.
     
    9401023ac_cpp='$CPP $CPPFLAGS'
    9411024ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    942 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1025ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    9431026cross_compiling=$ac_cv_prog_cc_cross
    9441027
     
    9481031fi
    9491032echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    950 echo "configure:951: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1033echo "configure:1034: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    9511034echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    9521035cross_compiling=$ac_cv_prog_cxx_cross
    9531036
    9541037echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    955 echo "configure:956: checking whether we are using GNU C++" >&5
     1038echo "configure:1039: checking whether we are using GNU C++" >&5
    9561039if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    9571040  echo $ac_n "(cached) $ac_c" 1>&6
     
    9621045#endif
    9631046EOF
    964 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1047if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9651048  ac_cv_prog_gxx=yes
    9661049else
     
    9731056if test $ac_cv_prog_gxx = yes; then
    9741057  GXX=yes
    975   ac_test_CXXFLAGS="${CXXFLAGS+set}"
    976   ac_save_CXXFLAGS="$CXXFLAGS"
    977   CXXFLAGS=
    978   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    979 echo "configure:980: checking whether ${CXX-g++} accepts -g" >&5
     1058else
     1059  GXX=
     1060fi
     1061
     1062ac_test_CXXFLAGS="${CXXFLAGS+set}"
     1063ac_save_CXXFLAGS="$CXXFLAGS"
     1064CXXFLAGS=
     1065echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     1066echo "configure:1067: checking whether ${CXX-g++} accepts -g" >&5
    9801067if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    9811068  echo $ac_n "(cached) $ac_c" 1>&6
     
    9921079
    9931080echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
    994   if test "$ac_test_CXXFLAGS" = set; then
    995     CXXFLAGS="$ac_save_CXXFLAGS"
    996   elif test $ac_cv_prog_cxx_g = yes; then
     1081if test "$ac_test_CXXFLAGS" = set; then
     1082  CXXFLAGS="$ac_save_CXXFLAGS"
     1083elif test $ac_cv_prog_cxx_g = yes; then
     1084  if test "$GXX" = yes; then
    9971085    CXXFLAGS="-g -O2"
    9981086  else
     1087    CXXFLAGS="-g"
     1088  fi
     1089else
     1090  if test "$GXX" = yes; then
    9991091    CXXFLAGS="-O2"
     1092  else
     1093    CXXFLAGS=
    10001094  fi
    1001 else
    1002   GXX=
    1003   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
    10041095fi
    10051096
     
    10301121# IRIX /sbin/install
    10311122# AIX /bin/install
     1123# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    10321124# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    10331125# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    10341126# ./install, which can be erroneously created by make from ./install.sh.
    10351127echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1036 echo "configure:1037: checking for a BSD compatible install" >&5
     1128echo "configure:1129: checking for a BSD compatible install" >&5
    10371129if test -z "$INSTALL"; then
    10381130if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    10391131  echo $ac_n "(cached) $ac_c" 1>&6
    10401132else
    1041     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
     1133    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    10421134  for ac_dir in $PATH; do
    10431135    # Account for people who put trailing slashes in PATH elements.
     
    10461138    *)
    10471139      # OSF1 and SCO ODT 3.0 have their own names for install.
    1048       for ac_prog in ginstall installbsd scoinst install; do
     1140      # Don't use installbsd from OSF since it installs stuff as root
     1141      # by default.
     1142      for ac_prog in ginstall scoinst install; do
    10491143        if test -f $ac_dir/$ac_prog; then
    10501144          if test $ac_prog = install &&
    10511145            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    10521146            # AIX install.  It has an incompatible calling convention.
    1053             # OSF/1 installbsd also uses dspmsg, but is usable.
    10541147            :
    10551148          else
     
    10811174test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    10821175
     1176test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1177
    10831178test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    10841179
    10851180echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1086 echo "configure:1087: checking for AIX" >&5
     1181echo "configure:1182: checking for AIX" >&5
    10871182cat > conftest.$ac_ext <<EOF
    1088 #line 1089 "configure"
     1183#line 1184 "configure"
    10891184#include "confdefs.h"
    10901185#ifdef _AIX
     
    11161211# check whether the compiler accepts -pipe
    11171212echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1118 echo "configure:1119: checking whether compiler accepts -pipe" >&5
     1213echo "configure:1214: checking whether compiler accepts -pipe" >&5
    11191214temp_cflags=${CFLAGS}
    11201215CFLAGS="${CFLAGS} -pipe"
     
    11231218else
    11241219  cat > conftest.$ac_ext <<EOF
    1125 #line 1126 "configure"
     1220#line 1221 "configure"
    11261221#include "confdefs.h"
    11271222
     
    11301225; return 0; }
    11311226EOF
    1132 if { (eval echo configure:1133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1227if { (eval echo configure:1228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11331228  rm -rf conftest*
    11341229  ac_cv_cxx_have_pipe=yes
     
    11541249# Customize CFLAGS
    11551250echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1156 echo "configure:1157: checking whether _AIX is defined" >&5
     1251echo "configure:1252: checking whether _AIX is defined" >&5
    11571252if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    11581253  echo $ac_n "(cached) $ac_c" 1>&6
    11591254else
    11601255  cat > conftest.$ac_ext <<EOF
    1161 #line 1162 "configure"
     1256#line 1257 "configure"
    11621257#include "confdefs.h"
    11631258#ifdef _AIX
     
    12101305
    12111306echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1212 echo "configure:1213: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1307echo "configure:1308: checking whether ${MAKE-make} sets \${MAKE}" >&5
    12131308set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    12141309if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12881383if test "${with_lex+set}" != set; then
    12891384  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1290 echo "configure:1291: checking for flex" >&5
     1385echo "configure:1386: checking for flex" >&5
    12911386    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
    12921387  echo $ac_n "(cached) $ac_c" 1>&6
     
    13191414set dummy $ac_prog; ac_word=$2
    13201415echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1321 echo "configure:1322: checking for $ac_word" >&5
     1416echo "configure:1417: checking for $ac_word" >&5
    13221417if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    13231418  echo $ac_n "(cached) $ac_c" 1>&6
     
    13261421  ac_cv_prog_LEX="$LEX" # Let the user override the test.
    13271422else
    1328   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1329   for ac_dir in $PATH; do
     1423  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1424  ac_dummy="$PATH"
     1425  for ac_dir in $ac_dummy; do
    13301426    test -z "$ac_dir" && ac_dir=.
    13311427    if test -f $ac_dir/$ac_word; then
     
    13581454set dummy $ac_prog; ac_word=$2
    13591455echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1360 echo "configure:1361: checking for $ac_word" >&5
     1456echo "configure:1457: checking for $ac_word" >&5
    13611457if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    13621458  echo $ac_n "(cached) $ac_c" 1>&6
     
    13651461  ac_cv_prog_BISON="$BISON" # Let the user override the test.
    13661462else
    1367   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1368   for ac_dir in $PATH; do
     1463  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1464  ac_dummy="$PATH"
     1465  for ac_dir in $ac_dummy; do
    13691466    test -z "$ac_dir" && ac_dir=.
    13701467    if test -f $ac_dir/$ac_word; then
     
    13921489# ln -s
    13931490echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1394 echo "configure:1395: checking whether ln -s works" >&5
     1491echo "configure:1492: checking whether ln -s works" >&5
    13951492if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    13961493  echo $ac_n "(cached) $ac_c" 1>&6
     
    14181515set dummy $ac_prog; ac_word=$2
    14191516echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1420 echo "configure:1421: checking for $ac_word" >&5
     1517echo "configure:1518: checking for $ac_word" >&5
    14211518if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    14221519  echo $ac_n "(cached) $ac_c" 1>&6
     
    14251522  ac_cv_prog_PERL="$PERL" # Let the user override the test.
    14261523else
    1427   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1428   for ac_dir in $PATH; do
     1524  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1525  ac_dummy="$PATH"
     1526  for ac_dir in $ac_dummy; do
    14291527    test -z "$ac_dir" && ac_dir=.
    14301528    if test -f $ac_dir/$ac_word; then
     
    14491547# lib checks
    14501548echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1451 echo "configure:1452: checking for atof in -lm" >&5
     1549echo "configure:1550: checking for atof in -lm" >&5
    14521550ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    14531551if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14571555LIBS="-lm  $LIBS"
    14581556cat > conftest.$ac_ext <<EOF
    1459 #line 1460 "configure"
     1557#line 1558 "configure"
    14601558#include "confdefs.h"
    14611559/* Override any gcc2 internal prototype to avoid an error.  */
     
    14681566; return 0; }
    14691567EOF
    1470 if { (eval echo configure:1471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1568if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14711569  rm -rf conftest*
    14721570  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14961594
    14971595echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1498 echo "configure:1499: checking for socket in -lbsd" >&5
     1596echo "configure:1597: checking for socket in -lbsd" >&5
    14991597ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    15001598if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15041602LIBS="-lbsd  $LIBS"
    15051603cat > conftest.$ac_ext <<EOF
    1506 #line 1507 "configure"
     1604#line 1605 "configure"
    15071605#include "confdefs.h"
    15081606/* Override any gcc2 internal prototype to avoid an error.  */
     
    15151613; return 0; }
    15161614EOF
    1517 if { (eval echo configure:1518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1615if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15181616  rm -rf conftest*
    15191617  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15431641
    15441642echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1545 echo "configure:1546: checking for listen in -lsocket" >&5
     1643echo "configure:1644: checking for listen in -lsocket" >&5
    15461644ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    15471645if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15511649LIBS="-lsocket  $LIBS"
    15521650cat > conftest.$ac_ext <<EOF
    1553 #line 1554 "configure"
     1651#line 1652 "configure"
    15541652#include "confdefs.h"
    15551653/* Override any gcc2 internal prototype to avoid an error.  */
     
    15621660; return 0; }
    15631661EOF
    1564 if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1662if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15651663  rm -rf conftest*
    15661664  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15901688
    15911689echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1592 echo "configure:1593: checking for gethostbyname in -lnsl" >&5
     1690echo "configure:1691: checking for gethostbyname in -lnsl" >&5
    15931691ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    15941692if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15981696LIBS="-lnsl  $LIBS"
    15991697cat > conftest.$ac_ext <<EOF
    1600 #line 1601 "configure"
     1698#line 1699 "configure"
    16011699#include "confdefs.h"
    16021700/* Override any gcc2 internal prototype to avoid an error.  */
     
    16091707; return 0; }
    16101708EOF
    1611 if { (eval echo configure:1612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1709if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16121710  rm -rf conftest*
    16131711  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16371735
    16381736echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6
    1639 echo "configure:1640: checking for index in -lucb" >&5
     1737echo "configure:1738: checking for index in -lucb" >&5
    16401738ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'`
    16411739if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16451743LIBS="-lucb  $LIBS"
    16461744cat > conftest.$ac_ext <<EOF
    1647 #line 1648 "configure"
     1745#line 1746 "configure"
    16481746#include "confdefs.h"
    16491747/* Override any gcc2 internal prototype to avoid an error.  */
     
    16561754; return 0; }
    16571755EOF
    1658 if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1756if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16591757  rm -rf conftest*
    16601758  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16841782
    16851783
     1784# check for dl lib
     1785case "$ac_cv_singuname" in
     1786        HPUX*)
     1787          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
     1788echo "configure:1789: checking for shl_load in -ldld" >&5
     1789ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
     1790if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1791  echo $ac_n "(cached) $ac_c" 1>&6
     1792else
     1793  ac_save_LIBS="$LIBS"
     1794LIBS="-ldld  $LIBS"
     1795cat > conftest.$ac_ext <<EOF
     1796#line 1797 "configure"
     1797#include "confdefs.h"
     1798/* Override any gcc2 internal prototype to avoid an error.  */
     1799/* We use char because int might match the return type of a gcc2
     1800    builtin and then its argument prototype would still apply.  */
     1801char shl_load();
     1802
     1803int main() {
     1804shl_load()
     1805; return 0; }
     1806EOF
     1807if { (eval echo configure:1808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1808  rm -rf conftest*
     1809  eval "ac_cv_lib_$ac_lib_var=yes"
     1810else
     1811  echo "configure: failed program was:" >&5
     1812  cat conftest.$ac_ext >&5
     1813  rm -rf conftest*
     1814  eval "ac_cv_lib_$ac_lib_var=no"
     1815fi
     1816rm -f conftest*
     1817LIBS="$ac_save_LIBS"
     1818
     1819fi
     1820if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1821  echo "$ac_t""yes" 1>&6
     1822    ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1823    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1824  cat >> confdefs.h <<EOF
     1825#define $ac_tr_lib 1
     1826EOF
     1827
     1828  LIBS="-ldld $LIBS"
     1829
     1830else
     1831  echo "$ac_t""no" 1>&6
     1832fi
     1833
     1834          if test "$ac_cv_lib_dld_shl_load" = yes; then
     1835                LD_DYN_FLAGS="-ldld -Xlinker -E"
     1836                SFLAGS="-fPIC -DPIC"
     1837                SLDFLAGS=-shared
     1838                ac_lib_dl=yes
     1839          fi
     1840        ;;
     1841        *Linux*)
     1842          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
     1843echo "configure:1844: checking for dlopen in -ldl" >&5
     1844ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
     1845if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1846  echo $ac_n "(cached) $ac_c" 1>&6
     1847else
     1848  ac_save_LIBS="$LIBS"
     1849LIBS="-ldl  $LIBS"
     1850cat > conftest.$ac_ext <<EOF
     1851#line 1852 "configure"
     1852#include "confdefs.h"
     1853/* Override any gcc2 internal prototype to avoid an error.  */
     1854/* We use char because int might match the return type of a gcc2
     1855    builtin and then its argument prototype would still apply.  */
     1856char dlopen();
     1857
     1858int main() {
     1859dlopen()
     1860; return 0; }
     1861EOF
     1862if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1863  rm -rf conftest*
     1864  eval "ac_cv_lib_$ac_lib_var=yes"
     1865else
     1866  echo "configure: failed program was:" >&5
     1867  cat conftest.$ac_ext >&5
     1868  rm -rf conftest*
     1869  eval "ac_cv_lib_$ac_lib_var=no"
     1870fi
     1871rm -f conftest*
     1872LIBS="$ac_save_LIBS"
     1873
     1874fi
     1875if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1876  echo "$ac_t""yes" 1>&6
     1877    ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1878    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1879  cat >> confdefs.h <<EOF
     1880#define $ac_tr_lib 1
     1881EOF
     1882
     1883  LIBS="-ldl $LIBS"
     1884
     1885else
     1886  echo "$ac_t""no" 1>&6
     1887fi
     1888
     1889          if test "$ac_cv_lib_dl_dlopen" = yes; then
     1890                LD_DYN_FLAGS="-ldl -rdynamic"
     1891                SFLAGS="-fPIC -DPIC"
     1892                SLDFLAGS=-shared
     1893                ac_lib_dl=yes
     1894          fi
     1895        ;;
     1896esac
     1897
     1898
     1899
     1900
    16861901# heder file checks
    16871902echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1688 echo "configure:1689: checking for ANSI C header files" >&5
     1903echo "configure:1904: checking for ANSI C header files" >&5
    16891904if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    16901905  echo $ac_n "(cached) $ac_c" 1>&6
    16911906else
    16921907  cat > conftest.$ac_ext <<EOF
    1693 #line 1694 "configure"
     1908#line 1909 "configure"
    16941909#include "confdefs.h"
    16951910#include <stdlib.h>
     
    16991914EOF
    17001915ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1701 { (eval echo configure:1702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1702 ac_err=`grep -v '^ *+' conftest.out`
     1916{ (eval echo configure:1917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1917ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17031918if test -z "$ac_err"; then
    17041919  rm -rf conftest*
     
    17161931  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    17171932cat > conftest.$ac_ext <<EOF
    1718 #line 1719 "configure"
     1933#line 1934 "configure"
    17191934#include "confdefs.h"
    17201935#include <string.h>
     
    17341949  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    17351950cat > conftest.$ac_ext <<EOF
    1736 #line 1737 "configure"
     1951#line 1952 "configure"
    17371952#include "confdefs.h"
    17381953#include <stdlib.h>
     
    17551970else
    17561971  cat > conftest.$ac_ext <<EOF
    1757 #line 1758 "configure"
     1972#line 1973 "configure"
    17581973#include "confdefs.h"
    17591974#include <ctype.h>
     
    17661981
    17671982EOF
    1768 if { (eval echo configure:1769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1983if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    17691984then
    17701985  :
     
    17932008ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17942009echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1795 echo "configure:1796: checking for $ac_hdr" >&5
     2010echo "configure:2011: checking for $ac_hdr" >&5
    17962011if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17972012  echo $ac_n "(cached) $ac_c" 1>&6
    17982013else
    17992014  cat > conftest.$ac_ext <<EOF
    1800 #line 1801 "configure"
     2015#line 2016 "configure"
    18012016#include "confdefs.h"
    18022017#include <$ac_hdr>
    18032018EOF
    18042019ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1805 { (eval echo configure:1806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1806 ac_err=`grep -v '^ *+' conftest.out`
     2020{ (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2021ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18072022if test -z "$ac_err"; then
    18082023  rm -rf conftest*
     
    18352050ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18362051echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1837 echo "configure:1838: checking for $ac_hdr" >&5
     2052echo "configure:2053: checking for $ac_hdr" >&5
    18382053if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18392054  echo $ac_n "(cached) $ac_c" 1>&6
    18402055else
    18412056  cat > conftest.$ac_ext <<EOF
    1842 #line 1843 "configure"
     2057#line 2058 "configure"
    18432058#include "confdefs.h"
    18442059#include <$ac_hdr>
    18452060EOF
    18462061ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1847 { (eval echo configure:1848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1848 ac_err=`grep -v '^ *+' conftest.out`
     2062{ (eval echo configure:2063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2063ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18492064if test -z "$ac_err"; then
    18502065  rm -rf conftest*
     
    18742089# typedefs, structures
    18752090echo $ac_n "checking for working const""... $ac_c" 1>&6
    1876 echo "configure:1877: checking for working const" >&5
     2091echo "configure:2092: checking for working const" >&5
    18772092if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    18782093  echo $ac_n "(cached) $ac_c" 1>&6
    18792094else
    18802095  cat > conftest.$ac_ext <<EOF
    1881 #line 1882 "configure"
     2096#line 2097 "configure"
    18822097#include "confdefs.h"
    18832098
     
    19282143; return 0; }
    19292144EOF
    1930 if { (eval echo configure:1931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2145if { (eval echo configure:2146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19312146  rm -rf conftest*
    19322147  ac_cv_c_const=yes
     
    19492164
    19502165echo $ac_n "checking for inline""... $ac_c" 1>&6
    1951 echo "configure:1952: checking for inline" >&5
     2166echo "configure:2167: checking for inline" >&5
    19522167if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    19532168  echo $ac_n "(cached) $ac_c" 1>&6
     
    19562171for ac_kw in inline __inline__ __inline; do
    19572172  cat > conftest.$ac_ext <<EOF
    1958 #line 1959 "configure"
     2173#line 2174 "configure"
    19592174#include "confdefs.h"
    19602175
     
    19632178; return 0; }
    19642179EOF
    1965 if { (eval echo configure:1966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2180if { (eval echo configure:2181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19662181  rm -rf conftest*
    19672182  ac_cv_c_inline=$ac_kw; break
     
    19892204
    19902205echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1991 echo "configure:1992: checking for size_t" >&5
     2206echo "configure:2207: checking for size_t" >&5
    19922207if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    19932208  echo $ac_n "(cached) $ac_c" 1>&6
    19942209else
    19952210  cat > conftest.$ac_ext <<EOF
    1996 #line 1997 "configure"
     2211#line 2212 "configure"
    19972212#include "confdefs.h"
    19982213#include <sys/types.h>
     
    20032218EOF
    20042219if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2005   egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
     2220  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    20062221  rm -rf conftest*
    20072222  ac_cv_type_size_t=yes
     
    20222237
    20232238echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2024 echo "configure:2025: checking whether time.h and sys/time.h may both be included" >&5
     2239echo "configure:2240: checking whether time.h and sys/time.h may both be included" >&5
    20252240if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    20262241  echo $ac_n "(cached) $ac_c" 1>&6
    20272242else
    20282243  cat > conftest.$ac_ext <<EOF
    2029 #line 2030 "configure"
     2244#line 2245 "configure"
    20302245#include "confdefs.h"
    20312246#include <sys/types.h>
     
    20362251; return 0; }
    20372252EOF
    2038 if { (eval echo configure:2039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2253if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20392254  rm -rf conftest*
    20402255  ac_cv_header_time=yes
     
    20572272
    20582273echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2059 echo "configure:2060: checking whether struct tm is in sys/time.h or time.h" >&5
     2274echo "configure:2275: checking whether struct tm is in sys/time.h or time.h" >&5
    20602275if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    20612276  echo $ac_n "(cached) $ac_c" 1>&6
    20622277else
    20632278  cat > conftest.$ac_ext <<EOF
    2064 #line 2065 "configure"
     2279#line 2280 "configure"
    20652280#include "confdefs.h"
    20662281#include <sys/types.h>
     
    20702285; return 0; }
    20712286EOF
    2072 if { (eval echo configure:2073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2287if { (eval echo configure:2288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20732288  rm -rf conftest*
    20742289  ac_cv_struct_tm=time.h
     
    20952310# for constant arguments.  Useless!
    20962311echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2097 echo "configure:2098: checking for working alloca.h" >&5
     2312echo "configure:2313: checking for working alloca.h" >&5
    20982313if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    20992314  echo $ac_n "(cached) $ac_c" 1>&6
    21002315else
    21012316  cat > conftest.$ac_ext <<EOF
    2102 #line 2103 "configure"
     2317#line 2318 "configure"
    21032318#include "confdefs.h"
    21042319#include <alloca.h>
     
    21072322; return 0; }
    21082323EOF
    2109 if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2324if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21102325  rm -rf conftest*
    21112326  ac_cv_header_alloca_h=yes
     
    21282343
    21292344echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2130 echo "configure:2131: checking for alloca" >&5
     2345echo "configure:2346: checking for alloca" >&5
    21312346if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    21322347  echo $ac_n "(cached) $ac_c" 1>&6
    21332348else
    21342349  cat > conftest.$ac_ext <<EOF
    2135 #line 2136 "configure"
     2350#line 2351 "configure"
    21362351#include "confdefs.h"
    21372352
     
    21392354# define alloca __builtin_alloca
    21402355#else
    2141 # if HAVE_ALLOCA_H
    2142 #  include <alloca.h>
     2356# ifdef _MSC_VER
     2357#  include <malloc.h>
     2358#  define alloca _alloca
    21432359# else
    2144 #  ifdef _AIX
     2360#  if HAVE_ALLOCA_H
     2361#   include <alloca.h>
     2362#  else
     2363#   ifdef _AIX
    21452364 #pragma alloca
    2146 else
    2147 #   ifndef alloca /* predefined by HP cc +Olibcalls */
     2365 else
     2366#    ifndef alloca /* predefined by HP cc +Olibcalls */
    21482367char *alloca ();
     2368#    endif
    21492369#   endif
    21502370#  endif
     
    21562376; return 0; }
    21572377EOF
    2158 if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2378if { (eval echo configure:2379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21592379  rm -rf conftest*
    21602380  ac_cv_func_alloca_works=yes
     
    21812401  # contain a buggy version.  If you still want to use their alloca,
    21822402  # use ar to extract alloca.o from them instead of compiling alloca.c.
    2183   ALLOCA=alloca.o
     2403  ALLOCA=alloca.${ac_objext}
    21842404  cat >> confdefs.h <<\EOF
    21852405#define C_ALLOCA 1
     
    21882408
    21892409echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2190 echo "configure:2191: checking whether alloca needs Cray hooks" >&5
     2410echo "configure:2411: checking whether alloca needs Cray hooks" >&5
    21912411if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    21922412  echo $ac_n "(cached) $ac_c" 1>&6
    21932413else
    21942414  cat > conftest.$ac_ext <<EOF
    2195 #line 2196 "configure"
     2415#line 2416 "configure"
    21962416#include "confdefs.h"
    21972417#if defined(CRAY) && ! defined(CRAY2)
     
    22182438for ac_func in _getb67 GETB67 getb67; do
    22192439  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2220 echo "configure:2221: checking for $ac_func" >&5
     2440echo "configure:2441: checking for $ac_func" >&5
    22212441if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    22222442  echo $ac_n "(cached) $ac_c" 1>&6
    22232443else
    22242444  cat > conftest.$ac_ext <<EOF
    2225 #line 2226 "configure"
     2445#line 2446 "configure"
    22262446#include "confdefs.h"
    22272447/* System header to define __stub macros and hopefully few prototypes,
     
    22462466; return 0; }
    22472467EOF
    2248 if { (eval echo configure:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2468if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22492469  rm -rf conftest*
    22502470  eval "ac_cv_func_$ac_func=yes"
     
    22732493
    22742494echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2275 echo "configure:2276: checking stack direction for C alloca" >&5
     2495echo "configure:2496: checking stack direction for C alloca" >&5
    22762496if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    22772497  echo $ac_n "(cached) $ac_c" 1>&6
     
    22812501else
    22822502  cat > conftest.$ac_ext <<EOF
    2283 #line 2284 "configure"
     2503#line 2504 "configure"
    22842504#include "confdefs.h"
    22852505find_stack_direction ()
     
    23002520}
    23012521EOF
    2302 if { (eval echo configure:2303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2522if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    23032523then
    23042524  ac_cv_c_stack_direction=1
     
    23232543if test $ac_cv_prog_gcc = yes; then
    23242544    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2325 echo "configure:2326: checking whether ${CC-cc} needs -traditional" >&5
     2545echo "configure:2546: checking whether ${CC-cc} needs -traditional" >&5
    23262546if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    23272547  echo $ac_n "(cached) $ac_c" 1>&6
     
    23292549    ac_pattern="Autoconf.*'x'"
    23302550  cat > conftest.$ac_ext <<EOF
    2331 #line 2332 "configure"
     2551#line 2552 "configure"
    23322552#include "confdefs.h"
    23332553#include <sgtty.h>
     
    23472567  if test $ac_cv_prog_gcc_traditional = no; then
    23482568    cat > conftest.$ac_ext <<EOF
    2349 #line 2350 "configure"
     2569#line 2570 "configure"
    23502570#include "confdefs.h"
    23512571#include <termio.h>
     
    23722592ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    23732593echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2374 echo "configure:2375: checking for $ac_hdr" >&5
     2594echo "configure:2595: checking for $ac_hdr" >&5
    23752595if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23762596  echo $ac_n "(cached) $ac_c" 1>&6
    23772597else
    23782598  cat > conftest.$ac_ext <<EOF
    2379 #line 2380 "configure"
     2599#line 2600 "configure"
    23802600#include "confdefs.h"
    23812601#include <$ac_hdr>
    23822602EOF
    23832603ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2384 { (eval echo configure:2385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2385 ac_err=`grep -v '^ *+' conftest.out`
     2604{ (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2605ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23862606if test -z "$ac_err"; then
    23872607  rm -rf conftest*
     
    24112631do
    24122632echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2413 echo "configure:2414: checking for $ac_func" >&5
     2633echo "configure:2634: checking for $ac_func" >&5
    24142634if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24152635  echo $ac_n "(cached) $ac_c" 1>&6
    24162636else
    24172637  cat > conftest.$ac_ext <<EOF
    2418 #line 2419 "configure"
     2638#line 2639 "configure"
    24192639#include "confdefs.h"
    24202640/* System header to define __stub macros and hopefully few prototypes,
     
    24392659; return 0; }
    24402660EOF
    2441 if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2661if { (eval echo configure:2662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24422662  rm -rf conftest*
    24432663  eval "ac_cv_func_$ac_func=yes"
     
    24642684
    24652685echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2466 echo "configure:2467: checking for working mmap" >&5
     2686echo "configure:2687: checking for working mmap" >&5
    24672687if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    24682688  echo $ac_n "(cached) $ac_c" 1>&6
     
    24722692else
    24732693  cat > conftest.$ac_ext <<EOF
    2474 #line 2475 "configure"
     2694#line 2695 "configure"
    24752695#include "confdefs.h"
    24762696
     
    26122832
    26132833EOF
    2614 if { (eval echo configure:2615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2834if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    26152835then
    26162836  ac_cv_func_mmap_fixed_mapped=yes
     
    26352855
    26362856echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2637 echo "configure:2638: checking return type of signal handlers" >&5
     2857echo "configure:2858: checking return type of signal handlers" >&5
    26382858if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    26392859  echo $ac_n "(cached) $ac_c" 1>&6
    26402860else
    26412861  cat > conftest.$ac_ext <<EOF
    2642 #line 2643 "configure"
     2862#line 2863 "configure"
    26432863#include "confdefs.h"
    26442864#include <sys/types.h>
     
    26572877; return 0; }
    26582878EOF
    2659 if { (eval echo configure:2660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2879if { (eval echo configure:2880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26602880  rm -rf conftest*
    26612881  ac_cv_type_signal=void
     
    26762896
    26772897echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2678 echo "configure:2679: checking for vprintf" >&5
     2898echo "configure:2899: checking for vprintf" >&5
    26792899if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    26802900  echo $ac_n "(cached) $ac_c" 1>&6
    26812901else
    26822902  cat > conftest.$ac_ext <<EOF
    2683 #line 2684 "configure"
     2903#line 2904 "configure"
    26842904#include "confdefs.h"
    26852905/* System header to define __stub macros and hopefully few prototypes,
     
    27042924; return 0; }
    27052925EOF
    2706 if { (eval echo configure:2707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2926if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27072927  rm -rf conftest*
    27082928  eval "ac_cv_func_vprintf=yes"
     
    27282948if test "$ac_cv_func_vprintf" != yes; then
    27292949echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2730 echo "configure:2731: checking for _doprnt" >&5
     2950echo "configure:2951: checking for _doprnt" >&5
    27312951if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    27322952  echo $ac_n "(cached) $ac_c" 1>&6
    27332953else
    27342954  cat > conftest.$ac_ext <<EOF
    2735 #line 2736 "configure"
     2955#line 2956 "configure"
    27362956#include "confdefs.h"
    27372957/* System header to define __stub macros and hopefully few prototypes,
     
    27562976; return 0; }
    27572977EOF
    2758 if { (eval echo configure:2759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2978if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27592979  rm -rf conftest*
    27602980  eval "ac_cv_func__doprnt=yes"
     
    27833003do
    27843004echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2785 echo "configure:2786: checking for $ac_func" >&5
     3005echo "configure:3006: checking for $ac_func" >&5
    27863006if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    27873007  echo $ac_n "(cached) $ac_c" 1>&6
    27883008else
    27893009  cat > conftest.$ac_ext <<EOF
    2790 #line 2791 "configure"
     3010#line 3011 "configure"
    27913011#include "confdefs.h"
    27923012/* System header to define __stub macros and hopefully few prototypes,
     
    28113031; return 0; }
    28123032EOF
    2813 if { (eval echo configure:2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3033if { (eval echo configure:3034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28143034  rm -rf conftest*
    28153035  eval "ac_cv_func_$ac_func=yes"
     
    28393059# arithmetic shifts
    28403060echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    2841 echo "configure:2842: checking whether your machine has correct arithmetic shifts" >&5
     3061echo "configure:3062: checking whether your machine has correct arithmetic shifts" >&5
    28423062if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    28433063  echo $ac_n "(cached) $ac_c" 1>&6
     
    28523072else
    28533073  cat > conftest.$ac_ext <<EOF
    2854 #line 2855 "configure"
     3074#line 3075 "configure"
    28553075#include "confdefs.h"
    28563076 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    28573077EOF
    2858 if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3078if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28593079then
    28603080  ac_cv_shift=yes
     
    28813101# check for a peculiar constructor initialization
    28823102echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    2883 echo "configure:2884: checking whether explicit C++ constructor calls are allowed" >&5
     3103echo "configure:3104: checking whether explicit C++ constructor calls are allowed" >&5
    28843104
    28853105ac_ext=C
     
    28873107ac_cpp='$CXXCPP $CPPFLAGS'
    28883108ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2889 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3109ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    28903110cross_compiling=$ac_cv_prog_cxx_cross
    28913111
     
    28943114else
    28953115  cat > conftest.$ac_ext <<EOF
    2896 #line 2897 "configure"
     3116#line 3117 "configure"
    28973117#include "confdefs.h"
    28983118
     
    29123132; return 0; }
    29133133EOF
    2914 if { (eval echo configure:2915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3134if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29153135  rm -rf conftest*
    29163136  ac_cv_explicit_const=yes
     
    29283148ac_cpp='$CPP $CPPFLAGS'
    29293149ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2930 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3150ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    29313151cross_compiling=$ac_cv_prog_cc_cross
    29323152
     
    29413161# sprintf returns number of printed chars
    29423162echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    2943 echo "configure:2944: checking whether vsprintf returns number of printed chars" >&5
     3163echo "configure:3164: checking whether vsprintf returns number of printed chars" >&5
    29443164if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    29453165  echo $ac_n "(cached) $ac_c" 1>&6
     
    29493169else
    29503170  cat > conftest.$ac_ext <<EOF
    2951 #line 2952 "configure"
     3171#line 3172 "configure"
    29523172#include "confdefs.h"
    29533173#include <stdio.h>
    29543174 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    29553175EOF
    2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3176if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29573177then
    29583178  ac_cv_returns_n_of_chars=yes
     
    29803200# determine ALIGN_8
    29813201echo $ac_n "checking size of char""... $ac_c" 1>&6
    2982 echo "configure:2983: checking size of char" >&5
     3202echo "configure:3203: checking size of char" >&5
    29833203if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    29843204  echo $ac_n "(cached) $ac_c" 1>&6
     
    29883208else
    29893209  cat > conftest.$ac_ext <<EOF
    2990 #line 2991 "configure"
     3210#line 3211 "configure"
    29913211#include "confdefs.h"
    29923212#include <stdio.h>
     
    29993219}
    30003220EOF
    3001 if { (eval echo configure:3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3221if { (eval echo configure:3222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30023222then
    30033223  ac_cv_sizeof_char=`cat conftestval`
     
    30193239
    30203240echo $ac_n "checking size of short""... $ac_c" 1>&6
    3021 echo "configure:3022: checking size of short" >&5
     3241echo "configure:3242: checking size of short" >&5
    30223242if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    30233243  echo $ac_n "(cached) $ac_c" 1>&6
     
    30273247else
    30283248  cat > conftest.$ac_ext <<EOF
    3029 #line 3030 "configure"
     3249#line 3250 "configure"
    30303250#include "confdefs.h"
    30313251#include <stdio.h>
     
    30383258}
    30393259EOF
    3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3260if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30413261then
    30423262  ac_cv_sizeof_short=`cat conftestval`
     
    30583278
    30593279echo $ac_n "checking size of int""... $ac_c" 1>&6
    3060 echo "configure:3061: checking size of int" >&5
     3280echo "configure:3281: checking size of int" >&5
    30613281if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    30623282  echo $ac_n "(cached) $ac_c" 1>&6
     
    30663286else
    30673287  cat > conftest.$ac_ext <<EOF
    3068 #line 3069 "configure"
     3288#line 3289 "configure"
    30693289#include "confdefs.h"
    30703290#include <stdio.h>
     
    30773297}
    30783298EOF
    3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3299if { (eval echo configure:3300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30803300then
    30813301  ac_cv_sizeof_int=`cat conftestval`
     
    30973317
    30983318echo $ac_n "checking size of long""... $ac_c" 1>&6
    3099 echo "configure:3100: checking size of long" >&5
     3319echo "configure:3320: checking size of long" >&5
    31003320if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    31013321  echo $ac_n "(cached) $ac_c" 1>&6
     
    31053325else
    31063326  cat > conftest.$ac_ext <<EOF
    3107 #line 3108 "configure"
     3327#line 3328 "configure"
    31083328#include "confdefs.h"
    31093329#include <stdio.h>
     
    31163336}
    31173337EOF
    3118 if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3338if { (eval echo configure:3339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31193339then
    31203340  ac_cv_sizeof_long=`cat conftestval`
     
    31363356
    31373357echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3138 echo "configure:3139: checking size of void*" >&5
     3358echo "configure:3359: checking size of void*" >&5
    31393359if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    31403360  echo $ac_n "(cached) $ac_c" 1>&6
     
    31443364else
    31453365  cat > conftest.$ac_ext <<EOF
    3146 #line 3147 "configure"
     3366#line 3367 "configure"
    31473367#include "confdefs.h"
    31483368#include <stdio.h>
     
    31553375}
    31563376EOF
    3157 if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3377if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31583378then
    31593379  ac_cv_sizeof_voidp=`cat conftestval`
     
    31753395
    31763396echo $ac_n "checking size of double""... $ac_c" 1>&6
    3177 echo "configure:3178: checking size of double" >&5
     3397echo "configure:3398: checking size of double" >&5
    31783398if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    31793399  echo $ac_n "(cached) $ac_c" 1>&6
     
    31833403else
    31843404  cat > conftest.$ac_ext <<EOF
    3185 #line 3186 "configure"
     3405#line 3406 "configure"
    31863406#include "confdefs.h"
    31873407#include <stdio.h>
     
    31943414}
    31953415EOF
    3196 if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3416if { (eval echo configure:3417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31973417then
    31983418  ac_cv_sizeof_double=`cat conftestval`
     
    32143434
    32153435echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3216 echo "configure:3217: checking whether byte ordering is bigendian" >&5
     3436echo "configure:3437: checking whether byte ordering is bigendian" >&5
    32173437if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    32183438  echo $ac_n "(cached) $ac_c" 1>&6
     
    32213441# See if sys/param.h defines the BYTE_ORDER macro.
    32223442cat > conftest.$ac_ext <<EOF
    3223 #line 3224 "configure"
     3443#line 3444 "configure"
    32243444#include "confdefs.h"
    32253445#include <sys/types.h>
     
    32323452; return 0; }
    32333453EOF
    3234 if { (eval echo configure:3235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3454if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32353455  rm -rf conftest*
    32363456  # It does; now see whether it defined to BIG_ENDIAN or not.
    32373457cat > conftest.$ac_ext <<EOF
    3238 #line 3239 "configure"
     3458#line 3459 "configure"
    32393459#include "confdefs.h"
    32403460#include <sys/types.h>
     
    32473467; return 0; }
    32483468EOF
    3249 if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3469if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32503470  rm -rf conftest*
    32513471  ac_cv_c_bigendian=yes
     
    32673487else
    32683488  cat > conftest.$ac_ext <<EOF
    3269 #line 3270 "configure"
     3489#line 3490 "configure"
    32703490#include "confdefs.h"
    32713491main () {
     
    32803500}
    32813501EOF
    3282 if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3502if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32833503then
    32843504  ac_cv_c_bigendian=no
     
    33703590fi
    33713591
     3592# Check whether --with-dynamic-modules or --without-dynamic-modules was given.
     3593if test "${with_dynamic_modules+set}" = set; then
     3594  withval="$with_dynamic_modules"
     3595  :
     3596fi
     3597 
     3598# Check whether --with-dynamic-kernel or --without-dynamic-kernel was given.
     3599if test "${with_dynamic_kernel+set}" = set; then
     3600  withval="$with_dynamic_kernel"
     3601  :
     3602fi
     3603
    33723604# Check whether --with-apint or --without-apint was given.
    33733605if test "${with_apint+set}" = set; then
     
    33843616
    33853617
     3618
     3619echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
     3620echo "configure:3621: checking whether to use dynamic linking" >&5
     3621if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
     3622  cat >> confdefs.h <<\EOF
     3623#define HAVE_DL 1
     3624EOF
     3625
     3626  ac_have_dl=yes
     3627  echo "$ac_t""yes" 1>&6
     3628else
     3629  echo "$ac_t""no" 1>&6
     3630fi
     3631
    33863632echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3387 echo "configure:3388: checking for tgetent in -lncurses" >&5
     3633echo "configure:3634: checking for tgetent in -lncurses" >&5
    33883634ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    33893635if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    33933639LIBS="-lncurses  $LIBS"
    33943640cat > conftest.$ac_ext <<EOF
    3395 #line 3396 "configure"
     3641#line 3642 "configure"
    33963642#include "confdefs.h"
    33973643/* Override any gcc2 internal prototype to avoid an error.  */
     
    34043650; return 0; }
    34053651EOF
    3406 if { (eval echo configure:3407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3652if { (eval echo configure:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34073653  rm -rf conftest*
    34083654  eval "ac_cv_lib_$ac_lib_var=yes"
     
    34313677\
    34323678 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3433 echo "configure:3434: checking for tgetent in -lcurses" >&5
     3679echo "configure:3680: checking for tgetent in -lcurses" >&5
    34343680ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    34353681if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    34393685LIBS="-lcurses  $LIBS"
    34403686cat > conftest.$ac_ext <<EOF
    3441 #line 3442 "configure"
     3687#line 3688 "configure"
    34423688#include "confdefs.h"
    34433689/* Override any gcc2 internal prototype to avoid an error.  */
     
    34503696; return 0; }
    34513697EOF
    3452 if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3698if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34533699  rm -rf conftest*
    34543700  eval "ac_cv_lib_$ac_lib_var=yes"
     
    34773723\
    34783724  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3479 echo "configure:3480: checking for tgetent in -ltermcap" >&5
     3725echo "configure:3726: checking for tgetent in -ltermcap" >&5
    34803726ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    34813727if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    34853731LIBS="-ltermcap  $LIBS"
    34863732cat > conftest.$ac_ext <<EOF
    3487 #line 3488 "configure"
     3733#line 3734 "configure"
    34883734#include "confdefs.h"
    34893735/* Override any gcc2 internal prototype to avoid an error.  */
     
    34963742; return 0; }
    34973743EOF
    3498 if { (eval echo configure:3499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3744if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34993745  rm -rf conftest*
    35003746  eval "ac_cv_lib_$ac_lib_var=yes"
     
    35293775
    35303776# readline
    3531 if test "$with_readline" = yes; then
     3777if test "$with_readline" = dynamic && test "$ac_cv_have_dl" != yes; then
     3778  echo "configure: warning: can not build dynamic readline without dynamic linking" 1>&2
     3779  with_readline=static
     3780fi
     3781
     3782
     3783if test "$with_readline" != dynamic && test "$with_readline" != no; then
    35323784
    35333785ac_ext=C
     
    35353787ac_cpp='$CXXCPP $CPPFLAGS'
    35363788ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    3537 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3789ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    35383790cross_compiling=$ac_cv_prog_cxx_cross
    35393791
    35403792   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3541 echo "configure:3542: checking for rl_abort in -lreadline" >&5
     3793echo "configure:3794: checking for rl_abort in -lreadline" >&5
    35423794ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    35433795if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    35473799LIBS="-lreadline  $LIBS"
    35483800cat > conftest.$ac_ext <<EOF
    3549 #line 3550 "configure"
     3801#line 3802 "configure"
    35503802#include "confdefs.h"
    35513803/* Override any gcc2 internal prototype to avoid an error.  */
     
    35613813; return 0; }
    35623814EOF
    3563 if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3815if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35643816  rm -rf conftest*
    35653817  eval "ac_cv_lib_$ac_lib_var=yes"
     
    35893841
    35903842   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3591 echo "configure:3592: checking how to run the C++ preprocessor" >&5
     3843echo "configure:3844: checking how to run the C++ preprocessor" >&5
    35923844if test -z "$CXXCPP"; then
    35933845if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    35983850ac_cpp='$CXXCPP $CPPFLAGS'
    35993851ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    3600 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3852ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    36013853cross_compiling=$ac_cv_prog_cxx_cross
    36023854  CXXCPP="${CXX-g++} -E"
    36033855  cat > conftest.$ac_ext <<EOF
    3604 #line 3605 "configure"
     3856#line 3857 "configure"
    36053857#include "confdefs.h"
    36063858#include <stdlib.h>
    36073859EOF
    36083860ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3609 { (eval echo configure:3610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3610 ac_err=`grep -v '^ *+' conftest.out`
     3861{ (eval echo configure:3862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3862ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36113863if test -z "$ac_err"; then
    36123864  :
     
    36203872rm -f conftest*
    36213873  ac_cv_prog_CXXCPP="$CXXCPP"
     3874ac_ext=C
     3875# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     3876ac_cpp='$CXXCPP $CPPFLAGS'
     3877ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     3878ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3879cross_compiling=$ac_cv_prog_cxx_cross
    36223880fi
    36233881fi
     
    36293887ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    36303888echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3631 echo "configure:3632: checking for $ac_hdr" >&5
     3889echo "configure:3890: checking for $ac_hdr" >&5
    36323890if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36333891  echo $ac_n "(cached) $ac_c" 1>&6
    36343892else
    36353893  cat > conftest.$ac_ext <<EOF
    3636 #line 3637 "configure"
     3894#line 3895 "configure"
    36373895#include "confdefs.h"
    36383896#include <$ac_hdr>
    36393897EOF
    36403898ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3641 { (eval echo configure:3642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3642 ac_err=`grep -v '^ *+' conftest.out`
     3899{ (eval echo configure:3900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3900ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36433901if test -z "$ac_err"; then
    36443902  rm -rf conftest*
     
    36683926      test "$ac_cv_header_readline_readline_h" = yes; then
    36693927     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3670 echo "configure:3671: checking whether readline.h is ok" >&5
     3928echo "configure:3929: checking whether readline.h is ok" >&5
    36713929     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    36723930  echo $ac_n "(cached) $ac_c" 1>&6
    36733931else
    36743932  cat > conftest.$ac_ext <<EOF
    3675 #line 3676 "configure"
     3933#line 3934 "configure"
    36763934#include "confdefs.h"
    36773935#include<unistd.h>
     
    36983956; return 0; }
    36993957EOF
    3700 if { (eval echo configure:3701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3958if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37013959  rm -rf conftest*
    37023960  ac_cv_header_readline_readline_h_ok="yes"
     
    37143972#not ok -- try once more with explicitly declaring everything
    37153973      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    3716 echo "configure:3717: checking whether or not we nevertheless can use readline" >&5
     3974echo "configure:3975: checking whether or not we nevertheless can use readline" >&5
    37173975      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    37183976  echo $ac_n "(cached) $ac_c" 1>&6
    37193977else
    37203978  cat > conftest.$ac_ext <<EOF
    3721 #line 3722 "configure"
     3979#line 3980 "configure"
    37223980#include "confdefs.h"
    37233981#include <stdio.h>
     
    37534011; return 0; }
    37544012EOF
    3755 if { (eval echo configure:3756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4013if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37564014  rm -rf conftest*
    37574015  ac_cv_have_readline="yes"
     
    37814039EOF
    37824040
    3783   else
    3784     echo "configure: warning: building without readline: disabling fancy display" 1>&2
    37854041  fi
    37864042ac_ext=c
     
    37884044ac_cpp='$CPP $CPPFLAGS'
    37894045ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    3790 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     4046ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    37914047cross_compiling=$ac_cv_prog_cc_cross
    37924048
    37934049fi
    37944050
     4051echo $ac_n "checking which readline to use""... $ac_c" 1>&6
     4052echo "configure:4053: checking which readline to use" >&5
     4053if test "$ac_cv_with_readline" = dynamic; then
     4054  echo "$ac_t""dynamic" 1>&6
     4055  cat >> confdefs.h <<\EOF
     4056#define HAVE_DYN_RL 1
     4057EOF
     4058
     4059elif test "$ac_cv_have_readline" = yes; then
     4060  echo "$ac_t""static" 1>&6
     4061else
     4062  echo "$ac_t""none" 1>&6
     4063  echo "configure: warning: building without readline: disabling fancy display" 1>&2
     4064fi
     4065 
    37954066NEED_LIBS=$LIBS
    37964067
    37974068# gmp, smallgmp, MP, MPT, factory, libfac
    37984069echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    3799 echo "configure:3800: checking for main in -lgmp" >&5
     4070echo "configure:4071: checking for main in -lgmp" >&5
    38004071ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    38014072if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38054076LIBS="-lgmp  $LIBS"
    38064077cat > conftest.$ac_ext <<EOF
    3807 #line 3808 "configure"
     4078#line 4079 "configure"
    38084079#include "confdefs.h"
    38094080
     
    38124083; return 0; }
    38134084EOF
    3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4085if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38154086  rm -rf conftest*
    38164087  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38434114fi
    38444115echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    3845 echo "configure:3846: checking for main in -lsmallgmp" >&5
     4116echo "configure:4117: checking for main in -lsmallgmp" >&5
    38464117ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    38474118if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38514122LIBS="-lsmallgmp  $LIBS"
    38524123cat > conftest.$ac_ext <<EOF
    3853 #line 3854 "configure"
     4124#line 4125 "configure"
    38544125#include "confdefs.h"
    38554126
     
    38584129; return 0; }
    38594130EOF
    3860 if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4131if { (eval echo configure:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38614132  rm -rf conftest*
    38624133  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38864157
    38874158echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    3888 echo "configure:3889: checking for IMP_PutGmpInt in -lMP" >&5
     4159echo "configure:4160: checking for IMP_PutGmpInt in -lMP" >&5
    38894160ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    38904161if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38944165LIBS="-lMP  $LIBS"
    38954166cat > conftest.$ac_ext <<EOF
    3896 #line 3897 "configure"
     4167#line 4168 "configure"
    38974168#include "confdefs.h"
    38984169/* Override any gcc2 internal prototype to avoid an error.  */
     
    39054176; return 0; }
    39064177EOF
    3907 if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4178if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39084179  rm -rf conftest*
    39094180  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39324203fi
    39334204
    3934 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    3935 echo "configure:3936: checking for MPT_GetTree in -lMPT" >&5
    3936 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
     4205echo $ac_n "checking for MPT_GetTre in -lMPT""... $ac_c" 1>&6
     4206echo "configure:4207: checking for MPT_GetTre in -lMPT" >&5
     4207ac_lib_var=`echo MPT'_'MPT_GetTre | sed 'y%./+-%__p_%'`
    39374208if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    39384209  echo $ac_n "(cached) $ac_c" 1>&6
     
    39414212LIBS="-lMPT  $LIBS"
    39424213cat > conftest.$ac_ext <<EOF
    3943 #line 3944 "configure"
     4214#line 4215 "configure"
    39444215#include "confdefs.h"
    39454216/* Override any gcc2 internal prototype to avoid an error.  */
    39464217/* We use char because int might match the return type of a gcc2
    39474218    builtin and then its argument prototype would still apply.  */
    3948 char MPT_GetTree();
     4219char MPT_GetTre();
    39494220
    39504221int main() {
    3951 MPT_GetTree()
     4222MPT_GetTre()
    39524223; return 0; }
    39534224EOF
    3954 if { (eval echo configure:3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4225if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39554226  rm -rf conftest*
    39564227  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39804251
    39814252echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    3982 echo "configure:3983: checking for atof in -lsingcf" >&5
     4253echo "configure:4254: checking for atof in -lsingcf" >&5
    39834254ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    39844255if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    39884259LIBS="-lsingcf  $LIBS"
    39894260cat > conftest.$ac_ext <<EOF
    3990 #line 3991 "configure"
     4261#line 4262 "configure"
    39914262#include "confdefs.h"
    39924263/* Override any gcc2 internal prototype to avoid an error.  */
     
    39994270; return 0; }
    40004271EOF
    4001 if { (eval echo configure:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4272if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40024273  rm -rf conftest*
    40034274  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40274298
    40284299echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4029 echo "configure:4030: checking for atof in -lsingfac" >&5
     4300echo "configure:4301: checking for atof in -lsingfac" >&5
    40304301ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    40314302if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40354306LIBS="-lsingfac  $LIBS"
    40364307cat > conftest.$ac_ext <<EOF
    4037 #line 4038 "configure"
     4308#line 4309 "configure"
    40384309#include "confdefs.h"
    40394310/* Override any gcc2 internal prototype to avoid an error.  */
     
    40464317; return 0; }
    40474318EOF
    4048 if { (eval echo configure:4049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4319if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40494320  rm -rf conftest*
    40504321  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40744345
    40754346echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4076 echo "configure:4077: checking for omTestAddr in -lomalloc" >&5
     4347echo "configure:4348: checking for omTestAddr in -lomalloc" >&5
    40774348ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    40784349if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40824353LIBS="-lomalloc  $LIBS"
    40834354cat > conftest.$ac_ext <<EOF
    4084 #line 4085 "configure"
     4355#line 4356 "configure"
    40854356#include "confdefs.h"
    40864357/* Override any gcc2 internal prototype to avoid an error.  */
     
    40934364; return 0; }
    40944365EOF
    4095 if { (eval echo configure:4096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4366if { (eval echo configure:4367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40964367  rm -rf conftest*
    40974368  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41214392
    41224393echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4123 echo "configure:4124: checking for main in -lomalloc_ndebug" >&5
     4394echo "configure:4395: checking for main in -lomalloc_ndebug" >&5
    41244395ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    41254396if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41294400LIBS="-lomalloc_ndebug  $LIBS"
    41304401cat > conftest.$ac_ext <<EOF
    4131 #line 4132 "configure"
     4402#line 4403 "configure"
    41324403#include "confdefs.h"
    41334404
     
    41364407; return 0; }
    41374408EOF
    4138 if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4409if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41394410  rm -rf conftest*
    41404411  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41684439ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    41694440echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4170 echo "configure:4171: checking for $ac_hdr" >&5
     4441echo "configure:4442: checking for $ac_hdr" >&5
    41714442if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    41724443  echo $ac_n "(cached) $ac_c" 1>&6
    41734444else
    41744445  cat > conftest.$ac_ext <<EOF
    4175 #line 4176 "configure"
     4446#line 4447 "configure"
    41764447#include "confdefs.h"
    41774448#include <$ac_hdr>
    41784449EOF
    41794450ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4180 { (eval echo configure:4181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    4181 ac_err=`grep -v '^ *+' conftest.out`
     4451{ (eval echo configure:4452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4452ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    41824453if test -z "$ac_err"; then
    41834454  rm -rf conftest*
     
    42474518
    42484519echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4249 echo "configure:4250: checking which apint package to use" >&5
     4520echo "configure:4521: checking which apint package to use" >&5
    42504521if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    42514522  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    42894560#
    42904561echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4291 echo "configure:4292: checking whether to have MP" >&5
     4562echo "configure:4563: checking whether to have MP" >&5
    42924563if test "${with_MP}" != yes && test "${with_MP}" != no; then
    42934564  if (test "${will_have_gmp}" = yes) && \
     
    43204591
    43214592echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4322 echo "configure:4323: checking whether to have factory" >&5
     4593echo "configure:4594: checking whether to have factory" >&5
    43234594if test "${with_factory}" != yes && test "${with_factory}" != no; then
    43244595  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    43514622
    43524623echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4353 echo "configure:4354: checking whether to have libfac" >&5
     4624echo "configure:4625: checking whether to have libfac" >&5
    43544625if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    43554626  if (test "${will_have_factory}" = yes) && \
     
    43854656
    43864657echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4387 echo "configure:4388: checking whether to have dbm links" >&5
     4658echo "configure:4659: checking whether to have dbm links" >&5
    43884659if test "$with_dbm" != no; then
    43894660  cat >> confdefs.h <<\EOF
     
    43974668
    43984669echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4399 echo "configure:4400: checking whether to have namespaces" >&5
     4670echo "configure:4671: checking whether to have namespaces" >&5
    44004671if test "$with_namespaces" != yes; then
    44014672  echo "$ac_t""no" 1>&6
     
    44084679fi
    44094680
    4410 echo $ac_n "checking whether to have dl lib""... $ac_c" 1>&6
    4411 echo "configure:4412: checking whether to have dl lib" >&5
    4412 
    4413 case "$ac_cv_singuname" in
    4414         HPUX-9)
    4415           echo "$ac_t""dld" 1>&6
    4416           echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4417 echo "configure:4418: checking for shl_load in -ldld" >&5
    4418 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    4419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    4420   echo $ac_n "(cached) $ac_c" 1>&6
    4421 else
    4422   ac_save_LIBS="$LIBS"
    4423 LIBS="-ldld  $LIBS"
    4424 cat > conftest.$ac_ext <<EOF
    4425 #line 4426 "configure"
    4426 #include "confdefs.h"
    4427 /* Override any gcc2 internal prototype to avoid an error.  */
    4428 /* We use char because int might match the return type of a gcc2
    4429     builtin and then its argument prototype would still apply.  */
    4430 char shl_load();
    4431 
    4432 int main() {
    4433 shl_load()
    4434 ; return 0; }
    4435 EOF
    4436 if { (eval echo configure:4437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    4437   rm -rf conftest*
    4438   eval "ac_cv_lib_$ac_lib_var=yes"
    4439 else
    4440   echo "configure: failed program was:" >&5
    4441   cat conftest.$ac_ext >&5
    4442   rm -rf conftest*
    4443   eval "ac_cv_lib_$ac_lib_var=no"
    4444 fi
    4445 rm -f conftest*
    4446 LIBS="$ac_save_LIBS"
    4447 
    4448 fi
    4449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    4450   echo "$ac_t""yes" 1>&6
    4451     ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    4452     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    4453   cat >> confdefs.h <<EOF
    4454 #define $ac_tr_lib 1
    4455 EOF
    4456 
    4457   LIBS="-ldld $LIBS"
    4458 
    4459 else
    4460   echo "$ac_t""no" 1>&6
    4461 fi
    4462 
    4463           LD_DYN_FLAGS="-ldld -Xlinker -E"
    4464           cat >> confdefs.h <<\EOF
    4465 #define HAVE_DL 1
    4466 EOF
    4467 
    4468         ;;
    4469         HPUX-10)
    4470           echo "$ac_t""dld" 1>&6
    4471           echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4472 echo "configure:4473: checking for shl_load in -ldld" >&5
    4473 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    4474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    4475   echo $ac_n "(cached) $ac_c" 1>&6
    4476 else
    4477   ac_save_LIBS="$LIBS"
    4478 LIBS="-ldld  $LIBS"
    4479 cat > conftest.$ac_ext <<EOF
    4480 #line 4481 "configure"
    4481 #include "confdefs.h"
    4482 /* Override any gcc2 internal prototype to avoid an error.  */
    4483 /* We use char because int might match the return type of a gcc2
    4484     builtin and then its argument prototype would still apply.  */
    4485 char shl_load();
    4486 
    4487 int main() {
    4488 shl_load()
    4489 ; return 0; }
    4490 EOF
    4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    4492   rm -rf conftest*
    4493   eval "ac_cv_lib_$ac_lib_var=yes"
    4494 else
    4495   echo "configure: failed program was:" >&5
    4496   cat conftest.$ac_ext >&5
    4497   rm -rf conftest*
    4498   eval "ac_cv_lib_$ac_lib_var=no"
    4499 fi
    4500 rm -f conftest*
    4501 LIBS="$ac_save_LIBS"
    4502 
    4503 fi
    4504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    4505   echo "$ac_t""yes" 1>&6
    4506     ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    4507     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    4508   cat >> confdefs.h <<EOF
    4509 #define $ac_tr_lib 1
    4510 EOF
    4511 
    4512   LIBS="-ldld $LIBS"
    4513 
    4514 else
    4515   echo "$ac_t""no" 1>&6
    4516 fi
    4517 
    4518           LD_DYN_FLAGS="-ldld -Xlinker -E"
    4519           cat >> confdefs.h <<\EOF
    4520 #define HAVE_DL 1
    4521 EOF
    4522 
    4523         ;;
    4524         *Linux*)
    4525           echo "$ac_t""dl" 1>&6
    4526           echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    4527 echo "configure:4528: checking for dlopen in -ldl" >&5
    4528 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    4529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    4530   echo $ac_n "(cached) $ac_c" 1>&6
    4531 else
    4532   ac_save_LIBS="$LIBS"
    4533 LIBS="-ldl  $LIBS"
    4534 cat > conftest.$ac_ext <<EOF
    4535 #line 4536 "configure"
    4536 #include "confdefs.h"
    4537 /* Override any gcc2 internal prototype to avoid an error.  */
    4538 /* We use char because int might match the return type of a gcc2
    4539     builtin and then its argument prototype would still apply.  */
    4540 char dlopen();
    4541 
    4542 int main() {
    4543 dlopen()
    4544 ; return 0; }
    4545 EOF
    4546 if { (eval echo configure:4547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    4547   rm -rf conftest*
    4548   eval "ac_cv_lib_$ac_lib_var=yes"
    4549 else
    4550   echo "configure: failed program was:" >&5
    4551   cat conftest.$ac_ext >&5
    4552   rm -rf conftest*
    4553   eval "ac_cv_lib_$ac_lib_var=no"
    4554 fi
    4555 rm -f conftest*
    4556 LIBS="$ac_save_LIBS"
    4557 
    4558 fi
    4559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    4560   echo "$ac_t""yes" 1>&6
    4561     ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    4562     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    4563   cat >> confdefs.h <<EOF
    4564 #define $ac_tr_lib 1
    4565 EOF
    4566 
    4567   LIBS="-ldl $LIBS"
    4568 
    4569 else
    4570   echo "$ac_t""no" 1>&6
    4571 fi
    4572 
    4573           LD_DYN_FLAGS="-ldl -rdynamic"
    4574           cat >> confdefs.h <<\EOF
    4575 #define HAVE_DL 1
    4576 EOF
    4577 
    4578         ;;
    4579         *)
    4580           echo "$ac_t""no" 1>&6
    4581           ;;
    4582 esac
    4583 
    4584 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6
    4585 echo "configure:4586: checking whether to have dynamic loading" >&5
    4586 if test "$with_dl" != yes; then
     4681echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
     4682echo "configure:4683: checking whether to have dynamic modules" >&5
     4683if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then
    45874684  echo "$ac_t""no" 1>&6
    45884685else
     
    45944691fi
    45954692
     4693echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
     4694echo "configure:4695: checking whether to have dynamic kernel" >&5
     4695if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
     4696  DL_KERNEL=1
     4697 
     4698  echo "$ac_t""yes" 1>&6
     4699fi
     4700
    45964701echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4597 echo "configure:4598: checking whether to have Plural" >&5
     4702echo "configure:4703: checking whether to have Plural" >&5
    45984703if test "$with_plural" != yes; then
    45994704  echo "$ac_t""no" 1>&6
     
    46054710  echo "$ac_t""yes" 1>&6
    46064711fi
    4607 
    46084712
    46094713
     
    46374741# and sets the high bit in the cache file unless we assign to the vars.
    46384742(set) 2>&1 |
    4639   case `(ac_space=' '; set) 2>&1` in
     4743  case `(ac_space=' '; set | grep ac_space) 2>&1` in
    46404744  *ac_space=\ *)
    46414745    # `set' does not quote correctly, so add quotes (double-quote substitution
     
    47044808    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    47054809  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    4706     echo "$CONFIG_STATUS generated by autoconf version 2.12"
     4810    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    47074811    exit 0 ;;
    47084812  -help | --help | --hel | --he | --h)
     
    47244828$ac_vpsub
    47254829$extrasub
     4830s%@SHELL@%$SHELL%g
    47264831s%@CFLAGS@%$CFLAGS%g
    47274832s%@CPPFLAGS@%$CPPFLAGS%g
    47284833s%@CXXFLAGS@%$CXXFLAGS%g
     4834s%@FFLAGS@%$FFLAGS%g
    47294835s%@DEFS@%$DEFS%g
    47304836s%@LDFLAGS@%$LDFLAGS%g
     
    47574863s%@CXX@%$CXX%g
    47584864s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     4865s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    47594866s%@INSTALL_DATA@%$INSTALL_DATA%g
    47604867s%@PIPE@%$PIPE%g
     
    47684875s%@LN_S@%$LN_S%g
    47694876s%@PERL@%$PERL%g
     4877s%@LD_DYN_FLAGS@%$LD_DYN_FLAGS%g
     4878s%@SFLAGS@%$SFLAGS%g
     4879s%@SLDFLAGS@%$SLDFLAGS%g
    47704880s%@ALLOCA@%$ALLOCA%g
    47714881s%@CXXCPP@%$CXXCPP%g
    47724882s%@NEED_LIBS@%$NEED_LIBS%g
    4773 s%@LD_DYN_FLAGS@%$LD_DYN_FLAGS%g
     4883s%@DL_KERNEL@%$DL_KERNEL%g
    47744884
    47754885CEOF
Note: See TracChangeset for help on using the changeset viewer.