Changeset e9be05 in git


Ignore:
Timestamp:
Jun 3, 1998, 1:47:57 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d815c9c1c33dc5306990138d6a57124181de2671
Parents:
0f6c82ea7fc2878510357cb3196e5ef3a44590ed
Message:
* hannes: gfops.cc use feFopen("gftables/%d), if built for Singular


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

Legend:

Unmodified
Added
Removed
  • factory/configure

    r0f6c82 re9be05  
    33# From configure.in Id: configure.in
    44# Guess values for system-dependent variables and create Makefiles.
    5 # Generated automatically using autoconf version 2.10
     5# Generated automatically using autoconf version 2.12
    66# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    77#
     
    7474subdirs=
    7575MFLAGS= MAKEFLAGS=
     76# Maximum number of lines to put in a shell here document.
     77ac_max_here_lines=12
    7678
    7779ac_prev=
     
    355357
    356358  -version | --version | --versio | --versi | --vers)
    357     echo "configure generated by autoconf version 2.10"
     359    echo "configure generated by autoconf version 2.12"
    358360    exit 0 ;;
    359361
     
    457459
    458460# NLS nuisances.
    459 # Only set LANG and LC_ALL to C if already set.
    460 # These must not be set unconditionally because not all systems understand
    461 # e.g. LANG=C (notably SCO).
     461# Only set these to C if already set.  These must not be set unconditionally
     462# because not all systems understand e.g. LANG=C (notably SCO).
     463# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
     464# Non-C LC_CTYPE values break the ctype check.
     465if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    462466if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    463 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
     467if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     468if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    464469
    465470# confdefs.h avoids OS command line length limits that DEFS can exceed.
     
    523528ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    524529ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     530cross_compiling=$ac_cv_prog_cc_cross
    525531
    526532if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
     
    685691set dummy gcc; ac_word=$2
    686692echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     693echo "configure:694: checking for $ac_word" >&5
    687694if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    688695  echo $ac_n "(cached) $ac_c" 1>&6
     
    713720set dummy cc; ac_word=$2
    714721echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     722echo "configure:723: checking for $ac_word" >&5
    715723if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    716724  echo $ac_n "(cached) $ac_c" 1>&6
     
    759767fi
    760768
     769echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     770echo "configure:771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     771
     772ac_ext=c
     773# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     774ac_cpp='$CPP $CPPFLAGS'
     775ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     776ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     777cross_compiling=$ac_cv_prog_cc_cross
     778
     779cat > conftest.$ac_ext <<EOF
     780#line 781 "configure"
     781#include "confdefs.h"
     782main(){return(0);}
     783EOF
     784if { (eval echo configure:785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     785  ac_cv_prog_cc_works=yes
     786  # If we can't run a trivial program, we are probably using a cross compiler.
     787  if (./conftest; exit) 2>/dev/null; then
     788    ac_cv_prog_cc_cross=no
     789  else
     790    ac_cv_prog_cc_cross=yes
     791  fi
     792else
     793  echo "configure: failed program was:" >&5
     794  cat conftest.$ac_ext >&5
     795  ac_cv_prog_cc_works=no
     796fi
     797rm -fr conftest*
     798
     799echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     800if test $ac_cv_prog_cc_works = no; then
     801  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     802fi
     803echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     804echo "configure:805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     805echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     806cross_compiling=$ac_cv_prog_cc_cross
     807
    761808echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     809echo "configure:810: checking whether we are using GNU C" >&5
    762810if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    763811  echo $ac_n "(cached) $ac_c" 1>&6
     
    768816#endif
    769817EOF
    770 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     818if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    771819  ac_cv_prog_gcc=yes
    772820else
     
    776824
    777825echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     826
    778827if test $ac_cv_prog_gcc = yes; then
    779828  GCC=yes
    780   if test "${CFLAGS+set}" != set; then
    781     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    782 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
     829  ac_test_CFLAGS="${CFLAGS+set}"
     830  ac_save_CFLAGS="$CFLAGS"
     831  CFLAGS=
     832  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     833echo "configure:834: checking whether ${CC-cc} accepts -g" >&5
     834if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    783835  echo $ac_n "(cached) $ac_c" 1>&6
    784836else
    785837  echo 'void f(){}' > conftest.c
    786838if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    787   ac_cv_prog_gcc_g=yes
    788 else
    789   ac_cv_prog_gcc_g=no
     839  ac_cv_prog_cc_g=yes
     840else
     841  ac_cv_prog_cc_g=no
    790842fi
    791843rm -f conftest*
     
    793845fi
    794846
    795 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
    796     if test $ac_cv_prog_gcc_g = yes; then
    797       CFLAGS="-g -O"
    798     else
    799       CFLAGS="-O"
    800     fi
     847echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
     848  if test "$ac_test_CFLAGS" = set; then
     849    CFLAGS="$ac_save_CFLAGS"
     850  elif test $ac_cv_prog_cc_g = yes; then
     851    CFLAGS="-g -O2"
     852  else
     853    CFLAGS="-O2"
    801854  fi
    802855else
     
    806859
    807860test "${CXXFLAGS+set}" = set || cxxflags_expl_set=no
    808 for ac_prog in $CCC c++ g++ gcc CC cxx
     861for ac_prog in $CCC c++ g++ gcc CC cxx cc++
    809862do
    810863# Extract the first word of "$ac_prog", so it can be a program name with args.
    811864set dummy $ac_prog; ac_word=$2
    812865echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     866echo "configure:867: checking for $ac_word" >&5
    813867if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    814868  echo $ac_n "(cached) $ac_c" 1>&6
     
    840894
    841895
     896echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     897echo "configure:898: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     898
     899ac_ext=C
     900# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     901ac_cpp='$CXXCPP $CPPFLAGS'
     902ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     903ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     904cross_compiling=$ac_cv_prog_cxx_cross
     905
     906cat > conftest.$ac_ext <<EOF
     907#line 908 "configure"
     908#include "confdefs.h"
     909main(){return(0);}
     910EOF
     911if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     912  ac_cv_prog_cxx_works=yes
     913  # If we can't run a trivial program, we are probably using a cross compiler.
     914  if (./conftest; exit) 2>/dev/null; then
     915    ac_cv_prog_cxx_cross=no
     916  else
     917    ac_cv_prog_cxx_cross=yes
     918  fi
     919else
     920  echo "configure: failed program was:" >&5
     921  cat conftest.$ac_ext >&5
     922  ac_cv_prog_cxx_works=no
     923fi
     924rm -fr conftest*
     925ac_ext=c
     926# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     927ac_cpp='$CPP $CPPFLAGS'
     928ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     929ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     930cross_compiling=$ac_cv_prog_cc_cross
     931
     932echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     933if test $ac_cv_prog_cxx_works = no; then
     934  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
     935fi
     936echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     937echo "configure:938: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     938echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     939cross_compiling=$ac_cv_prog_cxx_cross
     940
    842941echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     942echo "configure:943: checking whether we are using GNU C++" >&5
    843943if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    844944  echo $ac_n "(cached) $ac_c" 1>&6
     
    849949#endif
    850950EOF
    851 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     951if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    852952  ac_cv_prog_gxx=yes
    853953else
     
    857957
    858958echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     959
    859960if test $ac_cv_prog_gxx = yes; then
    860961  GXX=yes
    861   if test "${CXXFLAGS+set}" != set; then
    862     echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    863 if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then
     962  ac_test_CXXFLAGS="${CXXFLAGS+set}"
     963  ac_save_CXXFLAGS="$CXXFLAGS"
     964  CXXFLAGS=
     965  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     966echo "configure:967: checking whether ${CXX-g++} accepts -g" >&5
     967if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    864968  echo $ac_n "(cached) $ac_c" 1>&6
    865969else
    866970  echo 'void f(){}' > conftest.cc
    867971if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
    868   ac_cv_prog_gxx_g=yes
    869 else
    870   ac_cv_prog_gxx_g=no
     972  ac_cv_prog_cxx_g=yes
     973else
     974  ac_cv_prog_cxx_g=no
    871975fi
    872976rm -f conftest*
     
    874978fi
    875979
    876 echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6
    877     if test $ac_cv_prog_gxx_g = yes; then
    878       CXXFLAGS="-g -O"
    879     else
    880       CXXFLAGS="-O"
    881     fi
     980echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
     981  if test "$ac_test_CXXFLAGS" = set; then
     982    CXXFLAGS="$ac_save_CXXFLAGS"
     983  elif test $ac_cv_prog_cxx_g = yes; then
     984    CXXFLAGS="-g -O2"
     985  else
     986    CXXFLAGS="-O2"
    882987  fi
    883988else
     
    9031008#
    9041009echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     1010echo "configure:1011: checking how to run the C preprocessor" >&5
    9051011# On Suns, sometimes $CPP names a directory.
    9061012if test -n "$CPP" && test -d "$CPP"; then
     
    9171023  # not just through cpp.
    9181024  cat > conftest.$ac_ext <<EOF
    919 #line 920 "configure"
     1025#line 1026 "configure"
    9201026#include "confdefs.h"
    9211027#include <assert.h>
     
    9231029EOF
    9241030ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    925 { (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1031{ (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9261032ac_err=`grep -v '^ *+' conftest.out`
    9271033if test -z "$ac_err"; then
     
    9291035else
    9301036  echo "$ac_err" >&5
     1037  echo "configure: failed program was:" >&5
     1038  cat conftest.$ac_ext >&5
    9311039  rm -rf conftest*
    9321040  CPP="${CC-cc} -E -traditional-cpp"
    9331041  cat > conftest.$ac_ext <<EOF
    934 #line 935 "configure"
     1042#line 1043 "configure"
    9351043#include "confdefs.h"
    9361044#include <assert.h>
     
    9381046EOF
    9391047ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    940 { (eval echo configure:941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1048{ (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9411049ac_err=`grep -v '^ *+' conftest.out`
    9421050if test -z "$ac_err"; then
     
    9441052else
    9451053  echo "$ac_err" >&5
     1054  echo "configure: failed program was:" >&5
     1055  cat conftest.$ac_ext >&5
    9461056  rm -rf conftest*
    9471057  CPP=/lib/cpp
     
    9591069
    9601070echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
     1071echo "configure:1072: checking how to run the C++ preprocessor" >&5
    9611072if test -z "$CXXCPP"; then
    9621073if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    9681079ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    9691080ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1081cross_compiling=$ac_cv_prog_cxx_cross
    9701082  CXXCPP="${CXX-g++} -E"
    9711083  cat > conftest.$ac_ext <<EOF
    972 #line 973 "configure"
     1084#line 1085 "configure"
    9731085#include "confdefs.h"
    9741086#include <stdlib.h>
    9751087EOF
    9761088ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    977 { (eval echo configure:978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1089{ (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9781090ac_err=`grep -v '^ *+' conftest.out`
    9791091if test -z "$ac_err"; then
     
    9811093else
    9821094  echo "$ac_err" >&5
     1095  echo "configure: failed program was:" >&5
     1096  cat conftest.$ac_ext >&5
    9831097  rm -rf conftest*
    9841098  CXXCPP=/lib/cpp
     
    9911105ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    9921106ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1107cross_compiling=$ac_cv_prog_cc_cross
    9931108fi
    9941109fi
     
    9971112
    9981113echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
     1114echo "configure:1115: checking whether ln -s works" >&5
    9991115if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    10001116  echo $ac_n "(cached) $ac_c" 1>&6
     
    10271143# ./install, which can be erroneously created by make from ./install.sh.
    10281144echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1145echo "configure:1146: checking for a BSD compatible install" >&5
    10291146if test -z "$INSTALL"; then
    10301147if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    10311148  echo $ac_n "(cached) $ac_c" 1>&6
    10321149else
    1033     IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
     1150    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
    10341151  for ac_dir in $PATH; do
    10351152    # Account for people who put trailing slashes in PATH elements.
     
    10541171    esac
    10551172  done
    1056   IFS="$ac_save_ifs"
     1173  IFS="$ac_save_IFS"
    10571174
    10581175fi
     
    10781195set dummy ranlib; ac_word=$2
    10791196echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1197echo "configure:1198: checking for $ac_word" >&5
    10801198if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    10811199  echo $ac_n "(cached) $ac_c" 1>&6
     
    11041222
    11051223echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1106 set dummy ${MAKE-make}; ac_make=$2
     1224echo "configure:1225: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1225set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11071226if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    11081227  echo $ac_n "(cached) $ac_c" 1>&6
     
    11321251set dummy ar; ac_word=$2
    11331252echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1253echo "configure:1254: checking for $ac_word" >&5
    11341254if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    11351255  echo $ac_n "(cached) $ac_c" 1>&6
     
    11601280set dummy m4; ac_word=$2
    11611281echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1282echo "configure:1283: checking for $ac_word" >&5
    11621283if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
    11631284  echo $ac_n "(cached) $ac_c" 1>&6
     
    11881309set dummy bison; ac_word=$2
    11891310echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1311echo "configure:1312: checking for $ac_word" >&5
    11901312if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    11911313  echo $ac_n "(cached) $ac_c" 1>&6
     
    12231345set dummy mkinstalldirs; ac_word=$2
    12241346echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1347echo "configure:1348: checking for $ac_word" >&5
    12251348if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
    12261349  echo $ac_n "(cached) $ac_c" 1>&6
     
    12321355  *)
    12331356  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1234   for ac_dir in $PATH:$srcdir/bin; do
     1357  for ac_dir in $PATH:$srcdir/bin$ac_dummy; do
    12351358    test -z "$ac_dir" && ac_dir=.
    12361359    if test -f $ac_dir/$ac_word; then
     
    12541377set dummy makeheader; ac_word=$2
    12551378echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1379echo "configure:1380: checking for $ac_word" >&5
    12561380if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
    12571381  echo $ac_n "(cached) $ac_c" 1>&6
     
    12631387  *)
    12641388  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1265   for ac_dir in $srcdir/bin:$PATH; do
     1389  for ac_dir in $srcdir/bin:$PATH$ac_dummy; do
    12661390    test -z "$ac_dir" && ac_dir=.
    12671391    if test -f $ac_dir/$ac_word; then
     
    12851409# - check for libraries.
    12861410#
    1287 echo $ac_n "checking for -lm""... $ac_c" 1>&6
    1288 ac_lib_var=`echo m'_'atof | tr './+\055' '__p_'`
     1411echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
     1412echo "configure:1413: checking for atof in -lm" >&5
     1413ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    12891414if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    12901415  echo $ac_n "(cached) $ac_c" 1>&6
     
    12931418LIBS="-lm  $LIBS"
    12941419cat > conftest.$ac_ext <<EOF
    1295 #line 1296 "configure"
     1420#line 1421 "configure"
    12961421#include "confdefs.h"
    12971422/* Override any gcc2 internal prototype to avoid an error.  */
     
    13001425char atof();
    13011426
    1302 int main() { return 0; }
    1303 int t() {
     1427int main() {
    13041428atof()
    13051429; return 0; }
    13061430EOF
    1307 if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1431if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    13081432  rm -rf conftest*
    13091433  eval "ac_cv_lib_$ac_lib_var=yes"
    13101434else
     1435  echo "configure: failed program was:" >&5
     1436  cat conftest.$ac_ext >&5
    13111437  rm -rf conftest*
    13121438  eval "ac_cv_lib_$ac_lib_var=no"
     
    13181444if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    13191445  echo "$ac_t""yes" 1>&6
    1320     ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1446    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1447    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    13211448  cat >> confdefs.h <<EOF
    13221449#define $ac_tr_lib 1
     
    13321459
    13331460if test "x$gmp_in_installation" != xyes; then
    1334   echo $ac_n "checking for -lgmp""... $ac_c" 1>&6
    1335 ac_lib_var=`echo gmp'_'mpz_init | tr './+\055' '__p_'`
     1461  echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6
     1462echo "configure:1463: checking for mpz_init in -lgmp" >&5
     1463ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'`
    13361464if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    13371465  echo $ac_n "(cached) $ac_c" 1>&6
     
    13401468LIBS="-lgmp  $LIBS"
    13411469cat > conftest.$ac_ext <<EOF
    1342 #line 1343 "configure"
     1470#line 1471 "configure"
    13431471#include "confdefs.h"
    13441472/* Override any gcc2 internal prototype to avoid an error.  */
     
    13471475char mpz_init();
    13481476
    1349 int main() { return 0; }
    1350 int t() {
     1477int main() {
    13511478mpz_init()
    13521479; return 0; }
    13531480EOF
    1354 if { (eval echo configure:1355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1481if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    13551482  rm -rf conftest*
    13561483  eval "ac_cv_lib_$ac_lib_var=yes"
    13571484else
     1485  echo "configure: failed program was:" >&5
     1486  cat conftest.$ac_ext >&5
    13581487  rm -rf conftest*
    13591488  eval "ac_cv_lib_$ac_lib_var=no"
     
    13651494if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    13661495  echo "$ac_t""yes" 1>&6
    1367     ac_tr_lib=HAVE_LIB`echo gmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1496    ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1497    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    13681498  cat >> confdefs.h <<EOF
    13691499#define $ac_tr_lib 1
     
    13871517ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    13881518ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1519cross_compiling=$ac_cv_prog_cxx_cross
    13891520
    13901521
     
    13921523  for ac_hdr in gmp.h
    13931524do
    1394 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     1525ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    13951526echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1527echo "configure:1528: checking for $ac_hdr" >&5
    13961528if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    13971529  echo $ac_n "(cached) $ac_c" 1>&6
    13981530else
    13991531  cat > conftest.$ac_ext <<EOF
    1400 #line 1401 "configure"
     1532#line 1533 "configure"
    14011533#include "confdefs.h"
    14021534#include <$ac_hdr>
    14031535EOF
    14041536ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1405 { (eval echo configure:1406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1537{ (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14061538ac_err=`grep -v '^ *+' conftest.out`
    14071539if test -z "$ac_err"; then
     
    14101542else
    14111543  echo "$ac_err" >&5
     1544  echo "configure: failed program was:" >&5
     1545  cat conftest.$ac_ext >&5
    14121546  rm -rf conftest*
    14131547  eval "ac_cv_header_$ac_safe=no"
     
    14171551if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    14181552  echo "$ac_t""yes" 1>&6
    1419     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     1553    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    14201554  cat >> confdefs.h <<EOF
    14211555#define $ac_tr_hdr 1
     
    14321566for ac_hdr in stdio.h stdlib.h string.h time.h math.h
    14331567do
    1434 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     1568ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    14351569echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1570echo "configure:1571: checking for $ac_hdr" >&5
    14361571if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    14371572  echo $ac_n "(cached) $ac_c" 1>&6
    14381573else
    14391574  cat > conftest.$ac_ext <<EOF
    1440 #line 1441 "configure"
     1575#line 1576 "configure"
    14411576#include "confdefs.h"
    14421577#include <$ac_hdr>
    14431578EOF
    14441579ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1445 { (eval echo configure:1446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1580{ (eval echo configure:1581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14461581ac_err=`grep -v '^ *+' conftest.out`
    14471582if test -z "$ac_err"; then
     
    14501585else
    14511586  echo "$ac_err" >&5
     1587  echo "configure: failed program was:" >&5
     1588  cat conftest.$ac_ext >&5
    14521589  rm -rf conftest*
    14531590  eval "ac_cv_header_$ac_safe=no"
     
    14571594if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    14581595  echo "$ac_t""yes" 1>&6
    1459     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     1596    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    14601597  cat >> confdefs.h <<EOF
    14611598#define $ac_tr_hdr 1
     
    14721609  for ac_hdr in iostream.h strstream.h fstream.h
    14731610do
    1474 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     1611ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    14751612echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1613echo "configure:1614: checking for $ac_hdr" >&5
    14761614if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    14771615  echo $ac_n "(cached) $ac_c" 1>&6
    14781616else
    14791617  cat > conftest.$ac_ext <<EOF
    1480 #line 1481 "configure"
     1618#line 1619 "configure"
    14811619#include "confdefs.h"
    14821620#include <$ac_hdr>
    14831621EOF
    14841622ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1485 { (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1623{ (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14861624ac_err=`grep -v '^ *+' conftest.out`
    14871625if test -z "$ac_err"; then
     
    14901628else
    14911629  echo "$ac_err" >&5
     1630  echo "configure: failed program was:" >&5
     1631  cat conftest.$ac_ext >&5
    14921632  rm -rf conftest*
    14931633  eval "ac_cv_header_$ac_safe=no"
     
    14971637if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    14981638  echo "$ac_t""yes" 1>&6
    1499     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     1639    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    15001640  cat >> confdefs.h <<EOF
    15011641#define $ac_tr_hdr 1
     
    15101650  for ac_hdr in ctype.h
    15111651do
    1512 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     1652ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    15131653echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1654echo "configure:1655: checking for $ac_hdr" >&5
    15141655if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    15151656  echo $ac_n "(cached) $ac_c" 1>&6
    15161657else
    15171658  cat > conftest.$ac_ext <<EOF
    1518 #line 1519 "configure"
     1659#line 1660 "configure"
    15191660#include "confdefs.h"
    15201661#include <$ac_hdr>
    15211662EOF
    15221663ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1523 { (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1664{ (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15241665ac_err=`grep -v '^ *+' conftest.out`
    15251666if test -z "$ac_err"; then
     
    15281669else
    15291670  echo "$ac_err" >&5
     1671  echo "configure: failed program was:" >&5
     1672  cat conftest.$ac_ext >&5
    15301673  rm -rf conftest*
    15311674  eval "ac_cv_header_$ac_safe=no"
     
    15351678if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    15361679  echo "$ac_t""yes" 1>&6
    1537     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     1680    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    15381681  cat >> confdefs.h <<EOF
    15391682#define $ac_tr_hdr 1
     
    15511694  for ac_hdr in stdarg.h signal.h errno.h unistd.h
    15521695do
    1553 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     1696ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    15541697echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1698echo "configure:1699: checking for $ac_hdr" >&5
    15551699if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    15561700  echo $ac_n "(cached) $ac_c" 1>&6
    15571701else
    15581702  cat > conftest.$ac_ext <<EOF
    1559 #line 1560 "configure"
     1703#line 1704 "configure"
    15601704#include "confdefs.h"
    15611705#include <$ac_hdr>
    15621706EOF
    15631707ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1564 { (eval echo configure:1565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1708{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15651709ac_err=`grep -v '^ *+' conftest.out`
    15661710if test -z "$ac_err"; then
     
    15691713else
    15701714  echo "$ac_err" >&5
     1715  echo "configure: failed program was:" >&5
     1716  cat conftest.$ac_ext >&5
    15711717  rm -rf conftest*
    15721718  eval "ac_cv_header_$ac_safe=no"
     
    15761722if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    15771723  echo "$ac_t""yes" 1>&6
    1578     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     1724    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    15791725  cat >> confdefs.h <<EOF
    15801726#define $ac_tr_hdr 1
     
    15941740  for ac_hdr in sys/param.h sys/times.h
    15951741do
    1596 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     1742ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    15971743echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1744echo "configure:1745: checking for $ac_hdr" >&5
    15981745if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    15991746  echo $ac_n "(cached) $ac_c" 1>&6
    16001747else
    16011748  cat > conftest.$ac_ext <<EOF
    1602 #line 1603 "configure"
     1749#line 1750 "configure"
    16031750#include "confdefs.h"
    16041751#include <$ac_hdr>
    16051752EOF
    16061753ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1607 { (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1754{ (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16081755ac_err=`grep -v '^ *+' conftest.out`
    16091756if test -z "$ac_err"; then
     
    16121759else
    16131760  echo "$ac_err" >&5
     1761  echo "configure: failed program was:" >&5
     1762  cat conftest.$ac_ext >&5
    16141763  rm -rf conftest*
    16151764  eval "ac_cv_header_$ac_safe=no"
     
    16191768if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    16201769  echo "$ac_t""yes" 1>&6
    1621     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     1770    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    16221771  cat >> confdefs.h <<EOF
    16231772#define $ac_tr_hdr 1
     
    16461795ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    16471796ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1797cross_compiling=$ac_cv_prog_cc_cross
    16481798
    16491799
    16501800# cross-compiling ?!
    1651 # If we cannot run a trivial program, we must be cross compiling.
    1652 echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
    1653 if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
    1654   echo $ac_n "(cached) $ac_c" 1>&6
    1655 else
    1656   if test "$cross_compiling" = yes; then
    1657   ac_cv_c_cross=yes
    1658 else
    1659 cat > conftest.$ac_ext <<EOF
    1660 #line 1661 "configure"
    1661 #include "confdefs.h"
    1662 main(){return(0);}
    1663 EOF
    1664 { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    1665 if test -s conftest && (./conftest; exit) 2>/dev/null; then
    1666   ac_cv_c_cross=no
    1667 else
    1668   ac_cv_c_cross=yes
    1669 fi
    1670 fi
    1671 rm -fr conftest*
    1672 fi
    1673 
    1674 echo "$ac_t""$ac_cv_c_cross" 1>&6
    1675 cross_compiling=$ac_cv_c_cross
    16761801
    16771802if test "x$cross_compiling" = xyes; then
     
    16861811
    16871812echo $ac_n "checking for working const""... $ac_c" 1>&6
     1813echo "configure:1814: checking for working const" >&5
    16881814if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    16891815  echo $ac_n "(cached) $ac_c" 1>&6
    16901816else
    16911817  cat > conftest.$ac_ext <<EOF
    1692 #line 1693 "configure"
     1818#line 1819 "configure"
    16931819#include "confdefs.h"
    16941820
    1695 int main() { return 0; }
    1696 int t() {
     1821int main() {
    16971822
    16981823/* Ultrix mips cc rejects this.  */
     
    17401865; return 0; }
    17411866EOF
    1742 if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1867if { (eval echo configure:1868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17431868  rm -rf conftest*
    17441869  ac_cv_c_const=yes
    17451870else
     1871  echo "configure: failed program was:" >&5
     1872  cat conftest.$ac_ext >&5
    17461873  rm -rf conftest*
    17471874  ac_cv_c_const=no
    17481875fi
    17491876rm -f conftest*
    1750 
    17511877fi
    17521878
     
    17601886
    17611887echo $ac_n "checking for inline""... $ac_c" 1>&6
     1888echo "configure:1889: checking for inline" >&5
    17621889if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    17631890  echo $ac_n "(cached) $ac_c" 1>&6
     
    17661893for ac_kw in inline __inline__ __inline; do
    17671894  cat > conftest.$ac_ext <<EOF
    1768 #line 1769 "configure"
     1895#line 1896 "configure"
    17691896#include "confdefs.h"
    17701897
    1771 int main() { return 0; }
    1772 int t() {
     1898int main() {
    17731899} $ac_kw foo() {
    17741900; return 0; }
    17751901EOF
    1776 if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1902if { (eval echo configure:1903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17771903  rm -rf conftest*
    17781904  ac_cv_c_inline=$ac_kw; break
     1905else
     1906  echo "configure: failed program was:" >&5
     1907  cat conftest.$ac_ext >&5
    17791908fi
    17801909rm -f conftest*
    1781 
    17821910done
    17831911
     
    18001928# arithmetic shift
    18011929echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
     1930echo "configure:1931: checking whether your compiler does arithmetic shifts" >&5
    18021931if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    18031932  echo $ac_n "(cached) $ac_c" 1>&6
     
    18061935  ac_cv_shift=yes
    18071936else
    1808 cat > conftest.$ac_ext <<EOF
    1809 #line 1810 "configure"
     1937  cat > conftest.$ac_ext <<EOF
     1938#line 1939 "configure"
    18101939#include "confdefs.h"
    18111940 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    18121941EOF
    1813 { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    1814 if test -s conftest && (./conftest; exit) 2>/dev/null; then
     1942if { (eval echo configure:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1943then
    18151944  ac_cv_shift=yes
    18161945else
     1946  echo "configure: failed program was:" >&5
     1947  cat conftest.$ac_ext >&5
     1948  rm -fr conftest*
    18171949  ac_cv_shift=no
    18181950fi
    1819 fi
    1820 rm -fr conftest*
     1951rm -fr conftest*
     1952fi
     1953 
    18211954fi
    18221955
     
    20442177#
    20452178EOF
     2179# The following way of writing the cache mishandles newlines in values,
     2180# but we know of no workaround that is simple, portable, and efficient.
     2181# So, don't put newlines in cache variables' values.
    20462182# Ultrix sh set writes to stderr and can't be redirected directly,
    20472183# and sets the high bit in the cache file unless we assign to the vars.
    20482184(set) 2>&1 |
    2049   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
    2050   >> confcache
     2185  case `(ac_space=' '; set) 2>&1` in
     2186  *ac_space=\ *)
     2187    # `set' does not quote correctly, so add quotes (double-quote substitution
     2188    # turns \\\\ into \\, and sed turns \\ into \).
     2189    sed -n \
     2190      -e "s/'/'\\\\''/g" \
     2191      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     2192    ;;
     2193  *)
     2194    # `set' quotes correctly as required by POSIX, so do not add quotes.
     2195    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     2196    ;;
     2197  esac >> confcache
    20512198if cmp -s $cache_file confcache; then
    20522199  :
     
    21032250    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    21042251  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    2105     echo "$CONFIG_STATUS generated by autoconf version 2.10"
     2252    echo "$CONFIG_STATUS generated by autoconf version 2.12"
    21062253    exit 0 ;;
    21072254  -help | --help | --hel | --he | --h)
     
    21752322CEOF
    21762323EOF
     2324
     2325cat >> $CONFIG_STATUS <<\EOF
     2326
     2327# Split the substitutions into bite-sized pieces for seds with
     2328# small command number limits, like on Digital OSF/1 and HP-UX.
     2329ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     2330ac_file=1 # Number of current file.
     2331ac_beg=1 # First line for current file.
     2332ac_end=$ac_max_sed_cmds # Line after last line for current file.
     2333ac_more_lines=:
     2334ac_sed_cmds=""
     2335while $ac_more_lines; do
     2336  if test $ac_beg -gt 1; then
     2337    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     2338  else
     2339    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     2340  fi
     2341  if test ! -s conftest.s$ac_file; then
     2342    ac_more_lines=false
     2343    rm -f conftest.s$ac_file
     2344  else
     2345    if test -z "$ac_sed_cmds"; then
     2346      ac_sed_cmds="sed -f conftest.s$ac_file"
     2347    else
     2348      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
     2349    fi
     2350    ac_file=`expr $ac_file + 1`
     2351    ac_beg=$ac_end
     2352    ac_end=`expr $ac_end + $ac_max_sed_cmds`
     2353  fi
     2354done
     2355if test -z "$ac_sed_cmds"; then
     2356  ac_sed_cmds=cat
     2357fi
     2358EOF
     2359
    21772360cat >> $CONFIG_STATUS <<EOF
    21782361
     
    21812364cat >> $CONFIG_STATUS <<\EOF
    21822365for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    2183   # Support "outfile[:infile]", defaulting infile="outfile.in".
     2366  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    21842367  case "$ac_file" in
    2185   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
     2368  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    21862369       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    21872370  *) ac_file_in="${ac_file}.in" ;;
    21882371  esac
    21892372
    2190   # Adjust relative srcdir, etc. for subdirectories.
     2373  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    21912374
    21922375  # Remove last slash and all that follows it.  Not all systems have dirname.
     
    22162399  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    22172400  esac
     2401
    22182402  echo creating "$ac_file"
    22192403  rm -f "$ac_file"
     
    22242408  *) ac_comsub= ;;
    22252409  esac
     2410
     2411  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    22262412  sed -e "$ac_comsub
    22272413s%@configure_input@%$configure_input%g
     
    22292415s%@top_srcdir@%$top_srcdir%g
    22302416s%@INSTALL@%$INSTALL%g
    2231 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
     2417" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    22322418fi; done
    2233 rm -f conftest.subs
     2419rm -f conftest.s*
    22342420
    22352421# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     
    22522438ac_eD='%g'
    22532439
    2254 CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
     2440if test "${CONFIG_HEADERS+set}" != set; then
     2441EOF
     2442cat >> $CONFIG_STATUS <<EOF
     2443  CONFIG_HEADERS="config.h"
     2444EOF
     2445cat >> $CONFIG_STATUS <<\EOF
     2446fi
    22552447for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
    2256   # Support "outfile[:infile]", defaulting infile="outfile.in".
     2448  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    22572449  case "$ac_file" in
    2258   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
     2450  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    22592451       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    22602452  *) ac_file_in="${ac_file}.in" ;;
     
    22642456
    22652457  rm -f conftest.frag conftest.in conftest.out
    2266   cp $ac_given_srcdir/$ac_file_in conftest.in
     2458  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2459  cat $ac_file_inputs > conftest.in
    22672460
    22682461EOF
     
    22922485# Break up conftest.vals because some shells have a limit on
    22932486# the size of here documents, and old seds have small limits too.
    2294 # Maximum number of lines to put in a single here document.
    2295 ac_max_here_lines=12
    22962487
    22972488rm -f conftest.tail
     
    23352526fi; done
    23362527
    2337 
     2528EOF
     2529cat >> $CONFIG_STATUS <<EOF
     2530
     2531EOF
     2532cat >> $CONFIG_STATUS <<\EOF
    23382533
    23392534exit 0
  • factory/gfops.cc

    r0f6c82 re9be05  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: gfops.cc,v 1.3 1997-10-10 12:30:40 schmidt Exp $ */
     2/* $Id: gfops.cc,v 1.4 1998-06-03 11:47:56 Singular Exp $ */
    33
    44#include <config.h>
     
    8585#ifndef SINGULAR
    8686    sprintf( buffer, GFTABLEDIR "/gftable.%d.%d", p, n );
     87    FILE * inputfile = fopen( buffer, "r" );
    8788#else
    88     sprintf( buffer, GFTABLEDIR "/%d", q );
     89    sprintf( buffer, "gftables/%d", q );
     90    FILE * inputfile = feFopen( buffer, "r" );
    8991#endif
    90     FILE * inputfile = fopen( buffer, "r" );
    9192    STICKYASSERT( inputfile, "can not open GF(q) table" );
    9293
  • factory/singext.h

    r0f6c82 re9be05  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: singext.h,v 1.3 1997-06-19 12:21:57 schmidt Exp $ */
     2/* $Id: singext.h,v 1.4 1998-06-03 11:47:57 Singular Exp $ */
    33
    44#ifndef INCL_SINGEXT_H
     
    1717extern int nfMinPoly[];
    1818extern short nfPlus1Table[];
     19extern FILE *  feFopen(char *path, char *mode,
     20                                  char *where=0, int useWerror=0);
    1921
    2022
Note: See TracChangeset for help on using the changeset viewer.