]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
better python version check r0-51-6
authorkatzj <katzj>
Thu, 6 Nov 2003 06:56:47 +0000 (06:56 +0000)
committerkatzj <katzj>
Thu, 6 Nov 2003 06:56:47 +0000 (06:56 +0000)
Makefile.in

index 3c65d9d647cd1d99330519656d0c1d9eab16761b..c81515189ef725f5d7ee5e90531459947b6685bf 100644 (file)
@@ -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