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

This commit is contained in:
Gerhard Rieger 2013-06-22 21:38:02 +02:00
parent 91b00e8c44
commit b732d00d30
2 changed files with 7 additions and 3 deletions

View file

@ -8,6 +8,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
porting: porting:
Performed changes for Fedora release 19 Performed changes for Fedora release 19

View file

@ -1,5 +1,5 @@
nl source: configure.in nl source: configure.in
dnl Copyright Gerhard Rieger 2001-2011 dnl Copyright Gerhard Rieger
dnl Published under the GNU General Public License V.2, see file COPYING dnl Published under the GNU General Public License V.2, see file COPYING
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
@ -247,13 +247,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= ;;