Revision 27df5b73 configure.ac

b/configure.ac
776 776
AC_PYTHON_MODULE(pycurl, t)
777 777
AC_PYTHON_MODULE(bitarray, t)
778 778
AC_PYTHON_MODULE(ipaddr, t)
779
AC_PYTHON_MODULE(yaml, t)
780 779
AC_PYTHON_MODULE(affinity)
781 780
AC_PYTHON_MODULE(paramiko)
782 781

  
782
# Development-only Python modules
783
PY_NODEV=
784
AC_PYTHON_MODULE(yaml)
785
if test $HAVE_PYMOD_YAML == "no"; then
786
  PY_NODEV="$PY_NODEV yaml"
787
fi
788

  
789
if test -n "$PY_NODEV"; then
790
  AC_MSG_WARN(m4_normalize([Required development modules ($PY_NODEV) were not
791
                            found, you won't be able to run Python unittests]))
792
else
793
   AC_MSG_NOTICE([Python development modules found, unittests enabled])
794
fi
795
AC_SUBST(PY_NODEV)
796
AM_CONDITIONAL([PY_NODEV], [test -n $PY_NODEV])
797

  
783 798
AC_CONFIG_FILES([ Makefile ])
784 799

  
785 800
AC_OUTPUT

Also available in: Unified diff