Skip to content
Permalink
Browse files

- fix IPV6 and IDN options

  • Loading branch information...
pierrejoye committed Jan 26, 2012
1 parent 00e615d commit 575f3c30ed60aafddbaeeb26745cca942fb9ee2f
Showing with 5 additions and 5 deletions.
  1. +3 −3 winbuild/Makefile.vc
  2. +2 −2 winbuild/MakefileBuild.vc
@@ -26,7 +26,7 @@ CFGSET=true
!MESSAGE USE_SSSPI=<yes or no> - Enable SSPI support, default to yes
!MESSAGE ENABLE_IPV6=<yes or no> - Enable IPV6, default to yes
!MESSAGE DEBUG=<yes or no> - Debug builds
!MESSAGE ENABLE_IDN=<yes or no> - Wheter or not to use IDN Windows APIs. Requires Windows Vista or later.
!MESSAGE ENABLE_IDN=<yes or no> - Wheter or not to use IDN Windows APIs. Requires Windows Vista or later.
!MESSAGE or to install http://www.microsoft.com/downloads/details.aspx?FamilyID=AD6158D7-DDBA-416A-9109-07607425A815
!MESSAGE GEN_PDB=<yes or no> - Generate Program Database (debug symbols release build)
!ERROR please choose a valid mode
@@ -50,9 +50,9 @@ USE_SSPI=true
!ENDIF

!IFNDEF ENABLE_IPV6
USE_IPV6 =true
USE_IPV6 = true
!ELSEIF "$(ENABLE_IPV6)"=="yes"
USE_IPV6 =true
USE_IPV6 = true
!ENDIF

!IFNDEF ENABLE_IDN
@@ -149,10 +149,10 @@ USE_SSPI=true
!ENDIF

!IFNDEF USE_IPV6
USE_IPV6=yes
USE_IPV6=true
!ENDIF

!IFNDEF USE_IDN
!IFNDEF ENABLE_IDN
USE_IDN =true
!ELSEIF "$(USE_IDN)"=="yes"
USE_IDN =true

2 comments on commit 575f3c3

@Jan-E

This comment has been minimized.

Copy link
Contributor

Jan-E replied May 21, 2012

The change from 'yes' to 'true' in line 152 of winbuild/MakefileBuild.vc must be applied to line 166 as well.

Line 166:
!IF "$(USE_IPV6)"=="yes"

Should be
!IF "$(USE_IPV6)"=="true"

Otherwise IPv6 support will be disabled on Windows at all times.

@bagder

This comment has been minimized.

Copy link
Member

bagder replied May 22, 2012

merged!

Please sign in to comment.
You can’t perform that action at this time.