Use autoconf-located includes for python
authorDavid Schleef <ds@schleef.org>
Wed, 4 Jun 2003 20:00:29 +0000 (20:00 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 4 Jun 2003 20:00:29 +0000 (20:00 +0000)
python/Makefile.am

index 00807fb9d6eb013598f9bcd48db0a79201203a71..9834b0ecd27dd541558feaa712b5f59ed8abe1ea 100644 (file)
@@ -2,7 +2,7 @@
 pyexec_LTLIBRARIES = _comedi.la
 
 _comedi_la_SOURCES = comedi_wrap.c
-_comedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -I/usr/include/python2.2
+_comedi_la_CFLAGS = $(COMEDILIB_CFLAGS) $(PYTHON_INCLUDES)
 _comedi_la_LDFLAGS = -module -avoid-version $(COMEDILIB_LIBS)
 
 pyexec_SCRIPTS = comedi.py