bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wildcard and globstar


From: Paul Smith
Subject: Re: wildcard and globstar
Date: Mon, 17 Jul 2023 09:15:06 -0400
User-agent: Evolution 3.48.3 (by Flathub.org)

On Mon, 2023-07-17 at 09:02 -0400, David Boyce wrote:
> This raises a side question: it's quite common for glob libraries to
> support ** as meaning "search recursively", such as
> https://docs.python.org/3/library/glob.html. I'd be a bit surprised
> if gnulib'sĀ glob implementation didn't support this. Is it possible
> for GNU make to support $(wildcard **/.mk)?

gnulib's glob does not support this.  The GNU libc glob is gnulib's
glob; they are essentially the same code.

Also, GNU Make doesn't use gnulib's glob on any system which provides
GNU libc.  It has an autoconf check and uses the system libc if it's
capable enough (in this case provides the callbacks needed for GNU Make
to use its internal cache).  Of course this could be changed if it
seemed appropriate.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]