diff --git a/libmisc/Makefile.am b/libmisc/Makefile.am index 76f3c052..e0b6d8ca 100644 --- a/libmisc/Makefile.am +++ b/libmisc/Makefile.am @@ -1,7 +1,7 @@ EXTRA_DIST = .indent.pro xgetXXbyYY.c -INCLUDES = -I$(top_srcdir)/lib +AM_CPPFLAGS = -I$(top_srcdir)/lib noinst_LIBRARIES = libmisc.a diff --git a/src/Makefile.am b/src/Makefile.am index dc520b5d..3de9f4d1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,9 +7,10 @@ usbindir = ${prefix}/sbin suidperms = 4755 sgidperms = 2755 -INCLUDES = \ +AM_CPPFLAGS = \ -I${top_srcdir}/lib \ - -I$(top_srcdir)/libmisc + -I$(top_srcdir)/libmisc \ + -DLOCALEDIR=\"$(datadir)/locale\" # XXX why are login and su in /bin anyway (other than for # historical reasons)? @@ -69,7 +70,6 @@ LDADD = $(INTLLIBS) \ $(LIBTCB) \ $(top_builddir)/libmisc/libmisc.a \ $(top_builddir)/lib/libshadow.la -AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" if ACCT_TOOLS_SETUID LIBPAM_SUID = $(LIBPAM)