]>
Commit | Line | Data |
---|---|---|
c597489d AF |
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 | |
4 | fi | |
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 | |
9 | +try: | |
10 | + import thread | |
11 | + print 'yes' | |
12 | +except: | |
13 | + print 'no' | |
14 | +EOF` | |
15 | fi | |
16 | echo "checking for python threads... $pythonusepthreads" | |
17 | fi | |
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 | |
24 | +try: | |
25 | + import Tix | |
26 | + print 'yes' | |
27 | +except: | |
28 | + print 'no' | |
29 | +EOF` | |
30 | fi | |
31 | fi | |
32 | echo "checking for tkinter... $tkinter" |