configure.ac: Move the pkg_config check upwards to allow using it earlier.

This commit is contained in:
Wulf C. Krueger
2012-09-03 20:40:42 +02:00
parent 4f3094e6c7
commit 524ec57224
+2 -1
View File
@@ -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