From 701abbd1aa4bc5090c29b92b4bd143f2610252d1 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 888c6e9d..d119fc77 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