From 5ee8c7e5e9a9bd097094a4577eece41065db1aa6 Mon Sep 17 00:00:00 2001 From: katzj Date: Thu, 6 Nov 2003 06:56:47 +0000 Subject: [PATCH] better python version check --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 3c65d9d..c815151 100644 --- a/Makefile.in +++ b/Makefile.in @@ -12,7 +12,7 @@ VERSION = @VERSION@ CVSTAG = r$(subst .,-,$(VERSION)) SONAME = @SONAME@ -PYTHONVERS = $(shell ls -d /usr/include/python* | sed "s|/usr/include/||g") +PYTHONVERS = $(shell ls /usr/include/python*/Python.h | sed "s|/usr/include/||g"| sed "s|/Python.h||g") WHIPTCLSO= #WHIPTCLSO=whiptcl.so -- 2.47.2