1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/bin/sh
#
# $Id: bootstrap-dev,v 1.6 2012/05/25 02:40:47 vlg Exp $
# bootstrap -- Use this script to create generated files from the CVS dist
#set -x
#aclocal -I macros
#autoheader 2>/dev/null 1>&2
# Files generated by libtoolize (libtool.m4, ltmain.sh, libtool) must
# be from the same version, otherwise weird errors might pop up
# (a library suddenly losing its '.so' extension).
# If you change the source files (configure.ac) and re-run autotools,
# you must re-run libtoolize also to bring all generated files
# to the same version
#
#libtoolize --copy --force || die
#automake --foreign --add-missing --copy
#autoconf
#autoreconf
./autogen.sh
# Configure with examples and tests.
#
# You can pass additional arguments via $DEVPREFIX environment
# variable:
#
# $ DEVPREFIX=/path/to/alt_build ./configure
#
./configure --prefix=$DEVPREFIX \
--enable-selftests=yes \
--enable-examples
echo "Now type \`make' to compile your package"
|