--- gvpe/configure.ac 2003/10/15 01:52:32 1.15 +++ gvpe/configure.ac 2003/10/17 01:39:12 1.20 @@ -69,12 +69,14 @@ Working combinations are: "native/linux" "tincd/linux" - "tincd/freebsd"; + "tincd/freebsd" + "tincd/openbsd" + "tincd/darwin" + "native/cygwin"; Untested combinations are: "tincd/netbsd" - "tincd/darwin" "tincd/solaris" - "tincd/openbsd"; + "tincd/mingw"; Broken combinations are: "tincd/cygwin"; The default is to autodetect. @@ -133,6 +135,8 @@ AC_MSG_RESULT($IFTYPE/$IFSUBTYPE) AC_SUBST(IFTYPE,$IFTYPE) AC_SUBST(IFSUBTYPE,$IFSUBTYPE) +AC_DEFINE_UNQUOTED(IFTYPE,"$IFTYPE",[kernel interface type]) +AC_DEFINE_UNQUOTED(IFSUBTYPE,"$IFSUBTYPE",[kernel interface subtype]) AC_CACHE_SAVE @@ -265,7 +269,7 @@ AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.]) ) -HMAC=12 dnl see also the AC_HELP_STRING +HMAC=8 dnl see also the AC_HELP_STRING AC_ARG_ENABLE(hmac-length, [AC_HELP_STRING(--enable-hmac-length=BYTES, [use a hmac of length BYTES bytes (default 12). Allowed values are 4, 8, 12, 16.])], HMAC=$enableval @@ -327,13 +331,13 @@ CXXFLAGS="$CXXFLAGS -fno-exceptions" fi -if $CXX -v --help 2>&1 | grep -q ffunction-sections; then - CXXFLAGS="$CXXFLAGS -ffunction-sections" -fi - -if $LD -v --help 2>&1 | grep -q gc-sections; then - LDFLAGS="$LDFLAGS -Wl,--gc-sections" -fi +dnl if $CXX -v --help 2>&1 | grep -q ffunction-sections; then +dnl CXXFLAGS="$CXXFLAGS -ffunction-sections" +dnl fi +dnl +dnl if $LD -v --help 2>&1 | grep -q gc-sections; then +dnl LDFLAGS="$LDFLAGS -Wl,--gc-sections" +dnl fi AC_CONFIG_COMMANDS_POST([