From 6fb0e6bf1c8312555cc8e29ef3513e0dc5a848fe Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 29 Sep 2012 16:22:01 +0200 Subject: build: use "python" instead of "python3" as interpreter name This works regardless whether "python" starts a Python 2 or Python 3 interpreter. --- TOOLS/file2string.py | 2 +- TOOLS/matroska.py | 2 +- TOOLS/vdpau_functions.py | 2 +- configure | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TOOLS/file2string.py b/TOOLS/file2string.py index 35c89cb731..6cdd1a72ae 100755 --- a/TOOLS/file2string.py +++ b/TOOLS/file2string.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Convert the contents of a file into a C string constant. # Note that the compiler will implicitly add an extra 0 byte at the end diff --git a/TOOLS/matroska.py b/TOOLS/matroska.py index ab5684f1ed..4a672690b6 100755 --- a/TOOLS/matroska.py +++ b/TOOLS/matroska.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python """ Generate C definitions for parsing Matroska files. Can also be used to directly parse Matroska files and display their contents. diff --git a/TOOLS/vdpau_functions.py b/TOOLS/vdpau_functions.py index 39e38a8bbe..85e6f1d942 100755 --- a/TOOLS/vdpau_functions.py +++ b/TOOLS/vdpau_functions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Generate vdpau_template.c diff --git a/configure b/configure index d0fedf2d59..f994725791 100755 --- a/configure +++ b/configure @@ -1019,8 +1019,8 @@ echocheck "working compiler" cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ." echo "yes" -echocheck "python3" -command_check python3 -c '' || die "Python 3 is not functioning correctly. Check your installation and PATH." +echocheck "python" +command_check python -c '' || die "Python is not functioning correctly. Check your installation and PATH." echo yes if test -z "$_target" && x86 ; then -- cgit v1.2.3