1 --- OpenIPMI-2.0.18/configure.in.wiget 2011-08-15 14:56:33.536069856 +0200
2 +++ OpenIPMI-2.0.18/configure.in 2011-08-15 15:05:50.412874577 +0200
3 @@ -647,7 +647,13 @@ else
5 if test "x$pythonprog" != "x"; then
6 if test "x$pythonusepthreads" = "x"; then
7 - pythonusepthreads=`echo -e "try:\n import thread\n print 'yes'\nexcept:\n print 'no'\n" | python`
8 + pythonusepthreads=`$pythonprog <<EOF
16 echo "checking for python threads... $pythonusepthreads"
18 @@ -671,7 +677,13 @@ AC_SUBST(PYTHON_POSIX_SO)
19 # Check for Tkinter/Tix
20 if test "x$tkinter" = "x"; then
21 if test "x$pythonprog" != "x"; then
22 - tkinter=`echo -e "try:\n import Tix\n print 'yes'\nexcept:\n print 'no'\n" | python`
23 + tkinter=`$pythonprog <<EOF
32 echo "checking for tkinter... $tkinter"