Generate an appropriate shebang line for MakeHeader script

Use configure.ac to handle platform differences where some
build hosts have only a python3, or only python, binary.

Related to https://github.com/htop-dev/htop/pull/6
This commit is contained in:
Nathan Scott
2020-08-23 11:24:52 +10:00
parent b3aef4ea3a
commit 9e57b5c3f4
3 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env @PYTHON@
import os, sys, string, io
try:
from StringIO import StringIO