summaryrefslogtreecommitdiffstats
path: root/tap-win32
diff options
context:
space:
mode:
authorSamuli Seppänen <samuli@openvpn.net>2011-03-15 16:37:41 +0200
committerDavid Sommerseth <davids@redhat.com>2011-03-21 15:15:19 +0100
commit4b312378e9e7084a0699ca6d4b895bdadb7540db (patch)
tree369450938e4c7fed61829ea4c82516a690a4229f /tap-win32
parent110e42d199e735ab1a31388c5678f59d0fa9510c (diff)
downloadopenvpn-4b312378e9e7084a0699ca6d4b895bdadb7540db.tar.gz
openvpn-4b312378e9e7084a0699ca6d4b895bdadb7540db.tar.xz
openvpn-4b312378e9e7084a0699ca6d4b895bdadb7540db.zip
Replaced config-win32.h with win/config.h.in
The original config-win32.h - a static header file - has been superceded by both "domake-win" script and the new Python-based buildsystem. Transformed it into a template file, win/config.h.in, which obtains the most commonly used build parameters from win/settings.in. Added support code to win/config.py and win/wb.py to preprocess win/config.h.in and copy it to config.h, from where source and header files can find it. Removed all references to config-win32.h. Also removed obsolete PACKAGE_BUGREPORT and USE_PTHREAD variables from the win/config.h.in file. Signed-off-by: Samuli Seppänen <samuli@openvpn.net> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'tap-win32')
-rwxr-xr-xtap-win32/SOURCES.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/tap-win32/SOURCES.in b/tap-win32/SOURCES.in
index b7f0e18..cf030f4 100755
--- a/tap-win32/SOURCES.in
+++ b/tap-win32/SOURCES.in
@@ -11,8 +11,7 @@ TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib $(DDK_LIB_PATH)\ntstrsafe.lib
INCLUDES=$(DDK_INCLUDE_PATH) ..
# The TAP version numbers here must be >=
-# TAP_WIN32_MIN_x values defined in
-# config-win32.h
+# PRODUCT_TAP_WIN32_MIN_x values defined in version.m4
C_DEFINES=
C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MAJOR_VERSION=@@PRODUCT_TAP_MAJOR_VER@@
C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MINOR_VERSION=@@PRODUCT_TAP_MINOR_VER@@