summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-05-11 10:41:50 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-05-11 10:41:50 +0200
commit62363ebc8fbe1caf537932a27a723772d2eb725b (patch)
tree535327c19ab3e5764415d684913c07bd5ff4e7b7 /configure.ac
parent60b6cbff404ea720d913e5e04386fd41a45af7a9 (diff)
downloadNetworkManager-62363ebc8fbe1caf537932a27a723772d2eb725b.tar.gz
Revert "build: qualify plugin dir name with a version string"
This is broken -- looks for VPN plugins in a version-qualified path, which is wrong and break installed VPN plugins. This reverts commit 6384ad4ee16f31dd103f790bd193c4049d89a6fc.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 5609f28121..7ac11e1127 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,9 +183,10 @@ dnl
AC_ARG_WITH(dist-version,
AS_HELP_STRING([--with-dist-version=<NM-distribution-version>],
[Define the NM''s distribution version string]),
- ac_distver=$withval, ac_distver=$NM_VERSION)
-AC_DEFINE_UNQUOTED(NM_DIST_VERSION, "$ac_distver", [Define the distribution version string])
-AC_SUBST(NM_DIST_VERSION, "$ac_distver")
+ ac_distver=$withval, ac_distver="")
+if ! test x"$ac_distver" = x""; then
+ AC_DEFINE_UNQUOTED(NM_DIST_VERSION, "$ac_distver", [Define the distribution version string])
+fi
AC_ARG_ENABLE(wifi, AS_HELP_STRING([--enable-wifi], [enable Wi-Fi support]))
if test "${enable_wifi}" != "no"; then