summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db3ffa2)
raw | patch | inline | side by side (parent: db3ffa2)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 9 Aug 2015 16:28:30 +0000 (18:28 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 30 Nov 2015 21:52:13 +0000 (22:52 +0100) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index d5b8c798af9acdba9a3acde184988fbcfdc2838e..f9802cefd81381f88553a315b69d88dd7efd1084 100644 (file)
--- a/configure.ac
+++ b/configure.ac
if test "x$have_protoc_c" = "xno"
then
have_protoc_c="no (protoc-c compiler not found)"
-else
+fi
+
+if test "X$have_protoc_c" = "xyes"
+then
AC_CHECK_HEADERS([google/protobuf-c/protobuf-c.h],
- [have_protobuf_c_h="yes"],
- [have_protobuf_c_h="no"])
- if test "x$have_protobuf_c_h" = "xno"
- then
- have_protoc_c="no (<google/protobuf-c/protobuf-c.h> not found)"
- fi
+ []
+ [have_protoc_c="no (<google/protobuf-c/protobuf-c.h> not found)"])
fi
AM_CONDITIONAL(HAVE_PROTOC_C, test "x$have_protoc_c" = "xyes")