bolt/bootstrap/cxx/deps/icu/source/config/m4/icu-conditional.m4
Sam Vervaeck 285f33e93c Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c'
git-subtree-dir: bootstrap/cxx
git-subtree-mainline: b732e418cb
git-subtree-split: 7c1a929e9a
2024-01-15 14:04:51 +01:00

18 lines
469 B
Text

# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Copyright (c) 1999-2015, International Business Machines Corporation and
# others. All Rights Reserved.
# moved here from ../../acinclude.m4
# ICU_CONDITIONAL - similar example taken from Automake 1.4
AC_DEFUN([ICU_CONDITIONAL],
[AC_SUBST($1_TRUE)
AC_SUBST(U_HAVE_$1)
if $2; then
$1_TRUE=
U_HAVE_$1=1
else
$1_TRUE='#'
U_HAVE_$1=0
fi])