diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 06a27d0..4507e85 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -96,16 +96,17 @@ if test "$ac_cv_attribute_constructor" = "yes"; then | |||
| 96 | fi | 96 | fi |
| 97 | 97 | ||
| 98 | AC_ARG_WITH([tools], | 98 | AC_ARG_WITH([tools], |
| 99 | [AS_HELP_STRING([--with-tools], [Build irecovery tools. (requires readline) [default=yes]])], | 99 | [AS_HELP_STRING([--with-tools], [Build irecovery tools. [default=yes]])], |
| 100 | [], | 100 | [], |
| 101 | [with_tools=yes]) | 101 | [with_tools=yes]) |
| 102 | 102 | ||
| 103 | AS_IF([test "x$with_tools" = "xyes"], [ | 103 | AS_IF([test "x$with_tools" = "xyes"], [ |
| 104 | AC_DEFINE(BUILD_TOOLS, 1, [Define if we are building irecovery tools]) | 104 | AC_DEFINE(BUILD_TOOLS, 1, [Define if we are building irecovery tools]) |
| 105 | AC_CHECK_HEADERS([readline/readline.h], [], | 105 | AC_CHECK_HEADERS([readline/readline.h], |
| 106 | [AC_MSG_ERROR([Please install readline development headers])] | 106 | [AC_DEFINE(HAVE_READLINE, 1, [Define if readline is available])], |
| 107 | )] | 107 | [AC_MSG_NOTICE([NOTE: Building without readline support. If you want readline support, install its development package.])] |
| 108 | ) | 108 | ) |
| 109 | ]) | ||
| 109 | AM_CONDITIONAL(BUILD_TOOLS, test "x$with_tools" = "xyes") | 110 | AM_CONDITIONAL(BUILD_TOOLS, test "x$with_tools" = "xyes") |
| 110 | 111 | ||
| 111 | AC_ARG_WITH([dummy], | 112 | AC_ARG_WITH([dummy], |
