From: Misty De Meo Date: Tue, 20 Dec 2016 03:31:52 +0000 (-0800) Subject: Fix search name for gflags's .pc file X-Git-Tag: v2017.03.06.00~179 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8d7ec4c6e6fd091e52f5eaaca722ee55056499e7;p=folly.git 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 --- diff --git a/folly/configure.ac b/folly/configure.ac index 90771eab..6da44048 100644 --- a/folly/configure.ac +++ b/folly/configure.ac @@ -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])])