Commit 8d7ec4c6 authored by Misty De Meo's avatar Misty De Meo Committed by Facebook Github Bot

Fix search name for gflags's .pc file

Summary:
gflags's pkg-config file is installed by default under the name gflags.pc; however, folly has been searching for it under the name libgflags.pc.

Several package managers (Homebrew, apt) install the .pc file under its default upstream name; as such it seems appropriate for folly to look for it under that name, too.

refs Homebrew/homebrew-core#7977.
Closes https://github.com/facebook/folly/pull/531

Reviewed By: yfeldblum

Differential Revision: D4348089

Pulled By: Orvid

fbshipit-source-id: 6adec290ec88b5d3f66103cf8e5094e99f2512ad
parent 0a0da529
......@@ -102,9 +102,9 @@ AC_CACHE_CHECK(
)
if test "$folly_cv_prog_cc_gflags" != "yes"; then
AC_MSG_ERROR(["libgflags invalid, see config.log for details"])
AC_MSG_ERROR(["gflags invalid, see config.log for details"])
fi
FB_CHECK_PKG_CONFIG([GFLAGS], [libgflags])
FB_CHECK_PKG_CONFIG([GFLAGS], [gflags])
AC_HAVE_LIBRARY([glog],[],[AC_MSG_ERROR(
[Please install google-glog library])])
......
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