path: root/version_info.c
diff options
authorJörg Mayer <jmayer@loplof.de>2005-08-16 06:45:17 +0000
committerJörg Mayer <jmayer@loplof.de>2005-08-16 06:45:17 +0000
commit0f9ffd69231e26d707c585d9a3884b95d244232d (patch)
tree6aa2e7cf3b2dddb5dc52a06ab32493270543dcaf /version_info.c
parentbc35e184c794f2539a33ca8c179650356f1bd480 (diff)
Move SVNVERSION handling into version_info. That way, we won't have
to recompile tethereal.o etc each time the svn version has changed, relinking is sufficient. I'm not sure what to do about mergecap, as it currently doesn't link against version_info, so it's "overhead" either way. svn path=/trunk/; revision=15371
Diffstat (limited to 'version_info.c')
1 files changed, 9 insertions, 0 deletions
diff --git a/version_info.c b/version_info.c
index 0e6af95fe5..11a069113c 100644
--- a/version_info.c
+++ b/version_info.c
@@ -73,6 +73,15 @@
#include "version_info.h"
#include "pcap-util.h"
+#include "svnversion.h"
+ const char *svnversion = " (" SVNVERSION ")";
+ const char *svnversion = "";
* See whether the last line in the string goes past column 80; if so,
* replace the blank at the specified point with a newline.