configure: Clean up Python checking

This fixes requiring to add a version every time
a new release comes out...
This commit is contained in:
Patrick Griffis
2015-09-30 03:55:42 -04:00
parent 78486b49d5
commit fad8f93ad8
3 changed files with 343 additions and 23 deletions

View File

@ -3,6 +3,7 @@ libdir = $(hexchatlibdir)
lib_LTLIBRARIES = python.la
python_la_SOURCES = python.c
python_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module
python_la_LIBADD = $(PY_LIBS) $(GLIB_LIBS)
python_la_CFLAGS = $(PY_CFLAGS) $(GLIB_CFLAGS) -I$(top_srcdir)/src/common
python_la_LIBADD = $(PYTHON_LIBS) $(GLIB_LIBS)
python_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
python_la_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)/src/common