aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBenjamin Otte <otte@src.gnome.org>2009-03-12 22:47:55 +0800
committerBenjamin Otte <otte@src.gnome.org>2009-03-12 22:47:55 +0800
commit51cf7473e5f18cc62d0aec64d468d20b68b92452 (patch)
tree7e08ff13f9e13cf1f6499fc9b7e0c567ee7921b9 /configure.ac
parente77131ccda31af1df0f1e979d6cd3588d869817f (diff)
downloadgsoc2013-epiphany-51cf7473e5f18cc62d0aec64d468d20b68b92452.tar.gz
gsoc2013-epiphany-51cf7473e5f18cc62d0aec64d468d20b68b92452.tar.zst
gsoc2013-epiphany-51cf7473e5f18cc62d0aec64d468d20b68b92452.zip
detect NetworkManager using pkg-config
svn path=/trunk/; revision=8873
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fd9f0b471..3d825d5ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -419,8 +419,7 @@ AC_ARG_ENABLE([network-manager],
AC_MSG_RESULT([$enable_network_manager])
if test "$enable_network_manager" != "no"; then
- AC_CHECK_HEADERS([NetworkManager/NetworkManager.h],
- [have_network_manager=yes],[have_network_manager=no])
+ PKG_CHECK_MODULES(NETWORK_MANAGER, NetworkManager, [have_network_manager=yes],[have_network_manager=no])
if test "$enable_network_manager" = "yes" -a "$have_network_manager" = "no"; then
AC_MSG_ERROR([NetworkManager support requested but NetworkManager headers not found])