Ticket #30896: patch-configure.diff

File patch-configure.diff, 1016 bytes (added by cawka (Alex Afanasyev), 13 years ago)
  • configure

    old new  
    1312613126        WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
    1312713127
    1312813128        python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
    13129         for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
     13129        for i in "$python_path/lib/ $python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
    1313013130                if test -e "$i"; then
    13131                         python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
     13131                        python_path=`find $i \( -type f -or -type l \) -name libpython$PYTHON_VERSION.\* -print | sed "1q"`
    1313213132                        if test -n "$python_path" ; then
    1313313133                                python_lib="python$PYTHON_VERSION"
    1313413134                                break