Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2022231
CHECK_ENUM_VALUE.m4
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
842 B
Referenced Files
None
Subscribers
None
CHECK_ENUM_VALUE.m4
View Options
# CHECK_ENUM_VALUE([HEADER], [ENUM_NAME], [ENUM_VALUE])
#
# Define HAVE_[ENUM_NAME]_[ENUM_VALUE] if the specified enum value is
# available.
dnl
dnl Copyright 2018-2020 the Pacemaker project contributors
dnl
dnl The version control history for this file may have further details.
dnl
dnl This source code is licensed under the GNU General Public License version 2
dnl or later (GPLv2+) WITHOUT ANY WARRANTY.
AC_DEFUN([CHECK_ENUM_VALUE], [
AC_MSG_CHECKING(whether $1 defines enum $2 value $3)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <$1>],
[enum $2 check_$2_$3 = $3])],
[AC_DEFINE_UNQUOTED(HAVE_$2_$3, 1,
[Whether enum $2 supports $3])
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
])
File Metadata
Details
Attached
Mime Type
text/x-m4
Expires
Mon, Dec 23, 10:32 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1096033
Default Alt Text
CHECK_ENUM_VALUE.m4 (842 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment