Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrés G. Aragoneses <knocte@gmail.com>2015-03-22 05:38:26 +0300
committerAndrés G. Aragoneses <knocte@gmail.com>2015-03-22 05:38:26 +0300
commit680d301d9a5d865a824f39255330e84183690028 (patch)
treef0be05a4578b51c78139b3b4c6d2b609605d22eb /main/configure.in
parentfb917669e5ead54795e31aa9706c5f2a1f7fb5bf (diff)
[configure] Move the full check for pkg-config
Checking for pkg-config was being done twice, and the first time that was done was incomplete.
Diffstat (limited to 'main/configure.in')
-rw-r--r--main/configure.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/configure.in b/main/configure.in
index 34fcd46dba..bfef42f8c8 100644
--- a/main/configure.in
+++ b/main/configure.in
@@ -27,7 +27,11 @@ if test "x$MCS" = "x" ; then
AC_MSG_ERROR([Can't find "mcs" in your PATH])
fi
+dnl Find pkg-config
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+if test "x$PKG_CONFIG" = "xno"; then
+ AC_MSG_ERROR([You need to install pkg-config])
+fi
MONO_REQUIRED_VERSION=3.0.4
@@ -80,12 +84,6 @@ if test "x$enable_update_desktopdb" = "xyes"; then
fi
AC_SUBST(UPDATE_DESKTOP_DB)
-dnl Find pkg-config
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "x$PKG_CONFIG" = "xno"; then
- AC_MSG_ERROR([You need to install pkg-config])
-fi
-
dnl Find msgfmt for translations
# Find msgfmt and msgmerge for translations
AC_PATH_PROG(MSGFMT, msgfmt, no)