tag 488972 - moreinfo thanks Hi,
Matthias Klose wrote: > how is $2 expanded? > > AC_DEFUN([AM_PYTHON_CHECK_VERSION], > > [prog="import sys, string > > # split strings by '.' and convert to numeric. Append some zeros > > # because we need at least 4 digits for the hex conversion. > > minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] > > minverhex = > > for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] > > sys.exit(sys.hexversion < minverhex)" > > AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) Well, given that OOos configure calls AM_PATH_PYTHON([2.2]) and this version splits for . and is called minver (minimal version number requested) I strongly would assume $2 is 2.2 :) Indeed: dnl A version check is needed. if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. AC_MSG_CHECKING([whether $PYTHON version >= $1]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT(yes)], [AC_MSG_ERROR(too old)]) am_display_PYTHON=$PYTHON Tried on morales: $ python -c "import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.2', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" (sid)[EMAIL PROTECTED]:~$ echo $? 0 buildd issue, maybe? Cc'ing neuro (and debian-mips). In case it's kernel related: Linux morales 2.6.18-6-r5k-cobalt #1 Mon Jun 9 05:55:54 UTC 2008 mips GNU/Linu Regards, Rene -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]