summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4cde351)
raw | patch | inline | side by side (parent: 4cde351)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 28 Oct 2015 22:19:52 +0000 (23:19 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 28 Oct 2015 22:19:52 +0000 (23:19 +0100) |
They just happened to work fine when done right after C tests.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index af72e21fd742dfd05b9b7b1307a0b4a381a01fb3..95394ebd839bbd146fe90df994693d348b4c6721 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_LANG_CONFTEST([int main(void){}])
$CC -c conftest.c $CFLAGS $STRICT_CFLAGS $@ > /dev/null 2> /dev/null
ret=$?
- rm -f conftest.o
+ rm -f conftest.o conftest.c
return $ret
}
test_cxx_flags() {
AC_LANG_PUSH(C++)
AC_LANG_CONFTEST([int main(void){}])
- $CXX -c conftest.c $CXXFLAGS $STRICT_CXXFLAGS $@ > /dev/null 2> /dev/null
+ $CXX -c conftest.cpp $CXXFLAGS $STRICT_CXXFLAGS $@ > /dev/null 2> /dev/null
ret=$?
- rm -f conftest.o
+ rm -f conftest.o conftest.cpp
AC_LANG_POP(C++)
return $ret
}