RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  a...@rpm5.org
  Module: rpm                              Date:   04-Jan-2009 23:57:04
  Branch: HEAD                             Handle: 2009010422570400

  Modified files:
    rpm                     configure.ac

  Log:
    use ${__PYTHON} instead of "python", for getting distutils.sysconfig

  Summary:
    Revision    Changes     Path
    2.334       +2  -2      rpm/configure.ac
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/configure.ac
  ============================================================================
  $ cvs diff -u -r2.333 -r2.334 configure.ac
  --- rpm/configure.ac  2 Jan 2009 19:40:39 -0000       2.333
  +++ rpm/configure.ac  4 Jan 2009 22:57:04 -0000       2.334
  @@ -939,9 +939,9 @@
        done
       fi
       AC_ARG_WITH(python-inc-dir, AS_HELP_STRING([--with-python-inc-dir=DIR], 
[directory with Python include files]),
  -         [WITH_PYTHON_INCDIR="$withval"], [WITH_PYTHON_INCDIR="`(python -c 
'from distutils.sysconfig import get_python_inc; print get_python_inc()') 
2>/dev/null`"])
  +         [WITH_PYTHON_INCDIR="$withval"], [WITH_PYTHON_INCDIR="`(${__PYTHON} 
-c 'from distutils.sysconfig import get_python_inc; print get_python_inc()') 
2>/dev/null`"])
       AC_ARG_WITH(python-lib-dir, AS_HELP_STRING([--with-python-lib-dir=DIR], 
[directory with Python library]),
  -         [pythondir="$withval"], [pythondir="`(python -c 'from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)') 
2>/dev/null`"])
  +         [pythondir="$withval"], [pythondir="`(${__PYTHON} -c 'from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)') 
2>/dev/null`"])
   ])
   AC_SUBST(WITH_PYTHON_SUBDIR)
   AC_SUBST(WITH_PYTHON_SUBPACKAGE)
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to