added USE_LIBCURL
This commit is contained in:
parent
253d102f50
commit
2ea3389e4e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue