{ echo "$as_me:$LINENO: checking SWIG" >&5
echo $ECHO_N "checking SWIG... $ECHO_C" >&6; }
if test ! -x "$SWIG"; then
- { echo "$as_me:$LINENO: result: failed" >&5
-echo "${ECHO_T}failed" >&6; }
- swig=""
-
- ub_with_pyunbound=no
- ub_with_pythonmod=no
+ { { echo "$as_me:$LINENO: error: failed to find swig tool, install it, or do not build Python module and PyUnbound" >&5
+echo "$as_me: error: failed to find swig tool, install it, or do not build Python module and PyUnbound" >&2;}
+ { (exit 1); exit 1; }; }
else
cat >>confdefs.h <<\_ACEOF
AC_PROG_SWIG
AC_MSG_CHECKING(SWIG)
if test ! -x "$SWIG"; then
- AC_MSG_RESULT(failed, won't build Python module and PyUnbound)
- AC_SUBST(swig, "")
- ub_with_pyunbound=no
- ub_with_pythonmod=no
+ AC_ERROR([failed to find swig tool, install it, or do not build Python module and PyUnbound])
else
AC_DEFINE(HAVE_SWIG, 1, [Define if you have Swig libraries and header files.])
AC_SUBST(swig, "$SWIG")
- iana portlist updated.
- fix lint from complaining on ldns/sha.h.
- help compiler figure out aliasing in priv_rrset_bad() routine.
+ - fail to configure with python if swig is not found.
3 June 2009: Wouter
- fixup bad free() when wrongly encoded DSA signature is seen.