diff options
author | Rob Austein <sra@hactrn.net> | 2014-04-08 23:14:52 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-04-08 23:14:52 +0000 |
commit | 1786df7be1be1a8c7af23d0701cafcb9d8fb6d48 (patch) | |
tree | 5c5e7e4396558eda91117f791f0e25d46b983dc8 /configure.ac | |
parent | 4b18b371047d97257a908803e0c60bf1f3619222 (diff) |
First cut at revised top-level rules and macros. Tediously verbose at
the moment, clean that up later, but seems to work as intended.
svn path=/branches/tk685/; revision=5769
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index c8f153d7..ac67871a 100644 --- a/configure.ac +++ b/configure.ac @@ -752,12 +752,13 @@ fi # Figure out which parts of this package we have to build. - TOP_LEVEL_SUBDIRS="h schemas" -test $build_openssl = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS openssl" -test $build_rp_tools = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rp" -test $build_ca_tools = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS ca" +if test $build_openssl = yes; then OPENSSL_TARGET=openssl; else OPENSSL_TARGET=noop; fi +if test $build_rp_tools = yes; then RP_TARGET=rp; else RP_TARGET=noop; fi +if test $build_ca_tools = yes; then CA_TARGET=ca; else CA_TARGET=noop; fi -AC_SUBST(TOP_LEVEL_SUBDIRS) +AC_SUBST(OPENSSL_TARGET) +AC_SUBST(RP_TARGET) +AC_SUBST(CA_TARGET) AC_CONFIG_FILES([Makefile h/Makefile |