Index: util.c
===================================================================
RCS file: /cvsroot/ethereal/util.c,v
retrieving revision 1.73
diff -u -r1.73 util.c
--- util.c	1 Dec 2003 20:27:09 -0000	1.73
+++ util.c	3 Dec 2003 12:36:38 -0000
@@ -60,6 +60,10 @@
 #include <zlib.h>	/* to get the libz version number */
 #endif
 
+#ifdef HAVE_LIBPCRE
+#include <pcre.h>	/* to get the libpcre version number */
+#endif /* HAVE_LIBPCRE */
+
 #ifdef HAVE_LIBPCAP
 #include <pcap.h>
 #endif /* HAVE_LIBPCAP */
@@ -152,6 +156,26 @@
 	g_string_append(str, ",");
 	do_word_wrap(str, break_point);
 
+	g_string_append(str, " ");
+	break_point = str->len - 1;
+#ifdef HAVE_LIBPCRE
+	g_string_append(str, "with libpcre ");
+#ifdef PCRE_MAJOR
+#ifdef PCRE_MINOR
+	g_string_sprintfa(str, "%u.%u", PCRE_MAJOR, PCRE_MINOR);
+#else			/* PCRE_MINOR */
+	g_string_sprintfa(str, "%u", PCRE_MAJOR);
+#endif			/* PCRE_MINOR */
+#else		/* PCRE_MAJOR */
+	g_string_append(str, "(version unknown)");
+#endif		/* PCRE_MAJOR */
+#else	/* HAVE_LIBPCRE */
+	g_string_append(str, "without libpcre");
+#endif	/* HAVE_LIBPCRE */
+
+	g_string_append(str, ",");
+	do_word_wrap(str, break_point);
+
 /* Oh, this is pretty. */
 /* Oh, ha.  you think that was pretty.  Try this:! --Wes */
 	g_string_append(str, " ");
@@ -181,6 +205,8 @@
 #else
 	g_string_append(str, "without ADNS");
 #endif /* HAVE_GNU_ADNS */
+
+	g_string_append(str, ".");
 	do_word_wrap(str, break_point);
 }
 
