]> granicus.if.org Git - graphviz/commitdiff
Add warning that lefty cannot be built if X is used but there is no Xaw.
authorerg <devnull@localhost>
Tue, 10 Apr 2007 22:30:11 +0000 (22:30 +0000)
committererg <devnull@localhost>
Tue, 10 Apr 2007 22:30:11 +0000 (22:30 +0000)
configure.ac

index 34a9988919d2ec3a66b2dd1cf24a7ac87f1357b5..ba77c832808340cf98e937020542878c11da34f5 100644 (file)
@@ -1156,6 +1156,9 @@ 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" && "X$no_x" != Xyes; then
+       AC_MSG_WARN(Lefty cannot be built)
+fi
 
 dnl -----------------------------------
 dnl INCLUDES and LIBS for Z