-
-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"])
+AC_ARG_WITH(rpcgen,
+ [AC_HELP_STRING([--with-rpcgen=/usr/bin/rpcgen], [use system rpcgen instead of compiling our own])],
+ if test "$withval" == "yes"; then
+ for p in /usr/local/bin/rpcgen /usr/bin/rpcgen /bin/rpcgen
+ do if test -f $p ; then withval=$p ; break; fi ; done
+ fi
+ RPCGEN_PATH=$withval,
+ RPCGEN_PATH= )
+ AC_SUBST(RPCGEN_PATH)
+ AM_CONDITIONAL(CONFIG_RPCGEN, [test "$RPCGEN_PATH" == ""])
+AC_ARG_ENABLE(uuid,
+ [AC_HELP_STRING([--without-uuid], [Exclude uuid support and so avoid possibly buggy libblkid])],
+ if test "$enableval" = "yes" ; then use_blkid=1; else use_blkid=0; fi,
+ use_blkid=1)
+ AC_DEFINE_UNQUOTED(USE_BLKID, $use_blkid, [Define if you want to use blkid to find uuid of filesystems])
+AC_ARG_ENABLE(mount,
+ [AC_HELP_STRING([--enable-mount],
+ [Create mount.nfs and don't use the util-linux mount(8) functionality. @<:@default=no@:>@])],
+ enable_mount=$enableval,
+ enable_mount=no)
+ AM_CONDITIONAL(CONFIG_MOUNT, [test "$enable_mount" = "yes"])