source: git/gfanlib/configure.ac @ c987db

spielwiese
Last change on this file since c987db was 323776f, checked in by Hans Schoenemann <hannes@…>, 17 months ago
Revert "fix: gfanlib/configure" This reverts commit f0d4bd4caae9db63763bba2f6c56156355628e8b.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.63])
5AC_INIT([libgfan], [0.6], [ren@mathematik.uni-kl.de])
6AC_CONFIG_MACRO_DIR([../m4])
7AC_CONFIG_AUX_DIR([../build-aux])
8AC_CONFIG_SRCDIR([gfanlib.h])
9AC_CONFIG_HEADERS([_config.h])
10
11AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules
12m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
13m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
14
15# Add pre'prefixed config
16AX_PREFIX_CONFIG_H([config.h],[],[_config.h])
17
18AM_MAINTAINER_MODE([enable])
19
20SING_RESET_FLAGS()
21SING_CHECK_SET_ARGS()
22
23# Checks for programs.
24# AC_PROG_CC
25# AC_PROG_CXX
26AC_PROG_LN_S
27#AC_PROG_INSTALL
28
29# Checks for libraries.
30LT_INIT([win32-dll])
31
32SING_WIN_FLAGS
33
34# Checks for typedefs, structures, and compiler characteristics.
35AC_C_INLINE
36
37SING_CHECK_GFANLIB
38
39AC_LANG_PUSH(C++)
40AX_CHECK_COMPILE_FLAG([-std=c++11], [CXX11_FLAG="-std=c++11"], [CXX11_FLAG="-std=c++0x"], [])
41AC_SUBST(CXX11_FLAG)
42AC_SUBST(GMP_LIBS)
43AC_SUBST(LIBS)
44AC_LANG_POP()
45
46AC_CONFIG_FILES([Makefile])
47## AC_CONFIG_HEADERS([config.h])
48AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.