svn commit: r198034 - in user/des/svnsup: . src
Dag-Erling Smorgrav
des at FreeBSD.org
Tue Oct 13 16:00:19 UTC 2009
Author: des
Date: Tue Oct 13 16:00:18 2009
New Revision: 198034
URL: http://svn.freebsd.org/changeset/base/198034
Log:
Allow the user to choose which program(s) to build.
Modified:
user/des/svnsup/configure.ac
user/des/svnsup/src/Makefile.am
Modified: user/des/svnsup/configure.ac
==============================================================================
--- user/des/svnsup/configure.ac Tue Oct 13 15:59:24 2009 (r198033)
+++ user/des/svnsup/configure.ac Tue Oct 13 16:00:18 2009 (r198034)
@@ -18,6 +18,20 @@ AC_PROG_MAKE_SET
PKG_PROG_PKG_CONFIG
+AC_ARG_ENABLE(distill,
+ AS_HELP_STRING([--enable-distill],
+ [build svnsup-distill (default is YES)]),
+ [], [enable_distill=yes]
+)
+AM_CONDITIONAL([ENABLE_DISTILL], [test x"$enable_distill" = xyes])
+
+AC_ARG_ENABLE(apply,
+ AS_HELP_STRING([--enable-apply],
+ [build svnsup-apply (default is YES)]),
+ [], [enable_apply=yes]
+)
+AM_CONDITIONAL([ENABLE_APPLY], [test x"$enable_apply" = xyes])
+
AC_ARG_ENABLE(debugging,
AS_HELP_STRING([--enable-debugging],
[enable debugging (default is NO)]),
Modified: user/des/svnsup/src/Makefile.am
==============================================================================
--- user/des/svnsup/src/Makefile.am Tue Oct 13 15:59:24 2009 (r198033)
+++ user/des/svnsup/src/Makefile.am Tue Oct 13 16:00:18 2009 (r198034)
@@ -1,3 +1,11 @@
# $Id$
-SUBDIRS = distill apply
+if ENABLE_DISTILL
+DISTILL_SUBDIR = distill
+endif
+
+if ENABLE_APPLY
+APPLY_SUBDIR = apply
+endif
+
+SUBDIRS = ${DISTILL_SUBDIR} ${APPLY_SUBDIR}
More information about the svn-src-user
mailing list