Add an autogen.sh script to run all of the autotools in the right order to regenerate the build machinery. Needed since we have patches that modify the source for Autoconf. Debian-specific. --- /dev/null +++ openldap/autogen.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# autogen.sh + +LIBTOOL=`which libtoolize` +AUTOCONF=`which autoconf` +ACLOCAL=`which aclocal` + +if [ ! -x $LIBTOOL ]; then + echo "libtool doesn't exist! Please install libtool" + exit 1 +fi + +if [ ! -x $ACLOCAL ]; then + echo "aclocal doesn't exist! Please install automake" + exit 1 +fi + +if [ ! -x $AUTOCONF ]; then + echo "autoconf doesn't exist! Please install autoconf" + exit 1 +fi + +$LIBTOOL --copy --force +$ACLOCAL +$AUTOCONF + +exit 0 +