how to patch configure.ac and not require autotools

Wart wart at kobold.org
Mon Jun 12 02:23:40 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Enrico Scholz wrote:
> wart at kobold.org (Wart) writes:
> 
> 
>>'touch', not patch.
>>
>>I run into this quite a lot.  In addition to patching both configure.ac
>>and configure.in, you'll need to 'touch' all of the "Makefile.in" files
>>in the package, since they likely have a dependency on configure.in.
> 
> 
> That's only needed for projects whose authors do not use AM_MAINTAINER_MODE.
> 
> Instead of touching all Makefile.in's you could restore the original
> timestamp with:
> 
> | touch -r configure configure.stamp
> | ... patch configure ...
> | touch -r configure.stamp configure

That's an even better solution.  Thanks for the tip.

- --Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEjNAqDeYlPfs40g8RAhv8AJ4xpwJALRmCCz7B7LW3u6xsutxAaACdGb11
7hcXIDjzr75Muo/HGx33Yn4=
=5Ghp
-----END PGP SIGNATURE-----




More information about the fedora-extras-list mailing list