open-src/lib/libxcb/aclocal.m4.2.patch
changeset 1222 173311eab39b
parent 1221 37adc3c7ec74
child 1223 fc3a17494700
equal deleted inserted replaced
1221:37adc3c7ec74 1222:173311eab39b
     1 --- aclocal.m4	2010-08-13 04:46:51.000000000 -0700
       
     2 +++ aclocal.m4	2010-10-12 11:20:55.270006000 -0700
       
     3 @@ -8911,7 +8911,7 @@
       
     4      am_display_PYTHON=python
       
     5    ], [
       
     6      dnl A version check is needed.
       
     7 -    if test -n "$PYTHON"; then
       
     8 +    if [ "x$PYTHON" = "x" ] ; then
       
     9        # If the user set $PYTHON, use it and don't search something else.
       
    10        AC_MSG_CHECKING([whether $PYTHON version >= $1])
       
    11        AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
       
    12 @@ -8929,7 +8929,7 @@
       
    13  	done])
       
    14        # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
       
    15        if test "$am_cv_pathless_PYTHON" = none; then
       
    16 -	PYTHON=:
       
    17 +	PYTHON=/usr/bin/python2.6
       
    18        else
       
    19          AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
       
    20        fi