mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 15:55:47 -05:00
Add --without-ipatests option
--without-ipatests skips building and installation of the ipatests package. By default the ipatests package is always build and installed by make install. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Simo Sorce <ssorce@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
committed by
Petr Vobornik
parent
20c1eb9844
commit
2747f2ad78
+21
-7
@@ -27,13 +27,20 @@ AC_HEADER_STDC
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
AC_ARG_ENABLE([server],
|
||||
[ --disable-server Disable server support],
|
||||
[case "${enableval}" in
|
||||
yes) enable_server=true ;;
|
||||
no) enable_server=false ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for --disable-server]) ;;
|
||||
esac],[enable_server=true])
|
||||
AM_CONDITIONAL([ENABLE_SERVER], [test x$enable_server = xtrue])
|
||||
[AC_HELP_STRING([--disable-server], [Disable server support])],
|
||||
[case "${enableval}" in
|
||||
yes) enable_server=yes ;;
|
||||
no) enable_server=no ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for --disable-server]) ;;
|
||||
esac],
|
||||
[enable_server=yes])
|
||||
AM_CONDITIONAL([ENABLE_SERVER], [test x$enable_server = xyes])
|
||||
|
||||
AC_ARG_WITH([ipatests],
|
||||
[AC_HELP_STRING([--without-ipatests], [Build without ipatests])],
|
||||
[with_ipatests=${withval}],
|
||||
[with_ipatests=yes])
|
||||
AM_CONDITIONAL([WITH_IPATESTS], [test x"$with_ipatests" = xyes])
|
||||
|
||||
AM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes])
|
||||
|
||||
@@ -516,3 +523,10 @@ AM_COND_IF([ENABLE_SERVER], [
|
||||
echo "\
|
||||
build mode: client only"
|
||||
])
|
||||
AM_COND_IF([WITH_IPATESTS], [
|
||||
echo "\
|
||||
with ipatests: yes"
|
||||
], [
|
||||
echo "\
|
||||
with ipatests: no"
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user