mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 23:58:23 -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
+7
-3
@@ -2,12 +2,16 @@ ACLOCAL_AMFLAGS = -I m4
|
|||||||
|
|
||||||
if ENABLE_SERVER
|
if ENABLE_SERVER
|
||||||
SERVER_SUBDIRS = daemons init install ipaserver
|
SERVER_SUBDIRS = daemons init install ipaserver
|
||||||
else
|
|
||||||
SERVER_SUBDIRS =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if WITH_IPATESTS
|
||||||
|
IPATESTS_SUBDIRS = ipatests
|
||||||
|
endif
|
||||||
|
|
||||||
IPACLIENT_SUBDIRS = ipaclient ipalib ipapython
|
IPACLIENT_SUBDIRS = ipaclient ipalib ipapython
|
||||||
|
|
||||||
SUBDIRS = asn1 util client contrib po \
|
SUBDIRS = asn1 util client contrib po \
|
||||||
$(IPACLIENT_SUBDIRS) ipaplatform ipatests $(SERVER_SUBDIRS)
|
$(IPACLIENT_SUBDIRS) ipaplatform $(IPATESTS_SUBDIRS) $(SERVER_SUBDIRS)
|
||||||
|
|
||||||
|
|
||||||
MOSTLYCLEANFILES = ipasetup.pyc ipasetup.pyo \
|
MOSTLYCLEANFILES = ipasetup.pyc ipasetup.pyo \
|
||||||
|
|||||||
+21
-7
@@ -27,13 +27,20 @@ AC_HEADER_STDC
|
|||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
AC_ARG_ENABLE([server],
|
AC_ARG_ENABLE([server],
|
||||||
[ --disable-server Disable server support],
|
[AC_HELP_STRING([--disable-server], [Disable server support])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) enable_server=true ;;
|
yes) enable_server=yes ;;
|
||||||
no) enable_server=false ;;
|
no) enable_server=no ;;
|
||||||
*) AC_MSG_ERROR([bad value ${enableval} for --disable-server]) ;;
|
*) AC_MSG_ERROR([bad value ${enableval} for --disable-server]) ;;
|
||||||
esac],[enable_server=true])
|
esac],
|
||||||
AM_CONDITIONAL([ENABLE_SERVER], [test x$enable_server = xtrue])
|
[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])
|
AM_CONDITIONAL([HAVE_GCC], [test "$ac_cv_prog_gcc" = yes])
|
||||||
|
|
||||||
@@ -516,3 +523,10 @@ AM_COND_IF([ENABLE_SERVER], [
|
|||||||
echo "\
|
echo "\
|
||||||
build mode: client only"
|
build mode: client only"
|
||||||
])
|
])
|
||||||
|
AM_COND_IF([WITH_IPATESTS], [
|
||||||
|
echo "\
|
||||||
|
with ipatests: yes"
|
||||||
|
], [
|
||||||
|
echo "\
|
||||||
|
with ipatests: no"
|
||||||
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user