configure checked for --disable-rawsocket but printed --disable-genericsocket

This commit is contained in:
Gerhard Rieger 2014-03-21 12:47:52 +01:00
parent 6ccae440f1
commit 23012f68c2
2 changed files with 6 additions and 2 deletions

View file

@ -7,6 +7,10 @@ corrections:
make failed after configure with non gcc compiler due to missing make failed after configure with non gcc compiler due to missing
include. Thanks to Horacio Mijail for reporting this problem include. Thanks to Horacio Mijail for reporting this problem
configure checked for --disable-rawsocket but printed
--disable-genericsocket in the help text. Thanks to Ben Gardiner for
reporting and patching this bug
fixed bug in xio-openssl.c that prevented error handling of bad number fixed bug in xio-openssl.c that prevented error handling of bad number
of arguments, thanks to Paulik Tamas for reporting of arguments, thanks to Paulik Tamas for reporting

View file

@ -263,13 +263,13 @@ AC_ARG_ENABLE(rawip, [ --disable-rawip disable raw IP support],
[AC_DEFINE(WITH_RAWIP) AC_MSG_RESULT(yes)]) [AC_DEFINE(WITH_RAWIP) AC_MSG_RESULT(yes)])
AC_MSG_CHECKING(whether to include generic socket support) AC_MSG_CHECKING(whether to include generic socket support)
AC_ARG_ENABLE(rawsocket, [ --disable-genericsocket disable generic socket support], AC_ARG_ENABLE(genericsocket, [ --disable-genericsocket disable generic socket support],
[case "$enableval" in [case "$enableval" in
no) AC_MSG_RESULT(no);; no) AC_MSG_RESULT(no);;
*) AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes);; *) AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes);;
esac], esac],
[AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes)]) [AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes)])
AC_MSG_CHECKING(whether to include raw network interface support) AC_MSG_CHECKING(whether to include generic network interface support)
AC_ARG_ENABLE(interface, [ --disable-interface disable network interface support], AC_ARG_ENABLE(interface, [ --disable-interface disable network interface support],
[case "$enableval" in [case "$enableval" in
no) AC_MSG_RESULT(no); WITH_INTERFACE= ;; no) AC_MSG_RESULT(no); WITH_INTERFACE= ;;