summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-03-24 20:14:52 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-03-24 20:14:52 (GMT)
commitf523f297f7fed8b64fe4c2a6e3791d31b2d2448b (patch)
treeea26b71a71db31184f917cd3ce3d9ce609a6b5eb /src/Makefile.am
parent8d5493418a5a82b5303722cd9b2964300813e693 (diff)
downloadlibnl-f523f297f7fed8b64fe4c2a6e3791d31b2d2448b.zip
libnl-f523f297f7fed8b64fe4c2a6e3791d31b2d2448b.tar.gz
libnl-f523f297f7fed8b64fe4c2a6e3791d31b2d2448b.tar.bz2
Allow NLSYSCONFDIR environment variable to overwrite built-in sysconfdir
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 64d1cce..e196b58 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
SUBDIRS = lib
-AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE
+AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
AM_LDFLAGS = -L${top_builddir}/lib -L${top_builddir}/src/lib -lnl-cli -lnl -lnl-nf -lnl-genl -lnl-route
sbin_PROGRAMS = \