]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - configure.in
Move NFS mount code from util-linux to nfs-utils - part 2
[nfs-utils.git] / configure.in
index 8b538a305b617bde8da34a86de2c81a6dd5e5d22..5eb1d798ec398718c0a53eefbb7678d12275c34a 100644 (file)
@@ -107,6 +107,13 @@ AC_ARG_ENABLE(rquotad,
        fi
        AM_CONDITIONAL(CONFIG_RQUOTAD, [test "$enable_rquotad" = "yes"])
 
+AC_ARG_WITH(mount,
+       [AC_HELP_STRING([--without-mount],
+                       [Create mount.nfs and do not use the util-linux mount(8) functionality. By default it doesn't.])],
+       use_mount=$withval,
+       use_mount=yes)
+       AM_CONDITIONAL(CONFIG_NOMOUNT, [test "$use_mount" = "no"])
+
 # Check whether user wants TCP wrappers support
 AC_TCP_WRAPPERS
 
@@ -192,7 +199,8 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h \
                  malloc.h memory.h netdb.h netinet/in.h paths.h \
                  stdlib.h string.h sys/file.h sys/ioctl.h sys/mount.h \
                  sys/param.h sys/socket.h sys/time.h sys/vfs.h \
-                 syslog.h unistd.h com_err.h et/com_err.h])
+                 syslog.h unistd.h com_err.h et/com_err.h \
+                 ifaddrs.h])
 
 dnl *************************************************************
 dnl Checks for typedefs, structures, and compiler characteristics
@@ -313,6 +321,7 @@ AC_CONFIG_FILES([
        utils/gssd/Makefile
        utils/idmapd/Makefile
        utils/lockd/Makefile
+       utils/mount/Makefile
        utils/mountd/Makefile
        utils/nfsd/Makefile
        utils/nfsstat/Makefile