doc: Mention the byteswap module in function documentation.
[gnulib.git] / m4 / libunistring-optional.m4
blob4451ad5f6b9ecb3638c4e523307c4cec1a9e79c2
1 # libunistring-optional.m4
2 # serial 1
3 dnl Copyright (C) 2010-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 dnl gl_LIBUNISTRING_OPTIONAL
9 dnl Searches for an installed libunistring or uses the included source code
10 dnl parts.
11 dnl If found, it sets and AC_SUBSTs HAVE_LIBUNISTRING=yes and the LIBUNISTRING
12 dnl and LTLIBUNISTRING variables and augments the CPPFLAGS variable, and
13 dnl #defines HAVE_LIBUNISTRING to 1. Otherwise, it sets and AC_SUBSTs
14 dnl HAVE_LIBUNISTRING=no and LIBUNISTRING and LTLIBUNISTRING to empty.
16 AC_DEFUN([gl_LIBUNISTRING_OPTIONAL],
18   dnl gl_LIBUNISTRING does a couple of extra things if this macro is used.
19   AC_REQUIRE([gl_LIBUNISTRING])
21   AC_MSG_CHECKING([whether to use the included libunistring])
22   AC_MSG_RESULT([$gl_libunistring_use_included])