X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=blobdiff_plain;f=src%2Fscepclient%2FMakefile.am;h=57b20dfb533c576be66eaf2788a06d8c3598e4d8;hp=3a5f9839ff5c10a595ebf67bb8ed1904beda1a26;hb=0935ba328bcb965508fa01c6bf434985dc8565b2;hpb=3b4b26cdf389dd6a09b1caedffea90c8d6445b15 diff --git a/src/scepclient/Makefile.am b/src/scepclient/Makefile.am index 3a5f983..57b20df 100644 --- a/src/scepclient/Makefile.am +++ b/src/scepclient/Makefile.am @@ -23,16 +23,18 @@ scepclient_LDADD = asn1.o ca.o crl.o certs.o constants.o defs.o fetch.o id.o \ $(LIBFREESWANDIR)/libfreeswan.a $(LIBCRYPTODIR)/libcrypto.a \ -lgmp -# This compile option activates dynamic URL fetching using libcurl -if USE_LIBCURL - scepclient_LDADD += -lcurl -endif - # This compile option activates smartcard support if USE_SMARTCARD + AM_CFLAGS += -DSMARTCARD scepclient_LDADD += -ldl endif +# This compile option activates dynamic URL fetching using libcurl +if USE_CURL + AM_CFLAGS += -DLIBCURL + scepclient_LDADD += -lcurl +endif + dist_man_MANS = scepclient.8 asn1.o : $(PLUTODIR)/asn1.c $(PLUTODIR)/asn1.h