Commit c6f43d34 authored by Robert Edmonds's avatar Robert Edmonds

configure.ac: make pkg-config optional when building with --disable-protoc

if pkg-config is installed, the libprotobuf-c .pc file will be
installed; if pkg-config is not installed, the .pc file won't be
installed.

this behavior only applies when we're building with ./configure
--disable-protoc, since pkg-config is required in order to detect the
protobuf dependency.
parent daad5868
...@@ -24,8 +24,6 @@ if test -n "$PKG_CONFIG"; then ...@@ -24,8 +24,6 @@ if test -n "$PKG_CONFIG"; then
else else
PKG_INSTALLDIR PKG_INSTALLDIR
fi fi
else
AC_MSG_ERROR([pkg-config is required!])
fi fi
DX_DOXYGEN_FEATURE(OFF) DX_DOXYGEN_FEATURE(OFF)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment