README.txt 1.2 KB

123456789101112131415161718192021222324252627
  1. autogen.mk
  2. autogen.mk is a makefile provided to automatically update the GNU autotools
  3. build system. It will run Bakefile, aclocal, and autoconf as appropriate.
  4. The .m4 files required for running aclocal are located in build/aclocal.
  5. When upgrading software that wxWidgets depends on (for example, Bakefile,
  6. cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
  7. located in the build/aclocal directory.
  8. It is particularly important that if you use a newer version of Bakefile
  9. to generate the Makefile.in files that you use the newer bakefile*.m4.
  10. Because build/autogen.mk is a Makefile it will automatically rerun
  11. aclocal and autoconf as necessary whenever any m4 in build/aclocal is
  12. newer than the generated aclocal.m4.
  13. You can achieve this simply by copying the new bakefile*.m4 files from
  14. PREFIX/share/aclocal/ into the build/aclocal/ directory and
  15. rerunning make -f build/autogen.mk. Note that you should _not_ preserve
  16. source file times (don't use cp -p) or else it's possible your .m4 files
  17. will be older than the generated aclocal.m4).
  18. Example:
  19. cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
  20. make -f build/autogen.mk
  21. Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
  22. configure, and Makefile.in files to wxWidgets.