bug-gnulib
[Top][All Lists]
Advanced

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

gnulib-tool.py: Don't perform unnecessary configure.ac scanning.


From: Collin Funk
Subject: gnulib-tool.py: Don't perform unnecessary configure.ac scanning.
Date: Wed, 05 Jun 2024 20:29:52 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

At the end of imports gnulib-tool searches for AC_PROG_CC_STDC and
AC_PROG_CC_C99 in configure.ac. If one is found it recommends replacing
them with AC_PROG_CC which is the modern way of doing things.

We only care about the macro occuring in the file so re.search() makes
more sense then re.findall(). If it is found at the start of the file
the rest of the search is just wasted time. Probably noticeable unless
one has a very long configure.ac though.

Collin

Attachment: 0001-gnulib-tool.py-Don-t-perform-unnecessary-configure.a.patch
Description: Text Data


reply via email to

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