summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-08-24 18:02:18 +0200
committerLubomir Rintel <lkundrak@v3.sk>2015-10-13 19:46:05 +0200
commit04ba0f1c1efc825d49e1486dcd18df59e1df0805 (patch)
tree6330312829fb0e5f900fd8e267993ce77aa6beae /configure.ac
parenta8d78602c537eb632d6f92b1f92b77123f8736ee (diff)
build: install the service file into /usr/lib too
It's not really a configuration file and should not be installed into /etc. See file-hierarchy(7). We need the old location for the old property plugin though.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 38faa55..8596102 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,6 +78,9 @@ PKG_CHECK_MODULES(LIBNM, libnm >= 1.1.0)
LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2"
LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2"
+NM_VPN_SERVICE_DIR=`$PKG_CONFIG pkg-config --define-variable prefix='\${prefix}' --variable vpnservicedir libnm`
+AC_SUBST(NM_VPN_SERVICE_DIR)
+
NM_COMPILER_WARNINGS
AC_CONFIG_FILES([