summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f23ba29..f54277a 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -125,3 +125,16 @@ for am_file in <<$1>>; do
done<<>>dnl>>)
changequote([,]))])
+# Define a conditional.
+
+AC_DEFUN(AM_CONDITIONAL,
+[AC_SUBST($1_TRUE)
+AC_SUBST($1_FALSE)
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi])
+