Mercurial > hg > CbC > CbC_gcc
comparison fixincludes/configure.ac @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
4 AC_CONFIG_SRCDIR(inclhack.def) | 4 AC_CONFIG_SRCDIR(inclhack.def) |
5 AC_CONFIG_AUX_DIR(..) | 5 AC_CONFIG_AUX_DIR(..) |
6 m4_sinclude(../libtool.m4) | 6 m4_sinclude(../libtool.m4) |
7 AC_CANONICAL_SYSTEM | 7 AC_CANONICAL_SYSTEM |
8 AC_PROG_CC | 8 AC_PROG_CC |
9 AC_USE_SYSTEM_EXTENSIONS | |
9 AC_PROG_SED | 10 AC_PROG_SED |
10 | 11 |
11 # Figure out what compiler warnings we can enable. | 12 # Figure out what compiler warnings we can enable. |
12 # See config/warnings.m4 for details. | 13 # See config/warnings.m4 for details. |
13 | 14 |
50 fi], | 51 fi], |
51 [case $host in | 52 [case $host in |
52 i?86-*-msdosdjgpp* | \ | 53 i?86-*-msdosdjgpp* | \ |
53 i?86-*-mingw32* | \ | 54 i?86-*-mingw32* | \ |
54 x86_64-*-mingw32* | \ | 55 x86_64-*-mingw32* | \ |
55 *-*-beos* ) | 56 *-*-beos* | \ |
57 *-*-*vms*) | |
56 TARGET=twoprocess | 58 TARGET=twoprocess |
57 ;; | 59 ;; |
58 | 60 |
59 * ) | 61 * ) |
60 TARGET=oneprocess | 62 TARGET=oneprocess |
92 | 94 |
93 # Checks for typedefs, structures, and compiler characteristics. | 95 # Checks for typedefs, structures, and compiler characteristics. |
94 AC_C_CONST | 96 AC_C_CONST |
95 | 97 |
96 # Checks for library functions. | 98 # Checks for library functions. |
97 gcc_AC_FUNC_MMAP_BLACKLIST | 99 GCC_AC_FUNC_MMAP_BLACKLIST |
98 | 100 |
99 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | 101 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
100 AC_ARG_ENABLE(maintainer-mode, | 102 AC_ARG_ENABLE(maintainer-mode, |
101 [ --enable-maintainer-mode enable make rules and dependencies not useful | 103 [ --enable-maintainer-mode enable make rules and dependencies not useful |
102 (and sometimes confusing) to the casual installer], | 104 (and sometimes confusing) to the casual installer], |
110 fi | 112 fi |
111 AC_SUBST(MAINT) | 113 AC_SUBST(MAINT) |
112 AC_DEFINE_UNQUOTED([SED_PROGRAM], "${SED}", | 114 AC_DEFINE_UNQUOTED([SED_PROGRAM], "${SED}", |
113 [Defined to the best working sed program on the host system]) | 115 [Defined to the best working sed program on the host system]) |
114 | 116 |
117 # Determine what GCC version number to use in filesystem paths. | |
118 GCC_BASE_VER | |
119 | |
115 AC_CONFIG_HEADERS(config.h, [echo timestamp > stamp-h]) | 120 AC_CONFIG_HEADERS(config.h, [echo timestamp > stamp-h]) |
116 AC_CONFIG_FILES(Makefile mkheaders.almost:mkheaders.in) | 121 AC_CONFIG_FILES(Makefile mkheaders.almost:mkheaders.in) |
117 AC_OUTPUT | 122 AC_OUTPUT |