… | |
… | |
69 | Working combinations are: |
69 | Working combinations are: |
70 | "native/linux" |
70 | "native/linux" |
71 | "tincd/linux" |
71 | "tincd/linux" |
72 | "tincd/freebsd" |
72 | "tincd/freebsd" |
73 | "tincd/openbsd" |
73 | "tincd/openbsd" |
|
|
74 | "tincd/darwin" |
74 | "native/cygwin"; |
75 | "native/cygwin"; |
75 | Untested combinations are: |
76 | Untested combinations are: |
76 | "tincd/netbsd" |
77 | "tincd/netbsd" |
77 | "tincd/darwin" |
|
|
78 | "tincd/solaris" |
78 | "tincd/solaris" |
79 | "tincd/mingw"; |
79 | "tincd/mingw"; |
80 | Broken combinations are: |
80 | Broken combinations are: |
81 | "tincd/cygwin"; |
81 | "tincd/cygwin"; |
82 | The default is to autodetect. |
82 | The default is to autodetect. |
… | |
… | |
133 | esac |
133 | esac |
134 | fi |
134 | fi |
135 | AC_MSG_RESULT($IFTYPE/$IFSUBTYPE) |
135 | AC_MSG_RESULT($IFTYPE/$IFSUBTYPE) |
136 | AC_SUBST(IFTYPE,$IFTYPE) |
136 | AC_SUBST(IFTYPE,$IFTYPE) |
137 | AC_SUBST(IFSUBTYPE,$IFSUBTYPE) |
137 | AC_SUBST(IFSUBTYPE,$IFSUBTYPE) |
|
|
138 | AC_DEFINE_UNQUOTED(IFTYPE,"$IFTYPE",[kernel interface type]) |
|
|
139 | AC_DEFINE_UNQUOTED(IFSUBTYPE,"$IFSUBTYPE",[kernel interface subtype]) |
138 | |
140 | |
139 | AC_CACHE_SAVE |
141 | AC_CACHE_SAVE |
140 | |
142 | |
141 | dnl Checks for libraries. |
143 | dnl Checks for libraries. |
142 | |
144 | |
… | |
… | |
265 | AC_ARG_ENABLE(http-proxy, |
267 | AC_ARG_ENABLE(http-proxy, |
266 | [AC_HELP_STRING(--enable-http-proxy, [enable http proxy connect support (default disabled).])], |
268 | [AC_HELP_STRING(--enable-http-proxy, [enable http proxy connect support (default disabled).])], |
267 | AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.]) |
269 | AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.]) |
268 | ) |
270 | ) |
269 | |
271 | |
270 | HMAC=12 dnl see also the AC_HELP_STRING |
272 | HMAC=8 dnl see also the AC_HELP_STRING |
271 | AC_ARG_ENABLE(hmac-length, |
273 | AC_ARG_ENABLE(hmac-length, |
272 | [AC_HELP_STRING(--enable-hmac-length=BYTES, [use a hmac of length BYTES bytes (default 12). Allowed values are 4, 8, 12, 16.])], |
274 | [AC_HELP_STRING(--enable-hmac-length=BYTES, [use a hmac of length BYTES bytes (default 12). Allowed values are 4, 8, 12, 16.])], |
273 | HMAC=$enableval |
275 | HMAC=$enableval |
274 | ) |
276 | ) |
275 | AC_DEFINE_UNQUOTED(HMACLENGTH, $HMAC, [Size of HMAC in each packet in bytes.]) |
277 | AC_DEFINE_UNQUOTED(HMACLENGTH, $HMAC, [Size of HMAC in each packet in bytes.]) |
… | |
… | |
327 | |
329 | |
328 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
330 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
329 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
331 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
330 | fi |
332 | fi |
331 | |
333 | |
332 | if $CXX -v --help 2>&1 | grep -q ffunction-sections; then |
334 | dnl if $CXX -v --help 2>&1 | grep -q ffunction-sections; then |
333 | CXXFLAGS="$CXXFLAGS -ffunction-sections" |
335 | dnl CXXFLAGS="$CXXFLAGS -ffunction-sections" |
334 | fi |
336 | dnl fi |
335 | |
337 | dnl |
336 | if $LD -v --help 2>&1 | grep -q gc-sections; then |
338 | dnl if $LD -v --help 2>&1 | grep -q gc-sections; then |
337 | LDFLAGS="$LDFLAGS -Wl,--gc-sections" |
339 | dnl LDFLAGS="$LDFLAGS -Wl,--gc-sections" |
338 | fi |
340 | dnl fi |
339 | |
341 | |
340 | AC_CONFIG_COMMANDS_POST([ |
342 | AC_CONFIG_COMMANDS_POST([ |
341 | |
343 | |
342 | echo |
344 | echo |
343 | echo "***" |
345 | echo "***" |