disable SWIG support if requirement not met

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1667 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.0
Stéphane Fillod, F8CFE 2004-02-08 17:16:21 +00:00
rodzic 5280dc3f9b
commit 1d858dd79e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -43,9 +43,11 @@ AC_DEFUN([SWIG_PROG],[
awk '{ split($[1],a,"\."); print [a[1]*1000000+a[2]*1000+a[3]] }' 2>/dev/null`
if test $swig_required_version -gt $swig_version ; then
AC_MSG_WARN([SWIG version $1 required])
SWIG=false
fi
else
AC_MSG_WARN([cannot determine SWIG version])
SWIG=false
fi
fi
])