aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index e03f93023..acf807f9f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,10 +13,16 @@ LIBTOOL=$(command -v libtool)
LIBTOOLIZE=$(command -v libtoolize)
AUTORECONF=$(command -v autoreconf)
PKG_CONFIG=$(command -v pkg-config)
+FUZZY=
if test -z $AUTOCONF; then
echo "autoconf is missing: please install it and try again"
exit
+else
+ V=`autoconf --version | head -1 | cut -d ' ' -f 4`
+ if [ $V="2.6.3" ]; then
+ FUZZY="dnl> "
+ fi
fi
if test -z $AUTOMAKE; then
@@ -44,6 +50,7 @@ cat configure.seed | sed \
-e "s/@NDPI_MINOR@/$NDPI_MINOR/g" \
-e "s/@NDPI_PATCH@/$NDPI_PATCH/g" \
-e "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" \
+ -e "s/@FUZZY@/$FUZZY/g" \
> configure.ac
autoreconf -ivf