summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d0f2b0)
raw | patch | inline | side by side (parent: 9d0f2b0)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 4 Jun 2016 17:28:22 +0000 (19:28 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 4 Jun 2016 17:28:22 +0000 (19:28 +0200) |
configure.ac:804: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
configure.ac:804: the top level
detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
configure.ac:804: the top level
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 5ab5f0d78b4a7a508f1fadaef4cb4c7f3634fbc8..eb5d17b5bbb31f9f1f4b82b0346a827686417eeb 100644 (file)
--- a/configure.ac
+++ b/configure.ac
@@ -800,12 +800,14 @@ AC_CHECK_FUNCS(gettimeofday select strdup strtol getaddrinfo getnameinfo strchr
AC_FUNC_STRERROR_R
test_cxx_flags() {
- AC_LANG_PUSH(C++)
- AC_LANG_CONFTEST([int main(void){}])
+ AC_LANG_PUSH([C++])
+ AC_LANG_CONFTEST([
+ AC_LANG_SOURCE([[int main(void){}]])
+ ])
$CXX -c conftest.cpp $CXXFLAGS $@ > /dev/null 2> /dev/null
ret=$?
rm -f conftest.o
- AC_LANG_POP(C++)
+ AC_LANG_POP([C++])
return $ret
}