Start mclu version 2.
[mclu.git] / configure.ac
diff --git a/configure.ac b/configure.ac
deleted file mode 100644 (file)
index de668bc..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-# mclu (mini cluster)
-# Copyright (C) 2014 Red Hat Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-AC_INIT([mclu],1.0)
-AM_INIT_AUTOMAKE([foreign])
-AC_CONFIG_MACRO_DIR([m4])
-
-dnl Python 2.x (required).
-AC_PATH_PROG([PYTHON],[python])
-if test "x$PYTHON" = "xno"; then
-    AC_MSG_ERROR([Python 2.x is required])
-fi
-
-AC_MSG_CHECKING([Python version])
-PYTHON_VERSION_MAJOR=`$PYTHON -c "import sys; print (sys.version_info@<:@0@:>@)"`
-PYTHON_VERSION_MINOR=`$PYTHON -c "import sys; print (sys.version_info@<:@1@:>@)"`
-AC_MSG_RESULT([$PYTHON_VERSION_MAJOR.$PYTHON_VERSION_MINOR])
-
-if test $PYTHON_VERSION_MAJOR -ne 2; then
-    AC_MSG_ERROR([Python version 2 is required, found $PYTHON_VERSION_MAJOR])
-fi
-
-dnl SSH client (required).
-AC_PATH_PROG([SSH],[ssh],[no])
-if test "x$SSH" = "xno"; then
-    AC_MSG_ERROR([SSH client is required])
-fi
-
-dnl Ansible client (required).
-dnl Actually the ansible command line tool is not used, but we do use
-dnl the Python library.  XXX Should check for that instead.
-AC_PATH_PROG([ANSIBLE],[ansible],[no])
-if test "x$ANSIBLE" = "xno"; then
-    AC_MSG_ERROR([ansible is required])
-fi
-
-dnl Wake-on-LAN client (optional).
-AC_PATH_PROG([WOL],[wol],[no])
-
-dnl virt-builder (optional).
-AC_PATH_PROG([VIRT_BUILDER],[virt-builder],[no])
-
-dnl virt-viewer (optional).
-AC_PATH_PROG([VIRT_VIEWER],[virt-viewer],[no])
-
-AC_CONFIG_FILES([run], [chmod +x,-w run])
-AC_CONFIG_FILES([Makefile config.py mclu mclu.spec])
-AC_OUTPUT