Hello there,

when building out-of-tree the inclusion paths
declared in "examples/", "extra/pam_shishi/",
and "extra/rsh-redone/" are incomplete.

Best regards,
  Mats Erik Andersson
>From 4bf6483bc0f228af81f1c4c68a855403935ed2ad Mon Sep 17 00:00:00 2001
From: Mats Erik Andersson <g...@gisladisker.se>
Date: Fri, 5 Oct 2012 12:50:31 +0200
Subject: [PATCH] Inclusion paths for out-of-tree.

---
 examples/Makefile.am         |    2 +-
 extra/pam_shishi/Makefile.am |    2 +-
 extra/rsh-redone/Makefile.am |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index 90edce0..70aa414 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -19,7 +19,7 @@
 # Floor, Boston, MA 02110-1301, USA.
 
 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
-AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl -I../lib
+AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/lib -I$(top_builddir)/gl -I$(top_builddir)/lib
 LDADD = ../gl/libgnu.la ../lib/libshishi.la @LTLIBINTL@
 
 noinst_PROGRAMS = client client-cksum client-safe client-priv \
diff --git a/extra/pam_shishi/Makefile.am b/extra/pam_shishi/Makefile.am
index e4ebfb0..7e0a88c 100644
--- a/extra/pam_shishi/Makefile.am
+++ b/extra/pam_shishi/Makefile.am
@@ -18,7 +18,7 @@
 # to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 # Floor, Boston, MA 02110-1301, USA.
 
-AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl -I../../lib
+AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/lib -I$(top_builddir)/gl -I$(top_builddir)/lib
 
 libdir = $(PAMDIR)
 
diff --git a/extra/rsh-redone/Makefile.am b/extra/rsh-redone/Makefile.am
index 6bb84c7..ca097e9 100644
--- a/extra/rsh-redone/Makefile.am
+++ b/extra/rsh-redone/Makefile.am
@@ -18,7 +18,7 @@
 # to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 # Floor, Boston, MA 02110-1301, USA.
 
-AM_CPPFLAGS = -I../../lib
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
 
 EXTRA_DIST = $(man_MANS)
 
-- 
1.7.2.5

_______________________________________________
Help-shishi mailing list
Help-shishi@gnu.org
https://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to