build: Remove NM_CONFIG_KEYFILE_PATH_DEFAULT from config.h
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 26 Nov 2015 16:34:52 +0000 (17:34 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Fri, 27 Nov 2015 09:04:10 +0000 (10:04 +0100)
commit3e0b590e107add3ab1d1ac23e473fcf0c5fe32b1
tree4005d99cd7a5bdd7c2763a2d1b07f119c1d0e025
parent09072d0d5e71837ebc6a5b5163b02f8240d56382
build: Remove NM_CONFIG_KEYFILE_PATH_DEFAULT from config.h

Can't just substitute sysconfdir into a header file -- it's meant to be
expanded in a Makefile. Otherwise, unexpanded ${prefix} will end up in a
header file.

We do that for NMCONFDIR already, let's use it here too.

Fixes: 2144457fab9138c9f5ddac9759f48e2a8735dcfb
configure.ac
src/settings/plugins/keyfile/utils.c