![]() |
Blitz Support : |
From: Techentin, Robert W. (techentin.robert_at_[hidden])
Date: 2003-09-04 12:07:32
> > I think the current state of affairs wrt installing
> > from cvs is not so great.
I'm beginning to think that these autotools come from the dark side.
They're both wonderful and terrible at the same time. :-)
I read through "the book" at http://sources.redhat.com/autobook/ and written
a "bootstrap" script for several projects, which is stored in the code
repository along with configure.ac and Makefile.am. Check the code out, run
bootstrap, and you've got a configuration script. For the project with
libtool, the bootstrap script looks like this:
#! /bin/sh
#
# bootstrap
#
# Short script to create basic autoconf/automake configuration
# files. Useful when freshly checking out the source tree.
echo "Clearing all cached configuration files"
rm -rf autom4te.cache aclocal.m4
rm -f config.* configure
rm -f Makefile.in depcomp install-sh missing mkinstalldirs
rm -f ltmain.sh
echo "Running libtoolize"
libtoolize --force --copy
set libtoolize_command `which libtoolize`
set libtoolize_dir `dirname $libtoolize_command`
cp $libtoolize_dir/../share/aclocal/libtool.m4 ./aclocal.m4
echo "Running aclocal"
aclocal
echo "Running automake"
automake --add-missing --copy
echo "Running autoconf"
autoconf
Bob
-- Bob Techentin techentin.robert_at_[hidden] Mayo Foundation (507) 538-5495 200 First St. SW FAX (507) 284-9171 Rochester MN, 55901 USA http://www.mayo.edu/sppdg/