Re: [Announce] Libmcrypt and mcrypt rpm's for Fedora 1 and Red Hat 9

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

 



On Mon, 29 Dec 2003 19:42:13 +0100, Leonard den Ottolander wrote:

> Hi Michael,
> 
> > Not sure what you refer to as "autoreconf". Do you mean the explicit runs of
> > "libtoolize -f ; aclocal ; automake -a ; autoconf"?
> 
>  The mcrypt SPEC file calls (/usr/bin/)autoreconf in the %build section. 
> This apparantly calls the above commands as well as autoheader and 
> autopoint repeatedly.

You must be working with a completely different spec file then.  There is
no call of autoreconf in either your spec file or the one included in the
tarball. However, your spec file calls the above mentioned programs which
is necessary to regenerate the configure script and makefiles.
 
> > If so, this is necessary
> > because the patches and your %build section modify the "configure.in"
> > template and also many Makefile.am templates.
> 
>  Although I have a basic understanding of the subject (ie I understand the 
> need to generate the make files) but am definitely lacking knowledge of 
> details on the subject.
> 
>  Point is that the autoreconf script calls all these commands and I am not 
> sure I need them all. For the configuration of libmcrypt libtoolize seems 
> to suffice.

If you patch configure.in, running "autoconf" generates a new "configure"
script. If you didn't run autoconf, your changes to configure.in would not
be in the existing [old] configure script. Similarly, if you patch
Makefile.am files, running "automake" creates new Makefile.in templates
which in turn are used to create final Makefiles upon running "configure".

Other details added by running these tools are that they add missing
helper scripts to the root source directory.
 
>  Guess I'll have some reading up to do. http://sources.redhat.com/autobook/ 
> seems like a good starting point.
> 
> > If you didn't run the tools, they would run automatically
> > based on timestamp checks.
> 
>  Does that mean that there is no need to call them explicitely from the 
> SPEC file?

It means that you cannot really avoid running them, since if you didn't
run them, they would be called nevertheless [since the changes timestamps
on several template files suggest that makefiles and configure script
need to be updated].

-- 

Attachment: pgp00820.pgp
Description: PGP signature


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux