1 2 3$Id$ 4 5This is an agglomeration of notes about using autoconf and friends to create 6the build environment (configure script, etc) that builds and installs 7Rivet. It will probably go away eventually. 8 9WHERE IS THE CONFIGURE SCRIPT? 10 11If you've checked out the source tree from SVN, you'll notice there's no 12configure script, and no configure.in, and no Makefile.in, etc. 13 14You get to fiddle the autoconf stuff to create all that. 15 16This used to be hard but not so much anymore. 17 18Try 19 20 autoreconf -fi 21 22 23This runs aclocal, autoconf, automake and whatever else to properly 24generate config.h.in, aclocal.m4, */Makefile.in, etc. 25 26autoconf and stuff has evolved, and old versions won't work and will cause 27weird problems. 28 29You want to be at least at 30 31autoconf 2.58 32automake 1.11 33 34 35CONFIG.GUESS AND FRIENDS 36 37Ever wonder where config.guess, install-sh, and stuff come from? 38(You see them in a lot of packages.) 39 40This stuff a lot can get pooped out there using libtoolize. 41 42libtoolize --force --copy to install config.guess, config.sub, ltmain.sh 43 44This stuff is in the tclconfig directory, which isn't really the best 45name because it's grown to include a lot of autoconf-related stuff. 46 47But it really doesn't matter anymore because autoreconf appears to take 48care of it all. 49