Changeset f835c6a in git


Ignore:
Timestamp:
Jan 19, 2002, 2:46:39 PM (22 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
9e723fac729efb994e65b305e7ac5ec5b982fad1
Parents:
324dc0f86c4a2ce32bd7c2c408cb2e8db043c2c3
Message:
* fixed namespace bug


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r324dc0 rf835c6a  
    40964096elif test "$ac_cv_have_readline" = yes; then
    40974097  echo "$ac_t""static" 1>&6
     4098elif test "$ac_cv_singuname" = PowerMacintosh-darwin; then
     4099  { echo "configure: error: building without readline impossible on PowerMacintosh-darwin" 1>&2; exit 1; }
    40984100else
    40994101  echo "$ac_t""none" 1>&6
     
    41054107# gmp, smallgmp, MP, MPT, factory, libfac
    41064108echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4107 echo "configure:4108: checking for main in -lgmp" >&5
     4109echo "configure:4110: checking for main in -lgmp" >&5
    41084110ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    41094111if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41134115LIBS="-lgmp  $LIBS"
    41144116cat > conftest.$ac_ext <<EOF
    4115 #line 4116 "configure"
     4117#line 4118 "configure"
    41164118#include "confdefs.h"
    41174119
     
    41204122; return 0; }
    41214123EOF
    4122 if { (eval echo configure:4123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4124if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41234125  rm -rf conftest*
    41244126  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41514153fi
    41524154echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4153 echo "configure:4154: checking for main in -lsmallgmp" >&5
     4155echo "configure:4156: checking for main in -lsmallgmp" >&5
    41544156ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    41554157if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41594161LIBS="-lsmallgmp  $LIBS"
    41604162cat > conftest.$ac_ext <<EOF
    4161 #line 4162 "configure"
     4163#line 4164 "configure"
    41624164#include "confdefs.h"
    41634165
     
    41664168; return 0; }
    41674169EOF
    4168 if { (eval echo configure:4169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4170if { (eval echo configure:4171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41694171  rm -rf conftest*
    41704172  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41954197SAVE_LIBS=$LIBS
    41964198echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4197 echo "configure:4198: checking for IMP_PutGmpInt in -lMP" >&5
     4199echo "configure:4200: checking for IMP_PutGmpInt in -lMP" >&5
    41984200ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    41994201if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42034205LIBS="-lMP $MP_LIBS $LIBS"
    42044206cat > conftest.$ac_ext <<EOF
    4205 #line 4206 "configure"
     4207#line 4208 "configure"
    42064208#include "confdefs.h"
    42074209/* Override any gcc2 internal prototype to avoid an error.  */
     
    42144216; return 0; }
    42154217EOF
    4216 if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4218if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42174219  rm -rf conftest*
    42184220  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42424244
    42434245echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4244 echo "configure:4245: checking for MPT_GetTree in -lMPT" >&5
     4246echo "configure:4247: checking for MPT_GetTree in -lMPT" >&5
    42454247ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    42464248if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42504252LIBS="-lMPT $MP_LIBS $LIBS"
    42514253cat > conftest.$ac_ext <<EOF
    4252 #line 4253 "configure"
     4254#line 4255 "configure"
    42534255#include "confdefs.h"
    42544256/* Override any gcc2 internal prototype to avoid an error.  */
     
    42614263; return 0; }
    42624264EOF
    4263 if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4265if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42644266  rm -rf conftest*
    42654267  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42904292LIBS=$SAVE_LIBS
    42914293echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4292 echo "configure:4293: checking for atof in -lsingcf" >&5
     4294echo "configure:4295: checking for atof in -lsingcf" >&5
    42934295ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    42944296if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42984300LIBS="-lsingcf  $LIBS"
    42994301cat > conftest.$ac_ext <<EOF
    4300 #line 4301 "configure"
     4302#line 4303 "configure"
    43014303#include "confdefs.h"
    43024304/* Override any gcc2 internal prototype to avoid an error.  */
     
    43094311; return 0; }
    43104312EOF
    4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4313if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43124314  rm -rf conftest*
    43134315  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43374339
    43384340echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4339 echo "configure:4340: checking for atof in -lsingfac" >&5
     4341echo "configure:4342: checking for atof in -lsingfac" >&5
    43404342ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    43414343if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43454347LIBS="-lsingfac  $LIBS"
    43464348cat > conftest.$ac_ext <<EOF
    4347 #line 4348 "configure"
     4349#line 4350 "configure"
    43484350#include "confdefs.h"
    43494351/* Override any gcc2 internal prototype to avoid an error.  */
     
    43564358; return 0; }
    43574359EOF
    4358 if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4360if { (eval echo configure:4361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43594361  rm -rf conftest*
    43604362  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43844386
    43854387echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4386 echo "configure:4387: checking for omTestAddr in -lomalloc" >&5
     4388echo "configure:4389: checking for omTestAddr in -lomalloc" >&5
    43874389ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    43884390if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43924394LIBS="-lomalloc  $LIBS"
    43934395cat > conftest.$ac_ext <<EOF
    4394 #line 4395 "configure"
     4396#line 4397 "configure"
    43954397#include "confdefs.h"
    43964398/* Override any gcc2 internal prototype to avoid an error.  */
     
    44034405; return 0; }
    44044406EOF
    4405 if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4407if { (eval echo configure:4408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44064408  rm -rf conftest*
    44074409  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44314433
    44324434echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4433 echo "configure:4434: checking for main in -lomalloc_ndebug" >&5
     4435echo "configure:4436: checking for main in -lomalloc_ndebug" >&5
    44344436ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    44354437if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44394441LIBS="-lomalloc_ndebug  $LIBS"
    44404442cat > conftest.$ac_ext <<EOF
    4441 #line 4442 "configure"
     4443#line 4444 "configure"
    44424444#include "confdefs.h"
    44434445
     
    44464448; return 0; }
    44474449EOF
    4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4450if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44494451  rm -rf conftest*
    44504452  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44784480ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44794481echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4480 echo "configure:4481: checking for $ac_hdr" >&5
     4482echo "configure:4483: checking for $ac_hdr" >&5
    44814483if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44824484  echo $ac_n "(cached) $ac_c" 1>&6
    44834485else
    44844486  cat > conftest.$ac_ext <<EOF
    4485 #line 4486 "configure"
     4487#line 4488 "configure"
    44864488#include "confdefs.h"
    44874489#include <$ac_hdr>
    44884490EOF
    44894491ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4490 { (eval echo configure:4491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4492{ (eval echo configure:4493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44914493ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44924494if test -z "$ac_err"; then
     
    45574559
    45584560echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4559 echo "configure:4560: checking which apint package to use" >&5
     4561echo "configure:4562: checking which apint package to use" >&5
    45604562if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    45614563  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    45994601#
    46004602echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4601 echo "configure:4602: checking whether to have MP" >&5
     4603echo "configure:4604: checking whether to have MP" >&5
    46024604if test "${with_MP}" != yes && test "${with_MP}" != no; then
    46034605  if (test "${will_have_gmp}" = yes) && \
     
    46344636
    46354637echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4636 echo "configure:4637: checking whether to have factory" >&5
     4638echo "configure:4639: checking whether to have factory" >&5
    46374639if test "${with_factory}" != yes && test "${with_factory}" != no; then
    46384640  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    46654667
    46664668echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4667 echo "configure:4668: checking whether to have libfac" >&5
     4669echo "configure:4670: checking whether to have libfac" >&5
    46684670if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    46694671  if (test "${will_have_factory}" = yes) && \
     
    46994701
    47004702echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4701 echo "configure:4702: checking whether to have dbm links" >&5
     4703echo "configure:4704: checking whether to have dbm links" >&5
    47024704if test "$with_dbm" != no; then
    47034705  cat >> confdefs.h <<\EOF
     
    47114713
    47124714echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4713 echo "configure:4714: checking whether to have namespaces" >&5
     4715echo "configure:4716: checking whether to have namespaces" >&5
    47144716if test "$with_namespaces" != no; then
    47154717  echo "$ac_t""yes" 1>&6
    4716 else
    47174718  cat >> confdefs.h <<\EOF
    47184719#define HAVE_NAMESPACES 1
    47194720EOF
    47204721
     4722else
    47214723  echo "$ac_t""no" 1>&6
    47224724fi
    47234725
    47244726echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    4725 echo "configure:4726: checking whether to have dynamic modules" >&5
     4727echo "configure:4728: checking whether to have dynamic modules" >&5
    47264728if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    47274729  echo "$ac_t""no" 1>&6
     
    47354737
    47364738echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    4737 echo "configure:4738: checking whether to have dynamic kernel" >&5
     4739echo "configure:4740: checking whether to have dynamic kernel" >&5
    47384740if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    47394741  DL_KERNEL=1
     
    47454747
    47464748echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4747 echo "configure:4748: checking whether to have Plural" >&5
     4749echo "configure:4750: checking whether to have Plural" >&5
    47484750if test "$with_plural" != yes; then
    47494751  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    r324dc0 rf835c6a  
    808808if test "$with_namespaces" != no; then
    809809  AC_MSG_RESULT(yes)
    810 else
    811810  AC_DEFINE(HAVE_NAMESPACES)
     811else
    812812  AC_MSG_RESULT(no)
    813813fi
Note: See TracChangeset for help on using the changeset viewer.