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