| 1 | diff -purN xhost-1.0.2.orig/configure xhost-1.0.2/configure |
| 2 | --- xhost-1.0.2.orig/configure 2010-01-27 13:14:51.000000000 +0100 |
| 3 | +++ xhost-1.0.2/configure 2010-01-27 13:19:37.000000000 +0100 |
| 4 | @@ -3597,6 +3597,7 @@ pkg_failed=no |
| 5 | { echo "$as_me:$LINENO: checking for XHOST" >&5 |
| 6 | echo $ECHO_N "checking for XHOST... $ECHO_C" >&6; } |
| 7 | |
| 8 | +if ! test -n "$XHOST_LIBS"; then |
| 9 | if test -n "$PKG_CONFIG"; then |
| 10 | if test -n "$PKG_CONFIG" && \ |
| 11 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xau\"") >&5 |
| 12 | @@ -3625,6 +3626,9 @@ fi |
| 13 | else |
| 14 | pkg_failed=untried |
| 15 | fi |
| 16 | +else |
| 17 | + pkg_failed=no |
| 18 | +fi |
| 19 | |
| 20 | if test $pkg_failed = yes; then |
| 21 | XHOST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xmuu xau"` |