From: erg Date: Tue, 10 Apr 2007 22:30:11 +0000 (+0000) Subject: Add warning that lefty cannot be built if X is used but there is no Xaw. X-Git-Tag: LAST_LIBGRAPH~32^2~5600 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc0c32170abca569dd823718a95af9b23102c9d5;p=graphviz Add warning that lefty cannot be built if X is used but there is no Xaw. --- diff --git a/configure.ac b/configure.ac index 34a998891..ba77c8328 100644 --- a/configure.ac +++ b/configure.ac @@ -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