Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F5727136
REQUIRE_PROG.m4
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
REQUIRE_PROG.m4
View Options
# REQUIRE_PROG([variable], [prog-to-check-for])
#
# Error if a program can't be found on the path
#
dnl
dnl Copyright 2023 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.
dnl Usage: REQUIRE_PROG([variable], [prog-to-check-for])
AC_DEFUN([REQUIRE_PROG], [
AC_PATH_PROG([$1], [$2])
AS_IF([test x"$(eval echo "\${$1}")" != x""], [],
[AC_MSG_FAILURE([Could not find required build tool $2])])
])
File Metadata
Details
Attached
Mime Type
text/x-m4
Expires
Mon, Sep 22, 11:37 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2387865
Default Alt Text
REQUIRE_PROG.m4 (602 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment