Changeset f79b94c in git for factory/configure.in


Ignore:
Timestamp:
Sep 4, 2000, 3:31:31 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
ec7aac79223c2edb9fd5358c0f2f3e8ddcd120e6
Parents:
05e7d13dce909dfa04b941da1c487b7c2a3a6044
Message:
* support for omalloc


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

Legend:

Unmodified
Added
Removed
  • factory/configure.in

    r05e7d13 rf79b94c  
    11dnl # emacs edit mode for this file is -*- sh -*-
    2 dnl # $Id: configure.in,v 1.25 2000-04-27 10:07:30 obachman Exp $
     2dnl # $Id: configure.in,v 1.26 2000-09-04 13:31:28 obachman Exp $
    33
    44dnl #
     
    1313# - initialisation.
    1414#
    15 AC_REVISION($Id: configure.in,v 1.25 2000-04-27 10:07:30 obachman Exp $)
     15AC_REVISION($Id: configure.in,v 1.26 2000-09-04 13:31:28 obachman Exp $)
    1616AC_INIT(canonicalform.cc)
    1717AC_CONFIG_HEADER(config.h)
     
    4444# font-lock-trick: '
    4545
     46AC_ARG_WITH(
     47  omalloc,
     48  [  --with-omalloc           build for use with omalloc])
    4649AC_ARG_WITH(
    4750  gmp,
     
    250253fi
    251254
    252 AC_CHECK_HEADERS(stdio.h stdlib.h string.h time.h math.h, ,
     255AC_CHECK_HEADERS(stdio.h stdlib.h string.h time.h math.h omalloc.h, ,
    253256  [ AC_MSG_ERROR(C header files not found) ])
    254257
     
    385388fi
    386389
     390AC_MSG_CHECKING(whether to use omalloc)
     391
     392if test "$with_omalloc" = yes; then
     393  if test "$ac_cv_header_omalloc_h" != yes; then
     394    if test "$enable_omalloc" = yes; then
     395       AC_MSG_WARN(did not find omalloc.h, install before compiling)
     396    else
     397       with_omalloc=no
     398    fi
     399  fi
     400else
     401  if test "$with_omalloc" != no; then
     402    if test "$enable_omalloc" = yes; then
     403      if test "$ac_cv_header_omalloc_h" != yes; then
     404        AC_MSG_WARN(did not find omalloc.h, install before compiling)
     405      fi
     406      with_omalloc=yes
     407    else
     408      with_omalloc=no
     409    fi
     410  fi
     411fi
     412if test "$with_omalloc" = yes; then
     413  AC_DEFINE(HAVE_OMALLOC)
     414  with_memman=no
     415fi
     416AC_MSG_RESULT($with_omalloc)
     417   
    387418# memory manager
    388419if test "x$with_memman" != xno; then
Note: See TracChangeset for help on using the changeset viewer.