source: git/gfanlib/configure.ac

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