summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 824b4ab2..82e8a452 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ AM_PROG_CC_C_O
AC_PROG_CPP
AC_PROG_EGREP
AC_PROG_INSTALL
+PKG_PROG_PKG_CONFIG
# Default tmux.conf goes in /etc not ${prefix}/etc.
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
@@ -47,6 +48,7 @@ AC_ARG_ENABLE(
)
if test "x$found_static" = xyes; then
LDFLAGS="$LDFLAGS -static"
+ PKG_CONFIG="pkg-config --static"
fi
# Is this gcc?