diff options
author | Bruno Haible <bruno@clisp.org> | 2022-01-14 23:20:44 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-01-14 23:20:44 +0100 |
commit | 1a4a0680c84b5a726c8b38c22aa68a049865fa31 (patch) | |
tree | 7e25302772ca58cb3f195d36d1dec5716b12377c /m4 | |
parent | 2f52828cd17068135575bc2bd84e2afebae5e214 (diff) | |
download | gnulib-1a4a0680c84b5a726c8b38c22aa68a049865fa31.tar.gz |
Avoid error "conditional LIBUNISTRING_COMPILE_... was never defined" when option --conditional-dependencies is used (regression 2022-01-09).
Reported by Gavin Smith <gavinsmith0123@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-01/msg00099.html>.
* m4/libunistring-base.m4 (gl_LIBUNISTRING_MODULE): Use gl_CONDITIONAL
instead of AM_CONDITIONAL.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libunistring-base.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/libunistring-base.m4 b/m4/libunistring-base.m4 index 3815b3e355..a0892da4a6 100644 --- a/m4/libunistring-base.m4 +++ b/m4/libunistring-base.m4 @@ -1,4 +1,4 @@ -# libunistring-base.m4 serial 6 +# libunistring-base.m4 serial 7 dnl Copyright (C) 2010-2022 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -24,7 +24,7 @@ AC_DEFUN([gl_LIBUNISTRING_MODULE], AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from dnl gl_LIBUNISTRING_CORE if that macro has been run. - AM_CONDITIONAL(AS_TR_CPP([LIBUNISTRING_COMPILE_$2]), + gl_CONDITIONAL(AS_TR_CPP([LIBUNISTRING_COMPILE_$2]), [gl_LIBUNISTRING_VERSION_CMP([$1])]) ]) |