diff mbox series

[v2,07/23] zsh: modernise autoconf use

Message ID 20250226155022.1989209-7-ross.burton@arm.com
State Under Review
Headers show
Series [v2,01/23] cpuid: fix stripping | expand

Commit Message

Ross Burton Feb. 26, 2025, 3:50 p.m. UTC
No need to manually write do_configure, the config.h.in is generated
with autoheader so don't disable that, but disable aclocal as that file
is hand-maintained.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-oe/recipes-shells/zsh/zsh_5.9.bb | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-shells/zsh/zsh_5.9.bb b/meta-oe/recipes-shells/zsh/zsh_5.9.bb
index b0961fd789..dd960856e0 100644
--- a/meta-oe/recipes-shells/zsh/zsh_5.9.bb
+++ b/meta-oe/recipes-shells/zsh/zsh_5.9.bb
@@ -15,6 +15,8 @@  SRC_URI[sha256sum] = "9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d
 
 inherit autotools gettext update-alternatives manpages
 
+EXTRA_AUTORECONF += "--exclude=aclocal"
+
 EXTRA_OECONF = " \
     --bindir=${base_bindir} \
     --enable-etcdir=${sysconfdir} \
@@ -39,16 +41,9 @@  ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
 ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}"
 ALTERNATIVE_PRIORITY = "90"
 
-export AUTOHEADER = "true"
-
 # Needed for manpages.bbclass, but they're always installed
 PACKAGECONFIG[manpages] = ""
 
-do_configure () {
-    gnu-configize --force ${S}
-    oe_runconf
-}
-
 do_install:append() {
     sed -i -e '1!b; s:^#!.*[ /]zsh:#!${bindir}/zsh:; s#/usr/local/bin#${bindir}#;' \
         `find ${D}/usr/share/zsh/${PV}/functions -type f`