X-Git-Url: http://git.alex.org.uk diff --git a/configure.ac b/configure.ac index 2a92009..3e5663a 100644 --- a/configure.ac +++ b/configure.ac @@ -82,45 +82,6 @@ AC_ARG_ENABLE( ] ) -AC_MSG_CHECKING(for klcc) -AC_ARG_WITH( - klcc, - AC_HELP_STRING(--with-klcc,[Build a version of nbd-client against klibc (for initramfs uses). Specify the path to 'klcc' (default autodetected)]), - [ - if test "x$withval" != "x"; then - if test -x "$withval"; then - KLCC="$withval" - sbin_PROGRAMS=knbd-client - AC_MSG_RESULT($KLCC) - else - if test "$withval" = "no"; then - KLCC="" - AC_MSG_RESULT(Disabled) - else - AC_MSG_ERROR([specified klcc ($withval) is not executable or does not exist.]) - fi - fi - else - if test -x /usr/bin/klcc; then - KLCC=/usr/bin/klcc - sbin_PROGRAMS=knbd-client - AC_MSG_RESULT($KLCC) - else - AC_MSG_ERROR([klcc not found! Please specify it as a parameter to the --with-klcc option]); - fi - fi - ], - [ if test -x /usr/bin/klcc; then - sbin_PROGRAMS=knbd-client - KLCC=/usr/bin/klcc - AC_MSG_RESULT($KLCC) - else - AC_MSG_RESULT(not found) - fi - ] -) -AC_SUBST(KLCC) - AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL