From 41661c005d0a62817f5f834a6812617e477f0f7a Mon Sep 17 00:00:00 2001 From: Reinhard Prix Date: Wed, 6 Dec 2006 00:47:45 +0000 Subject: [PATCH] a bit more careful about interpretation of libXmu and libXi tests for glut-test svn path=/trunk/boinc/; revision=11623 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2a862fdb7b..27bb4a2f52 100644 --- a/configure.ac +++ b/configure.ac @@ -340,12 +340,12 @@ AC_CHECK_LIB([Xmu], [main], [have_Xmu="yes"], [have_Xmu="no"]) AC_CHECK_LIB([Xi], [main], [have_Xi="yes"], [have_Xi="no"]) AX_CHECK_GLUT -if test "$no_glut" = yes; then +if test "X${no_x}" != "Xyes" -a "$no_glut" = yes; then if test "$have_Xmu" = no; then - AC_MSG_WARN([Test for glut-dev failed because of missing libXmu-dev!]) + AC_MSG_WARN([Test for glut-dev might have failed because of missing libXmu-dev!]) fi if test "$have_Xi" = no; then - AC_MSG_WARN([Test for glut-dev failed because of missing libXi-dev!]) + AC_MSG_WARN([Test for glut-dev might have failed because of missing libXi-dev!]) fi fi