source: git/gfanlib/configure.ac @ 996cc8

spielwiese
Last change on this file since 996cc8 was 996cc8, checked in by Oleksandr Motsak <motsak@…>, 10 years ago
Fixing the problem of regeneration of config headers
  • Property mode set to 100755
File size: 1.4 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])
8AC_CONFIG_HEADER([_config.h])
9
10AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules
11m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
12m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
13
14# Add pre'prefixed config
15AX_PREFIX_CONFIG_H([config.h],[],[_config.h])
16
17AM_MAINTAINER_MODE([enable])
18
19SING_RESET_FLAGS()
20SING_CHECK_SET_ARGS()
21
22# Checks for programs.
23# AC_PROG_CC
24# AC_PROG_CXX
25AC_PROG_LN_S
26#AC_PROG_INSTALL
27
28# Checks for libraries.
29LT_INIT
30
31# Checks for header files.
32AC_HEADER_STDC
33
34# Checks for typedefs, structures, and compiler characteristics.
35AC_C_INLINE
36
37LB_CHECK_GMP(4.0,,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)]))
38
39SING_CHECK_GFANLIB
40
41#AC_MSG_RESULT($ac_cv_singuname)
42#if test "$ac_cv_singuname" = unknown; then
43#  AC_MSG_WARN(Unknown architecture: Check singuname.sh)
44#  ac_cv_singuname="unknown"
45#fi
46#AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname")
47#SINGUNAME=$ac_cv_singuname
48#AC_SUBST(SINGUNAME)
49
50AC_CONFIG_FILES([Makefile])
51## AC_CONFIG_HEADERS([config.h])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.