mirror of
https://github.com/matrix-construct/construct
synced 2024-12-04 20:52:45 +01:00
28 lines
404 B
Text
28 lines
404 B
Text
AC_DEFUN([RB_DEFINE],
|
|
[
|
|
AC_DEFINE([RB_$1], [$2], [$3])
|
|
])
|
|
|
|
AC_DEFUN([RB_DEFINE_UNQUOTED],
|
|
[
|
|
AC_DEFINE_UNQUOTED([RB_$1], [$2], [$3])
|
|
])
|
|
|
|
AC_DEFUN([IRCD_DEFINE],
|
|
[
|
|
AC_DEFINE([IRCD_$1], [$2], [$3])
|
|
])
|
|
|
|
AC_DEFUN([IRCD_DEFINE_UNQUOTED],
|
|
[
|
|
AC_DEFINE_UNQUOTED([IRCD_$1], [$2], [$3])
|
|
])
|
|
|
|
AC_DEFUN([CPPDEFINE],
|
|
[
|
|
if [[ -z "$2" ]]; then
|
|
CPPFLAGS="-D$1 $CPPFLAGS"
|
|
else
|
|
CPPFLAGS="-D$1=$2 $CPPFLAGS"
|
|
fi
|
|
])
|