mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
gtx: add configure switch to force not building
allow gtx and associated software to be turned off. Change-Id: If02427311c79e0784fcc5fb1816a449f7dcdd879 Reviewed-on: http://gerrit.openafs.org/7552 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
6d3390bc16
commit
5d53c12b95
20
acinclude.m4
20
acinclude.m4
@ -79,6 +79,8 @@ AC_ARG_ENABLE([pam],
|
||||
[AS_HELP_STRING([--disable-pam], [disable PAM support])],
|
||||
,
|
||||
[enable_pam="yes"])
|
||||
AC_ARG_ENABLE([gtx],
|
||||
AS_HELP_STRING([--disable-gtx], [disable gtx curses-based terminal tools]))
|
||||
AC_ARG_ENABLE([namei-fileserver],
|
||||
[AS_HELP_STRING([--enable-namei-fileserver],
|
||||
[force compilation of namei fileserver in preference to inode
|
||||
@ -1371,15 +1373,15 @@ dnl see what struct stat has for timestamps
|
||||
AC_CHECK_MEMBERS([struct stat.st_ctimespec, struct stat.st_ctimensec])
|
||||
|
||||
dnl check for curses-lib
|
||||
save_LIBS=$LIBS
|
||||
AC_CHECK_LIB( [ncurses], [setupterm],
|
||||
[LIB_curses=-lncurses],
|
||||
[AC_CHECK_LIB([Hcurses], [setupterm], [LIB_curses=-lHcurses],
|
||||
[AC_CHECK_LIB([curses], [setupterm], [LIB_curses=-lcurses])
|
||||
])
|
||||
])
|
||||
LIBS=$save_LIBS
|
||||
AC_SUBST(LIB_curses)
|
||||
AS_IF([test "x$enable_gtx" != "xno"],
|
||||
[save_LIBS=$LIBS
|
||||
AC_CHECK_LIB( [ncurses], [setupterm],
|
||||
[LIB_curses=-lncurses],
|
||||
[AC_CHECK_LIB([Hcurses], [setupterm], [LIB_curses=-lHcurses],
|
||||
[AC_CHECK_LIB([curses], [setupterm], [LIB_curses=-lcurses])])
|
||||
])
|
||||
LIBS=$save_LIBS
|
||||
AC_SUBST(LIB_curses)])
|
||||
|
||||
OPENAFS_TEST_PACKAGE(libintl,[#include <libintl.h>],[-lintl],,,INTL)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user