[bwm-tools-devel] COMMIT - r14 - in trunk: . bwm_monitor
Brought to you by:
nkukard
From: <bwm...@li...> - 2004-12-29 21:12:07
|
Author: nkukard Date: 2004-12-29 23:11:51 +0200 (Wed, 29 Dec 2004) New Revision: 14 Modified: trunk/bwm_monitor/display.c trunk/configure trunk/configure.ac Log: * Small change to syntax in display.c * Added a little more info on rejected librrd library, if one Modified: trunk/bwm_monitor/display.c =================================================================== --- trunk/bwm_monitor/display.c 2004-12-29 17:03:34 UTC (rev 13) +++ trunk/bwm_monitor/display.c 2004-12-29 21:11:51 UTC (rev 14) @@ -33,7 +33,7 @@ // Function to title a window with text void windowTitle(WINDOW *win, int color1, int color2, int y, int x, char *str) { - int len; + int len; len = strlen(str); mvwaddch(win, y, x, ACS_RTEE); Modified: trunk/configure =================================================================== --- trunk/configure 2004-12-29 17:03:34 UTC (rev 13) +++ trunk/configure 2004-12-29 21:11:51 UTC (rev 14) @@ -19626,7 +19626,12 @@ if test x"$have_librrd" = x then - echo "Error: Working librrd required" + echo + echo "* You need the development libraries and headers" + echo "* for rrdtool. Normally you can download a" + echo "* package called rrdtool-devel for your" + echo "* distribution, install it and everything should" + echo "* be fine" exit 1 fi RRDTOOL_LIBS="-lm" Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2004-12-29 17:03:34 UTC (rev 13) +++ trunk/configure.ac 2004-12-29 21:11:51 UTC (rev 14) @@ -48,7 +48,12 @@ AC_CHECK_LIB([rrd], [rrd_update],have_librrd=yes,,"-lm") if test x"$have_librrd" = x then - echo "Error: Working librrd required" + echo + echo "* You need the development libraries and headers" + echo "* for rrdtool. Normally you can download a" + echo "* package called rrdtool-devel for your" + echo "* distribution, install it and everything should" + echo "* be fine" exit 1 fi RRDTOOL_LIBS="-lm" |