source: git/gfanlib/configure.ac @ 26b713

fieker-DuValspielwiese
Last change on this file since 26b713 was 26b713, checked in by Yue Ren <ren@…>, 11 years ago
chg: updated gfanlib package to newest version in master
  • Property mode set to 100755
File size: 1.6 KB
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.63])
5AC_INIT([libgfan], [0.1], [ren@mathematik.uni-kl.de])
6AC_CONFIG_MACRO_DIR([../m4])
7AC_CONFIG_SRCDIR([gfanlib.h])
8#AC_CONFIG_HEADERS([config.h])
9
10AM_MAINTAINER_MODE
11AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules
12m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
13m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
14
15# Checks for programs.
16AC_PROG_CC
17AC_PROG_CXX
18AC_PROG_LN_S
19#AC_PROG_INSTALL
20
21# Checks for libraries.
22
23LT_INIT
24
25# Checks for header files.
26AC_HEADER_STDC
27AC_CHECK_HEADERS([gmp.h])
28AC_CHECK_HEADERS([setoper.h])
29AC_CHECK_HEADERS([cdd.h],,,
30[
31# include <setoper.h>
32])
33
34if test "$ac_cv_header_gmp_h" == no
35then
36        AC_MSG_WARN([Error, gmp.h is missing!])
37        exit 1
38fi
39
40if test "$ac_cv_header_cdd_h" == no
41then
42        AC_MSG_WARN([Error, cdd.h is missing!])
43        exit 1
44fi
45
46if test "$ac_cv_header_setoper_h" == no
47then
48        AC_MSG_WARN([Error, setoper.h is missing!])
49        exit 1
50fi
51
52# Checks for typedefs, structures, and compiler characteristics.
53AC_C_INLINE
54
55AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [build the debugging version of the libraries]),
56 [if test "x$enableval"  = "xyes"; then
57   ENABLE_DEBUG=yes
58 fi], ENABLE_DEBUG=no)
59
60AM_CONDITIONAL(WANT_DEBUG, test x"${ENABLE_DEBUG}" == xyes)
61
62#AC_MSG_RESULT($ac_cv_singuname)
63#if test "$ac_cv_singuname" = unknown; then
64#  AC_MSG_WARN(Unknown architecture: Check singuname.sh)
65#  ac_cv_singuname="unknown"
66#fi
67#AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname")
68#SINGUNAME=$ac_cv_singuname
69#AC_SUBST(SINGUNAME)
70
71AC_CONFIG_FILES([Makefile])
72AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.