[Openvas-commits] r13701 - trunk/gsa

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 9 09:06:47 CEST 2012


Author: mwiegand
Date: 2012-07-09 09:06:47 +0200 (Mon, 09 Jul 2012)
New Revision: 13701

Modified:
   trunk/gsa/CMakeLists.txt
   trunk/gsa/ChangeLog
Log:
* CMakeLists.txt: Print a more useful message if both libxslt and the
  xsltproc binary cannot be found instead of failing silently.


Modified: trunk/gsa/CMakeLists.txt
===================================================================
--- trunk/gsa/CMakeLists.txt	2012-07-09 07:03:00 UTC (rev 13700)
+++ trunk/gsa/CMakeLists.txt	2012-07-09 07:06:47 UTC (rev 13701)
@@ -72,6 +72,9 @@
   if (NOT PATH_TO_PKGCONFIG)
     message ("The pkg-config tool is required.")
   endif (NOT PATH_TO_PKGCONFIG)
+  if (NOT USE_LIBXSLT AND NOT PATH_TO_XSLTPROC)
+    message ("The xsltproc tool or libxslt is required.")
+  endif (NOT USE_LIBXSLT AND NOT PATH_TO_XSLTPROC)
   message (FATAL_ERROR "One or more tools or libraries could not be found on "
                       "your system. Please check the logs above.")
 endif (MANDATORY_TOOL_MISSING)

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2012-07-09 07:03:00 UTC (rev 13700)
+++ trunk/gsa/ChangeLog	2012-07-09 07:06:47 UTC (rev 13701)
@@ -1,3 +1,8 @@
+2012-07-09  Michael Wiegand <michael.wiegand at greenbone.net>
+
+	* CMakeLists.txt: Print a more useful message if both libxslt and the
+	xsltproc binary cannot be found instead of failing silently.
+
 2012-07-02  Michael Wiegand <michael.wiegand at greenbone.net>
 
 	* src/html/help.xsl: Fix a few typos in the help texts.



More information about the Openvas-commits mailing list