Hi guys

The attached patch passes IPSEC_PIDDIR to whack during compile, in order
that it reads from correct directory when this has been changed using
--with-piddir

peter

-- 
:: e n d i a n
:: security with passion

:: peter warasin
:: http://www.endian.com   :: [email protected]
commit cf412829260b1d8370c8293fdce528e49955a2f7
Author: Peter Warasin <[email protected]>
Date:   Fri Oct 14 16:29:28 2011 +0200

    Search pluto.ctl file in defined IPSEC_PIDDIR directory

diff --git a/src/whack/Makefile.am b/src/whack/Makefile.am
index 8c03289..fa4c995 100644
--- a/src/whack/Makefile.am
+++ b/src/whack/Makefile.am
@@ -13,5 +13,5 @@ whack_LDADD = \
 $(top_builddir)/src/libstrongswan/libstrongswan.la \
 $(top_builddir)/src/libfreeswan/libfreeswan.a
 
-AM_CFLAGS = -DDEBUG
+AM_CFLAGS = -DDEBUG -DIPSEC_PIDDIR=\"${piddir}\"
 
_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to