From 96c98c5ba38261a40b0592b81269bc89cbe97363 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 9 Aug 2015 19:05:25 +0200 Subject: [PATCH] protoc: check for headers in new location as well 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. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7b3bc997..e91a1294 100644 --- a/configure.ac +++ b/configure.ac @@ -64,8 +64,8 @@ fi 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 ( not found)"]) fi if test "x$have_protoc_c" = "xyes" -- 2.11.0