summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27b74c6)
raw | patch | inline | side by side (parent: 27b74c6)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 27 May 2017 13:05:45 +0000 (15:05 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 27 May 2017 13:05:45 +0000 (15:05 +0200) |
No need to run the program.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 11fb9ab3c488ae1eb661ed7fa8587970464f2123..5ed0ab3fadbe894c18d6ef6419b4a2daa8b0373c 100644 (file)
--- a/configure.ac
+++ b/configure.ac
if test "x$with_libpqos" = "xyes"; then
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $with_libpqos_cppflags"
- AC_RUN_IFELSE(
+ AC_PREPROC_IFELSE(
[
- AC_LANG_PROGRAM(
+ AC_LANG_SOURCE(
[[
#include <pqos.h>
- ]],
- [[
- return !(PQOS_VERSION >= 106)
+ #if PQOS_VERSION < 106
+ #error "required PQOS version >= 1.06"
+ #endif
]]
)
],