Ticket #24092: patch-configure.diff

File patch-configure.diff, 939 bytes (added by guillaume-jean@…, 14 years ago)

Patch for the configure script

Line 
1--- configure.orig      2010-03-17 14:26:46.000000000 +0100
2+++ configure   2010-03-17 14:34:17.000000000 +0100
3@@ -13128,7 +13128,7 @@
4         python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
5         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
6                if test -e "$i"; then
7-                       python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
8+                       python_path=`find $i -name libpython$PYTHON_VERSION.* -print | sed "1q"`
9                        if test -n "$python_path" ; then
10                                python_lib="python$PYTHON_VERSION"
11                                break
12@@ -14892,7 +14892,8 @@
13 if test -n "$CONFIG_FILES"; then
14 
15 
16-ac_cr='
17'
18+ac_cr='
19+'
20 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22   ac_cs_awk_cr='\\r'