0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

m4: Add some convenience conditional macros.

This commit is contained in:
Jason Volk 2022-06-13 18:29:42 -07:00
parent 7356a0c2b1
commit 2237ed4feb

View file

@ -30,3 +30,16 @@ AC_DEFUN([CPPDEFINE],
AC_DEFUN([RB_HELP_STRING], [AS_HELP_STRING([$1], [$2], 40, 200)])
AC_DEFUN([RB_VAR_PREPEND], [AS_VAR_SET([$1], ["$2 ${$1}"])])
AC_DEFUN([AM_COND_IF_NOT],
[
AM_COND_IF([$1], [], [$2])
])
AC_DEFUN([AM_COND_IF_NAND],
[
AM_COND_IF([$1], [],
[
AM_COND_IF([$2], [], [$3])
])
])