Changeset 43d6c5 in git for Singular/tesths.cc


Ignore:
Timestamp:
May 6, 1997, 7:53:37 PM (27 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
48940847a1b0e2d4294c448c19817e02d80d0888
Parents:
8a9b23c23d78e12906d674092784d58ff081667b
Message:
* hannes: added real versions to output of Singular -v


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

Legend:

Unmodified
Added
Removed
  • Singular/tesths.cc

    r8a9b23c r43d6c5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: tesths.cc,v 1.11 1997-05-02 07:44:46 Singular Exp $ */
     4/* $Id: tesths.cc,v 1.12 1997-05-06 17:53:37 Singular Exp $ */
    55
    66/*
     
    2727#include "timer.h"
    2828
     29/* version strings */
     30#ifdef HAVE_FACTORY
     31  extern const char factoryVersion[];
     32#endif
     33#ifdef HAVE_LIBFAC_P
     34  extern const char * libfac_version;
     35  extern const char * libfac_date;
     36#endif
     37#ifdef HAVE_GMP
     38extern "C" {
     39#include <gmp.h>
     40}
     41#endif
     42#ifdef HAVE_MPSR
     43#include <MP_Config.h>
     44#endif
    2945
    3046/*0 implementation*/
     
    122138                     S_VERSION1,S_VERSION2,
    123139                     SINGULAR_VERSION_ID,__DATE__,__TIME__);
    124               printf("with ");
     140              printf("with\n");
    125141#ifdef HAVE_FACTORY
    126               printf("factory,");
    127 #endif
    128 #ifdef HAVE_FACTORY
    129               printf("fac(p),");
     142              printf("\tfactory (%s),\n", factoryVersion);
     143#endif
     144#ifdef HAVE_LIBFAC_P
     145              printf("\tlibfac(%s,%s),\n",libfac_version,libfac_date);
    130146#endif
    131147#ifdef SRING
    132               printf("super algebra,");
     148              printf("\tsuper algebra,\n");
    133149#endif
    134150#ifdef DRING
    135               printf("Weyl algebra,");
     151              printf("\tWeyl algebra,\n");
    136152#endif
    137153#ifdef HAVE_GMP
    138               printf("GMP,");
     154              printf("\tGMP(%d.%d),\n",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR);
    139155#endif
    140156#ifdef HAVE_DBM
    141               printf("DBM,");
    142 #endif
    143 #ifdef HAVE_MPSR
    144               printf("MP,");
     157              printf("\tDBM,\n");
     158#endif
     159#ifdef HAVE_MPSR
     160              printf("\tMP(%s),\n",MP_VERSION);
    145161#endif
    146162#if defined(HAVE_READLINE) && !defined(FEREAD)
    147               printf("RL,");
     163              printf("\tlibreadline,\n");
    148164#endif
    149165#ifdef HAVE_FEREAD
    150               printf("SRL,");
     166              printf("\temulated libreadline,\n");
    151167#endif
    152168#ifdef TEST
    153               printf("TESTs,");
     169              printf("\tTESTs,\n");
    154170#endif
    155171#if YYDEBUG
    156               printf("YYDEBUG,");
     172              printf("\tYYDEBUG=1,\n");
    157173#endif
    158174#ifdef MDEBUG
    159               printf("MDEBUG=%d,",MDEBUG);
     175              printf("\tMDEBUG=%d,\n",MDEBUG);
    160176#endif
    161177#ifndef __OPTIMIZE__
    162               printf("-g,");
    163 #endif
    164               printf("random=%d\n",siRandomStart);
     178              printf("\t-g,\n");
     179#endif
     180              printf("\trandom=%d\n",siRandomStart);
    165181#ifdef MSDOS
    166182              char *p=getenv("SPATH");
Note: See TracChangeset for help on using the changeset viewer.