From 3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Fri, 23 Jul 2004 21:36:47 +0000 Subject: added --enable-python option to ./configure; default is yes. --enable-python=no to not compile python bindings. --- python/environs/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'python/environs') diff --git a/python/environs/Makefile.am b/python/environs/Makefile.am index 7b73a494..72a98510 100644 --- a/python/environs/Makefile.am +++ b/python/environs/Makefile.am @@ -1,5 +1,3 @@ -noinst_LIBRARIES = libenvirons.a - INCLUDES = \ -DPACKAGE=\"@PACKAGE@\" \ -I$(top_srcdir) \ @@ -10,7 +8,12 @@ INCLUDES = \ $(NULL) -libenvirons_a_SOURCES = py_federation_termination.c py_login.c py_logout.c py_profile_context.c py_register_name_identifier.c py_server.c py_user.c +ENVSOURCES = py_federation_termination.c py_login.c py_logout.c py_profile_context.c py_register_name_identifier.c py_server.c py_user.c + +if WITH_PYTHON +noinst_LIBRARIES = libenvirons.a +libenvirons_a_SOURCES = $(ENVSOURCES) +endif -EXTRA_DIST = py_federation_termination.h py_login.h py_logout.h py_profile_context.h py_register_name_identifier.h py_server.h py_user.h +EXTRA_DIST = $(ENVSOURCES) py_federation_termination.h py_login.h py_logout.h py_profile_context.h py_register_name_identifier.h py_server.h py_user.h -- cgit