summaryrefslogtreecommitdiffstats
path: root/python/environs/Makefile.am
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-07-23 21:36:47 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-07-23 21:36:47 +0000
commit3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0 (patch)
treeedabee11a7b4437cc633d5bda03cf6bcb0ec2611 /python/environs/Makefile.am
parenta3fce007c45a710758c572346ab5a4839bfd6bf8 (diff)
downloadlasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.tar.gz
lasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.tar.xz
lasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.zip
added --enable-python option to ./configure; default is yes.
--enable-python=no to not compile python bindings.
Diffstat (limited to 'python/environs/Makefile.am')
-rw-r--r--python/environs/Makefile.am11
1 files changed, 7 insertions, 4 deletions
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