]> granicus.if.org Git - graphviz/commitdiff
rework Xaw test
authorellson <devnull@localhost>
Fri, 27 Feb 2009 16:42:03 +0000 (16:42 +0000)
committerellson <devnull@localhost>
Fri, 27 Feb 2009 16:42:03 +0000 (16:42 +0000)
configure.ac

index aa3059229d6f0de5575fbc5f5a7cde7a4abd91d6..5cf1f109cb4d58b956913bc94982c1479d3aa85f 100644 (file)
@@ -1796,8 +1796,10 @@ CPPFLAGS=$save_CPPFLAGS
 AC_SUBST(XAW_INCLUDES)
 AC_SUBST(XAW_LIBS)
 AM_CONDITIONAL(WITH_XAW, [test "x$with_xaw" != "xno"])
-if test "x$with_xaw" = "xno" && "$no_x" != yes; then
+if test "x$with_xaw" = "xno"; then
+    if test "x$no_x" != "xyes"; then
        AC_MSG_WARN(Lefty cannot be built)
+    fi
 fi
 
 dnl -----------------------------------