Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx> Date: 28/05/2010 at 14:49:37 Revision: 4613 Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: make python a requirement for building Modified: M Makefile.am M configure.ac === modified file 'Makefile.am' --- Makefile.am 2010-05-26 21:40:32 +0000 +++ Makefile.am 2010-05-28 11:49:35 +0000 @@ -180,7 +180,6 @@ tools_hipconf_LDADD += lib/core/libhipcore.la tools_pisacert_LDADD = lib/core/libhipcore.la -if HAVE_PYTHON dist_sbin_SCRIPTS = tools/hipdnskeyparse/hipdnskeyparse \ tools/hipdnsproxy/hipdnsproxy \ tools/nsupdate.pl @@ -206,7 +205,6 @@ tools_hipdnskeyparsedir = $(pyexecdir) tools_hipdnsproxydir = $(pyexecdir) -endif # HAVE_PYTHON ### misc stuff ### === modified file 'configure.ac' --- configure.ac 2010-05-28 11:25:28 +0000 +++ configure.ac 2010-05-28 11:49:35 +0000 @@ -27,8 +27,7 @@ AM_PROG_CC_C_O # Required in CentOS # Check for python for build-system and tools directory -AM_PATH_PYTHON([2.4.3],, [:]) -AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :]) +AM_PATH_PYTHON([2.4.3],, [AC_MSG_ERROR([min. required python version not found])]) # Checks for libraries. AC_CHECK_LIB(crypto, DSA_generate_key,, AC_MSG_ERROR(openssl lib not found))