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/xml/Makefile.am | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'python/xml') diff --git a/python/xml/Makefile.am b/python/xml/Makefile.am index 9a3fffed..7b6692b4 100644 --- a/python/xml/Makefile.am +++ b/python/xml/Makefile.am @@ -1,17 +1,4 @@ -noinst_LIBRARIES = libxml.a - -INCLUDES = \ - -DPACKAGE=\"@PACKAGE@\" \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lasso \ - $(LASSO_DEFINES) \ - $(LASSO_CFLAGS) \ - $(PY_CFLAGS) \ - $(NULL) - -noinst_LIBRARIES = libxml.a - -libxml_a_SOURCES = \ +XMLSOURCES = \ py_lib_authentication_statement.c \ py_lib_authn_request.c \ py_lib_federation_termination_notification.c \ @@ -26,7 +13,22 @@ libxml_a_SOURCES = \ py_samlp_response.c \ py_xml.c +if WITH_PYTHON +noinst_LIBRARIES = libxml.a +libxml_a_SOURCES = $(XMLSOURCES) +endif + +INCLUDES = \ + -DPACKAGE=\"@PACKAGE@\" \ + -I$(top_srcdir) \ + -I$(top_srcdir)/lasso \ + $(LASSO_DEFINES) \ + $(LASSO_CFLAGS) \ + $(PY_CFLAGS) \ + $(NULL) + EXTRA_DIST = \ + $(XMLSOURCES) \ py_lib_authentication_statement.h \ py_lib_authn_request.h \ py_lib_federation_termination_notification.h \ -- cgit