Opened 8 years ago
Closed 6 years ago
#5675 closed defect (wontfix)
winsock.m4's functionality can be replaced with AC_TRY_LINK
Reported by: | asn | Owned by: | asn |
---|---|---|---|
Priority: | Medium | Milestone: | |
Component: | Archived/Obfsproxy | Version: | |
Severity: | Keywords: | building | |
Cc: | zackw@… | Actual Points: | |
Parent ID: | Points: | ||
Reviewer: | Sponsor: |
Description
rsavoye thinks that m4/winsock.m4
is useless and it can simply be replaced with AC_TRY_LINK
.
Furthermore, rsavoye thinks that m4/winsock.m4
is broken here:
for ac_lib in '' -lws2_32; do
Child Tickets
Change History (3)
comment:1 Changed 8 years ago by
Cc: | zackw@… added |
---|
comment:2 Changed 8 years ago by
N.B. AC_TRY_LINK
is deprecated, you're supposed to use AC_LINK_IFELSE
now. AC_CHECK_LIB
is not officially deprecated, but should be; use AC_SEARCH_LIBS
instead, to avoid pulling in a library you don't actually need.
comment:3 Changed 6 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This ticket is about the old C-based obfsproxy. Closing.
Note: See
TracTickets for help on using
tickets.
I'm not especially proud of
winsock.m4
, but I do not believe it is "useless" or that it "can simply be replaced withAC_TRY_LINK
." From IRC:Having said that, I am interested to see what you manage to come up with. It may well be possible to do something simpler than what I did.
Note that I was doing native compilation on Windows XP in the MinGW environment. It is entirely possible that cross-compiling to MinGW behaves differently.