From 524ec572249311e8ce44b7832fe33445c3a0534b Mon Sep 17 00:00:00 2001 From: "Wulf C. Krueger" Date: Mon, 3 Sep 2012 20:40:42 +0200 Subject: [PATCH] configure.ac: Move the pkg_config check upwards to allow using it earlier. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 19786d1e..5fe94c21 100644 --- a/configure.ac +++ b/configure.ac @@ -89,6 +89,8 @@ case "${host_os}" in ;; esac +PKG_PROG_PKG_CONFIG() + AC_ARG_WITH( [openssl], AS_HELP_STRING([--with-openssl=DIR], [openssl installation prefix]), [OPENSSL=$withval],) @@ -201,7 +203,6 @@ fi AC_CHECK_LIB( gnugetopt, getopt_long,) AC_CHECK_FUNCS([lstat getopt_long getphassphrase]) -PKG_PROG_PKG_CONFIG() # ----- Check for dlopen