diff --git a/configure.ac b/configure.ac index bd45a2e2..59310b66 100644 --- a/configure.ac +++ b/configure.ac @@ -89,6 +89,12 @@ AC_CHECK_HEADERS(libintl.h limits.h pwd.h termios.h sys/param.h) dnl Checks for options. +if test "x$with_slang" = xyes; then + if test "x$enable_tiny" != xyes; then + AC_MSG_ERROR([--with-slang is supported only together with --enable-tiny]) + fi +fi + AC_ARG_ENABLE(browser, AS_HELP_STRING([--disable-browser], [Disable the built-in file browser])) if test "x$enable_tiny" = xyes; then @@ -516,7 +522,6 @@ int main(void) ;; esac], [AC_MSG_RESULT(no)]) - dnl Checks for functions. if test "x$enable_utf8" != xno; then