You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
675 B
35 lines
675 B
# autogen.sh
|
|
#
|
|
# invoke the auto* tools to create the configureation system
|
|
|
|
# move out configure.in
|
|
if ! test -f configure.in; then
|
|
echo "copying out configure.in"
|
|
ln -s makefiles/configure.in
|
|
fi
|
|
|
|
# move out the macros and run aclocal
|
|
if ! test -f acinclude.m4; then
|
|
echo "copying configure macros"
|
|
ln -s makefiles/acinclude.m4 .
|
|
fi
|
|
aclocal
|
|
|
|
# build the configure script
|
|
autoconf
|
|
|
|
# set up libtool
|
|
libtoolize --force
|
|
|
|
# copy up our Makefile template and invoke automake
|
|
if ! test -f Makefile.am; then
|
|
echo "copying automake template"
|
|
ln -s makefiles/Makefile.am .
|
|
fi
|
|
automake --foreign --add-missing
|
|
|
|
# and finally invoke our new configure
|
|
./configure $*
|
|
|
|
# end
|