This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autoconf AC_PREREQ ?


On Thursday 02 October 2008 21:30:24 Carlos O'Donell wrote:
> On Thu, Oct 2, 2008 at 3:03 PM, Yann E. MORIN
> <> wrote:
> > So with glibc, autoconf-2.53+ is required for glibc/, and the
> > wrapper correctly calls autoconf2.50. But because fragments are
> > parsed with the wrapper script, and they don't match the heuristics to call
> > autoconf2.50, autoconf2.13 gets called. Hence the errors.
> This is probably the easiest solution. Could you writeup a patch for
> this against CVS head, and test it?

Sorry, I don't get it... From what you quoted, it's not easy to see what you
advocate as being the easiest solution. The part you quoted was only the
explanation of why the problem occured, not a solution... :-/

Do you want a patch that renames all to
Or do you want a patch that adds AC_PREREQ to all files?

I don't do cvs, but renaming would be better with cvs commands rather than
a patch. And adding AC_PREREQ to fragments is kind of wrong,
as you explained earlier...

> Can you quote the autoconf manual describing the naming of
> "" scripts?

From :

3 Making configure Scripts
To create a configure script with Autoconf, you need to write an Autoconf
input file (or and run autoconf on it.
Files used in preparing a software package for distribution:

     your source files --> [autoscan*] --> [configure.scan] -->
                    |   .------> autoconf* -----> configure
     [aclocal.m4] --+---+
                    |   `-----> [autoheader*] --> []
     [acsite.m4] ---'

So, clearly, is by far the prefered naming for autoconf >= 2.50
while is what was used by autoconf <= 2.13 and was kept for
*cough* backward compatibility *cough*...

Yann E. MORIN.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]