4 #ifndef INCL_FACTORYCONF_H
5 #define INCL_FACTORYCONF_H
24 #ifndef _FACTORY_CONFIG_H
25 #define _FACTORY_CONFIG_H 1
34 #define CF_USE_INLINE 1
41 #ifndef DISABLE_GMP_CPP
42 #define DISABLE_GMP_CPP 1
46 #ifndef FACTORYCONFIGURATION
47 #define FACTORYCONFIGURATION "' '--disable-option-checking' '--prefix=/usr' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--bindir=/usr/lib64/Singular' '--disable-silent-rules' '--disable-optimizationflags' '--disable-static' '--enable-p-procs-dynamic' '--enable-gfanlib' '--enable-polymake' '--disable-python_module' '--enable-streamio' '--with-gmp' '--with-ntl' '--with-flint' '--with-mathicgb' '--without-python' '--with-readline' '--disable-doc' '--with-malloc=system' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-delete-null-pointer-checks' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-I/usr/include/flint -I/usr/include/gfanlib' 'CXX=g++' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-delete-null-pointer-checks' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' '--enable-omalloc' 'OMALLOC_LIBS=/builddir/build/BUILD/singular-4.1.1/omalloc/libomalloc.la' 'OMALLOC_INCLUDES=-I/builddir/build/BUILD/singular-4.1.1' '--with-Singular' 'RESOURCES_LIBS=/builddir/build/BUILD/singular-4.1.1/resources/libsingular_resources.la' 'RESOURCES_INCLUDES=-I/builddir/build/BUILD/singular-4.1.1 ' 'FACTORY_LIBS=/builddir/build/BUILD/singular-4.1.1/factory/libfactory.la' 'FACTORY_INCLUDES=-I/builddir/build/BUILD/singular-4.1.1 -I/builddir/build/BUILD/singular-4.1.1/factory/include' '--cache-file=/dev/null' '--srcdir=.'' in /builddir/build/BUILD/singular-4.1.1/factory"
51 #ifndef FACTORYVERSION
52 #define FACTORYVERSION "4.1.1"
65 #define HAVE_CTYPE_H 1
70 #define HAVE_DLFCN_H 1
75 #define HAVE_ERRNO_H 1
85 #define HAVE_FSTREAM 1
97 #ifndef HAVE_INTTYPES_H
98 #define HAVE_INTTYPES_H 1
102 #ifndef HAVE_IOSTREAM
103 #define HAVE_IOSTREAM 1
116 #define HAVE_MATH_H 1
126 #define HAVE_OMALLOC 1
130 #ifndef HAVE_OMALLOC_OMALLOC_H
131 #define HAVE_OMALLOC_OMALLOC_H 1
135 #ifndef HAVE_SIGNAL_H
136 #define HAVE_SIGNAL_H 1
140 #ifndef HAVE_STDARG_H
141 #define HAVE_STDARG_H 1
145 #ifndef HAVE_STDINT_H
146 #define HAVE_STDINT_H 1
151 #define HAVE_STDIO_H 1
155 #ifndef HAVE_STDLIB_H
156 #define HAVE_STDLIB_H 1
161 #define HAVE_STRING 1
165 #ifndef HAVE_STRINGS_H
166 #define HAVE_STRINGS_H 1
170 #ifndef HAVE_STRING_H
171 #define HAVE_STRING_H 1
181 #ifndef HAVE_SYS_STAT_H
182 #define HAVE_SYS_STAT_H 1
189 #ifndef HAVE_SYS_TYPES_H
190 #define HAVE_SYS_TYPES_H 1
195 #define HAVE_TIME_H 1
199 #ifndef HAVE_UNISTD_H
200 #define HAVE_UNISTD_H 1
205 #define LT_OBJDIR ".libs/"
221 #define PACKAGE "factory"
225 #ifndef PACKAGE_BUGREPORT
226 #define PACKAGE_BUGREPORT ""
231 #define PACKAGE_NAME "factory"
235 #ifndef PACKAGE_STRING
236 #define PACKAGE_STRING "factory 4.1.1"
240 #ifndef PACKAGE_TARNAME
241 #define PACKAGE_TARNAME "factory"
246 #define PACKAGE_URL ""
250 #ifndef PACKAGE_VERSION
251 #define PACKAGE_VERSION "4.1.1"
260 #ifndef SINGULAR_CFLAGS
261 #define SINGULAR_CFLAGS "-DSING_NDEBUG -DOM_NDEBUG"
266 #define SING_NDEBUG 1
271 #define SIZEOF_LONG 8
278 #define STDC_HEADERS 1
286 #define VERSION "4.1.1"
314 #if defined (SING_NDEBUG) && ! defined (NOASSERT)
359 #define __ASSERT(expression, message, file, line) \
360 (fprintf( stderr, "error: " message "\n%s:%u: failed assertion `%s'\n", \
361 file, line, expression ), abort(), 0 )
362 #define __ASSERT1(expression, message, parameter1, file, line) \
363 (fprintf( stderr, "error: " message "\n%s:%u: failed assertion `%s'\n", \
364 parameter1, file, line, expression ), abort(), 0 )
366 #define STICKYASSERT(expression, message) \
367 ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__)))
368 #define STICKYASSERT1(expression, message, parameter1) \
369 ((void)((expression) ? 0 : __ASSERT1(#expression, message, parameter1, __FILE__, __LINE__)))
371 #define __WARN(expression, message, file, line) \
372 (fprintf( stderr, "warning: " message "\n%s:%u: failed assertion `%s'\n", \
373 file, line, expression ), 0 )
374 #define STICKYWARN(expression, message) \
375 ((void)((expression) ? 0 : __WARN(#expression, message, __FILE__, __LINE__)))
378 #define __ASSERT(expression, message, file, line, function) \
379 (fprintf( stderr, "error: " message "\n%s:%u: In function `%s':\nfailed assertion `%s'\n", \
380 file, line, function, expression ), abort(), 0 )
381 #define __ASSERT1(expression, message, parameter1, file, line, function) \
382 (fprintf( stderr, "error: " message "\n%s:%u: In function `%s':\nfailed assertion `%s'\n", \
383 parameter1, file, line, function, expression ), abort(), 0 )
385 #define STICKYASSERT(expression, message) \
386 ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__, __PRETTY_FUNCTION__)))
387 #define STICKYASSERT1(expression, message, parameter1) \
388 ((void)((expression) ? 0 : __ASSERT1(#expression, message, parameter1, __FILE__, __LINE__, __PRETTY_FUNCTION__)))
390 #define __WARN(expression, message, file, line, function) \
391 (fprintf( stderr, "warning: " message "\n%s:%u: In function `%s':\nfailed assertion `%s'\n", \
392 file, line, function, expression ), 0 )
393 #define STICKYWARN(expression, message) \
394 ((void)((expression) ? 0 : __WARN(#expression, message, __FILE__, __LINE__, __PRETTY_FUNCTION__)))
401 #define ASSERT(expression, message) \
402 ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__)))
403 #define ASSERT1(expression, message, parameter1) \
404 ((void)((expression) ? 0 : __ASSERT1(#expression, message, parameter1, __FILE__, __LINE__)))
406 #define WARN(expression, message) \
407 ((void)((expression) ? 0 : __WARN(#expression, message, __FILE__, __LINE__)))
410 #define ASSERT(expression, message) \
411 ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__, __PRETTY_FUNCTION__)))
412 #define ASSERT1(expression, message, parameter1) \
413 ((void)((expression) ? 0 : __ASSERT1(#expression, message, parameter1, __FILE__, __LINE__, __PRETTY_FUNCTION__)))
415 #define WARN(expression, message) \
416 ((void)((expression) ? 0 : __WARN(#expression, message, __FILE__, __LINE__, __PRETTY_FUNCTION__)))
419 #define PVIRT_VOID(msg) \
420 { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); }
421 #define PVIRT_INTCF(msg) \
422 { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return 0; }
423 #define PVIRT_BOOL(msg) \
424 { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return false; }
425 #define PVIRT_INT(msg) \
426 { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return 0; }
427 #define PVIRT_CHARCC(msg) \
428 { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return 0; }
430 #define ASSERT(expression, message) do {} while (0)
431 #define ASSERT1(expression, message, parameter1) do {} while (0)
433 #define WARN(expression, message) do {} while (0)
435 #define PVIRT_VOID(msg) = 0
436 #define PVIRT_INTCF(msg) = 0
437 #define PVIRT_BOOL(msg) = 0
438 #define PVIRT_INT(msg) = 0
439 #define PVIRT_CHARCC(msg) = 0