X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=aclocal.m4;h=da8cc99449cdb7fa7a93c496760d319888d46b9c;hp=9bd619bc8ffa166f9ba5d094712a1dbdd5c4d235;hb=8e4eabe621f8b8195faa6625a38a2e1ae7b68aa1;hpb=37b3d8433b89248def810d7cfa9b110893519f65 diff --git a/aclocal.m4 b/aclocal.m4 index 9bd619b..da8cc99 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -513,3 +513,16 @@ AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl dnl This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL])dnl +# 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]) +