|
71 | 71 |
|
72 | 72 | # Checks for header files. |
73 | 73 | AC_HEADER_STDC |
74 | | -AC_CHECK_HEADER([string],[],[AC_MSG_ERROR("C++ strings not found")]) |
75 | | -AC_CHECK_HEADER([vector],[],[AC_MSG_ERROR("C++ vector not found")]) |
76 | | -AC_CHECK_HEADER([map],[],[AC_MSG_ERROR("C++ map not found")]) |
77 | | -AC_CHECK_HEADER([algorithm],[],[AC_MSG_ERROR("C++ algorithm not found")]) |
78 | | -AC_CHECK_HEADER([istream],[],[AC_MSG_ERROR("C++ istream not found")]) |
79 | | -AC_CHECK_HEADER([sstream],[],[AC_MSG_ERROR("C++ sstream not found")]) |
80 | | -AC_CHECK_HEADER([iostream],[],[AC_MSG_ERROR("C++ iostream not found")]) |
81 | 74 | AC_CHECK_HEADER([stdint.h],[],[AC_MSG_ERROR("stdint.h not found")]) |
82 | 75 | AC_CHECK_HEADER([inttypes.h],[],[AC_MSG_ERROR("inttypes.h not found")]) |
83 | | -AC_CHECK_HEADER([stdlib.h],[],[AC_MSG_ERROR("stdlib.h not found")]) |
84 | | -AC_CHECK_HEADER([string.h],[],[AC_MSG_ERROR("cstring not found")]) |
85 | | -AC_CHECK_HEADER([stdio.h],[],[AC_MSG_ERROR("cstdio not found")]) |
86 | 76 | AC_CHECK_HEADER([errno.h],[],[AC_MSG_ERROR("errno.h not found")]) |
87 | 77 | AC_CHECK_HEADER([unistd.h],[],[AC_MSG_ERROR("unistd.h not found")]) |
88 | 78 | AC_CHECK_HEADER([ctype.h],[],[AC_MSG_ERROR("cctype not found")]) |
@@ -152,22 +142,6 @@ if test x"have_gnutls" = x"yes"; then |
152 | 142 | AM_CFLAGS="$AM_CXXFLAGS -DHAVE_GNUTLS" |
153 | 143 | fi |
154 | 144 |
|
155 | | -AC_MSG_CHECKING([whether to use c++0x std classes]) |
156 | | -AC_ARG_ENABLE([cpp11], |
157 | | - [AS_HELP_STRING([--enable-cpp11], |
158 | | - [enable c++11 std classes (def=no)])], |
159 | | - [cpp11="$enableval"], |
160 | | - [cpp11=no]) |
161 | | -AC_MSG_RESULT([$cpp11]) |
162 | | - |
163 | | -if test x"$cpp11" = x"yes"; then |
164 | | - AC_DEFINE([CPP11],[],[c++11 Mode]) |
165 | | - AM_CXXFLAGS="$AM_CXXFLAGS -DUSE_CPP_11 --std=c++11" |
166 | | - AM_CFLAGS="$AM_CXXFLAGS -DUSE_CPP_11 --std=c++11" |
167 | | -else |
168 | | - AC_DEFINE([NCPP11],[],[standard Mode]) |
169 | | -fi |
170 | | - |
171 | 145 | DX_HTML_FEATURE(ON) |
172 | 146 | DX_CHM_FEATURE(OFF) |
173 | 147 | DX_CHI_FEATURE(OFF) |
@@ -212,5 +186,4 @@ AC_MSG_NOTICE([Configuration Summary: |
212 | 186 | License : LGPL only |
213 | 187 | Debug : ${debugit} |
214 | 188 | TLS Enabled : ${have_gnutls} |
215 | | - C++11 : ${cpp11} |
216 | 189 | ]) |
0 commit comments