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:
parent
7356a0c2b1
commit
2237ed4feb
1 changed files with 13 additions and 0 deletions
|
@ -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])
|
||||
])
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue