provide an option to disable building uss. current heimdal
when built static can leak symbol names for its flex/bison parser
causing symbol conflicts. this is but a workaround, but
sites not needing uss can at least use it.
Change-Id: Ibab1dd189e7fbc41ca01e7ef7479421c056999f5
Reviewed-on: http://gerrit.openafs.org/7553
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
fi
uss: hcrypto kauth cmd comerr rx vlserver vol volser
- +${COMPILE_PART1} uss ${COMPILE_PART2}
+ +if test "@BUILD_USS@" = "yes"; then \
+ ${COMPILE_PART1} uss ${COMPILE_PART2} ; \
+ else \
+ echo Not building uss. ; \
+ fi
bozo: cmd comerr audit auth kauth volser
+${COMPILE_PART1} bozo ${COMPILE_PART2}
[enable_pam="yes"])
AC_ARG_ENABLE([gtx],
AS_HELP_STRING([--disable-gtx], [disable gtx curses-based terminal tools]))
+AC_ARG_ENABLE([uss],
+ AS_HELP_STRING([--disable-uss], [disable uss bulk creation tool]))
AC_ARG_ENABLE([namei-fileserver],
[AS_HELP_STRING([--enable-namei-fileserver],
[force compilation of namei fileserver in preference to inode
fi
AC_SUBST(BUILD_LOGIN)
+if test "$enable_uss" = yes; then
+ BUILD_USS="yes"
+else
+ BUILD_USS="no"
+fi
+AC_SUBST(BUILD_USS)
+
AC_CHECK_FUNCS([ \
arc4random \
fcntl \