Changeset 2036 for trunk/configure.ac
- Timestamp:
- Oct 20, 2012, 4:08:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1995 r2036 49 49 AC_EGREP_CPP(yes, foo) 50 50 PKG_PROG_PKG_CONFIG() 51 52 53 dnl Check for a working implementation of sed 54 AC_PROG_SED 55 AC_MSG_CHECKING(for a sed that understands \t) 56 if test "$(echo 'x\x' | "${SED}" 's/.*@<:@^x\t@:>@//')" != x; then 57 AC_MSG_RESULT(no) 58 AC_MSG_ERROR([[consider installing GNU sed]]) 59 else 60 AC_MSG_RESULT(yes) 61 fi 62 51 63 52 64 AM_CONDITIONAL(USE_GLEW, test "${ac_cv_my_have_glew}" != "no") … … 226 238 ac_cv_my_have_flexlexer_h="no" 227 239 AC_LANG_PUSH(C++) 228 AC_CHECK_HEADERS(FlexLexer.h, [ac_cv_my_have_flexlexer_h="yes"]) 240 AC_CHECK_HEADERS(FlexLexer.h, 241 dnl Ensure that FlexLexer::yleng is of type int, and not size_t like 242 dnl on recent Apple systems. It would break all our existing code. 243 [AC_MSG_CHECKING(for FlexLexer.h validity) 244 AC_COMPILE_IFELSE( 245 [AC_LANG_PROGRAM([#include <FlexLexer.h> 246 class Foo : public FlexLexer 247 { 248 Foo() { int &test = yyleng; } 249 }], 250 [])], 251 [AC_MSG_RESULT(yes) 252 ac_cv_my_have_flexlexer_h="yes"], 253 [AC_MSG_RESULT(no)])]) 229 254 AC_LANG_POP(C++) 230 255 if test "x${ac_cv_my_have_flexlexer_h}" = "xno"; then
Note: See TracChangeset
for help on using the changeset viewer.