summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 946495e..c190e74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ do
done
PROTOBUF_EXECUTABLE=`pkg-config --variable=exec_prefix libprotobuf-c`
-if test -n "$PROTOBUF_EXECUTABLE"; then
+if test "x$PROTOBUF_EXECUTABLE" == "x"; then
PROTOBUF_EXECUTABLE=protoc-c
else
PROTOBUF_EXECUTABLE="${PROTBUF_EXECUTABLE}/bin/protoc-c"