jengelh-datetimespielwiese
Last change
on this file since 151a06 was
151a06,
checked in by Oleksandr Motsak <motsak@…>, 12 years ago
|
ADD: Singular/ is under automake now!!!
CHG: saved the remains of the old build system to *.SAVE
ADD: symlinked "MOD/" in kernel and Singular
|
-
Property mode set to
100755
|
File size:
1.5 KB
|
Line | |
---|
1 | AC_INIT([singular], [3.1.2.sw]) |
---|
2 | |
---|
3 | AC_CONFIG_MACRO_DIR([m4]) |
---|
4 | AC_CONFIG_AUX_DIR([.]) |
---|
5 | |
---|
6 | AC_CONFIG_SRCDIR([Singular/tesths.cc]) |
---|
7 | |
---|
8 | AC_CONFIG_HEADER([config.h]) |
---|
9 | |
---|
10 | AM_MAINTAINER_MODE |
---|
11 | AM_INIT_AUTOMAKE |
---|
12 | |
---|
13 | |
---|
14 | dnl Check if build env is sane |
---|
15 | AM_SANITY_CHECK |
---|
16 | |
---|
17 | LT_INIT([shared]) |
---|
18 | |
---|
19 | AC_PROG_CC |
---|
20 | AC_PROG_CXX |
---|
21 | AM_PROG_CC_C_O |
---|
22 | AC_PROG_LN_S |
---|
23 | AC_PROG_INSTALL |
---|
24 | # AC_PROG_RANLIB |
---|
25 | |
---|
26 | # Checks for libraries. |
---|
27 | LB_CHECK_GMP(3.1.1,,AC_MSG_ERROR([Unable to find GMP on your machine: please use --with-gmp=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)])) |
---|
28 | LB_CHECK_NTL(5.0,,AC_MSG_WARN([Unable to find NTL (which is strongly recommended) on your machine: please use --with-ntl=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)])) |
---|
29 | |
---|
30 | AC_FUNC_ERROR_AT_LINE |
---|
31 | AC_FUNC_MALLOC |
---|
32 | |
---|
33 | SING_CHECK_PIPE |
---|
34 | |
---|
35 | # check for cpu properties |
---|
36 | AC_CHECK_SIZEOF(long,4) |
---|
37 | SING_CHECK_CPU |
---|
38 | |
---|
39 | #check for host: |
---|
40 | AC_CANONICAL_HOST |
---|
41 | case $host_os in |
---|
42 | *cygwin* ) LIBPREFIX="-Xlinker -Bdynamic";; |
---|
43 | * ) LIBPREFIX="";; |
---|
44 | esac |
---|
45 | |
---|
46 | |
---|
47 | SING_CHECK_P_PROCS |
---|
48 | SING_CHECK_FACTORY |
---|
49 | |
---|
50 | ### the following is needed due to the use of om_sing_opt_show_mem in misc_ip.cc... |
---|
51 | #ac_configure_args="$ac_configure_args --with-external-config_h=../Singular/omSingularConfig.h" |
---|
52 | |
---|
53 | AC_CONFIG_SUBDIRS(omalloc) |
---|
54 | |
---|
55 | if test x$ENABLE_FACTORY = xyes; then |
---|
56 | AC_CONFIG_SUBDIRS(factory) |
---|
57 | fi |
---|
58 | |
---|
59 | AC_CONFIG_SUBDIRS(libpolys) |
---|
60 | |
---|
61 | AC_CONFIG_FILES([Makefile]) |
---|
62 | AC_CONFIG_FILES([kernel/Makefile]) |
---|
63 | AC_CONFIG_FILES([numeric/Makefile]) |
---|
64 | AC_CONFIG_FILES([Singular/Makefile]) |
---|
65 | |
---|
66 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.