]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - configure.in
Allow rpc.nfsd to suppress tcp or udp, and listen on a specific address.
[nfs-utils.git] / configure.in
index 8b538a305b617bde8da34a86de2c81a6dd5e5d22..a136fd75fc8613b7b62636b7fb90a6e0b38287c5 100644 (file)
@@ -107,6 +107,13 @@ AC_ARG_ENABLE(rquotad,
        fi
        AM_CONDITIONAL(CONFIG_RQUOTAD, [test "$enable_rquotad" = "yes"])
 
+AC_ARG_ENABLE(mount,
+       [AC_HELP_STRING([--enable-mount],
+                       [Create mount.nfs and don't use the util-linux mount(8) functionality. @<:@default=yes@:>@])],
+       enable_mount=$enableval,
+       enable_mount=yes)
+       AM_CONDITIONAL(CONFIG_MOUNT, [test "$enable_mount" = "yes"])
+
 # 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