diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 52eade9e1..a02b5e31f 100644 --- a/configure.ac +++ b/configure.ac @@ -483,6 +483,17 @@ esac AM_CONDITIONAL(BUILD_LIBMOUNT_MOUNT, test "x$enable_libmount_mount" = xyes) +AC_ARG_ENABLE([mountpoint], + AS_HELP_STRING([--enable-mountpoint], [build mountpoint]), + [], enable_mountpoint=no +) +case "$enable_libmount:$enable_mountpoint" in +no:yes) + AC_MSG_ERROR([cannot enable mountpoint when libmount is disabled]) ;; +esac +AM_CONDITIONAL(BUILD_MOUNTPOINT, test "x$enable_mountpoint" = xyes) + + UTIL_CHECK_LIB(util, openpty) UTIL_CHECK_LIB(termcap, tgetnum) |