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