Changeset 50b5d9 in git


Ignore:
Timestamp:
Nov 5, 2013, 7:32:48 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
Children:
6008fe44cedc7793187b6229700bf1202ed3b6b0
Parents:
fccea5bb683a48f35f88ab4b9807547d6ea3a220
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-05 19:32:48+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-06 15:37:35+01:00
Message:
Show MPIR version whenever available with a fallback to GMP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    rfccea5 r50b5d9  
    789789  StringAppendS("\nwith\n\t");
    790790
    791 #if defined (__GNU_MP_VERSION) && defined (__GNU_MP_VERSION_MINOR)
    792               StringAppend("GMP(%d.%d),",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR);
     791#if defined(mpir_version)
     792              StringAppend("MPIR(%s)~GMP(%s),", mpir_version, gmp_version);
     793#elif defined(gmp_version)
     794              // #if defined (__GNU_MP_VERSION) && defined (__GNU_MP_VERSION_MINOR)
     795              //              StringAppend("GMP(%d.%d),",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR);
     796              StringAppend("GMP(%s),", gmp_version);
    793797#endif
    794798#ifdef HAVE_NTL
     
    798802
    799803#ifdef HAVE_FLINT
    800               StringAppend("FLINT(%s){'%s','%s'},",version, FLINT_CFLAGS, FLINT_LIBS);
     804              StringAppend("FLINT(%s),",version);
    801805#endif
    802806
Note: See TracChangeset for help on using the changeset viewer.