summaryrefslogtreecommitdiffstats
path: root/ax25
diff options
context:
space:
mode:
Diffstat (limited to 'ax25')
-rw-r--r--ax25/Makefile.am3
-rw-r--r--ax25/axgetput/Makefile.am2
2 files changed, 4 insertions, 1 deletions
diff --git a/ax25/Makefile.am b/ax25/Makefile.am
index c3dcec9..3eab7d5 100644
--- a/ax25/Makefile.am
+++ b/ax25/Makefile.am
@@ -33,7 +33,8 @@ bin_PROGRAMS = mheard
LDADD = $(AX25_LIB)
axspawn_LDADD = $(AX25_LIB) $(UTIL_LIB)
-AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
+AM_CPPFLAGS = -D_GNU_SOURCE \
+ -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
-DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"
AX25_SYSCONFDIR=$(sysconfdir)/ax25/
diff --git a/ax25/axgetput/Makefile.am b/ax25/axgetput/Makefile.am
index de92dda..587f3a8 100644
--- a/ax25/axgetput/Makefile.am
+++ b/ax25/axgetput/Makefile.am
@@ -17,3 +17,5 @@ install-exec-hook:
install-data-hook:
(cd $(DESTDIR)$(mandir)/man1 && ln -sf axgetput.1 bget.1 && ln -sf axgetput.1 bput.1)
+
+AM_CPPFLAGS = -D_GNU_SOURCE