Changeset e76d7a6 in git for factory/configure.ac


Ignore:
Timestamp:
May 10, 2011, 5:49:07 PM (13 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2db7aeea84caf5f3621e15f997e41de267126db7
Parents:
9c68871c5299532f62e3ee9d88efddebac68ccbd
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-05-10 17:49:07+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:44+01:00
Message:
just to get this out of the way, i need to catch my train
File:
1 moved

Legend:

Unmodified
Added
Removed
  • factory/configure.ac

    r9c6887 re76d7a6  
    1313# - initialisation.
    1414#
    15 AC_REVISION($Id$)
    16 AC_INIT(canonicalform.cc)
     15AC_INIT([factory], [3.1.2.sw])
     16AC_CONFIG_SRCDIR(canonicalform.cc)
    1717AC_CONFIG_MACRO_DIR([../m4])
    1818AC_CONFIG_HEADER(config.h)
    19 AC_CONFIG_AUX_DIR(bin)
     19AC_CONFIG_AUX_DIR([.])
     20AM_INIT_AUTOMAKE
     21
     22AC_PROG_YACC
    2023
    2124#
     
    348351# Singular
    349352if test "x$with_Singular" = xyes; then
    350   AC_DEFINE(SINGULAR)
     353  AC_DEFINE([SINGULAR],[1],[SINGULAR])
    351354fi
    352355
    353356# arithmetic shift
    354357#if test "x$ac_cv_shift" = xyes; then   
    355 #  AC_DEFINE(HAS_ARITHMETIC_SHIFT)
     358#  AC_DEFINE([HAS_ARITHMETIC_SHIFT],[1],[HAS_ARITHMETIC_SHIFT])
    356359#fi
    357360
     
    379382fi
    380383if test "$with_omalloc" = yes; then
    381   AC_DEFINE(HAVE_OMALLOC)
     384  AC_DEFINE([HAVE_OMALLOC],[1],[HAVE_OMALLOC])
    382385  with_memman=no
    383386fi
     
    393396  installtargets="$installtargets installmem"
    394397  uninstalltargets="$uninstalltargets uninstallmem"
    395   AC_DEFINE(USE_MEMUTIL)
     398  AC_DEFINE([USE_MEMUTIL],[1],[USE_MEMUTIL])
    396399
    397400  if test "x$with_memman" != xnew; then
    398401    memmansrc="$memmansrc \$(oldmemmansrc)"
    399402    memmanincl='$(oldmemmanincl)'
    400     AC_DEFINE(USE_OLD_MEMMAN)
     403    AC_DEFINE([USE_OLD_MEMMAN],[1],[USE_OLD_MEMMAN])
    401404  else
    402405    memmansrc="$memmansrc \$(newmemmansrc)"
     
    404407
    405408    if test "x$enable_memdebug" = xfull; then
    406       AC_DEFINE(MDEBUG, 1)
     409      AC_DEFINE([MDEBUG], [1], [MDEBUG])
    407410    elif test "x$enable_memdebug" != xno; then
    408       AC_DEFINE(MDEBUG, 0)
     411      AC_DEFINE([MDEBUG], [0], [MDEBUG])
    409412    fi
    410413  fi
     
    413416# "configurable inline methods"
    414417if test "x$enable_cf_inline" != xno; then
    415   AC_DEFINE(CF_USE_INLINE)
     418  AC_DEFINE([CF_USE_INLINE],[1],[CF_USE_INLINE])
    416419fi
    417420
    418421# iostream
    419422if test "x$enable_streamio" = xno; then
    420   AC_DEFINE(NOSTREAMIO)
     423  AC_DEFINE([NOSTREAMIO],[1],[NOSTREAMIO])
    421424else
    422425  factorysrc="$factorysrc \$(useiofactorysrc)"
     
    426429# assertions
    427430if test "x$enable_assertions" = xno; then
    428   AC_DEFINE(NOASSERT)
     431  AC_DEFINE([NOASSERT],[1],[NOASSERT])
    429432fi
    430433
    431434# timing
    432435if test "x$enable_timing" != xno; then
    433   AC_DEFINE(TIMING)
     436  AC_DEFINE([TIMING],[1],[TIMING])
    434437fi
    435438
    436439# debugoutput
    437440if test "x$enable_debugoutput" != xno; then
    438   AC_DEFINE(DEBUGOUTPUT)
     441  AC_DEFINE([DEBUGOUTPUT],[1],[DEBUGOUTPUT])
    439442fi
    440443
     
    462465AC_SUBST(uninstalltargets)
    463466
    464 AC_DEFINE_UNQUOTED(FACTORYVERSION, "$factory_version")
    465 AC_DEFINE_UNQUOTED(FACTORYCONFIGURATION, "$factory_configuration")
    466 AC_DEFINE_UNQUOTED(GFTABLEDIR, "$explicit_gftabledir")
    467 
    468 AC_OUTPUT(GNUmakefile ftest/GNUmakefile)
     467AC_DEFINE_UNQUOTED([FACTORYVERSION], "$factory_version", [FACTORYVERSION])
     468AC_DEFINE_UNQUOTED([FACTORYCONFIGURATION], "$factory_configuration", [FACTORYCONFIGURATION])
     469AC_DEFINE_UNQUOTED([GFTABLEDIR], "$explicit_gftabledir", [GFTABLEDIR])
     470
     471AC_OUTPUT(Makefile ftest/GNUmakefile)
Note: See TracChangeset for help on using the changeset viewer.