[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] Build Error
From: |
Nicole Mazzuca |
Subject: |
Re: [bug-libunistring] Build Error |
Date: |
Wed, 4 Aug 2021 18:14:56 +0000 |
Hi,
I've been trying to solve this in vcpkg, since we've updated to automake 1.16.4
- it looks like automake 1.16.4 broke your gl_INIT_PACKAGE AM_INIT_AUTOMAKE
hack.
One way to solve this is:
```patch
--- a/m4/init-package-version.m4
+++ b/m4/init-package-version.m4
@@ -82,9 +82,9 @@
[AC_SUBST([PACKAGE], [$1])
AC_SUBST([VERSION], [$2])
])
m4_define([AM_INIT_AUTOMAKE],
m4_defn([gl_RPL_INIT_AUTOMAKE]))
])
-m4_define([gl_INIT_DUMMY], [])
+m4_define([gl_INIT_DUMMY], [dummy])
AC_DEFUN([gl_RPL_INIT_AUTOMAKE], [
m4_ifval([$2],
```
And the reason that automake 1.16.4 broke this is this change:
```patch
--- a/m4/init.m4
+++ b/m4/init.m4
@@ -65,5 +65,5 @@
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(
- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
[ok:ok],,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
```
Thanks,
Nicole
- Re: [bug-libunistring] Build Error,
Nicole Mazzuca <=