Changeset 089d1f in git


Ignore:
Timestamp:
Oct 11, 2011, 7:53:52 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
ab788d2fa2a3a3cfadef40aeb1619e81ac889f17
Parents:
d2f9df5893fb5df92c3c6b562dd3d8d4ecdcf24a
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-10-11 19:53:52+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:56+01:00
Message:
ADD: better use of AH_TEMPLATE in factory/configure.ac
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/configure.ac

    rd2f9df r089d1f  
    113113AC_C_CONST
    114114AC_C_INLINE
    115 AH_TEMPLATE([INT64], [])
    116 AC_DEFINE([INT64], [long long int])
     115
     116AH_TEMPLATE([INT64], [Defenition for INT64])
     117# Always long long int???!
     118AC_DEFINE([INT64], [long long int])
     119
    117120DX_INIT_DOXYGEN($PACKAGE_NAME, MYDOXYGENCONFIG)
    118121
     
    327330test "${M4FLAGS+set}" = set || M4FLAGS=
    328331
     332AH_TEMPLATE([SINGULAR], [define if linked to Singular])
     333AH_TEMPLATE([DISABLE_GMP_CPP],[DISABLE_GMP_CPP])
     334AH_TEMPLATE([NOSTREAMIO],[DISABLE_GMP_CPP])
     335
    329336# Singular
    330337if test "x$with_Singular" = xyes; then
    331   AH_TEMPLATE([SINGULAR], [define if linked to Singular])
    332   AC_DEFINE([SINGULAR],[1],[SINGULAR])
    333   AC_DEFINE([DISABLE_GMP_CPP],[1],[DISABLE_GMP_CPP])
    334   AC_DEFINE([NOSTREAMIO],[1],[DISABLE_GMP_CPP])
     338  AC_DEFINE([SINGULAR],[1]) 
     339  AC_DEFINE([DISABLE_GMP_CPP],[1])
     340  AC_DEFINE([NOSTREAMIO],[1])
    335341fi
    336342
     
    362368  fi
    363369fi
     370
     371AH_TEMPLATE([HAVE_OMALLOC], [define if build with OMALLOC])
    364372if test "$with_omalloc" = yes; then
    365   AH_TEMPLATE([HAVE_OMALLOC], [define if build with OMALLOC])
    366   AC_DEFINE([HAVE_OMALLOC],[1],[HAVE_OMALLOC])
     373  AC_DEFINE([HAVE_OMALLOC],[1])
    367374fi
    368375AC_MSG_RESULT($with_omalloc)
     
    372379
    373380
     381AH_TEMPLATE([CF_USE_INLINE], [define to use "configurable inline methods" (see cf_inline.cc)])
    374382# "configurable inline methods"
    375383if test "x$enable_cf_inline" != xno; then
    376   AH_TEMPLATE([CF_USE_INLINE], [define to use "configurable inline methods" (see cf_inline.cc)])
    377   AC_DEFINE([CF_USE_INLINE],[1],[CF_USE_INLINE])
    378 fi
    379 
     384  AC_DEFINE([CF_USE_INLINE],[1])
     385fi
     386
     387AH_TEMPLATE([NOSTREAMIO], [define to build factory without stream IO])
    380388# iostream
    381389if test "x$enable_streamio" = xno; then
    382   AH_TEMPLATE([NOSTREAMIO], [define to build factory without stream IO])
    383   AC_DEFINE([NOSTREAMIO],[1],[NOSTREAMIO])
     390  AC_DEFINE([NOSTREAMIO],[1])
    384391else
    385392  factorysrc="$factorysrc \$(useiofactorysrc)"
     
    387394fi
    388395
     396AH_TEMPLATE([NOASSERT], [define if you do not want to activate assertions])
    389397# assertions
    390398if test "x$enable_assertions" = xno; then
    391   AH_TEMPLATE([NOASSERT], [define if you do not want to activate assertions])
    392   AC_DEFINE([NOASSERT],[1],[NOASSERT])
    393 fi
    394 
     399  AC_DEFINE([NOASSERT],[1])
     400fi
     401
     402AH_TEMPLATE([TIMING], [define if you want to activate the timing stuff])
    395403# timing
    396404if test "x$enable_timing" != xno; then
    397   AH_TEMPLATE([TIMING], [define if you want to activate the timing stuff])
    398   AC_DEFINE([TIMING],[1],[TIMING])
     405  AC_DEFINE([TIMING],[1])
    399406fi
    400407
    401408# debugoutput
     409AH_TEMPLATE([DEBUGOUTPUT], [define if you want to have debugging output])
    402410if test "x$enable_debugoutput" != xno; then
    403   AH_TEMPLATE([DEBUGOUTPUT], [define if you want to have debugging output])
    404   AC_DEFINE([DEBUGOUTPUT],[1],[DEBUGOUTPUT])
     411  AC_DEFINE([DEBUGOUTPUT],[1])
    405412fi
    406413
     
    427434
    428435AH_TEMPLATE([FACTORYVERSION], [factory version])
    429 AC_DEFINE_UNQUOTED([FACTORYVERSION], "$factory_version", [FACTORYVERSION])
     436AC_DEFINE_UNQUOTED([FACTORYVERSION], "$factory_version")
     437
    430438AH_TEMPLATE([FACTORYCONFIGURATION], [factory configuration])
    431 AC_DEFINE_UNQUOTED([FACTORYCONFIGURATION], "$factory_configuration", [FACTORYCONFIGURATION])
     439AC_DEFINE_UNQUOTED([FACTORYCONFIGURATION], "$factory_configuration")
     440
    432441AH_TEMPLATE([GFTABLEDIR], [where the gftables live])
    433 AC_DEFINE_UNQUOTED([GFTABLEDIR], "$explicit_gftabledir", [GFTABLEDIR])
     442AC_DEFINE_UNQUOTED([GFTABLEDIR], "$explicit_gftabledir")
    434443
    435444AM_CONDITIONAL(
Note: See TracChangeset for help on using the changeset viewer.