https://sourceware.org/bugzilla/show_bug.cgi?id=31881

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Rostislav Krasny from comment #4)

> The /configure script is generated from the /configure.ac file, right? 

Right.

> Then
> the fix should be done in the /configure.ac and not directly in the
> /configure script?

Also correct.

> What exact command is used to generate the /configure script from the 
> /configure.ac file?

Well to be precise, it is the bfd/configure.ac file that ought to contain
the code to generate the version.h file.  (Since the top level configure.ac
file is shared with the gcc project, and that project does not know or care
about the bfd/ sub-directory).

Also the bfd/configure file needs to be generated by autoconf version 2.69,
rather than any later (or earlier) version.  Whilst a bit old now the 2.69
version has been used by the gcc, gdb and binutils projects for a long time
and it is know to work and do what we want.

The official way to regenerate the configure file is to configure a build 
with the --enable-maintainer-mode option specified:

  mkdir build
  <path-to-binutils-sources>/configure --enable-maintainer-mode
  make all-bfd

Building, or rebuilding this version of the binutils will automatically run
autoconf and automake and aclocal in the correct way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to