diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-10-06 07:24:05 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-10-06 07:24:05 +0000 |
commit | 2ea3389e4ec7e7c4ee47df3d51abd747a5531313 (patch) | |
tree | a2d85a18abd0a98a65ed8d363eabcb51a61bbd65 /src/openac | |
parent | 253d102f50d04a86291e9736d326d2a01f06fa74 (diff) | |
download | strongswan-2ea3389e4ec7e7c4ee47df3d51abd747a5531313.tar.bz2 strongswan-2ea3389e4ec7e7c4ee47df3d51abd747a5531313.tar.xz |
added USE_LIBCURL
Diffstat (limited to 'src/openac')
-rw-r--r-- | src/openac/Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/openac/Makefile.am b/src/openac/Makefile.am index e83cd12ed..c1e2a593a 100644 --- a/src/openac/Makefile.am +++ b/src/openac/Makefile.am @@ -1,13 +1,23 @@ ipsec_PROGRAMS = openac openac_SOURCES = openac.c build.c build.h loglite.c -INCLUDES = -I$(top_srcdir)/src/libfreeswan -I$(top_srcdir)/src/pluto -I$(top_srcdir)/src/libcrypto -I$(top_srcdir)/src/whack +INCLUDES = \ +-I$(top_srcdir)/src/libfreeswan \ +-I$(top_srcdir)/src/pluto \ +-I$(top_srcdir)/src/libcrypto \ +-I$(top_srcdir)/src/whack + AM_CFLAGS = -DDEBUG -DNO_PLUTO -DIPSEC_CONFDIR=\"${confdir}\" openac_LDADD = ac.o asn1.o ca.o certs.o constants.o crl.o defs.o mp_defs.o fetch.o id.o keys.o lex.o \ md2.o md5.o ocsp.o oid.o pem.o pgp.o pkcs1.o rnd.o sha1.o smartcard.o x509.o \ $(top_srcdir)/src/libfreeswan/libfreeswan.a $(top_srcdir)/src/libcrypto/libcrypto.a \ -lgmp +# This compile option activates dynamic URL fetching using libcurl +if USE_LIBCURL + openac_LDADD += -lcurl +endif + # This compile option activates smartcard support if USE_SMARTCARD openac_LDADD += -ldl |