Changeset 0c26a1 in git
- Timestamp:
- Oct 15, 2021, 4:09:30 PM (2 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 3551885a5d35f5d806aa9a27ec225b51933cd05c
- Parents:
- 69185ceb2807ebeacfe2824621e4b70e2ed19642
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r69185ce r0c26a1 1 AC_INIT([singular], [4.2.1],[singular@mathematik.uni-kl.de])1 AC_INIT([singular], [4.2.1], [singular@mathematik.uni-kl.de]) 2 2 3 3 AC_SUBST([VERSION_DATE], 2021) … … 11 11 AC_CONFIG_SRCDIR([Singular/tesths.cc]) 12 12 13 AC_CONFIG_HEADER S([_config.h])13 AC_CONFIG_HEADER([_config.h]) 14 14 # Add pre'prefixed config 15 15 AX_PREFIX_CONFIG_H([singularconfig.h],[],[_config.h]) … … 43 43 AC_PROG_INSTALL 44 44 45 # Autoupdate added the next two lines to ensure that your configure 46 # script's behavior did not change. They are probably safe to remove. 47 AC_CHECK_INCLUDES_DEFAULT 48 AC_PROG_EGREP 49 45 AC_HEADER_STDC 50 46 AC_CHECK_HEADERS(unistd.h iostream.h sys/time.h sys/times.h asm/sigcontext.h) 51 47 -
factory/configure.ac
r69185ce r0c26a1 13 13 # - initialisation. 14 14 # 15 AC_INIT([factory], [4.2.1])15 AC_INIT([factory], [4.2.1]) 16 16 AC_CONFIG_SRCDIR(canonicalform.cc) 17 17 AC_CONFIG_MACRO_DIR([../m4]) 18 18 AC_CONFIG_AUX_DIR([../build-aux]) 19 AC_CONFIG_HEADER S([_config.h])19 AC_CONFIG_HEADER([_config.h]) 20 20 21 21 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules … … 228 228 #AC_CACHE_VAL(ac_cv_shift, 229 229 # [ LDFLAGS="-L$explicit_libdir $LDFLAGS" 230 # AC_RUN_IFELSE([AC_LANG_SOURCE([[# int main() { if (-2 >> 1 == -1) return(0); else return(1); } ]])],[# ac_cv_shift=yes],[ac_cv_shift=no],[ac_cv_shift=yes]) ]) 230 # AC_TRY_RUN( 231 # [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 232 # ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ]) 231 233 #if test "x$ac_cv_shift" = xyes; then 232 234 # AC_MSG_RESULT(yes) … … 238 240 # - check for header files. 239 241 # 240 AC_LANG ([C++])242 AC_LANG_CPLUSPLUS 241 243 AC_LANG_PUSH([C++]) 242 244 … … 271 273 # use C to check compiler characteristics instead of C++. On 272 274 # nextstep, checking with C++ may fail. 273 # AC_LANG ([C])275 # AC_LANG_C 274 276 275 277 # cross-compiling ?! 276 # 278 #AC_C_CROSS 277 279 #if test "x$cross_compiling" = xyes; then 278 280 # AC_MSG_WARN([you better specify a cache file to get the values for … … 311 313 # 312 314 #AC_LANG_SAVE 313 #AC_LANG ([C++])315 #AC_LANG_CPLUSPLUS 314 316 # check whether CXX accepts -fno-rtti 315 317 #AC_MSG_CHECKING(whether gcc accepts -fno-rtti) … … 317 319 #CXXFLAGS="${CXXFLAGS}" 318 320 #AC_CACHE_VAL(ac_cv_cxx_have_rtti, 319 #AC_ COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[ac_cv_cxx_have_rtti=yes],[ac_cv_cxx_have_rtti=no])321 #AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) 320 322 #) 321 323 #AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) … … 328 330 #CXXFLAGS="${CXXFLAGS} -fno-exceptions" 329 331 #AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 330 #AC_ LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[ac_cv_cxx_have_exceptions=yes],[ac_cv_cxx_have_exceptions=no])332 #AC_TRY_LINK(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) 331 333 #) 332 334 #AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) -
gfanlib/configure.ac
r69185ce r0c26a1 2 2 # Process this file with autoconf to produce a configure script. 3 3 4 AC_PREREQ([2. 71])5 AC_INIT([libgfan], [0.6],[ren@mathematik.uni-kl.de])4 AC_PREREQ([2.63]) 5 AC_INIT([libgfan], [0.6], [ren@mathematik.uni-kl.de]) 6 6 AC_CONFIG_MACRO_DIR([../m4]) 7 7 AC_CONFIG_AUX_DIR([../build-aux]) 8 8 AC_CONFIG_SRCDIR([gfanlib.h]) 9 AC_CONFIG_HEADER S([_config.h])9 AC_CONFIG_HEADER([_config.h]) 10 10 11 11 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules … … 33 33 34 34 # Checks for header files. 35 # Autoupdate added the next two lines to ensure that your configure 36 # script's behavior did not change. They are probably safe to remove. 37 AC_CHECK_INCLUDES_DEFAULT 38 AC_PROG_EGREP 39 35 AC_HEADER_STDC 40 36 41 37 # Checks for typedefs, structures, and compiler characteristics. -
libpolys/configure.ac
r69185ce r0c26a1 1 AC_INIT([libpolys], [4.2.1])1 AC_INIT([libpolys], [4.2.1]) 2 2 3 3 AC_CONFIG_MACRO_DIR([../m4]) 4 4 AC_CONFIG_AUX_DIR([../build-aux]) 5 5 AC_CONFIG_SRCDIR([reporter/reporter.h]) 6 AC_CONFIG_HEADER S([_config.h])6 AC_CONFIG_HEADER([_config.h]) 7 7 8 8 AM_MAINTAINER_MODE([enable]) … … 62 62 63 63 # Checks for header files. 64 # Autoupdate added the next two lines to ensure that your configure 65 # script's behavior did not change. They are probably safe to remove. 66 AC_CHECK_INCLUDES_DEFAULT 67 AC_PROG_EGREP 68 69 # Autoupdate added the next two lines to ensure that your configure 70 # script's behavior did not change. They are probably safe to remove. 71 AC_CHECK_INCLUDES_DEFAULT 72 AC_PROG_EGREP 73 64 AC_HEADER_STDC 65 AC_STDC_HEADERS 74 66 AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h limits.h float.h execinfo.h]) 75 67 -
m4/ax_append_flag.m4
r69185ce r0c26a1 53 53 54 54 AC_DEFUN([AX_APPEND_FLAG], 55 [AC_PREREQ( [2.71])dnl for _AC_LANG_PREFIX55 [AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX 56 56 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])dnl 57 57 AS_VAR_SET_IF(FLAGS, -
m4/ax_check_compile_flag.m4
r69185ce r0c26a1 57 57 58 58 AC_DEFUN([AX_CHECK_COMPILE_FLAG], 59 [AC_PREREQ( [2.71])dnl for _AC_LANG_PREFIX59 [AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX 60 60 AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl 61 61 AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ -
m4/ax_cxx_gcc_abi_demangle.m4
r69185ce r0c26a1 30 30 ax_cv_cxx_gcc_abi_demangle, 31 31 [AC_LANG_SAVE 32 AC_LANG ([C++])33 AC_ COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <typeinfo>32 AC_LANG_CPLUSPLUS 33 AC_TRY_COMPILE([#include <typeinfo> 34 34 #include <cxxabi.h> 35 35 #include <string> … … 37 37 template<typename TYPE> 38 38 class A {}; 39 ] ], [[A<int> instance;39 ],[A<int> instance; 40 40 int status = 0; 41 41 char* c_name = 0; … … 47 47 48 48 return name == "A<int>"; 49 ]])],[ax_cv_cxx_gcc_abi_demangle=yes],[ax_cv_cxx_gcc_abi_demangle=no]) 49 ], 50 ax_cv_cxx_gcc_abi_demangle=yes, ax_cv_cxx_gcc_abi_demangle=no) 50 51 AC_LANG_RESTORE 51 52 ]) -
m4/ax_prog_cc_for_build.m4
r69185ce r0c26a1 45 45 pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl 46 46 pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl 47 pushdef([ac_cv_ c_compiler_gnu], ac_cv_build_prog_gcc)dnl47 pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl 48 48 pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl 49 49 pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl … … 122 122 popdef([ac_cv_prog_cc_works])dnl 123 123 popdef([ac_cv_prog_cc_c89])dnl 124 popdef([ac_cv_ c_compiler_gnu])dnl124 popdef([ac_cv_prog_gcc])dnl 125 125 popdef([ac_cv_prog_CPP])dnl 126 126 -
m4/ax_prog_cxx_for_build.m4
r69185ce r0c26a1 44 44 dnl 45 45 pushdef([ac_cv_prog_CXXCPP], ac_cv_build_prog_CXXCPP)dnl 46 pushdef([ac_cv_ cxx_compiler_gnu], ac_cv_build_prog_gxx)dnl46 pushdef([ac_cv_prog_gxx], ac_cv_build_prog_gxx)dnl 47 47 pushdef([ac_cv_prog_cxx_works], ac_cv_build_prog_cxx_works)dnl 48 48 pushdef([ac_cv_prog_cxx_cross], ac_cv_build_prog_cxx_cross)dnl … … 101 101 popdef([ac_cv_prog_cxx_cross])dnl 102 102 popdef([ac_cv_prog_cxx_works])dnl 103 popdef([ac_cv_ cxx_compiler_gnu])dnl103 popdef([ac_cv_prog_gxx])dnl 104 104 popdef([ac_cv_prog_CXXCPP])dnl 105 105 -
m4/flint-check.m4
r69185ce r0c26a1 53 53 LIBS="${FLINT_LIBS} ${GMP_LIBS} ${BACKUP_LIBS}" 54 54 55 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <flint/fmpz.h> 56 ]], [[fmpz_t x; fmpz_init(x);]])],[ 55 AC_TRY_LINK([#include <flint/fmpz.h> 56 ], 57 [fmpz_t x; fmpz_init(x);], [ 57 58 flint_found="yes" 58 59 break 59 ] ,[])60 ]) 60 61 done 61 62 -
m4/gmp-check.m4
r69185ce r0c26a1 32 32 CFLAGS="${GMP_CPPFLAGS} ${BACKUP_CFLAGS}" 33 33 LIBS=" ${GMP_LIBS} ${BACKUP_LIBS}" 34 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gmp.h> 35 ]], [[mpz_t a; mpz_init (a);]])],[ 34 AC_TRY_LINK([#include <gmp.h> 35 ], 36 [mpz_t a; mpz_init (a);], [ 36 37 gmp_found=yes 37 38 break 38 ] ,[])39 ]) 39 40 done 40 41 if test "$gmp_found" != yes; then -
m4/google-perftools.m4
r69185ce r0c26a1 23 23 ac_google_perfdir='no' 24 24 AC_ARG_WITH(google-perftools, 25 AS_HELP_STRING([--with-google-perftools=DIR],[location of a google perftools installation (default none)]), 25 AC_HELP_STRING([--with-google-perftools=DIR], 26 [location of a google perftools installation (default none)]), 26 27 ac_google_perfdir=$withval) 27 28 28 29 AC_ARG_ENABLE(google-profiling, 29 AS_HELP_STRING([--enable-google-profiling],[compile with google profiling]), 30 AC_HELP_STRING([--enable-google-profiling], 31 [compile with google profiling]), 30 32 [google_profile=$enableval], 31 33 [google_profile=no]) -
m4/pipe-check.m4
r69185ce r0c26a1 14 14 CFLAGS="${CFLAGS} -pipe" 15 15 AC_CACHE_VAL(ac_cv_cxx_have_pipe, 16 AC_ COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[ac_cv_cxx_have_pipe=yes],[ac_cv_cxx_have_pipe=no]))16 AC_TRY_COMPILE(,,ac_cv_cxx_have_pipe=yes,ac_cv_cxx_have_pipe=no)) 17 17 AC_MSG_RESULT(${ac_cv_cxx_have_pipe}) 18 18 CFLAGS=${temp_cflags} -
m4/readline-check.m4
r69185ce r0c26a1 35 35 if test "$with_readline" != dynamic && test "$with_readline" != no; then 36 36 AC_LANG_SAVE 37 AC_LANG ([C++])37 AC_LANG_CPLUSPLUS 38 38 AC_CHECK_LIB(readline, readline) 39 39 AC_CHECK_HEADERS(readline/readline.h readline/history.h) … … 42 42 AC_MSG_CHECKING(whether readline.h is ok) 43 43 AC_CACHE_VAL(ac_cv_header_readline_readline_h_ok, 44 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include<unistd.h> 44 AC_TRY_LINK( 45 #include<unistd.h> 45 46 #include<stdio.h> 46 47 #include<readline/readline.h> … … 48 49 #include<readline/history.h> 49 50 #endif 50 ]], [[]])],[ac_cv_header_readline_readline_h_ok="yes"],[ac_cv_header_readline_readline_h_ok="no"])) 51 , 52 , 53 ac_cv_header_readline_readline_h_ok="yes", 54 ac_cv_header_readline_readline_h_ok="no", 55 )) 51 56 AC_MSG_RESULT($ac_cv_header_readline_readline_h_ok) 52 57 if test "$ac_cv_header_readline_readline_h_ok" != yes; then … … 54 59 AC_MSG_CHECKING(whether or not we nevertheless can use readline) 55 60 AC_CACHE_VAL(ac_cv_have_readline, 56 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> 61 AC_TRY_LINK( 62 #include <stdio.h> 57 63 extern "C" 58 64 { … … 72 78 #define NULL 0 73 79 #endif 74 ]], [[rl_readline_name=NULL; 80 , 81 rl_readline_name=NULL; 75 82 *rl_line_buffer=1; 76 83 completion_matches(NULL, filename_completion_function); … … 81 88 read_history(NULL); 82 89 write_history(NULL); 83 ]])],[ac_cv_have_readline="yes" 84 ],[ac_cv_have_readline="no" 85 ])) 90 , 91 ac_cv_have_readline="yes" 92 , 93 ac_cv_have_readline="no" 94 )) 86 95 AC_MSG_RESULT($ac_cv_have_readline) 87 96 else -
omalloc/configure.ac
r69185ce r0c26a1 11 11 AC_CONFIG_AUX_DIR([../build-aux]) 12 12 AC_CONFIG_SRCDIR(om_Alloc.c) 13 AC_CONFIG_HEADER S([_config.h])13 AC_CONFIG_HEADER([_config.h]) 14 14 15 15 AC_PROG_CC … … 155 155 dnl header file checks 156 156 dnl 157 AC_HEADER_STDC 157 158 AC_CHECK_HEADERS(limits.h,, 158 159 AC_MSG_ERROR(Can not compile without limits.h)) … … 216 217 AC_MSG_CHECKING(whether mmap works) 217 218 AC_CACHE_VAL(ac_cv_working_mmap, 218 AC_ RUN_IFELSE([AC_LANG_SOURCE([[219 AC_TRY_RUN([ 219 220 #include <stdlib.h> 220 221 #include "omMmap.c" … … 225 226 exit(1); 226 227 exit(omVfreeMmap(addr, 128*${ac_cv_pagesize})); 227 }] ])],[ac_cv_working_mmap=yes],[ac_cv_working_mmap=no],[ac_cv_working_mmap=no]))228 }], ac_cv_working_mmap=yes, ac_cv_working_mmap=no, ac_cv_working_mmap=no)) 228 229 AC_MSG_RESULT($ac_cv_working_mmap) 229 230 if test "$ac_cv_working_mmap" = yes; then … … 236 237 dnl 237 238 AC_CACHE_CHECK(whether alignment needs to be strict, ac_cv_align_need_strict, 238 AC_ RUN_IFELSE([AC_LANG_SOURCE([[239 AC_TRY_RUN([ 239 240 #include <stdlib.h> 240 241 int main() … … 248 249 else exit(0); 249 250 } 250 ] ])],[ac_cv_align_need_strict=no],[ac_cv_align_need_strict=yes],[ac_cv_align_need_strict=yes]))251 ], ac_cv_align_need_strict=no, ac_cv_align_need_strict=yes, ac_cv_align_need_strict=yes)) 251 252 252 253 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll … … 310 311 AC_MSG_RESULT( (cached) yes) 311 312 else 312 AC_ RUN_IFELSE([AC_LANG_SOURCE([[313 AC_TRY_RUN([ 313 314 #include <stdlib.h> 314 315 #include "$OM_MALLOC_HEADER" … … 325 326 exit(0); 326 327 } 327 ] ])],[ac_cv_working_valloc="${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}"],[ac_cv_working_valloc=no],[ac_cv_working_valloc=no])328 ], ac_cv_working_valloc="${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}", ac_cv_working_valloc=no, ac_cv_working_valloc=no) 328 329 if test "${ac_cv_working_valloc}" = no; then 329 330 AC_MSG_RESULT(no) … … 434 435 AC_MSG_CHECKING(whether GET_RET_ADDR works) 435 436 AC_CACHE_VAL(ac_cv_get_return_addr_works, 436 AC_ RUN_IFELSE([AC_LANG_SOURCE([[437 AC_TRY_RUN([ 437 438 #include <stdlib.h> 438 439 #define OM_GET_RETURN_ADDR_WORKS 1 … … 448 449 exit(! test_return_addr()); 449 450 } 450 ]])],[ac_cv_get_return_addr_works=yes],[ac_cv_get_return_addr_works=no],[ac_cv_get_return_addr_works=no])) 451 ], ac_cv_get_return_addr_works=yes, 452 ac_cv_get_return_addr_works=no, 453 ac_cv_get_return_addr_works=no)) 451 454 AC_MSG_RESULT($ac_cv_get_return_addr_works) 452 455 if test "$ac_cv_get_return_addr_works" = yes; then … … 456 459 AC_MSG_CHECKING(whether omGetBackTrace works) 457 460 AC_CACHE_VAL(ac_cv_get_backtrace_works, 458 AC_ RUN_IFELSE([AC_LANG_SOURCE([[461 AC_TRY_RUN([ 459 462 #include <stdio.h> 460 463 #include <stdlib.h> … … 480 483 else exit(i+10); 481 484 } 482 ]])],[ac_cv_get_backtrace_works=yes],[ac_cv_get_backtrace_works=no],[ac_cv_get_backtrace_works=no])) 485 ], ac_cv_get_backtrace_works=yes, 486 ac_cv_get_backtrace_works=no, 487 ac_cv_get_backtrace_works=no)) 483 488 AC_MSG_RESULT($ac_cv_get_backtrace_works) 484 489 if test "$ac_cv_get_backtrace_works" = yes; then … … 496 501 AC_MSG_CHECKING(whether addr2line works) 497 502 AC_CACHE_VAL(ac_cv_prog_addr2line_works, 498 AC_ RUN_IFELSE([AC_LANG_SOURCE([[503 AC_TRY_RUN([ 499 504 #include <stdlib.h> 500 505 #define OM_GET_RETURN_ADDR_WORKS 1 … … 524 529 else exit (i+10); 525 530 } 526 ]])],[ac_cv_prog_addr2line_works=yes],[ac_cv_prog_addr2line_works=no],[ac_cv_prog_addr2line_works=no])) 531 ], ac_cv_prog_addr2line_works=yes, 532 ac_cv_prog_addr2line_works=no, 533 ac_cv_prog_addr2line_works=no)) 527 534 AC_MSG_RESULT($ac_cv_prog_addr2line_works) 528 535 … … 576 583 577 584 AC_MSG_CHECKING(return type of sbrk) 578 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define __USE_MISC 585 AC_TRY_LINK( 586 #define __USE_MISC 579 587 #include <unistd.h> 580 ]], [[void *sbrk(); 581 ]])],[AC_DEFINE(Void_t,void,"Type of void")],[AC_DEFINE(Void_t,char,"Type of void")]) 588 , 589 void *sbrk(); 590 , 591 AC_DEFINE(Void_t,void,"Type of void"), 592 AC_DEFINE(Void_t,char,"Type of void"), 593 ) 582 594 AC_MSG_RESULT(Void_t) 583 595 -
resources/configure.ac
r69185ce r0c26a1 1 AC_INIT([singular_resources], [4.2.1])1 AC_INIT([singular_resources], [4.2.1]) 2 2 3 3 AC_CONFIG_MACRO_DIR([../m4]) 4 4 AC_CONFIG_AUX_DIR([../build-aux]) 5 5 AC_CONFIG_SRCDIR([omFindExec.h]) 6 AC_CONFIG_HEADER S([_config.h])6 AC_CONFIG_HEADER([_config.h]) 7 7 8 8 AM_MAINTAINER_MODE([enable]) … … 27 27 AC_PROG_INSTALL 28 28 29 # Autoupdate added the next two lines to ensure that your configure 30 # script's behavior did not change. They are probably safe to remove. 31 AC_CHECK_INCLUDES_DEFAULT 32 AC_PROG_EGREP 33 29 AC_HEADER_STDC 34 30 AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h sys/stat.h sys/types.h]) 35 31 AC_CHECK_FUNCS(readlink getcwd getwd getpwnam setenv putenv) -
resources/omFindExec.c
r69185ce r0c26a1 10 10 11 11 12 #if defined(HAVE_UNISTD_H) 12 #if defined(HAVE_UNISTD_H) && defined(STDC_HEADERS) 13 13 14 14 #ifdef HAVE_UNISTD_H … … 317 317 } 318 318 319 #endif /* defined(HAVE_UNISTD_H) */319 #endif /* defined(HAVE_UNISTD_H) && defined(STDC_HEADERS) */
Note: See TracChangeset
for help on using the changeset viewer.