--- autogen.sh.orig 2012-02-20 04:35:43.000000000 -0600
+++ autogen.sh 2013-02-07 18:25:43.000000000 -0600
-WGET=`find_command 'wget*'`
-($WGET --version) < /dev/null > /dev/null 2>&1 ||
- echo "You must have wget installed to compile $progname."
- echo "Download the appropriate package for your distribution, or get the"
- echo "source tarball from ftp://ftp.gnu.org/pub/gnu/wget"
if test "$GNU_OR_DIE" -eq 0; then
-SVN=`find_command 'svn'`
-($SVN --version) < /dev/null > /dev/null 2>&1 ||
- echo "You must have svn/subversion installed to compile $progname."
- echo "Download the appropriate package for your distribution, or get the"
- echo "source from http://subversion.tigris.org"
if test "$GNU_OR_DIE" -eq 0; then
if [ ! -f libtool.m4.in ]; then
echo " Finding libtool.m4.in"
- if [ -f /usr/local/share/aclocal/libtool.m4 ]; then
- echo " .... found /usr/local/share/aclocal/libtool.m4"
- cp /usr/local/share/aclocal/libtool.m4 libtool.m4.in
+ if [ -f __PREFIX__/share/aclocal/libtool.m4 ]; then
+ echo " .... found __PREFIX__/share/aclocal/libtool.m4"
+ cp __PREFIX__/share/aclocal/libtool.m4 libtool.m4.in
if [ -f /usr/share/aclocal/libtool.m4 ]; then
echo " .... found /usr/share/aclocal/libtool.m4"
if test -f NDPI_LIB; then
echo "nDPI already compiled"
echo "10. Compiling nDPI..."
- cd nDPI; ./configure --with-pic; make; cd ..
+ cd nDPI; ./configure --with-pic || exit $?; make || exit $?; cd ..