1#
2# Kinfold subpackage
3#
4
5AC_DEFUN([RNA_ENABLE_PKG_KINFOLD],[
6  RNA_ADD_PACKAGE([kinfold],
7                  [Kinfold program],
8                  [yes],[],[],
9                  [${srcdir}/src/Kinfold/Makefile.am])
10
11  RNA_PACKAGE_IF_ENABLED([kinfold],[
12    AC_CONFIG_SUBDIRS([src/Kinfold])
13  ])
14
15  AM_CONDITIONAL(MAKE_KINFOLD, test "x$with_kinfold" != "xno")
16])
17
18
19#
20# RNAforester subpackage
21#
22AC_DEFUN([RNA_ENABLE_PKG_FORESTER],[
23  RNA_ADD_PACKAGE([forester],
24                  [RNAforester program],
25                  [yes],[],[],
26                  [${srcdir}/src/RNAforester/Makefile.am])
27
28  RNA_PACKAGE_IF_ENABLED([forester],[
29    AC_CONFIG_SUBDIRS([src/RNAforester])
30  ])
31
32  AM_CONDITIONAL(MAKE_FORESTER, test "x$with_forester" != "xno")
33])
34
35
36#
37#
38#
39
40AC_DEFUN([RNA_ENABLE_PKG_CLUSTER],[
41  RNA_ADD_PACKAGE([cluster],
42                  [AnalyseSeqs and AnalyseDists],
43                  [no],[],[],
44                  [${srcdir}/src/Cluster/Makefile.am])
45
46  RNA_PACKAGE_IF_ENABLED([cluster],[
47    AC_DEFINE([WITH_CLUSTER], [1], [Analyse{Dists,Seqs}])
48    AC_SUBST([CLUSTER_DIR], [Cluster])
49    AC_CONFIG_FILES([src/Cluster/Makefile])
50  ])
51
52  AM_CONDITIONAL(MAKE_CLUSTER, test "x$with_cluster" = "xyes")
53])
54
55#
56# Kinwalker subpackage
57#
58
59AC_DEFUN([RNA_ENABLE_PKG_KINWALKER],[
60  RNA_ADD_PACKAGE([kinwalker],
61                  [Kinwalker program],
62                  [no],[],[],
63                  [${srcdir}/src/Kinwalker/Makefile.am])
64
65  RNA_PACKAGE_IF_ENABLED([kinwalker],[
66    AC_CONFIG_SUBDIRS([src/Kinwalker])
67  ])
68
69  AM_CONDITIONAL(MAKE_KINFOLD, test "x$with_kinwalker" != "xyes")
70])
71
72
73#
74# RNAlocmin subpackage
75#
76AC_DEFUN([RNA_ENABLE_PKG_RNALOCMIN],[
77  RNA_ADD_PACKAGE([rnalocmin],
78                  [RNAlocmin program],
79                  [yes],[],[],
80                  [${srcdir}/src/RNAlocmin/Makefile.am])
81
82  RNA_PACKAGE_IF_ENABLED([rnalocmin],[
83    AC_CONFIG_SUBDIRS([src/RNAlocmin])
84  ])
85
86  AM_CONDITIONAL(MAKE_RNALOCMIN, test "x$with_rnalocmin" != "xno")
87])
88
89
90