source: git/libpolys/configure.ac @ 8184703

spielwiese
Last change on this file since 8184703 was 8184703, checked in by Bradford Hovinen <hovinen@…>, 13 years ago
* Remove references to libpolys/m4 * Add AC_CONFIG_AUX_DIR([.]) to libpolys/configure.ac
  • Property mode set to 100644
File size: 1.5 KB
Line 
1AC_INIT([singular], [3.1.2.sw])
2AC_CONFIG_MACRO_DIR([../m4])
3AC_CONFIG_AUX_DIR([.])
4AC_CONFIG_SRCDIR([reporter/reporter.h])
5AC_CONFIG_HEADER([config.h])
6AM_INIT_AUTOMAKE
7
8# misc/auxiliary.h
9
10# Checks for programs.
11AC_PROG_CXX
12AC_PROG_CC
13AC_PROG_LN_S
14AC_PROG_INSTALL
15AM_PROG_CC_C_O
16AC_LIBTOOL_DLOPEN
17AC_PROG_LIBTOOL
18
19# Checks for libraries.
20LB_CHECK_GMP(,,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)]))
21
22# Checks for library functions.
23AC_FUNC_ERROR_AT_LINE
24AC_CHECK_FUNCS([memmove memset pow sqrt strchr])
25AC_FUNC_VPRINTF
26AC_FUNC_MALLOC
27AC_CHECK_FUNC([vsnprintf], [AC_DEFINE([HAVE_VSNPRINTF], [1],
28                               [Define if vsnprintf exists.])])
29
30# Checks for header files.
31AC_HEADER_STDC
32AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h limits.h float.h])
33
34# Checks for typedefs, structures, and compiler characteristics.
35AC_C_CONST
36AC_C_INLINE
37AC_HEADER_STDBOOL
38AC_TYPE_SIZE_T
39
40SING_CHECK_PIPE
41
42# check for cpu properties
43AC_CHECK_SIZEOF(long,4)
44SING_CHECK_CPU
45
46#check for host:
47AC_CANONICAL_HOST
48case $host_os in
49  *cygwin* ) LIBPREFIX="-Xlinker -Bdynamic";;
50  * ) LIBPREFIX="";;
51esac
52
53SING_CHECK_P_PROCS
54
55AC_SUBST(LIBPREFIX)
56
57AC_CONFIG_FILES([Makefile])
58AC_CONFIG_FILES([misc/Makefile])
59AC_CONFIG_FILES([reporter/Makefile])
60AC_CONFIG_FILES([resources/Makefile])
61AC_CONFIG_FILES([coeffs/Makefile])
62AC_CONFIG_FILES([polys/Makefile])
63AC_CONFIG_FILES([tests/Makefile])
64AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.