From: ellson Date: Mon, 14 Sep 2009 16:09:07 +0000 (+0000) Subject: make missing libXaw-devel show up in configure summary as breaking lefty X-Git-Tag: LAST_LIBGRAPH~32^2~1710 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67577c3d7e21ccdfbdacad55a04b060f99011939;p=graphviz make missing libXaw-devel show up in configure summary as breaking lefty --- diff --git a/configure.ac b/configure.ac index f235fa226..1de874aee 100644 --- a/configure.ac +++ b/configure.ac @@ -1841,9 +1841,11 @@ save_LDFLAGS=$LDFLAGS CPPFLAGS="$CPPFLAGS $XAW_INCLUDES $X_CFLAGS" LDFLAGS="$LDFLAGS $X_LIBS $XAW_LIBS $XPM_LIBS $X_EXTRA_LIBS $X_PRE_LIBS $SOCKET_LIBS" AC_CHECK_HEADERS([X11/Intrinsic.h]) +use_lefty="Yes" AC_CHECK_HEADERS([X11/Xaw/Text.h], [], [with_xaw=no + use_lefty="No (missing Xaw headers)" AC_MSG_WARN(Optional Xaw library not available - missing headers)], [#if HAVE_X11_INTRINSIC_H # include @@ -1853,6 +1855,7 @@ if test "x$with_xaw" != "xno"; then AC_CHECK_LIB(Xaw,main, [XAW_LIBS="$X_LIBS $XAW_LIBS -lXaw"], [with_xaw=no + use_lefty="No (missing Xaw library)" AC_MSG_WARN(Optional Xaw library not available)], [$X_LIBS -lXmu -lXt -lX11 -lXext $SOCKET_LIBS]) fi @@ -3170,8 +3173,8 @@ echo " neato: Yes (always enabled)" echo " fdp: Yes (always enabled)" echo " circo: Yes (always enabled)" echo " twopi: Yes (always enabled)" -echo " lefty: Yes (always enabled)" echo " gvpr: Yes (always enabled)" +echo " lefty: $use_lefty" echo " smyrna: $use_smyrna" echo "" echo "plugin libraries:"