]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
configure: Separate pki from --disable-tools
authorMartin Willi <martin@revosec.ch>
Tue, 4 Mar 2014 11:24:52 +0000 (12:24 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:08 +0000 (15:53 +0200)
While pki builds and runs just fine on Windows, this is not true for scepclient.

conf/Makefile.am
conf/options/pki.opt [new file with mode: 0644]
conf/options/tools.opt
configure.ac
src/Makefile.am

index ccc69678185f8b5047775463b85d42d133beaac5..580ea91aee48be28459bffbebcfd976d92140758 100644 (file)
@@ -18,6 +18,7 @@ options = \
        options/pool.opt \
        options/starter.opt \
        options/tnc.opt \
+       options/pki.opt \
        options/tools.opt
 
 plugins = \
diff --git a/conf/options/pki.opt b/conf/options/pki.opt
new file mode 100644 (file)
index 0000000..c57dcc8
--- /dev/null
@@ -0,0 +1,2 @@
+pki.load =
+       Plugins to load in ipsec pki tool.
index 72a49de2894a892645d16f14f11afe7ea32521bc..7e30f5cd3c7108bd698060c4ca7b649b84461aa2 100644 (file)
@@ -1,5 +1,2 @@
-pki.load =
-       Plugins to load in ipsec pki tool.
-
 scepclient.load =
        Plugins to load in ipsec scepclient tool.
index 4e714237cf56a298f8be5cee9d6d754e2dd804e1..759e4a16a42fcb2397c107776d8ac94648ef278e 100644 (file)
@@ -265,11 +265,12 @@ ARG_ENABL_SET([manager],        [enable web management console (proof of concept
 ARG_ENABL_SET([medcli],         [enable mediation client configuration database plugin.])
 ARG_ENABL_SET([medsrv],         [enable mediation server web frontend and daemon plugin.])
 ARG_ENABL_SET([nm],             [enable NetworkManager backend.])
+ARG_DISBL_SET([pki],            [disable pki certificate utility.])
 ARG_DISBL_SET([scripts],        [disable additional utilities (found in directory scripts).])
 ARG_ENABL_SET([svc],            [enable charon Windows service.])
 ARG_ENABL_SET([swanctl],        [enable swanctl configuration and control tool.])
 ARG_ENABL_SET([tkm],            [enable Trusted Key Manager support.])
-ARG_DISBL_SET([tools],          [disable additional utilities (scepclient and pki).])
+ARG_DISBL_SET([tools],          [disable additional utilities (scepclient).])
 ARG_ENABL_SET([aikgen],         [enable AIK generator.])
 # optional features
 ARG_ENABL_SET([bfd-backtraces], [use binutils libbfd to resolve backtraces for memory leaks and segfaults.])
@@ -1421,10 +1422,11 @@ AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
 AM_CONDITIONAL(USE_ADNS, test x$adns = xtrue)
 AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
 AM_CONDITIONAL(USE_NM, test x$nm = xtrue)
+AM_CONDITIONAL(USE_PKI, test x$pki = xtrue)
 AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
 AM_CONDITIONAL(USE_SCRIPTS, test x$scripts = xtrue)
 AM_CONDITIONAL(USE_CONFTEST, test x$conftest = xtrue)
-AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$tools = xtrue -o x$conftest = xtrue -o x$fast = xtrue -o x$imcv = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$tls = xtrue -o x$tnc_tnccs = xtrue -o x$aikgen = xtrue -o x$svc = xtrue)
+AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$pki = xtrue -o x$tools = xtrue -o x$conftest = xtrue -o x$fast = xtrue -o x$imcv = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$tls = xtrue -o x$tnc_tnccs = xtrue -o x$aikgen = xtrue -o x$svc = xtrue)
 AM_CONDITIONAL(USE_LIBHYDRA, test x$charon = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$svc = xtrue)
 AM_CONDITIONAL(USE_LIBCHARON, test x$charon = xtrue -o x$conftest = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$svc = xtrue)
 AM_CONDITIONAL(USE_LIBIPSEC, test x$libipsec = xtrue)
@@ -1488,6 +1490,7 @@ AM_COND_IF([USE_LIBTNCCS], [strongswan_options=${strongswan_options}" tnc"])
 AM_COND_IF([USE_MANAGER], [strongswan_options=${strongswan_options}" manager"])
 AM_COND_IF([USE_MEDSRV], [strongswan_options=${strongswan_options}" medsrv"])
 AM_COND_IF([USE_TOOLS], [strongswan_options=${strongswan_options}" tools"])
+AM_COND_IF([USE_PKI], [strongswan_options=${strongswan_options}" pki"])
 
 AC_SUBST(strongswan_options)
 
index 89c0592552fe986cc4494669f1aa13c418b6f4d5..c412d91812f92d3c70440945af65678ba3b21a32 100644 (file)
@@ -73,7 +73,11 @@ if USE_UPDOWN
 endif
 
 if USE_TOOLS
-  SUBDIRS += scepclient pki
+  SUBDIRS += scepclient
+endif
+
+if USE_PKI
+  SUBDIRS += pki
 endif
 
 if USE_SWANCTL