Changeset: 6643216c640d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6643216c640d
Modified Files:
        tools/mserver/monet_version.c.in
Branch: Jun2016
Log Message:

Added some ifdefs.


diffs (29 lines):

diff --git a/tools/mserver/monet_version.c.in b/tools/mserver/monet_version.c.in
--- a/tools/mserver/monet_version.c.in
+++ b/tools/mserver/monet_version.c.in
@@ -14,7 +14,9 @@
 #include "monet_version.h"
 #include <pcre.h>
 #include <openssl/opensslv.h>
+#ifdef HAVE_LIBXML
 #include <libxml/xmlversion.h>
+#endif
 
 void
 monet_version(void)
@@ -65,6 +67,7 @@ monet_version(void)
                        printf(" (%s)", opensslversion);
                printf("\n");
        }
+#ifdef HAVE_LIBXML
        {
                char libxml2version[] = "@libxml2version@";
                printf("  libxml2: %s", LIBXML_DOTTED_VERSION);
@@ -72,6 +75,7 @@ monet_version(void)
                        printf(" (%s)", libxml2version);
                printf("\n");
        }
+#endif
        printf("Compiled by: %s (" HOST ")\n", "@builtby@");
        printf("Compilation: %s\n", "@compilercall@");
 #ifdef MONETDB_STATIC
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to