You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
dnl Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
dnl
|
|
|
|
dnl This source code is licensed under the MIT license found in the
|
|
|
|
dnl LICENSE file in the root directory of this source tree.
|
|
|
|
|
|
|
|
dnl AC_ASSERT_PROG([program_name], [test_variable])
|
|
|
|
dnl
|
|
|
|
dnl fails if $test_variable is "no", which is taken to mean that
|
|
|
|
dnl $program_name is not installed
|
|
|
|
AC_DEFUN([AC_ASSERT_PROG],
|
|
|
|
[dnl
|
|
|
|
AS_IF([test "$2" = "no"],
|
|
|
|
[dnl
|
|
|
|
AC_MSG_ERROR([$1 not found.])
|
|
|
|
])
|
|
|
|
])
|