diff options
author | Thomas Haller <thaller@redhat.com> | 2017-02-15 18:02:52 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-02-15 18:36:24 +0100 |
commit | 4de6f603e3631975039476f752da7b8d6331019d (patch) | |
tree | 022636231bd450502c3d32a25bfa62a39568c078 /configure.ac | |
parent | 0cad8307a5beaf1f2d01837687588e59d23c5884 (diff) | |
download | NetworkManager-4de6f603e3631975039476f752da7b8d6331019d.tar.gz |
build: use `sed` instead of AC_SUBST() to generate man/common.ent
Otherwise, substitions are not properly expanded.
For example
- "AC_SUBST(nmrundir, '${runstatedir}'/$PACKAGE, [NetworkManager runtime state directory])"
gives ${runstatedir}/NetworkManager/resolv.conf
- "AC_SUBST(nmrundir, "${runstatedir}/$PACKAGE", [NetworkManager runtime state directory])"
gives ${prefix}/var/run/NetworkManager/resolv.conf
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 611ef582ed..6e3ef7c06f 100644 --- a/configure.ac +++ b/configure.ac @@ -89,7 +89,6 @@ AC_SUBST(nmlibdir, '${prefix}'/lib/$PACKAGE, [NetworkManager library directory]) AC_SUBST(nmdatadir, '${datadir}'/$PACKAGE, [NetworkManager shared data directory]) AC_SUBST(nmstatedir, '${localstatedir}'/lib/$PACKAGE, [NetworkManager persistent state directory]) AC_SUBST(nmrundir, '${runstatedir}'/$PACKAGE, [NetworkManager runtime state directory]) -AC_SUBST(nmrundir_, "${runstatedir}/$PACKAGE", [NetworkManager runtime state directory (expanded)]) AC_GNU_SOURCE AC_CHECK_FUNCS([__secure_getenv secure_getenv]) @@ -1146,7 +1145,6 @@ libnm/libnm.pc libnm-util/libnm-util.pc libnm-glib/libnm-glib.pc libnm-glib/libnm-glib-vpn.pc -man/common.ent po/Makefile.in data/org.freedesktop.NetworkManager.policy.in docs/api/Makefile |