Changeset 1d905d in git for omalloc


Ignore:
Timestamp:
Dec 21, 2000, 3:26:06 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9ebcbf1cf04f9b47779b79ed9c73dd18eea9d36e
Parents:
5dab69d5a393466d9560045523c22692fb9c1323
Message:
pagesize max is 8192


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

Legend:

Unmodified
Added
Removed
  • omalloc/configure

    r5dab69 r1d905d  
    18181818fi
    18191819
     1820# can not really handle pagesizes which are greater -- there must be a
     1821# bug somewhere
     1822if test $ac_cv_pagesize -gt 8192; then
     1823  ac_cv_pagesize=8192
     1824fi
    18201825echo "$ac_t""$ac_cv_pagesize" 1>&6
    18211826if test "$ac_cv_pagesize" = 4096 || test "$ac_cv_pagesize" = 8192; then
     
    18301835if test "$ac_cv_func_mmap" = yes; then
    18311836echo $ac_n "checking whether mmap works""... $ac_c" 1>&6
    1832 echo "configure:1833: checking whether mmap works" >&5
     1837echo "configure:1838: checking whether mmap works" >&5
    18331838if eval "test \"`echo '$''{'ac_cv_working_mmap'+set}'`\" = set"; then
    18341839  echo $ac_n "(cached) $ac_c" 1>&6
     
    18381843else
    18391844  cat > conftest.$ac_ext <<EOF
    1840 #line 1841 "configure"
     1845#line 1846 "configure"
    18411846#include "confdefs.h"
    18421847
     
    18501855}
    18511856EOF
    1852 if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1857if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    18531858then
    18541859  ac_cv_working_mmap=yes
     
    18741879
    18751880echo $ac_n "checking whether alignment needs to be strict""... $ac_c" 1>&6
    1876 echo "configure:1877: checking whether alignment needs to be strict" >&5
     1881echo "configure:1882: checking whether alignment needs to be strict" >&5
    18771882if eval "test \"`echo '$''{'ac_cv_align_need_strict'+set}'`\" = set"; then
    18781883  echo $ac_n "(cached) $ac_c" 1>&6
     
    18821887else
    18831888  cat > conftest.$ac_ext <<EOF
    1884 #line 1885 "configure"
     1889#line 1890 "configure"
    18851890#include "confdefs.h"
    18861891 
     
    18971902
    18981903EOF
    1899 if { (eval echo configure:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1904if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    19001905then
    19011906  ac_cv_align_need_strict=no
     
    19141919
    19151920echo $ac_n "checking for external config files""... $ac_c" 1>&6
    1916 echo "configure:1917: checking for external config files" >&5
     1921echo "configure:1922: checking for external config files" >&5
    19171922if test "${with_external_config_h+set}" = set; then
    19181923    cat >> confdefs.h <<\EOF
     
    19401945
    19411946echo $ac_n "checking which malloc to use""... $ac_c" 1>&6
    1942 echo "configure:1943: checking which malloc to use" >&5
     1947echo "configure:1948: checking which malloc to use" >&5
    19431948if test "${with_malloc}" = system; then
    19441949  OM_MALLOC_HEADER=omMallocSystem.h
     
    19771982
    19781983echo $ac_n "checking whether malloc provides SizeOfAddr""... $ac_c" 1>&6
    1979 echo "configure:1980: checking whether malloc provides SizeOfAddr" >&5
     1984echo "configure:1985: checking whether malloc provides SizeOfAddr" >&5
    19801985if test "${ac_cv_malloc_sizeof_addr}" = no; then
    19811986  echo "$ac_t""(cached) no" 1>&6
     
    19871992else
    19881993  cat > conftest.$ac_ext <<EOF
    1989 #line 1990 "configure"
     1994#line 1995 "configure"
    19901995#include "confdefs.h"
    19911996
     
    20042009
    20052010EOF
    2006 if { (eval echo configure:2007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2011if { (eval echo configure:2012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    20072012then
    20082013  ac_cv_malloc_sizeof_addr="${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}"
     
    20522057
    20532058echo $ac_n "checking whether working valloc exists""... $ac_c" 1>&6
    2054 echo "configure:2055: checking whether working valloc exists" >&5
     2059echo "configure:2060: checking whether working valloc exists" >&5
    20552060if test "${ac_cv_working_valloc}" = no; then
    20562061  echo "$ac_t""(cached) no" 1>&6
     
    20622067else
    20632068  cat > conftest.$ac_ext <<EOF
    2064 #line 2065 "configure"
     2069#line 2070 "configure"
    20652070#include "confdefs.h"
    20662071
     
    20802085
    20812086EOF
    2082 if { (eval echo configure:2083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2087if { (eval echo configure:2088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    20832088then
    20842089  ac_cv_working_valloc="${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}"
     
    21002105
    21012106echo $ac_n "checking which valloc to use""... $ac_c" 1>&6
    2102 echo "configure:2103: checking which valloc to use" >&5
     2107echo "configure:2108: checking which valloc to use" >&5
    21032108if test "${with_valloc+set}" != set || test "${with_valloc}" = mmap; then
    21042109  if test "${ac_cv_working_mmap}" = yes; then
     
    21252130
    21262131echo $ac_n "checking whether to emulate omalloc""... $ac_c" 1>&6
    2127 echo "configure:2128: checking whether to emulate omalloc" >&5
     2132echo "configure:2133: checking whether to emulate omalloc" >&5
    21282133if test "${with_emulate_omalloc}" = yes; then
    21292134  cat >> confdefs.h <<\EOF
     
    21372142
    21382143echo $ac_n "checking how to align""... $ac_c" 1>&6
    2139 echo "configure:2140: checking how to align" >&5
     2144echo "configure:2145: checking how to align" >&5
    21402145if test "$with_align" = 8 || test "$ac_cv_sizeof_long" = 8; then
    21412146  ac_cv_align=8
     
    21582163
    21592164echo $ac_n "checking whether to use dense bins""... $ac_c" 1>&6
    2160 echo "configure:2161: checking whether to use dense bins" >&5
     2165echo "configure:2166: checking whether to use dense bins" >&5
    21612166if test "$with_dense_bins" = yes; then
    21622167echo "$ac_t""yes" 1>&6
     
    21702175
    21712176echo $ac_n "checking whether to disable debugging""... $ac_c" 1>&6
    2172 echo "configure:2173: checking whether to disable debugging" >&5
     2177echo "configure:2178: checking whether to disable debugging" >&5
    21732178if test "$with_debug" != no; then
    21742179echo "$ac_t""no" 1>&6
     
    21832188
    21842189echo $ac_n "checking whether to have tracking debug functionality""... $ac_c" 1>&6
    2185 echo "configure:2186: checking whether to have tracking debug functionality" >&5
     2190echo "configure:2191: checking whether to have tracking debug functionality" >&5
    21862191if test "$with_track" != no; then
    21872192echo "$ac_t""yes" 1>&6
     
    21952200
    21962201echo $ac_n "checking whether to use internal debug""... $ac_c" 1>&6
    2197 echo "configure:2198: checking whether to use internal debug" >&5
     2202echo "configure:2203: checking whether to use internal debug" >&5
    21982203if test "$with_internal_debug" = yes; then
    21992204echo "$ac_t""yes" 1>&6
     
    22082213
    22092214echo $ac_n "checking whether to inline""... $ac_c" 1>&6
    2210 echo "configure:2211: checking whether to inline" >&5
     2215echo "configure:2216: checking whether to inline" >&5
    22112216if test "$ac_cv_c_inline" != no && test "$with_inline" != no; then
    22122217  cat >> confdefs.h <<EOF
     
    22442249
    22452250echo $ac_n "checking whether GET_RET_ADDR works""... $ac_c" 1>&6
    2246 echo "configure:2247: checking whether GET_RET_ADDR works" >&5
     2251echo "configure:2252: checking whether GET_RET_ADDR works" >&5
    22472252if eval "test \"`echo '$''{'ac_cv_get_return_addr_works'+set}'`\" = set"; then
    22482253  echo $ac_n "(cached) $ac_c" 1>&6
     
    22522257else
    22532258  cat > conftest.$ac_ext <<EOF
    2254 #line 2255 "configure"
     2259#line 2260 "configure"
    22552260#include "confdefs.h"
    22562261
     
    22682273
    22692274EOF
    2270 if { (eval echo configure:2271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2275if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    22712276then
    22722277  ac_cv_get_return_addr_works=yes
     
    22912296
    22922297echo $ac_n "checking whether omGetBackTrace works""... $ac_c" 1>&6
    2293 echo "configure:2294: checking whether omGetBackTrace works" >&5
     2298echo "configure:2299: checking whether omGetBackTrace works" >&5
    22942299if eval "test \"`echo '$''{'ac_cv_get_backtrace_works'+set}'`\" = set"; then
    22952300  echo $ac_n "(cached) $ac_c" 1>&6
     
    22992304else
    23002305  cat > conftest.$ac_ext <<EOF
    2301 #line 2302 "configure"
     2306#line 2307 "configure"
    23022307#include "confdefs.h"
    23032308
     
    23202325
    23212326EOF
    2322 if { (eval echo configure:2323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2327if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    23232328then
    23242329  ac_cv_get_backtrace_works=yes
     
    23432348
    23442349echo $ac_n "checking whether addr2line works""... $ac_c" 1>&6
    2345 echo "configure:2346: checking whether addr2line works" >&5
     2350echo "configure:2351: checking whether addr2line works" >&5
    23462351if eval "test \"`echo '$''{'ac_cv_prog_addr2line_works'+set}'`\" = set"; then
    23472352  echo $ac_n "(cached) $ac_c" 1>&6
     
    23512356else
    23522357  cat > conftest.$ac_ext <<EOF
    2353 #line 2354 "configure"
     2358#line 2359 "configure"
    23542359#include "confdefs.h"
    23552360
     
    23842389
    23852390EOF
    2386 if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2391if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    23872392then
    23882393  ac_cv_prog_addr2line_works=yes
     
    24012406 
    24022407echo $ac_n "checking whether to track return addresses""... $ac_c" 1>&6
    2403 echo "configure:2404: checking whether to track return addresses" >&5
     2408echo "configure:2409: checking whether to track return addresses" >&5
    24042409if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works" != yes; then
    24052410  with_track_return=no
     
    24142419
    24152420echo $ac_n "checking whether to track files and line numbers""... $ac_c" 1>&6
    2416 echo "configure:2417: checking whether to track files and line numbers" >&5
     2421echo "configure:2422: checking whether to track files and line numbers" >&5
    24172422if test "$with_track_fl" = no && test "$with_track_return" = no; then
    24182423  with_track_fl=yes
     
    24342439
    24352440echo $ac_n "checking whether to track stack backtraces""... $ac_c" 1>&6
    2436 echo "configure:2437: checking whether to track stack backtraces" >&5
     2441echo "configure:2442: checking whether to track stack backtraces" >&5
    24372442if test "$with_track" != no && test "$ac_cv_get_backtrace_works" = yes && test "$with_track_backtrace" != no && test "$ac_cv_prog_addr2line_works" = yes; then
    24382443  with_track_backtrace=yes
     
    24472452
    24482453echo $ac_n "checking whether to track custom values""... $ac_c" 1>&6
    2449 echo "configure:2450: checking whether to track custom values" >&5 
     2454echo "configure:2455: checking whether to track custom values" >&5 
    24502455if test "$with_track" != no && test "$with_track_custom" = yes; then
    24512456  cat >> confdefs.h <<\EOF
  • omalloc/configure.in

    r5dab69 r1d905d  
    44dnl Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55dnl Created: 11/99
    6 dnl Version: $Id: configure.in,v 1.10 2000-12-15 08:44:28 obachman Exp $
     6dnl Version: $Id: configure.in,v 1.11 2000-12-21 14:26:06 obachman Exp $
    77dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
    88
     
    161161  exit(0);
    162162}], ac_cv_pagesize=`cat conftestval`, ac_cv_pagesize=0, ac_cv_pagesize=0))
     163# can not really handle pagesizes which are greater -- there must be a
     164# bug somewhere
     165if test $ac_cv_pagesize -gt 8192; then
     166  ac_cv_pagesize=8192
     167fi
    163168AC_MSG_RESULT($ac_cv_pagesize)
    164169if test "$ac_cv_pagesize" = 4096 || test "$ac_cv_pagesize" = 8192; then
Note: See TracChangeset for help on using the changeset viewer.