Commit cbad9e18 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Use a better way of checking we have pkg-config

parent f124895f
......@@ -116,7 +116,7 @@ AC_SUBST(NET_LIBS)
AC_CHECK_LIBM
AC_SUBST(LIBM)
m4_pattern_forbid([^_?PKG_[A-Z_]+$],[pkg.m4 missing, please install pkg-config])
m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([pkg.m4 missing, please install pkg-config])])
PKG_PROG_PKG_CONFIG
if test -n $PKG_CONFIG; then
PKG_CHECK_MODULES([PCRE], [libpcre])
......
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