src: add new GSO handling capabilities
[platform/upstream/libnetfilter_queue.git] / autogen.sh
index b120d6d..57c3532 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 include ()
 {
@@ -34,20 +34,6 @@ include ()
     fi
 }
 
-run ()
-{
-    echo "running: $*"
-    eval $*
-
-    if test $? != 0 ; then
-       echo "error: while running '$*'"
-       exit 1
-    fi
-}
-
-include
-run libtoolize
-run aclocal
-#run autoheader
-run automake -a
-run autoconf
+[ "x$1" = "xdistrib" ] && include
+autoreconf -fi
+rm -Rf autom4te.cache