aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-02-19 22:21:17 +0000
committerGerald Combs <gerald@wireshark.org>2013-02-19 22:21:17 +0000
commite48236a43635f9f0e695a25199bf3ab959774590 (patch)
treec6438499bad89c7f47eda54dc4e5c9bd2bcadb89 /config.nmake
parent9736ff7cb5f2ba971202a3472707aa96380d16de (diff)
Add automatic software update checks for Win32 using WinSparkle. Add
preferences (currently hidden) to disable updates, set the update frequency, and set the update "channel" (stable vs development). Add a "Help" menu item to manually check for updates. svn path=/trunk/; revision=47748
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.nmake b/config.nmake
index 3032deb05d..c07bf44a86 100644
--- a/config.nmake
+++ b/config.nmake
@@ -445,6 +445,13 @@ SMI_PKG=svn-40773
#
GEOIP_PKG=1.4.8-2
+#
+# Optional: WinSparkle, software updates
+#
+# Used for automatic software updates
+#
+WINSPARKLE_PKG=0.3-44-g2c8d9d3-win32ws
+
!else
##### Win64 Libraries #####
#
@@ -1481,6 +1488,18 @@ GEOIP_CONFIG=
GEOIP_V6_CONFIG=
!ENDIF
+!IFDEF WINSPARKLE_PKG
+WINSPARKLE_DIR=$(WIRESHARK_LIB_DIR)\WinSparkle-$(WINSPARKLE_PKG)
+WINSPARKLE_CONFIG=^#define HAVE_SOFTWARE_UPDATE 1
+WINSPARKLE_CFLAGS=/I$(WINSPARKLE_DIR)
+WINSPARKLE_LIBS=$(WINSPARKLE_DIR)\WinSparkle.lib
+!ELSE
+WINSPARKLE_DIR=
+WINSPARKLE_CONFIG=
+WINSPARKLE_CFLAGS=
+WINSPARKLE_LIBS=
+!ENDIF
+
!IFDEF ENABLE_LIBWIRESHARK
LIBWIRESHARK_CONFIG=^#define HAVE_LIBWIRESHARKDLL 1
# Link plugins with the import library of libwireshark.dll