zsh: use autoreconf PKG_FIXUP to configure
authorOskari Rauta <oskari.rauta@gmail.com>
Wed, 4 Oct 2023 21:46:57 +0000 (23:46 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 16 Oct 2023 12:51:56 +0000 (14:51 +0200)
commit32147c891c7129b272e0566ffcc04e679b77a912
treea4911e726647588321306544b923a4bf7b53c816
parentcdf60597e911e60ee53e08511308a04db728e92d
zsh: use autoreconf PKG_FIXUP to configure

In preparation to PCRE2 fixup, use autoreconf PKG_FIXUP as a better
configure system instead of configure script. This is needed to reduce
upcoming patch to migrate to PCRE2 library.

To correctly use autoreconf it's needed to declare empty
PKG_REMOVE_FILES.

zsh include custom macro in the default aclocal.m4
When autoreconf PKG_FIXUP is used, if PKG_REMOVE_FILES is not defined,
it's set to remove the file aclocal.m4 by default resulting in problem
with the custom macro AC_PROG_LN.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
[ split to 2 commit, add PKG_REMOVE_FILES, reword commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit a7f837c98b0ab3fde1b19283e13a21fdaf1b1ee2)
utils/zsh/Makefile