… | |
… | |
170 | support_perl=yes |
170 | support_perl=yes |
171 | codesets=all |
171 | codesets=all |
172 | fi |
172 | fi |
173 | ]) |
173 | ]) |
174 | |
174 | |
|
|
175 | ASSERTIONS=no |
|
|
176 | AC_ARG_ENABLE(assert, |
|
|
177 | [ --enable-assert enable assertions], |
|
|
178 | [if test x$enableval = xyes; then |
|
|
179 | ASSERTIONS=yes |
|
|
180 | fi]) |
|
|
181 | if test x$ASSERTIONS = xno; then |
|
|
182 | AC_DEFINE(NDEBUG, 1, Disable assertions (good for debugging)) |
|
|
183 | fi |
|
|
184 | |
175 | WARNINGS=no |
185 | WARNINGS=no |
176 | AC_ARG_ENABLE(warnings, |
186 | AC_ARG_ENABLE(warnings, |
177 | [ --enable-warnings turn on g++ warnings], |
187 | [ --enable-warnings turn on g++ warnings], |
178 | [if test x$enableval = xyes; then |
188 | [if test x$enableval = xyes; then |
179 | WARNINGS=yes |
189 | WARNINGS=yes |