From: David Schleef Date: Thu, 5 Jun 2003 22:17:01 +0000 (+0000) Subject: Conditional compile. Use compiler flags found by autoconf X-Git-Tag: r0_7_21~92 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=613d45f72a595a8c56d2024dc21881fe2b0db172;p=comedilib.git Conditional compile. Use compiler flags found by autoconf --- diff --git a/python/Makefile.am b/python/Makefile.am index fdc9cd8..469e409 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -1,18 +1,15 @@ +if HAVE_PYTHON pyexec_LTLIBRARIES = _comedi.la +else +pyexec_LTLIBRARIES = +endif _comedi_la_SOURCES = comedi_wrap.c -_comedi_la_CFLAGS = $(COMEDILIB_CFLAGS) $(PYTHON_INCLUDES) \ - -fno-strict-aliasing -Wno-unused +_comedi_la_CFLAGS = $(COMEDILIB_CFLAGS) $(PYTHON_INCLUDES) $(PYTHON_QUIET) _comedi_la_LDFLAGS = -module -avoid-version $(COMEDILIB_LIBS) pyexec_SCRIPTS = comedi.py EXTRA_DIST = comedi.i README.txt comedi.py setup.py test_comedi.py -install-exec-local: - - -#$(INSTALL) build/lib.linux-i686-2.2/_comedi.so $(pythondir)/ -#$(INSTALL) comedi.py $(pythondir)/ -