1# Copyright (C) 2016 and later: Unicode, Inc. and others.
2# License & terms of use: http://www.unicode.org/copyright.html
3# Copyright (c) 1999-2015, International Business Machines Corporation and
4# others. All Rights Reserved.
5
6# moved here from ../../acinclude.m4
7
8# ICU_CONDITIONAL - similar example taken from Automake 1.4
9AC_DEFUN([ICU_CONDITIONAL],
10[AC_SUBST($1_TRUE)
11AC_SUBST(U_HAVE_$1)
12if $2; then
13  $1_TRUE=
14  U_HAVE_$1=1
15else
16  $1_TRUE='#'
17  U_HAVE_$1=0
18fi])
19