updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / firefox-qt-hg / fix_python.patch
blobf0485e75452ff0e8aa373be29e84ce00876d4a5b
1 diff --git a/configure.in b/configure.in
2 --- a/configure.in
3 +++ b/configure.in
4 @@ -986,17 +986,17 @@ _perl_archlib=`$PERL -e 'use Config; if
5 _perl_res=$?
6 if test "$_perl_res" != 0; then
7 AC_MSG_RESULT([no])
8 AC_MSG_ERROR([Cannot find Config.pm or \$Config{archlib}. A full perl installation is required.])
9 else
10 AC_MSG_RESULT([yes])
13 -MOZ_PATH_PROGS(PYTHON, $PYTHON python2.6 python2.5 python2.4 python)
14 +MOZ_PATH_PROGS(PYTHON, $PYTHON python2.7 python2.6 python2.5 python2.4 python2)
15 if test -z "$PYTHON"; then
16 AC_MSG_ERROR([python was not found in \$PATH])
19 if test -z "$COMPILE_ENVIRONMENT"; then
20 NSINSTALL_BIN='$(PYTHON) $(topsrcdir)/config/nsinstall.py'
22 AC_SUBST(NSINSTALL_BIN)