Changeset 43d6c5 in git for Singular/tesths.cc
- Timestamp:
- May 6, 1997, 7:53:37 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 48940847a1b0e2d4294c448c19817e02d80d0888
- Parents:
- 8a9b23c23d78e12906d674092784d58ff081667b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/tesths.cc
r8a9b23c r43d6c5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: tesths.cc,v 1.1 1 1997-05-02 07:44:46Singular Exp $ */4 /* $Id: tesths.cc,v 1.12 1997-05-06 17:53:37 Singular Exp $ */ 5 5 6 6 /* … … 27 27 #include "timer.h" 28 28 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 38 extern "C" { 39 #include <gmp.h> 40 } 41 #endif 42 #ifdef HAVE_MPSR 43 #include <MP_Config.h> 44 #endif 29 45 30 46 /*0 implementation*/ … … 122 138 S_VERSION1,S_VERSION2, 123 139 SINGULAR_VERSION_ID,__DATE__,__TIME__); 124 printf("with 140 printf("with\n"); 125 141 #ifdef HAVE_FACTORY 126 printf(" factory,");127 #endif 128 #ifdef HAVE_ FACTORY129 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); 130 146 #endif 131 147 #ifdef SRING 132 printf(" super algebra,");148 printf("\tsuper algebra,\n"); 133 149 #endif 134 150 #ifdef DRING 135 printf(" Weyl algebra,");151 printf("\tWeyl algebra,\n"); 136 152 #endif 137 153 #ifdef HAVE_GMP 138 printf(" GMP,");154 printf("\tGMP(%d.%d),\n",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR); 139 155 #endif 140 156 #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); 145 161 #endif 146 162 #if defined(HAVE_READLINE) && !defined(FEREAD) 147 printf(" RL,");163 printf("\tlibreadline,\n"); 148 164 #endif 149 165 #ifdef HAVE_FEREAD 150 printf(" SRL,");166 printf("\temulated libreadline,\n"); 151 167 #endif 152 168 #ifdef TEST 153 printf(" TESTs,");169 printf("\tTESTs,\n"); 154 170 #endif 155 171 #if YYDEBUG 156 printf(" YYDEBUG,");172 printf("\tYYDEBUG=1,\n"); 157 173 #endif 158 174 #ifdef MDEBUG 159 printf(" MDEBUG=%d,",MDEBUG);175 printf("\tMDEBUG=%d,\n",MDEBUG); 160 176 #endif 161 177 #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); 165 181 #ifdef MSDOS 166 182 char *p=getenv("SPATH");
Note: See TracChangeset
for help on using the changeset viewer.