[PATCH] Makerules: fix reference to aclocal.m4 in subdirs
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Wed Nov 18 20:07:25 GMT 2026
On 18/11/26 13:07, Andreas Schwab wrote:
>
> ---
> Makerules | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Makerules b/Makerules
> index 242821f503..7eadd95e05 100644
> --- a/Makerules
> +++ b/Makerules
> @@ -1384,14 +1384,14 @@ endif
> ifneq ($(AUTOCONF),no)
> define autoconf-it
> @-rm -f $@.new
> -$(AUTOCONF) $(ACFLAGS) $< > $@.new
> +$(AUTOCONF) $(patsubst %/,-I%,$(..)) $(ACFLAGS) $< > $@.new
> chmod a-w$(patsubst %,$(comma)a+x,$(filter .,$(@D))) $@.new
> mv -f $@.new $@
> endef
>
> -configure: configure.ac aclocal.m4; $(autoconf-it)
> -%/configure: %/configure.ac aclocal.m4; $(autoconf-it)
> -%/preconfigure: %/preconfigure.ac aclocal.m4; $(autoconf-it)
> +configure: configure.ac $(..)aclocal.m4; $(autoconf-it)
> +%/configure: %/configure.ac $(..)aclocal.m4; $(autoconf-it)
> +%/preconfigure: %/preconfigure.ac $(..)aclocal.m4; $(autoconf-it)
>
> # Use "touch aclocal.m4" to force execution of this rule. Set
> # AUTOCONF=autoconf to activate it.
It seems that some usage might make configure non executable:
$ /path/to/glibc/configure --prefix=/usr --enable-maintainer-mode
$ touch /path/to/glibc/configure.ac; make bench-clean
$ stat -c %A /path/to/glibc/configure
-r--r--r--
More information about the Libc-alpha
mailing list