X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=8b6d4d3f1b5a1f7a8062b8b315c2e0f54a5f76b9;hb=b78eacbd64af799754684e3fe3569f0ba4ec92f3;hp=9fa67b176cc82217e4b7094be81a21e184f80ae2;hpb=3a625af272ee8c6f878ba4d44ed1c741a1582395;p=catta diff --git a/configure.ac b/configure.ac index 9fa67b1..8b6d4d3 100644 --- a/configure.ac +++ b/configure.ac @@ -216,7 +216,9 @@ avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket" AC_SUBST(avahi_runtime_dir) AC_SUBST(avahi_socket) -AM_PATH_PYTHON(2.4) +HAVE_PYTHON=fuck +AM_PATH_PYTHON(2.4, [HAVE_PYTHON=yes], [HAVE_PYTHON=no]) +AM_CONDITIONAL(HAVE_PYTHON, [test "x$HAVE_PYTHON" = xyes ]) AC_CONFIG_FILES([ Makefile @@ -253,7 +255,8 @@ echo " compiler: ${CC} cflags: ${CFLAGS} Enable Gtk: ${ENABLE_GTK} - Enable Dbus: ${ENABLE_DBUS} + Enable DBUS: ${ENABLE_DBUS} + Have Python: ${HAVE_PYTHON} Linux Distro: ${with_distro} User for Avahi: ${AVAHI_USER} Group for Avahi: ${AVAHI_GROUP}