Patch applied.

I simply renamed CONFIG_NO_PYTHON
to CONFIG_PFMLIB_NOPYTHONN for consistence reason.

Thanks.


On Thu, Jul 15, 2010 at 2:22 AM, Corey Ashford
<cjash...@linux.vnet.ibm.com> wrote:
> Add a new config variable to allow developers who don't need
> a python interface to libpfm4 to disable the building of that
> subsystem.  Building the python subsystem requires several other
> packages to be downloaded, so this change allows the optional removal
> of those dependencies.
>
> Signed-off-by: Corey Ashford <cjash...@linux.vnet.ibm.com>
> ---
>  Makefile |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 635b7f5..1b9a845 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -28,7 +28,11 @@ TOPDIR  := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; 
> else pwd; fi)
>  include config.mk
>
>  EXAMPLE_DIRS=examples perf_examples
> -DIRS=lib $(EXAMPLE_DIRS) include docs python
> +DIRS=lib $(EXAMPLE_DIRS) include docs
> +
> +ifneq ($(CONFIG_NO_PYTHON),y)
> +DIRS += python
> +endif
>
>  all:
>       �...@echo Compiling for \'$(ARCH)\' target
> --
> 1.7.0.4
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to