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/elements/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'python/protocols/elements/Makefile.am') diff --git a/python/protocols/elements/Makefile.am b/python/protocols/elements/Makefile.am index 047fede8..977c8b67 100644 --- a/python/protocols/elements/Makefile.am +++ b/python/protocols/elements/Makefile.am @@ -1,4 +1,9 @@ +ELEMSOURCES = py_assertion.c py_authentication_statement.c + +if WITH_PYTHON noinst_LIBRARIES = libelements.a +libelements_a_SOURCES = $(ELEMSOURCES) +endif INCLUDES = \ -DPACKAGE=\"@PACKAGE@\" \ @@ -9,7 +14,5 @@ INCLUDES = \ $(PY_CFLAGS) \ $(NULL) -noinst_LIBRARIES = libelements.a -libelements_a_SOURCES = py_assertion.c py_authentication_statement.c -EXTRA_DIST = py_assertion.h py_authentication_statement.h +EXTRA_DIST = $(ELEMSOURCES) py_assertion.h py_authentication_statement.h -- cgit