summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d52da52)
raw | patch | inline | side by side (parent: d52da52)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 9 Aug 2015 17:05:25 +0000 (19:05 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 28 Nov 2015 12:10:29 +0000 (13:10 +0100) |
Newer versions of protobuf-c have their headers in
/usr/include/protobuf-c, and a symlink from
/usr/include/google/protobuf-c/.
These symlinks will eventually disappear however, so be prepared.
/usr/include/protobuf-c, and a symlink from
/usr/include/google/protobuf-c/.
These symlinks will eventually disappear however, so be prepared.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 888c6e9dc7fbc1d94ad5905b8a3b1a75070ed3d2..d119fc77470cbef3fe4d585e4ca56b894c7ccd74 100644 (file)
--- a/configure.ac
+++ b/configure.ac
if test "x$have_protoc_c" = "xyes"
then
- AC_CHECK_HEADERS([google/protobuf-c/protobuf-c.h],
- [have_protoc_c="yes"],
+ AC_CHECK_HEADERS([protobuf-c/protobuf-c.h google/protobuf-c/protobuf-c.h],
+ [have_protoc_c="yes"; break],
[have_protoc_c="no (<google/protobuf-c/protobuf-c.h> not found)"])
fi
if test "x$have_protoc_c" = "xyes"