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/protocols/Makefile.am | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'python/protocols/Makefile.am') diff --git a/python/protocols/Makefile.am b/python/protocols/Makefile.am index 3401e473..da376c88 100644 --- a/python/protocols/Makefile.am +++ b/python/protocols/Makefile.am @@ -9,9 +9,7 @@ INCLUDES = \ $(PY_CFLAGS) \ $(NULL) -noinst_LIBRARIES = libprotocols.a - -libprotocols_a_SOURCES = \ +PROTSOURCES = \ py_authn_request.c \ py_authn_response.c \ py_federation_termination_notification.c \ @@ -22,7 +20,14 @@ libprotocols_a_SOURCES = \ py_register_name_identifier_request.c \ py_register_name_identifier_response.c + +if WITH_PYTHON +libprotocols_a_SOURCES = $(PROTSOURCES) +noinst_LIBRARIES = libprotocols.a +endif + EXTRA_DIST = \ + $(PROTSOURCES) \ py_authn_request.h \ py_authn_response.h \ py_federation_termination_notification.h \ -- cgit